CN116663514A - Configurable form data distribution method and device - Google Patents

Configurable form data distribution method and device Download PDF

Info

Publication number
CN116663514A
CN116663514A CN202310911708.1A CN202310911708A CN116663514A CN 116663514 A CN116663514 A CN 116663514A CN 202310911708 A CN202310911708 A CN 202310911708A CN 116663514 A CN116663514 A CN 116663514A
Authority
CN
China
Prior art keywords
field
item
fields
filled
public
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
CN202310911708.1A
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.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
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 National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN202310911708.1A priority Critical patent/CN116663514A/en
Publication of CN116663514A publication Critical patent/CN116663514A/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/72Code refactoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a configurable form data distribution method and a configurable form data distribution device, wherein the method comprises the following steps: acquiring a plurality of backlog selected by a user; fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fused form containing a plurality of mutually different to-be-filled fields; splitting the field to be filled and the field content filled by the user for the field to be filled according to the item identifier carried by the field to be filled to obtain a plurality of groups of field to be filled and field content carrying the same item identifier; generating to-be-submitted data matched with the carried item identifiers according to each group of to-be-submitted fields and the item identifiers carried by the field contents; and distributing the data to be submitted to a business system matched with the item identification according to the flow nodes in the distribution engine flow example. The application can modify the form field and the data distribution flow node of the configurable form at any time, shortens the function online time and improves the service change response speed.

Description

