CN113128187B - Form generation method, device and system - Google Patents

Form generation method, device and system Download PDF

Info

Publication number
CN113128187B
CN113128187B CN202110418199.XA CN202110418199A CN113128187B CN 113128187 B CN113128187 B CN 113128187B CN 202110418199 A CN202110418199 A CN 202110418199A CN 113128187 B CN113128187 B CN 113128187B
Authority
CN
China
Prior art keywords
control
target
prior
content
acquiring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110418199.XA
Other languages
Chinese (zh)
Other versions
CN113128187A (en
Inventor
袁平安
成明
邹欢
周华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yiyan Shanghai Business Consulting Co ltd
Original Assignee
Yiyuan Shanghai Information Technology 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 Yiyuan Shanghai Information Technology Co ltd filed Critical Yiyuan Shanghai Information Technology Co ltd
Priority to CN202110418199.XA priority Critical patent/CN113128187B/en
Publication of CN113128187A publication Critical patent/CN113128187A/en
Application granted granted Critical
Publication of CN113128187B publication Critical patent/CN113128187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a form generation method, a form generation device and a form generation system, wherein the form generation method comprises the steps of obtaining a control identification of a first target control included in a first control object in a current form; traversing all prior completion forms related to the target user and judging whether a first prior control with the same control identification as the first target control exists or not; if yes, acquiring the content of the previous control matched with the first previous control, and taking the content of the previous control as the control content of the first target control; according to the form generation method, when the form is generated, the control content of the same control in the previous form of the same user is automatically used as the control content of the same control in the current form, so that the control content of part of the controls is filled out when the form is generated, repeated filling work of a user is omitted, filling time is saved, and the form processing progress is quickened.

Description

Form generation method, device and system
Technical Field
The present invention belongs to the field of computer technology, and in particular, relates to a form generating method, device and system.
Background
At present, most enterprises can use automatic office and approval flows, and the functional richness and efficiency of approval forms directly influence the management efficiency inside the enterprises. At the same time, each enterprise has very different demands for approval forms, and different forms must be used for processing different events, which requires configuration to generate a plurality of forms for users to use (fill in) and approvers to approve.
However, the same user has more forms in the same enterprise, the information to be filled in has a phenomenon of partial repetition, and the repeated filling of the user not only causes slower filling and approval processes, but also brings poorer use experience.
It is therefore desirable to find a method that effectively improves upon the above-described situation.
Disclosure of Invention
In order to solve the technical problems, the invention provides a form generation method, a form generation device and a form generation system, which can effectively accelerate a form processing process.
The technical scheme provided by the invention is as follows:
the first aspect of the present invention provides a form generating method, including:
acquiring a control identifier of a first target control included in a first control object in a current form;
traversing all prior completion forms related to a target user and judging whether a first prior control with the same control identification as the first target control exists or not;
and if so, acquiring the prior control content matched with the first prior control, and taking the prior control content as the control content of the first target control.
In a preferred embodiment, the step of obtaining the content of the previous control matched with the first previous control and using the content of the previous control as the content of the control of the first target control includes the following substeps:
acquiring data information associated with control content of the first previous control, wherein the data information comprises a data source interface address, an interface data format and a data source interface protocol;
and constructing the association relation between the control content of the first target control and the corresponding data source based on the data information.
In a preferred embodiment, the first control object further includes a second target control, and the second target control and the first target control form a target suite;
after traversing all prior completion forms related to the target user and acquiring the first prior control with the same control identification as the first target control, the form generation method further comprises: the control content of the second target control is obtained, and the method comprises the following substeps:
traversing all prior completion forms related to the target user and acquiring all prior suites comprising the first prior control based on the control identification of the first target control;
searching a second previous control with the same control identifier as the second target control in all the obtained previous suites based on the control identifier of the second target control;
and acquiring control content matched with the second previous control, taking the previous control content as the control content of the second target control, and displaying the control content in the current form.
In a preferred embodiment, the generating method further includes: pre-configuring the first control object, including the following sub-steps:
acquiring and generating a corresponding control object dragging instruction according to dragging operation information of a first control object in a preset form frame of a user, wherein the first control object comprises one of the target suite or the first target control;
and generating a corresponding target suite or a first target control in the form to be configured based on the control object dragging instruction.
In a preferred embodiment, the obtaining and generating the corresponding control object drag instruction according to the drag operation information of the user on the first control object in the preset form frame includes the following substeps:
acquiring position information of a mouse;
when the mouse clicks the control object and the position information changes, corresponding drag operation information is obtained; the drag operation information comprises a control identifier of a control included in the first control object and position information of the dragged mouse in a configuration form;
and generating a control object dragging instruction based on the dragging operation information.
In a preferred embodiment, if the control content does not exist, after acquiring the control content that is first filled in by the user in the first target control, the method further includes:
receiving a data storage instruction of a user;
and storing control contents filled in the first target control by a user for the first time to serve as a data source of a subsequently generated form containing the first target control.
Preferably, the first control object further comprises a second target control, and the second target control and the first target control form a target suite; after obtaining the control content filled in the first target control and the second control for the first time by the user, the method further comprises the following steps:
and simultaneously saving control contents of the first control and the second control filled in the first target control by a user for the first time as a data source of a subsequently generated form containing the target suite.
In a second aspect of the present invention, there is provided a form generating apparatus including:
the first acquisition module is used for acquiring a control identifier of a first target control included in a first control object in the current form;
the searching module traverses all the prior completion forms related to the target user and judges whether a first prior control with the same control identification as the first target control exists or not;
and the first processing module is used for acquiring the prior control content matched with the first prior control if the first control exists, and taking the prior control content as the control content of the first target control.
In a preferred embodiment, the first processing module includes:
the first acquisition unit is used for acquiring data information associated with control content of the first previous control, wherein the data information comprises a data source interface address, an interface data format and a data source interface protocol;
and the construction unit is used for constructing the association relation between the control content of the first target control and the corresponding data source based on the data information.
In a preferred embodiment, the first control object further includes a second target control, and the second target control and the first target control form a target suite;
the device also comprises a second processing module, which is used for acquiring control content of a second target control, and comprises:
the first searching unit is used for traversing all prior completion forms related to the target user and acquiring all prior suites comprising the first prior control based on the control identification of the first target control;
the second searching unit is used for searching a second previous control with the same control identifier as the second target control in all the obtained previous suites based on the acquired control identifier of the second target control;
and the second acquisition unit is used for acquiring the control content matched with the second previous control and taking the previous control content as the control content of the second target control.
In a third aspect, there is provided a computer system comprising:
one or more processors; and
a memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the operations of:
acquiring a control identifier of a first target control included in a first control object in a current form;
traversing all prior completion forms related to a target user and judging whether a first prior control with the same control identification as the first target control exists or not;
and if so, acquiring the prior control content matched with the first prior control, and taking the prior control content as the control content of the first target control.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a form generation method, a form generation device and a form generation system, wherein the form generation method comprises the steps of obtaining a control identification of a first target control included in a first control object in a current form; traversing all prior completion forms related to the target user and judging whether a first prior control with the same control identification as the first target control exists or not; if yes, acquiring the content of the previous control matched with the first previous control, and taking the content of the previous control as the control content of the first target control; when the form is generated, the control content of the same control in the previous form of the same user is automatically used as the control content of the same control in the current form, so that the control content of part of the controls is filled out when the form is generated, the repeated filling work of a user is saved, the filling time is saved, and the form processing progress is quickened;
the method comprises the following substeps of: acquiring data information associated with control content of a first previous control, wherein the data information comprises a data source interface address, an interface data format and a data source interface protocol; based on the data information, constructing an association relationship between control content of the first target control and a corresponding data source; thus, the control can acquire data from different types of data sources, and the universality is strong;
when the first control object is a target suite comprising a first target control and a second target control, the control content of the second target control in the target suite is automatically acquired after the control content of the first target control is acquired, so that synchronous acquisition of all the control contents in the target suite is realized.
The solution of the present application may achieve any one of the technical effects.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a form generation method according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a form generating apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a computer system according to a third embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Aiming at the problem that information is repeatedly filled in a plurality of forms which need to be filled in the current approval flow, the embodiment provides a form generating method, a form generating device and a form generating system, which can effectively improve the problem so as to accelerate the approval flow.
The form generation method, apparatus and system are further described below in connection with specific embodiments.
Example 1
Referring to fig. 1, the present embodiment provides a form generating method, which includes the following steps:
s1, acquiring a control identifier of a first target control included in a first control object in a current form.
Specifically, in the form configuration stage, configuration is performed in a pre-developed form framework, and a plurality of empty form templates, such as a cyclic countersignature form template, a custom service form template and the like, are set in the form framework according to specific use requirements. On the basis of the form template, the user further configures the form structure, such as control types (drop-down boxes, selection boxes, array types and the like), control positions, control quantity and the like, so as to finally form a form which is convenient to fill in and meets the approval requirements.
The control identifier is an identifier for uniquely determining the property of the control, and a control name is generally adopted, wherein the control name has unique certainty, and forms configured in the same form frame can be regarded as the same control by the same control name.
S2, traversing all prior completion forms related to the target user and judging whether a first prior control with the same control identification as the first target control exists or not.
Specifically, step S2 includes the following sub-steps:
s21, extracting user identifiers such as a job number, a name and the like for uniquely determining the user identifiers;
s22, acquiring all the previous completion forms of the user according to the user identification. The prior completion forms comprise forms for completing pending approval or completing approval.
S23, searching whether a first previous control with the same control identification as the first target control exists in all the previous completion forms. Thus, the first target control is the same control as the first previous control in the previous completion form, so that the information that both require the target user to fill in or confirm is actually the same.
And S3, if the control content exists, acquiring the control content which is matched with the first control and is used as the control content of the first target control. The first target control and the first previous control in the previous completion form are the same control, so that the control content of the first target control can be automatically obtained by setting the data sources of the first target control and the first previous control to be the same.
Specifically, step S3 includes the following sub-steps:
s31, acquiring data information associated with control content of a first previous control, wherein the data information comprises a data source interface address, an interface data format and a data source interface protocol;
s32, based on the data information, constructing the association relation between the control content of the first target control and the corresponding data source.
It should be noted that, in this embodiment, by setting the data source interface address, the interface data format and the data source interface protocol of the data information, the data information is obtained from different data sources, so as to improve the universality of the data interface. The data source may be a third party data source or a database stored locally.
Therefore, when the form is generated, the form generating method automatically takes the control content of the same control in the previous form of the same user as the control content of the same control in the current form, so that the control content of part of the controls is filled out when the form is generated, repeated filling work of a user is omitted, filling time is saved, and form processing progress is accelerated.
Further, the first control object in this embodiment includes at least a first target control, so the first control object may be a single control, or may be a suite including a plurality of controls, for example, the first control object further includes a second target control, and thus, the second target control and the first target control form a target suite.
When the first control object is a suite, step S2 further includes: s4, acquiring control content of a second target control, which comprises the following substeps:
s41, traversing all prior completion forms related to a target user and acquiring all prior suites comprising a first prior control based on the control identification of the first target control;
s42, based on the control identification of the acquired second target control, searching for a second previous control with the same control identification as the second target control in all the acquired previous suites;
s43, acquiring control content matched with the second previous control, and taking the previous control content as control content of the second target control.
The implementation process of step S43 is similar to the implementation process of step S3, and specific processes may refer to the description of step S43, and will not be further described herein.
Therefore, when the first control object is a target suite comprising the first target control and the second target control, the control content of the second target control in the target suite is automatically acquired after the control content of the first target control is acquired, so that synchronous acquisition of all the control contents in the target suite is realized.
Of course, the first control object needs to be preconfigured in the form frame, so the form generating method further includes: s0, pre-configuring the first control object, which comprises the following substeps:
s01, acquiring and generating a corresponding control object dragging instruction according to dragging operation information of a first control object in a preset form frame by a user, wherein the first control object comprises one of a target suite and a first target control;
s02, generating a corresponding target suite or a first target control in the form to be configured based on the control object dragging instruction.
Specifically, step S01 includes the following sub-steps:
s011, acquiring position information of a mouse;
s012, when the mouse clicks the control object and the position information is changed, corresponding drag operation information is obtained; the drag operation information comprises a control identifier of a control included in the first control object and position information of the dragged mouse in a configuration form;
s013, generating a control object drag instruction based on drag operation information.
When the judgment result in the step S2 is that the first previous control is not present, after the control content filled in the first target control by the user for the first time is obtained, the method further includes:
sa1, receiving a data storage instruction of a user;
sa2-1, storing control content which is filled in the first target control by a user for the first time as a data source of a subsequently generated form containing the first target control.
Further, when the first control object further comprises a second target control, the second target control and the first target control form a target suite; after the control content filled in the first target control and the second control by the user for the first time is obtained, the form generation method further comprises the following steps:
sa2-2, simultaneously saving control contents filled in the first target control and the second control by the user for the first time as a data source of a subsequently generated form containing the target suite.
Therefore, when the first control object is a target suite comprising the first target control and the second target control, the control content of the second target control in the target suite is automatically acquired after the control content of the first target control is acquired, so that synchronous acquisition of all the control contents in the target suite is realized.
Example two
To perform the form generating method in the first embodiment, the present embodiment provides a form generating device corresponding to the form generating method, as shown in fig. 2, where the form generating device includes:
the first acquisition module is used for acquiring a control identifier of a first target control included in a first control object in the current form;
the searching module traverses all the prior completion forms related to the target user and judges whether a first prior control with the same control identification as the first target control exists or not;
and the first processing module is used for acquiring the prior control content matched with the first prior control if the first control exists, and taking the prior control content as the control content of the first target control.
The first processing module includes:
the first acquisition unit is used for acquiring data information associated with control content of the first previous control, wherein the data information comprises a data source interface address, an interface data format and a data source interface protocol;
and the construction unit is used for constructing the association relation between the control content of the first target control and the corresponding data source based on the data information.
The first control object further comprises a second target control, and the second target control and the first target control form a target suite;
the device also comprises a second processing module, which is used for acquiring control content of a second target control, and comprises:
the first searching unit is used for traversing all prior completion forms related to the target user and acquiring all prior suites comprising the first prior control based on the control identification of the first target control;
the second searching unit is used for searching a second previous control with the same control identifier as the second target control in all the obtained previous suites based on the acquired control identifier of the second target control;
and the second acquisition unit is used for acquiring the control content matched with the second previous control and taking the previous control content as the control content of the second target control.
The device also comprises a configuration module, which is used for pre-configuring the first control object and comprises:
the third acquisition unit is used for acquiring and generating a corresponding control object dragging instruction according to the dragging operation information of a first control object in a preset form frame by a user, wherein the first control object comprises one of the target suite and the first target control;
and the generating unit is used for generating a corresponding target suite or a first target control in the form to be configured based on the control object dragging instruction.
The third acquisition unit includes:
the first acquisition subunit is used for acquiring the position information of the mouse;
the second acquisition subunit is used for acquiring corresponding drag operation information when the mouse clicks the control object and the position information changes; the drag operation information comprises a control identifier of a control included in the first control object and position information of the dragged mouse in a configuration form;
and the generation subunit is used for generating a control object dragging instruction based on the dragging operation information.
When the result of the searching module is that the first target control is not present, the form generating device further comprises:
the receiving module is used for receiving a data storage instruction of a user;
and the storage module is used for storing control contents filled in the first target control by a user for the first time to be used as a data source of a subsequently generated form containing the first target control.
When the first control object further comprises a second target control, and the second target control and the first target control form a target suite, the storage module is further configured to store control contents filled in the first target control and the second control for the first time by a user at the same time as a data source of a subsequently generated form containing the target suite.
It should be noted that: the form generating device provided in the above embodiment only uses the division of the above functional modules to illustrate when triggering the form generating service, in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the form generating device provided in the above embodiment belongs to the same concept as the form generating method provided in the first embodiment, that is, the device is based on the method, and the detailed implementation process of the device is referred to the method embodiment, which is not repeated here.
Example III
Corresponding to the above method and apparatus, the present embodiment provides a computer system, including:
one or more processors; and
a memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the operations of:
acquiring a control identifier of a first target control included in a first control object in a current form;
traversing all prior completion forms related to a target user and judging whether a first prior control with the same control identification as the first target control exists or not;
and if so, acquiring the prior control content matched with the first prior control, and taking the prior control content as the control content of the first target control.
FIG. 3 illustrates an architecture of a computer system 1500, which may include a processor 1510, a video display adapter 1511, a disk drive 1512, an input/output interface 1513, a network interface 1514, and a memory 1520, among others. The processor 1510, the video display adapter 1511, the disk drive 1512, the input/output interface 1513, the network interface 1514, and the memory 1520 may be communicatively connected by a communication bus 1530.
The processor 1510 may be implemented by a general-purpose CXU (Central Xrocessing Unit, central processing unit), a microprocessor, an application specific integrated circuit (AXXlication SXecific Integrated Circuit, ASIC), or one or more integrated circuits, etc., for executing related programs to implement the technical solutions provided in the present application.
The Memory 1520 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), a static storage device, a dynamic storage device, or the like. The memory 1520 may store an operating system 1521 for controlling the operation of the computer system 1500, a Basic Input Output System (BIOS) 1522 for controlling the low-level operation of the computer system 1500. In addition, a web browser 1523, a data storage management system 1524, an icon font processing system 1525, and the like may also be stored. The icon font processing system 1525 may be an application program that specifically implements the foregoing operations of the steps in the embodiments of the present application. In general, when the technical solutions provided in the present application are implemented in software or firmware, relevant program codes are stored in the memory 1520 and invoked for execution by the processor 1510.
The input/output interface 1513 is used to connect input/output devices to enable information input and output. The input/output devices may be configured as components in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
The network interface 1514 is used to connect network devices (not shown) to enable communication interactions of the device with other devices. The network device may communicate through a wired manner (such as USB, network cable, etc.), or may communicate through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1530 includes a path for transporting information between various components of the device (e.g., processor 1510, video display adapter 1511, disk drive 1512, input/output interface 1513, network interface 1514, and memory 1520).
In addition, the computer system 1500 may also obtain information of specific retrieval conditions from the virtual resource object retrieval condition information database for making condition judgment, and so on.
It is noted that although the above devices illustrate only the processor 1510, video display adapter 1511, disk drive 1512, input/output interface 1513, network interface 1514, memory 1520, bus 1530, etc., the device may include other components necessary to achieve proper functioning in a particular implementation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the present application, and not all the components shown in the drawings.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and include several instructions to cause a computer device (which may be a personal computer, a cloud server, or a network device, etc.) to perform the methods described in the various embodiments or some parts of the embodiments of the present application.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden from the data of their inventive step.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (7)

1. A form generation method, characterized in that the form generation method comprises:
acquiring a control identifier of a first target control included in a first control object in a current form;
traversing all prior completion forms related to a target user and judging whether a first prior control with the same control identification as the first target control exists or not;
if yes, acquiring the prior control content matched with the first prior control, and taking the prior control content as the control content of the first target control;
the step of obtaining the prior control content matched with the first prior control and taking the prior control content as the control content of the first target control comprises the following substeps:
acquiring data information associated with control content of the first previous control, wherein the data information comprises a data source interface address, an interface data format and a data source interface protocol;
constructing an association relationship between control content of the first target control and a corresponding data source based on the data information;
the first control object further comprises a second target control, and the second target control and the first target control form a target suite;
after traversing all prior completion forms related to the target user and acquiring the first prior control with the same control identification as the first target control, the form generation method further comprises: the control content of the second target control is obtained, and the method comprises the following substeps:
traversing all prior completion forms related to the target user and acquiring all prior suites comprising the first prior control based on the control identification of the first target control;
searching a second previous control with the same control identifier as the second target control in all the obtained previous suites based on the control identifier of the second target control;
and acquiring control content matched with the second previous control, and taking the previous control content as the control content of the second target control.
2. The form generation method according to claim 1, characterized in that the generation method further comprises: pre-configuring the first control object, including the following sub-steps:
acquiring and generating a corresponding control object dragging instruction according to dragging operation information of a first control object in a preset form frame of a user, wherein the first control object comprises one of the target suite or the first target control;
and generating a corresponding target suite or a first target control in the form to be configured based on the control object dragging instruction.
3. The form generating method according to claim 2, wherein the obtaining and generating the corresponding control object drag instruction according to the drag operation information of the first control object in the preset form frame by the user includes the following substeps:
acquiring position information of a mouse;
when the mouse clicks the control object and the position information changes, corresponding drag operation information is obtained; the drag operation information comprises a control identifier of a control included in the first control object and position information of the dragged mouse in a configuration form;
and generating a control object dragging instruction based on the dragging operation information.
4. The form generation method according to claim 1, wherein if the control content does not exist, after acquiring the control content that the user fills in the first target control for the first time, the method further includes:
receiving a data storage instruction of a user;
and storing control contents filled in the first target control by a user for the first time to serve as a data source of a subsequently generated form containing the first target control.
5. The form generation method of claim 4, wherein the first control object further comprises a second target control, the second target control and the first target control forming a target suite; after obtaining the control content filled in the first target control and the second control for the first time by the user, the method further comprises the following steps:
and simultaneously storing control contents filled in the first target control and the second control by the user for the first time to be used as a data source of a subsequently generated form containing the target suite.
6. A form generation apparatus, characterized in that the form generation apparatus includes:
the first acquisition module is used for acquiring a control identifier of a first target control included in a first control object in the current form;
the searching module traverses all the prior completion forms related to the target user and judges whether a first prior control with the same control identification as the first target control exists or not;
the first processing module is used for acquiring the prior control content matched with the first prior control if the first control exists, and taking the prior control content as the control content of the first target control;
wherein the first processing module comprises:
the first acquisition unit is used for acquiring data information associated with control content of the first previous control, wherein the data information comprises a data source interface address, an interface data format and a data source interface protocol;
the construction unit is used for constructing the association relation between the control content of the first target control and the corresponding data source based on the data information;
the first control object further comprises a second target control, and the second target control and the first target control form a target suite;
the device also comprises a second processing module, which is used for acquiring control content of a second target control, and comprises:
the first searching unit is used for traversing all prior completion forms related to the target user and acquiring all prior suites comprising the first prior control based on the control identification of the first target control;
the second searching unit is used for searching a second previous control with the same control identifier as the second target control in all the obtained previous suites based on the acquired control identifier of the second target control;
and the second acquisition unit is used for acquiring the control content matched with the second previous control and taking the previous control content as the control content of the second target control.
7. A computer system, comprising:
one or more processors; and
a memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the operations of:
acquiring a control identifier of a first target control included in a first control object in a current form;
traversing all prior completion forms related to a target user and judging whether a first prior control with the same control identification as the first target control exists or not;
if yes, acquiring the prior control content matched with the first prior control, and taking the prior control content as the control content of the first target control;
the step of obtaining the prior control content matched with the first prior control and taking the prior control content as the control content of the first target control comprises the following substeps:
acquiring data information associated with control content of the first previous control, wherein the data information comprises a data source interface address, an interface data format and a data source interface protocol;
constructing an association relationship between control content of the first target control and a corresponding data source based on the data information;
the first control object further comprises a second target control, and the second target control and the first target control form a target suite;
after traversing all prior completion forms related to the target user and acquiring the first prior control with the same control identification as the first target control, the form generation method further comprises: the control content of the second target control is obtained, and the method comprises the following substeps:
traversing all prior completion forms related to the target user and acquiring all prior suites comprising the first prior control based on the control identification of the first target control;
searching a second previous control with the same control identifier as the second target control in all the obtained previous suites based on the control identifier of the second target control;
and acquiring control content matched with the second previous control, and taking the previous control content as the control content of the second target control.
CN202110418199.XA 2021-04-19 2021-04-19 Form generation method, device and system Active CN113128187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110418199.XA CN113128187B (en) 2021-04-19 2021-04-19 Form generation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110418199.XA CN113128187B (en) 2021-04-19 2021-04-19 Form generation method, device and system