Configurable form data distribution method and device
Technical Field
The application relates to the technical field of computers, in particular to a configurable form data distribution method and a configurable form data distribution device.
Background
With the rapid development of internet technology and the wide construction of data electronization, many business matters are developed from original offline counter handling to online network handling, and users can handle the business matters only by sitting at home and opening a computer or using a smart phone.
Generally, when conducting online business transaction, a worker customizes a transaction form for each item in advance, a user searches for the item form of the to-be-handled item on a business transaction page, and fills relevant data of the item form, and submits the filled relevant data to a designated system.
The method has the defects that if the business change causes the form field change or the docked third-party system changes, the code needs to be modified for reissuing, the whole online period is longer, and the user experience is poor.
Disclosure of Invention
Therefore, an object of the embodiments of the present application is to provide a method and an apparatus for distributing a configurable form data, which can modify form fields and data distribution flow nodes of the configurable form at any time according to service requirements, thereby shortening online time of online transaction functions and improving response speed of service changes.
In a first aspect, an embodiment of the present application provides a configurable form data distribution method, where the method includes:
acquiring a plurality of backlog selected by a user;
fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fused form containing a plurality of mutually different to-be-filled fields; wherein, the field to be filled carries one or more item identifiers;
splitting the field to be filled and the field content filled by the user for the field to be filled according to the item identifier carried by the field to be filled, so as to obtain a plurality of groups of fields to be filled and field content carrying the same item identifier;
generating to-be-submitted data matched with the carried item identifiers according to each group of to-be-filled fields and the item identifiers carried by the field contents;
and distributing the data to be submitted to a business system matched with the item identification according to a flow node in a distribution engine flow example.
In one possible implementation, the transaction field includes a first field that binds a common field and a second field that does not bind a common field; wherein the first field may be contained in a different backlog of the transaction form, and the second field may be contained only in a unique backlog of the transaction form; the fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fused form containing a plurality of mutually different to-be-filled fields, including:
Acquiring a first field and a second field in a transaction form corresponding to each of the plurality of backlog forms; the second fields of any two backlog are different from each other, and the first fields of the two backlog are bound to the same common field;
for a plurality of first fields binding the same common field, replacing the plurality of first fields with the binding common field;
and generating the fusion form based on the field types and the corresponding arrangement sequences of the public field and the second field.
In a possible implementation manner, the field to be filled includes the common field and the second field, and before generating the data to be submitted, the method further includes:
and if the field to be filled is a public field, replacing the public field with a first field which is bound with the public field and carries the item identification of the group where the field to be filled is located.
In one possible embodiment, the method further comprises:
responding to a creation instruction of a form and a form field, and creating a backlog item form and an item field in the backlog item form; the event field carries an event identifier of the to-do event;
For each item field, calculating the similarity between the item field and each public field in a plurality of preset public fields according to the attribute information of the item field, binding the item field with the public field meeting the requirements if the calculated similarity meets the requirements, and newly adding item identifiers carried by the item field for the bound public field;
and classifying and sorting the public fields and the item fields according to the attribute information of the public fields and the item fields, and determining the field types and the corresponding arrangement sequence of the public fields and the item fields.
In a second aspect, an embodiment of the present application provides a configurable form data distribution device, where the device includes:
the backlog acquisition module is used for acquiring a plurality of backlogs selected by a user;
the fusion form generation module is used for fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fusion form containing a plurality of mutually different to-be-filled fields;
the field to be filled splitting module is used for splitting the field to be filled and the field content filled by the user for the field to be filled according to the item identifier carried by the field to be filled to obtain a plurality of groups of fields to be filled and field content carrying the same item identifier;
The to-be-submitted data generation module is used for generating to-be-submitted data matched with the carried item identifiers according to each group of to-be-filled fields and the item identifiers carried by the field contents;
and the to-be-submitted data distribution module is used for distributing the to-be-submitted data to a business system matched with the item identification according to the flow nodes in the distribution engine flow instance.
In one possible implementation manner, the fusion form generating module, when fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fusion form including a plurality of to-be-filled fields different from each other, includes:
acquiring a first field and a second field in a transaction form corresponding to each of the plurality of backlog forms;
for a plurality of first fields binding the same common field, replacing the plurality of first fields with the binding common field;
and generating the fusion form based on the field types and the corresponding arrangement sequences of the public field and the second field.
In one possible embodiment, the apparatus further comprises:
and the field replacement module is used for replacing the public field with a first field which is bound with the public field and carries the item identifier of the group where the field to be filled is located if the field to be filled is the public field.
In one possible embodiment, the apparatus further comprises:
the system comprises a backlog field creation module, a backlog field creation module and a backlog field creation module, wherein the backlog field creation module is used for responding to a creation instruction of a form and a form field and creating a backlog form and a event field in the backlog form; the event field carries an event identifier of the to-do event;
the public field binding module is used for calculating the similarity between each item field and each public field in a plurality of preset public fields according to the attribute information of each item field, binding the item field with the public field meeting the requirements if the calculated similarity meets the requirements, and newly adding item identifiers carried by the item fields for the bound public fields;
and the field classification and sorting module is used for classifying and sorting the public fields and the item fields according to the attribute information of the public fields and the item fields and determining the field types and the corresponding arrangement sequence of the public fields and the item fields.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the configurable form data distribution method of any of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the configurable form data distribution method of any of the first aspects.
The configurable form data distribution method and the configurable form data distribution device can fuse a plurality of to-do item forms into one fused form, so that multi-item and one-form handling is realized, and the handling efficiency of the items is improved. And by adopting the configurable form, the form field can be modified at any time according to the service requirement, the online time of the online transaction function is shortened, and the response speed of service change is improved. In addition, the form distribution is realized by adopting the flow nodes in the distribution engine flow instance, so that the form distribution efficiency is improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flowchart of a configurable form data distribution method provided by an embodiment of the present application;
FIG. 2 shows a flowchart of another configurable form data distribution method provided by an embodiment of the present application;
FIG. 3 shows a flowchart of another configurable form data distribution method provided by an embodiment of the present application;
FIG. 4 shows a flowchart of another configurable form data distribution method provided by an embodiment of the present application;
fig. 5 shows a schematic structural diagram of a configurable form data distribution device according to an embodiment of the present application;
fig. 6 shows a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
With the rapid development of internet technology and the wide construction of data electronization, many business matters are developed from original offline counter handling to online network handling, and users can handle the business matters only by sitting at home and opening a computer or using a smart phone.
Generally, when conducting online business transaction, a worker customizes a transaction form for each item in advance, a user searches for the item form of the to-be-handled item on a business transaction page, and fills relevant data of the item form, and submits the filled relevant data to a designated system.
The method has the defects that if the business change causes the form field change or the docked third-party system changes, the code needs to be modified for reissuing, the whole online period is longer, and the user experience is poor.
Based on the above problems, the embodiment of the application provides a configurable form data distribution method and a configurable form data distribution device, which can fuse a plurality of to-do item forms into a fusion form, realize multi-item and one-form handling, and improve the handling efficiency of the items. And by adopting the configurable form, the form field can be modified at any time according to the service requirement, the online time of the online transaction function is shortened, and the response speed of service change is improved. In addition, the form distribution is realized by adopting the flow nodes in the distribution engine flow instance, so that the form distribution efficiency is improved.
The following description of the embodiments of the present application will be made more apparent and fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the application are shown. The components of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
For the convenience of understanding the present embodiment, a detailed description is first given of a configurable form data distribution method disclosed in the embodiment of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a configurable form data distribution method according to an embodiment of the present application, where the method includes the following steps:
S101, acquiring a plurality of backlog selected by a user.
In the embodiment of the present application, a plurality of matters are preset in the office system, and the user selects a backlog from the plurality of matters according to the actual requirement, and may select one backlog, or may select a plurality of backlogs, because step S102 fuses the plurality of event forms, step S103 splits the fused form, step S104 generates the data to be submitted corresponding to the event forms, that is, generates a plurality of data to be submitted, and in summary, steps S102 to S104 are all applicable to the application scenarios of the plurality of backlog forms, so in order to embody the processing procedures of steps S102 to S104, the user is limited to select the plurality of backlogs.
If the user selects a backlog, presenting the backlog to the user, and after the user finishes filling the backlog fields in the backlog, adopting step S105 to send the filled backlog to the service system matched with the backlog selected by the user according to the data distribution flow node.
In one possible implementation, when the user handles the items through the user side, the user first sees a guide page, a plurality of items capable of handling are displayed on the guide page, a selection frame of each item capable of handling is displayed on the guide page, and the backlog selected by the user is acquired in response to the triggering operation of the selection frame by the user. In addition, the user may select the backlog by voice input, character input, or the like, which is not limited herein. The user side can be any device capable of being networked, such as a smart phone, a tablet computer, a desktop computer, a notebook computer and the like.
S102, fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fused form containing a plurality of mutually different to-be-filled fields; wherein, the field to be filled carries one or more item identifiers.
In the embodiment of the present application, the backlog corresponds to a single item form, the item form includes a plurality of item fields, and the item fields included in the item form may not be completely consistent for different item forms, but may be partially consistent, for example, item form 1 includes item field A, B, C, item form 2 includes item field A, B, D, E, item form 3 includes item field F, G, H, item fields of item form 1 and item form 2 are partially consistent, and item fields of item form 1 and item form 3 are completely inconsistent.
The method comprises the steps that the item fields contained in each item form in a plurality of items to be backed are determined to be objects of form fusion, N items to be backed are assumed to be contained, the item fields contained in the N items forms are required to be fused, and because the item fields to be filled in the fusion form are different from each other, repeated item fields are not represented after the item fields contained in the N items forms are acquired, so that the item fields to be filled in are different from each other, the fusion form is composed of the plurality of item fields to be filled in, and the item fields of each item form to be backed in the fusion form are contained. For example, the entry fields in the entry form 1, the entry form 2, and the entry form 3 are fused, and the fused form includes a to-be-filled field A, B, C, D, E, F, G, H.
The item list is corresponding to a unique item identifier, and the item identifier can be used for distinguishing the item list. The item identifier carried by the field to be filled can determine the source of the field to be filled, and if the field to be filled comes from a unique item form of the item to be filled, the field to be filled carries an item identifier; if the field to be filled in comes from a plurality of backlog item forms, the field to be filled in carries a plurality of item identifiers.
And presenting the generated fusion form to a user so that the user fills in the field content of each field to be filled in the fusion form. When the user needs to transact a plurality of matters, the user can complete the transaction of all matters by fusing the matters forms of the matters and filling one fused form, so that the transaction efficiency of the matters is improved.
S103, splitting the field to be filled and the field content filled by the user for the field to be filled according to the item identifier carried by the field to be filled, so as to obtain a plurality of groups of field to be filled and field content carrying the same item identifier.
In the embodiment of the present application, the step S102 is adopted to generate the fusion form, so that the user can use one form to handle a plurality of matters, but the plurality of backlog are respectively accepted by different service systems, and the fusion form contains all the matter fields required by each backlog, but the fusion form is complicated with the matter fields of other backlog, so that the fusion form does not meet the acceptance standard of each service system, and therefore, before reporting the user report content to the service system, the fusion fields need to be split.
Each field to be filled is associated with the field content filled by the user in the field to be filled, for example, the field to be filled is nationality, the field content filled by the user is china, and at this time, the field to be filled is associated with the field content of china. When splitting a plurality of fields to be filled, splitting the fields to be filled and field contents associated with the fields to be filled at the same time.
Dividing the field to be filled and the field content into a plurality of groups, wherein each group carries a unique item identifier, the number of the groups is consistent with that of the backlog, the groups are in one-to-one correspondence with the backlog, and the item identifiers carried by the groups are consistent with the item identifiers of the corresponding backlog.
Splitting the field to be filled into groups consistent with the carried item identifiers according to the item identifiers carried by the field to be filled, and if the field to be filled carries one item identifier, the field to be filled only belongs to one group; if the field to be filled carries a plurality of item identifiers, the field to be filled belongs to a plurality of groups.
After the division of the fields to be filled and the field contents is completed, a plurality of groups of fields to be filled and the field contents are obtained, and the fields to be filled in the same group carry the same item identification.
S104, generating to-be-submitted data matched with the carried item identifiers according to each group of to-be-filled fields and the item identifiers carried by the field contents.
In the embodiment of the application, the item field contained in each item to-do list is consistent with the to-be-filled field contained in the group carrying the same item identifier and is also consistent with the to-be-submitted field contained in the to-be-submitted data carrying the same item identifier, so that the to-be-filled field and the field content in the group carrying the same item identifier are determined as the list content of the to-be-submitted data, and the generation of the to-be-submitted data is completed.
In a possible implementation manner, according to the item identifier carried by the packet, searching an item form carrying the same item identifier as the packet, completely conforming to the item fields in the searched item form, and adding the field content of each item field to the corresponding item field to obtain the data to be submitted.
In another possible implementation manner, according to the arrangement sequence of the plurality of item fields in the item form, the fields to be filled and the field contents of the packet carrying the same item identifier are arranged according to the arrangement sequence, so as to obtain the data to be submitted.
And S105, distributing the data to be submitted to a business system matched with the item identification according to a flow node in a distribution engine flow example.
In the embodiment of the application, the distribution of the data to be submitted to the service system is realized by configuring the data distribution circulation engine. Specifically, a distribution engine flow instance is configured, a flow node is configured on the instance, and data to be submitted is distributed to a corresponding service system according to the configured flow node. In one possible implementation, the data to be submitted is stored in a database, and when the form is distributed, the data to be submitted is obtained from the database through an interface, and an external interface is called to push the data to be submitted to a corresponding service system. The flow nodes in the flow instance of the distribution engine are adopted to realize automatic form distribution, so that the form distribution efficiency is improved.
The configurable form data distribution method provided by the embodiment of the application can fuse a plurality of to-do item forms into one fused form, realizes multi-item and one-form handling, and improves the handling efficiency of the items. And by adopting the configurable form, the form field can be modified at any time according to the service requirement, the online time of the online transaction function is shortened, and the response speed of service change is improved. In addition, the form distribution is realized by adopting the flow nodes in the distribution engine flow instance, so that the form distribution efficiency is improved.
Further, the transaction field comprises a first field of a binding public field and a second field of an unbinding public field; wherein the first field may be contained in a different to-do item form and the second field may be contained in only a single to-do item form.
According to the handling situation of various matters in practice, a plurality of public fields are preset, wherein the public fields refer to fields frequently contained in various matters forms, such as names, identification numbers, home addresses and units, and are set as public fields. If the transaction field has a meaning highly similar to that represented by the common field, the transaction field is bound to the common field, and in order to distinguish the transaction field to which the common field is bound from the transaction field to which the common field is unbound, the transaction field to which the common field is bound is referred to as a first field, and the transaction field to which the common field is unbound is referred to as a second field. Since the first field is a common transaction field, the first field may appear in a different backlog transaction form; since the second field is a unique transaction field, the second field appears only in a certain backlog transaction form. It should be noted that the first field may be completely identical to the public field of the binding, or may be different from the public field of the binding, for example, the first field of "name" binds the public field of "name", and the first field of "resident identification number" binds the public field of "identification number".
Referring to fig. 2, fig. 2 is a flowchart of another configurable form data distribution method provided by an embodiment of the present application, and step S102 fuses the item fields in the item forms corresponding to the plurality of backlog items respectively to generate a fused form including a plurality of mutually different to-be-filled fields, where the fused form includes:
s1021, acquiring a first field and a second field in the item form corresponding to each of the plurality of backlog items; the second fields of any two backlog are different from each other, and the first fields of the two backlog are bound to the same common field.
In the embodiment of the application, the first field and the second field in the backlog list of each backlog in the plurality of backlogs are acquired, and the first field and the second field in the N backlog list are acquired on the assumption that N backlogs exist. For any two backlog, the two backlog forms contain second fields that are quite different, each second field appearing in only one backlog form. Since the first field binds a common field, which is a more common item field, the first field may appear in a different item form.
S1022, for a plurality of first fields binding the same common field, replacing the plurality of first fields with the binding common field.
In the embodiment of the application, the first fields are highly similar to the bound common fields, so that a plurality of first fields bound to the same common field are also highly similar, and in order to avoid field repetition, the plurality of first fields with the high similarity are represented by the bound common fields, i.e. the plurality of first fields bound to the same common field are replaced by the bound common fields.
S1023, generating the fusion form based on the field types of the public field and the second field and the corresponding arrangement sequence.
In the embodiment of the application, after the repeated fields are hidden, the obtained public fields and the second fields are arranged according to the belonging field types and the arrangement sequence to obtain the fusion form. Specifically, the field types include preset basic information fields, service information fields and special appeal fields, a plurality of fields with the same field types are arranged in the same area, the field types correspond to arrangement sequence, the fusion form sequentially comprises the basic information fields, the service information fields and the special appeal fields from top to bottom, and a plurality of fields belonging to the same field types also correspond to arrangement sequence, for example, the arrangement sequence of the basic information fields is "name", "identity card number", "home address" and the like.
Further, the field to be filled includes the common field and the second field, and between step S103 and step S104, the method further includes:
and if the field to be filled is a public field, replacing the public field with a first field which is bound with the public field and carries the item identification of the group where the field to be filled is located.
In the embodiment of the application, after splitting the field to be filled, each packet contains the public field and the second field, and because the public field is not necessarily completely consistent with the first field to be bound, the public field needs to be replaced by the first field to be bound. However, the common field may be bound to a plurality of first fields, so that the item identifier carried by the first field and the item identifier carried by the common field are considered in the replacement. And replacing the public field with a first field which is bound with the public field and carries the item identifier consistent with the packet according to the item identifier carried by the packet in which the public field is currently located. For example, the public field binds a first field 1, a first field 2 and a first field 3, where the first field 1 carries a transaction identifier 1, the first field 2 carries a transaction identifier 2 and the first field 3 carries a transaction identifier 3, and if the packet where the current public field is located carries a transaction identifier 2, the public field is replaced by the first field 2.
Further, in the configurable form data distribution method provided by the embodiment of the present application, before step S101, there are preprocessing steps performed to implement step S101 to step S105, as shown in fig. 3, fig. 3 is a flowchart of another configurable form data distribution method provided by the embodiment of the present application, including the following steps:
s301, responding to a creation instruction of a form and a form field, and creating a backlog item form and an item field in the item form; the backlog field carries a backlog identifier of the backlog.
In the embodiment of the application, the backlog item form is created according to the related requirements of the backlog item in practice, and a plurality of backlog item fields contained in the backlog item form are created, wherein in order to distinguish the sources of the backlog item fields, the backlog item fields carry the corresponding backlog item identifications.
S302, calculating the similarity between each item field and each public field in a plurality of preset public fields according to the attribute information of each item field, binding the item field with the public field meeting the requirements if the calculated similarity meets the requirements, and newly adding item identifiers carried by the item fields for the bound public fields.
In the embodiment of the application, the attribute information of the item fields can represent the field types and field semantics of the item fields, the attribute information can be used for judging the similarity between the fields, after the item fields of the item form are created, the similarity between the item fields and the preset public fields is judged, specifically, the similarity can be determined through the field similarity, if the similarity meets the requirement, for example, the similarity is greater than a preset threshold, the public fields and the item fields are determined to be highly similar, the public fields can be used for representing similar item fields, at the moment, the public fields and the similar item fields are bound, the binding relation is stored, item identifiers carried by the bound item fields are newly added to item identifiers carried by the public fields, and M item identifiers are carried by the public fields.
In one possible implementation, the degree of similarity between the common fields and the item fields may be manually determined, and the similar common fields and item fields may be bound.
S303, classifying and sorting the public fields and the item fields according to the attribute information of the public fields and the item fields, and determining the field types and the corresponding arrangement sequence of the public fields and the item fields.
In the embodiment of the application, a plurality of item types are preset, the matching degree of the public field and the item fields and each item type is judged according to the attribute information of the public field and the item fields, and the public field and the item fields are classified into the item type with the highest matching degree. And determining the importance degree of the public fields and the item fields based on the attribute information, and sequentially sequencing the public fields and the item fields according to the importance degree to obtain the arrangement sequence of the public fields and the item fields.
As a possible implementation manner, referring to fig. 4, fig. 4 is a flowchart of another configurable form data distribution method provided by the embodiment of the present application, and fig. 4 includes six parts of form configuration, data filling, data processing storage, data distribution engine, and external system, and details of the complete flow of form configuration, filling, processing, distribution, and receiving are described in detail. Specifically, the form configuration stage includes: configuring a list field of items (step S301), configuring a common field of items (step S302), associating the common field of the list fields (step S302), and merging and sorting a plurality of list fields (step S303); the data filling stage comprises the following steps: acquiring a fused form data structure (step S101 and step S102), filling in page form fields (user behaviors), and submitting data (user behaviors); the data processing and storing stage comprises the following steps: data processing and splitting (step S103 and step S104), item data saving (step S105), item data database (step S105); the data distribution engine section includes: data distribution engine configuration (configuration of distribution engine flow instance and flow node in step S105), data distribution engine service (step S105); the external system includes a plurality of systems for receiving the event data distributed by the data distribution engine, such as the system 1 and the system 2. When the data distribution engine is used for distributing data, item data are acquired from the item data database through the interface, and the external interface is called to distribute the acquired item data to the corresponding service system.
In the process of executing step S301 to step S303, the following are specifically included:
1. and (5) managing the item form. And configuring fields for the form, and setting attribute information such as English names in the fields, field types and the like. Comprising the following steps: adding a transaction form, adding required transactions by transaction names (transaction identifiers), and synchronizing the transaction lists by a transaction library; issue a transaction form.
2. Public field management. Firstly, defining a public field in a management background, defining the same service field in different item forms as the public field, and perfecting attribute information of the public field.
2.1. A common field is added. Setting English names in public fields, default values, whether to hide, whether to fill in, whether to cross columns, filling out descriptions, javaScript scripts, verification rules and the like.
2.1.1. Chinese name. The custom Chinese name of the input field, which is the name that needs to be displayed on the front page.
2.1.2. English name. The custom English names of the fields are input, and the English names of the fields in the same form are different from each other. The rich text prompt is edited with the effect that the mouse is placed over the field title to display rich text.
2.1.3. And (5) straddling the columns. The number of columns occupied by the field is set.
Javascript code. The front end sets other customization rules for the page fields.
2.1.5. Field type. The field type is selected. When the field types are drop-down frame, multi-choice frame, drop-down frame query (drop-down frame for ambiguous query), additional selection of the data dictionary is required. When the field type is the interface address of the configuration function in the process of the drop-down request query, the front end requests the configured interface through the universal jslink, and the interface is mainly used in a third party interface of the cascade data source.
(1) And (5) inputting a box. And inputting a label of the text on the corresponding page.
(2) Text boxes. And a plurality of columns of input boxes on the corresponding page.
(3) A date selection box. The date selection frame is provided with 4 date types, namely year, month, day, time, minute and second.
(4) And (5) pulling down a box for inquiring. Drop down selection requires associating a dictionary, or configuring a data source of the dictionary.
(5) Input box (drop down). The page may multiplex the value of the drop down box, using the tag when input is needed.
(6) Numbers. The digital type is set and submitted as digital processing.
(7) An object. The object type is set, and the main expression is that the field is a json object { key: value }, when the data is submitted.
(8) And inputting a multi-selection box. Each option in the multiple choice box may be filled in a string of characters.
(9) And (3) a file. The file type is set.
1) Whether to multiplex. A set field is whether multiplexing data (non-file type) is required.
(1) Multiplexing field names. If yes, setting is needed, the button for selecting multiplexing field is clicked, and the popup window for selecting multiplexing field is opened.
If the field type is "file", and if the multiplexing is "yes", then selecting the source of multiplexing, if the source of multiplexing is local or external interface, if the source of multiplexing is local, the local is corresponding to the certificate or material according to the standard, if the external interface is selected, the interface needs to be developed and implemented, and meanwhile, a record is configured in the corresponding table, and the corresponding relation between the interface address and the file name is configured.
(2) And (5) field prompting. And setting prompt characters in the background of the input frame and the drop-down frame.
(3) And verifying the rule. Configuring field content verification rules, wherein the rule verification comprises: default rules, custom regular expressions. Clicking the selection rule button opens the selection rule pop-up.
When selecting the drop-down box, it may be selected whether the submitted structure is json, if so, the data submitted to the background is json structure including key (dictionary code) and value (dictionary value), and if not, the data submitted to the background is a key (dictionary code) string. The default is.
When selecting multiple boxes, if the above structure is not selected, the multiple box separator needs to be filled in.
(4) And (5) material separation. If yes, there must be a Chinese name and an English name of the disassembled original material. The purpose is to correlate the original material.
(5) The material sets up whether a signature. Whether the material is signed or not and whether the material is a silent signature or not are set, if the coordinates of the silent signature are set, the silent signature is a page signature, and the silent signature can be configured with fixed coordinates or can be configured with a mode of finding a position according to a fixed character string.
(6) The material was pre-reviewed. The type of material pre-review is selected and the pre-review will take effect.
If field extraction is set, the corresponding field on the material is extracted and multiplexed into the corresponding page form field. Extracting the fields, selecting the form fields of the pre-examined material, associating the existing items with the fields, and clicking for determination after the association is completed.
If the material extraction field is not available, the front end only performs material pre-examination operation, and whether the material meets the requirement is judged. Only if the association of the extracted field is set, the identified field is filled into a tag such as a table page input box or a drop-down box when the material is added.
(7) Material details. The material details are mainly used for supporting the function of displaying part of information of the material under the line, and can display material formats, material sources, material forms, material parts and material requirements.
After the field attribute is set, clicking to determine the public field for which the save setting is completed.
3. The form field is set. The service fields of specific matters bind the common fields, that is, form field configuration pages with the same service field bind the same common field defined above to the service field. Comprising the following steps: setting the fields as public fields; configuration of field type as object
4. Scene field management. And sorting the public fields, namely sorting and ordering the public fields when the two forms are fused in the management background.
4.1. A scene is added. Clicking the added scene to open a scene selection popup window, inputting a scene name, and selecting and adding a fuzzy query scene.
4.2. Editing scene ordering
5. And (5) configuring page display. The page shows common fields. And according to the configuration information, fusing the public fields with other service fields through a program, and displaying the common fields on a page.
Based on the same inventive concept, the embodiment of the application also provides a configurable form data distribution device corresponding to the configurable form data distribution method, and because the principle of solving the problem by the device in the embodiment of the application is similar to that of the configurable form data distribution method in the embodiment of the application, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a configurable form data distribution device according to an embodiment of the present application, where the device includes:
a backlog obtaining module 501, configured to obtain a plurality of backlogs selected by a user;
the fusion form generating module 502 is configured to fuse the item fields in the item forms corresponding to the to-do items respectively, and generate a fusion form including a plurality of to-be-filled fields that are different from each other;
a field to be filled splitting module 503, configured to split, according to the item identifier carried by the field to be filled, the field to be filled and the field content filled by the user for the field to be filled, to obtain multiple groups of fields to be filled and field content carrying the same item identifier;
the to-be-submitted data generating module 504 is configured to generate to-be-submitted data matched with the carried item identifiers according to each group of to-be-filled fields and item identifiers carried by field contents;
and the to-be-submitted data distribution module 505 is configured to distribute the to-be-submitted data to a service system matched with the item identifier according to a flow node in a flow instance of a distribution engine.
In one possible implementation manner, the fusion form generating module 502, when fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fusion form including a plurality of to-be-filled fields different from each other, includes:
Acquiring a first field and a second field in a transaction form corresponding to each of the plurality of backlog forms;
for a plurality of first fields binding the same common field, replacing the plurality of first fields with the binding common field;
and generating the fusion form based on the field types and the corresponding arrangement sequences of the public field and the second field.
In one possible embodiment, the apparatus further comprises:
and the field replacement module is used for replacing the public field with a first field which is bound with the public field and carries the item identifier of the group where the field to be filled is located if the field to be filled is the public field.
In one possible embodiment, the apparatus further comprises:
the system comprises a backlog field creation module, a backlog field creation module and a backlog field creation module, wherein the backlog field creation module is used for responding to a creation instruction of a form and a form field and creating a backlog form and a event field in the backlog form; the event field carries an event identifier of the to-do event;
the public field binding module is used for calculating the similarity between each item field and each public field in a plurality of preset public fields according to the attribute information of each item field, binding the item field with the public field meeting the requirements if the calculated similarity meets the requirements, and newly adding item identifiers carried by the item fields for the bound public fields;
And the field classification and sorting module is used for classifying and sorting the public fields and the item fields according to the attribute information of the public fields and the item fields and determining the field types and the corresponding arrangement sequence of the public fields and the item fields.
The configurable form data distribution device provided by the embodiment of the application can fuse a plurality of to-do item forms into one fused form, realizes multi-item and one-form handling, and improves the handling efficiency of the items. And by adopting the configurable form, the form field can be modified at any time according to the service requirement, the online time of the online transaction function is shortened, and the response speed of service change is improved. In addition, the form distribution is realized by adopting the flow nodes in the distribution engine flow instance, so that the form distribution efficiency is improved.
Referring to fig. 6, fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present application, where the electronic device 600 includes: the system comprises a processor 601, a memory 602 and a bus 603, wherein the memory 602 stores machine-readable instructions executable by the processor 601, and when the electronic device is running, the processor 601 communicates with the memory 602 through the bus 603, and the processor 601 executes the machine-readable instructions to perform the steps of the configurable form data distribution method as described above.
Specifically, the above-described memory 602 and processor 601 can be general-purpose memories and processors, and are not particularly limited herein, and the above-described configurable form data distribution method can be performed when the processor 601 runs a computer program stored in the memory 602.
Corresponding to the above-mentioned configurable form data distribution method, the embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, performs the steps of the above-mentioned configurable form data distribution method.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again. In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, and the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, and for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other form.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored on a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. A configurable form data distribution method, the method comprising:
acquiring a plurality of backlog selected by a user;
fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fused form containing a plurality of mutually different to-be-filled fields; wherein, the field to be filled carries one or more item identifiers;
Splitting the field to be filled and the field content filled by the user for the field to be filled according to the item identifier carried by the field to be filled, so as to obtain a plurality of groups of fields to be filled and field content carrying the same item identifier;
generating to-be-submitted data matched with the carried item identifiers according to each group of to-be-filled fields and the item identifiers carried by the field contents;
and distributing the data to be submitted to a business system matched with the item identification according to a flow node in a distribution engine flow example.
2. The configurable form data distribution method according to claim 1, wherein the transaction field includes a first field of a binding public field and a second field of an unbinding public field; wherein the first field may be contained in a different backlog of the transaction form, and the second field may be contained only in a unique backlog of the transaction form; the fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fused form containing a plurality of mutually different to-be-filled fields, including:
acquiring a first field and a second field in a transaction form corresponding to each of the plurality of backlog forms; the second fields of any two backlog are different from each other, and the first fields of the two backlog are bound to the same common field;
For a plurality of first fields binding the same common field, replacing the plurality of first fields with the binding common field;
and generating the fusion form based on the field types and the corresponding arrangement sequences of the public field and the second field.
3. The configurable form data distribution method of claim 2, wherein the field to be filled comprises the common field and the second field, the method further comprising, prior to generating the data to be submitted:
and if the field to be filled is a public field, replacing the public field with a first field which is bound with the public field and carries the item identification of the group where the field to be filled is located.
4. The configurable form data distribution method of claim 2, wherein the method further comprises:
responding to a creation instruction of a form and a form field, and creating a backlog item form and an item field in the backlog item form; the event field carries an event identifier of the to-do event;
for each item field, calculating the similarity between the item field and each public field in a plurality of preset public fields according to the attribute information of the item field, binding the item field with the public field meeting the requirements if the calculated similarity meets the requirements, and newly adding item identifiers carried by the item field for the bound public field;
And classifying and sorting the public fields and the item fields according to the attribute information of the public fields and the item fields, and determining the field types and the corresponding arrangement sequence of the public fields and the item fields.
5. A configurable form data distribution device, the device comprising:
the backlog acquisition module is used for acquiring a plurality of backlogs selected by a user;
the fusion form generation module is used for fusing the item fields in the item forms corresponding to the to-do items respectively to generate a fusion form containing a plurality of mutually different to-be-filled fields;
the field to be filled splitting module is used for splitting the field to be filled and the field content filled by the user for the field to be filled according to the item identifier carried by the field to be filled to obtain a plurality of groups of fields to be filled and field content carrying the same item identifier;
the to-be-submitted data generation module is used for generating to-be-submitted data matched with the carried item identifiers according to each group of to-be-filled fields and the item identifiers carried by the field contents;
and the to-be-submitted data distribution module is used for distributing the to-be-submitted data to a business system matched with the item identification according to the flow nodes in the distribution engine flow instance.
6. The configurable form data distribution device according to claim 5, wherein the fusion form generation module, when fusing the item fields in the item forms corresponding to the plurality of backlog items respectively, generates a fusion form including a plurality of mutually different to-be-filled fields, includes:
acquiring a first field and a second field in a transaction form corresponding to each of the plurality of backlog forms;
for a plurality of first fields binding the same common field, replacing the plurality of first fields with the binding common field;
and generating the fusion form based on the field types and the corresponding arrangement sequences of the public field and the second field.
7. The configurable form data distribution device of claim 6, wherein the device further comprises:
and the field replacement module is used for replacing the public field with a first field which is bound with the public field and carries the item identifier of the group where the field to be filled is located if the field to be filled is the public field.
8. The configurable form data distribution device of claim 6, wherein the device further comprises:
The system comprises a backlog field creation module, a backlog field creation module and a backlog field creation module, wherein the backlog field creation module is used for responding to a creation instruction of a form and a form field and creating a backlog form and a event field in the backlog form; the event field carries an event identifier of the to-do event;
the public field binding module is used for calculating the similarity between each item field and each public field in a plurality of preset public fields according to the attribute information of each item field, binding the item field with the public field meeting the requirements if the calculated similarity meets the requirements, and newly adding item identifiers carried by the item fields for the bound public fields;
and the field classification and sorting module is used for classifying and sorting the public fields and the item fields according to the attribute information of the public fields and the item fields and determining the field types and the corresponding arrangement sequence of the public fields and the item fields.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is running, the processor executing the machine readable instructions to perform the steps of the configurable form data distribution method of any of claims 1 to 4.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the configurable form data distribution method of any of claims 1 to 4.
CN202310911708.1A 2023-07-25 2023-07-25 Configurable form data distribution method and device Pending CN116663514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310911708.1A CN116663514A (en) 2023-07-25 2023-07-25 Configurable form data distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310911708.1A CN116663514A (en) 2023-07-25 2023-07-25 Configurable form data distribution method and device

Publications (1)

Publication Number Publication Date
CN116663514A true CN116663514A (en) 2023-08-29

Family

ID=87724408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310911708.1A Pending CN116663514A (en) 2023-07-25 2023-07-25 Configurable form data distribution method and device

Country Status (1)

Country Link
CN (1) CN116663514A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775667A (en) * 2016-11-30 2017-05-31 福建榕基软件股份有限公司 A kind of many form information Dynamic Display method and devices
CN110609836A (en) * 2019-08-21 2019-12-24 杭州数梦工场科技有限公司 Form processing method and device, electronic equipment and storage medium
CN111192005A (en) * 2019-12-17 2020-05-22 腾讯云计算(北京)有限责任公司 Government affair service processing method and device, computer equipment and readable storage medium
CN114626351A (en) * 2022-02-17 2022-06-14 来也科技(北京)有限公司 Form filling method and device combining RPA and AI, electronic equipment and storage medium
CN115204125A (en) * 2022-07-04 2022-10-18 浪潮软件股份有限公司 Form aggregation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775667A (en) * 2016-11-30 2017-05-31 福建榕基软件股份有限公司 A kind of many form information Dynamic Display method and devices
CN110609836A (en) * 2019-08-21 2019-12-24 杭州数梦工场科技有限公司 Form processing method and device, electronic equipment and storage medium
CN111192005A (en) * 2019-12-17 2020-05-22 腾讯云计算(北京)有限责任公司 Government affair service processing method and device, computer equipment and readable storage medium
CN114626351A (en) * 2022-02-17 2022-06-14 来也科技(北京)有限公司 Form filling method and device combining RPA and AI, electronic equipment and storage medium
CN115204125A (en) * 2022-07-04 2022-10-18 浪潮软件股份有限公司 Form aggregation method and device