Publications (2)

Publication Number Publication Date
CN113128187A CN113128187A (en) 2021-07-16
CN113128187B true CN113128187B (en) 2023-05-05

Family

ID=76777633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110418199.XA Active CN113128187B (en) 2021-04-19 2021-04-19 Form generation method, device and system

Country Status (1)

Country Link
CN (1) CN113128187B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188306A (en) * 2019-05-30 2019-08-30 深圳前海微众银行股份有限公司 A kind of method and device of web form Auto-writing
CN111767703A (en) * 2020-06-28 2020-10-13 山东浪潮通软信息科技有限公司 Form data acquisition method, device and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681971A (en) * 2015-11-11 2017-05-17 阿里巴巴集团控股有限公司 Form data processing method and device
CN108428112A (en) * 2018-03-12 2018-08-21 武汉斗鱼网络科技有限公司 A kind of generation method of list, device, computer and storage medium
CN110083590A (en) * 2019-04-22 2019-08-02 杭州数梦工场科技有限公司 Data filling method and device and computer readable storage medium
CN110347986B (en) * 2019-06-27 2023-01-17 杭州数梦工场科技有限公司 Form-based information acquisition method and device
CN112528613A (en) * 2020-12-21 2021-03-19 金蝶软件(中国)有限公司 Data table generation method and related equipment thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188306A (en) * 2019-05-30 2019-08-30 深圳前海微众银行股份有限公司 A kind of method and device of web form Auto-writing
CN111767703A (en) * 2020-06-28 2020-10-13 山东浪潮通软信息科技有限公司 Form data acquisition method, device and system