Similar Documents

Publication Publication Date Title
US11294968B2 (en) Combining website characteristics in an automatically generated website
Liu et al. Tiara: Interactive, topic-based visual text summarization and analysis
US10366154B2 (en) Information processing device, information processing method, and computer program product
EP2068276A1 (en) Information processing device and method, program, and recording medium
WO2015047920A1 (en) Title and body extraction from web page
US20050192949A1 (en) Document group analyzing apparatus, a document group analyzing method, a document group analyzing system, a program, and a recording medium
CN107783950A (en) Package insert processing method and processing device
CN1664810A (en) Assisted form filling
US9483740B1 (en) Automated data classification
CN111401008A (en) Document auditing system, document auditing method and device
EP3961426A2 (en) Method and apparatus for recommending document, electronic device and medium
CN110941702A (en) Retrieval method and device for laws and regulations and laws and readable storage medium
US20090198647A1 (en) Apparatus and method for identifying locale-specific data based on a total ordering of supported locales
CN111581937A (en) Document generation method and device, computer readable medium and electronic equipment
JP6499763B2 (en) Method and apparatus for verifying video information
CN113407678B (en) Knowledge graph construction method, device and equipment
CN109949090A (en) Lead referral method, apparatus, electronic equipment and medium
CN112052656A (en) Recommending topic patterns for documents
CN116663514A (en) Configurable form data distribution method and device
CN108132940B (en) Application program data extraction method and device
CN113177055A (en) Information updating method and device and computer storage medium
CN113127574A (en) Service data display method, system, equipment and medium based on knowledge graph
US20220327162A1 (en) Information search system
CN113836288B (en) Method and device for determining service detection result and electronic equipment
JP7481051B1 (en) Information processing device, information processing method, and program

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