Also Published As

Publication number Publication date
CN113128187A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN108519967B (en) Chart visualization method and device, terminal and storage medium
US8539514B2 (en) Workflow integration and portal systems and methods
US11797273B2 (en) System and method for enhancing component based development models with auto-wiring
US11132114B2 (en) Method and apparatus for generating customized visualization component
CN106997298B (en) Application resource acquisition method and device
CN110084486B (en) Resource management method and device
CN106383704A (en) Progress bar data processing method and apparatus
CN107807841B (en) Server simulation method, device, equipment and readable storage medium
US20230229215A1 (en) Cloud Computing Power Allocation Method, User Terminal, Cloud Computing Power Platform and System
CN111506300A (en) Applet generation method, device, equipment and storage medium
CN110825412A (en) Controller program flashing system and method based on LabVIEW
CN111767229A (en) Performance test method, device and equipment
CN115795211A (en) Page display method, device, system, equipment and storage medium
CN105933154A (en) Management method of cloud calculation resources
CN112486797A (en) Interface test method and device
CN114218072A (en) Test script generation method and device, storage medium and computer equipment
CN113407561A (en) Configurable asset management method, apparatus, medium and computer program product
CN106095886B (en) Data processing method and device
CN113128187B (en) Form generation method, device and system
CN110764864A (en) Terraform-based visual resource arrangement method
CN110765610A (en) PDM (product data management) integration method and device, computer equipment and storage medium
CN115860877A (en) Product marketing method, device, equipment and medium
CN115269285A (en) Test method and device, equipment and computer readable storage medium
CN114925105A (en) Method for making number of insurance business and related equipment
CN113961127A (en) Visualization server management method and device, electronic equipment and computer storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221121

Address after: 201306 building C, No. 888, Huanhu West 2nd Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Yiyan (Shanghai) Business Consulting Co.,Ltd.

Address before: 200080 room 103, 1st floor, building 2, 278 Harbin Road, Hongkou District, Shanghai

Applicant before: Shanghai Yiyuan Network Technology Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 201306 building C, No. 888, Huanhu West 2nd Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Yiyuan (Shanghai) Information Technology Co.,Ltd.

Address before: 201306 building C, No. 888, Huanhu West 2nd Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant before: Yiyan (Shanghai) Business Consulting Co.,Ltd.

GR01 Patent grant
GR01 Patent grant