CN112527278A - Smart form generating and issuing method, device, terminal and storage medium - Google Patents

Smart form generating and issuing method, device, terminal and storage medium Download PDF

Info

Publication number
CN112527278A
CN112527278A CN202011486108.8A CN202011486108A CN112527278A CN 112527278 A CN112527278 A CN 112527278A CN 202011486108 A CN202011486108 A CN 202011486108A CN 112527278 A CN112527278 A CN 112527278A
Authority
CN
China
Prior art keywords
generating
target system
data information
unique
information
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
CN202011486108.8A
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.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202011486108.8A priority Critical patent/CN112527278A/en
Publication of CN112527278A publication Critical patent/CN112527278A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/37Compiler construction; Parser generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method, a device, a terminal and a storage medium for generating and issuing an intelligent form, wherein the method comprises the following steps: receiving an instruction of a user, generating a form on a visual layout interface according to the instruction, converting the form into form data information, and generating a unique ID (identity); acquiring a target system needing to issue a form, and issuing the unique ID to the target system; and loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system. Through the mode, the generated form can be loaded on different systems or platforms, the applicability is high, and the workload of maintenance personnel is reduced.

Description

Smart form generating and issuing method, device, terminal and storage medium
Technical Field
The present application relates to the field of software development technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for generating and issuing a smart form.
Background
At present, a lot of form filling works on an application system are similar to form filling feedback in government projects, problem tracking processing and field inspection condition filling feedback, for example, hundreds of forms are needed for environment-specific service system inspection, traditional service system forms are developed and produced based on the use technology of research and development personnel, and a lot of research and development personnel and operation and maintenance personnel cost is needed for hundreds of forms in an urgent project condition and an online time range.
The traditional dynamic form and form configuration tools are usually implemented for a single application system, namely, after the form is configured by the form configuration tools, the form is issued to a corresponding system, so that different systems are required to be equipped with the form configuration tools independently, the workload of developers is increased, the maintenance difficulty of the form configuration tools is also increased, and once all the form configuration tools need to be maintained simultaneously, the workload is huge.
Disclosure of Invention
The application provides a method, a device, a terminal and a storage medium for generating and issuing an intelligent form, and aims to solve the problems of low applicability and large maintenance workload of the existing form configuration tool.
In order to solve the technical problem, the application adopts a technical scheme that: the method for generating and publishing the intelligent form comprises the following steps: receiving an instruction of a user, generating a form on a visual layout interface according to the instruction, converting the form into form data information, and generating a unique ID (identity); acquiring a target system needing to issue a form, and issuing the unique ID to the target system; and loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system.
As a further improvement of the application, the method comprises the steps of receiving an instruction of a user, generating a form on a visual layout interface according to the instruction, converting the form into form data information, and generating a unique ID, and comprises the following steps: acquiring a list element dragged to a visual layout interface from a template library by a user, and generating layout information of the list element; acquiring the table unit piece, pre-configuring corresponding public attribute information according to the functional characteristics, and marking the table unit piece according to the requirements of a user, wherein the marks comprise a must-fill mark and a check mark; receiving personalized configuration information of the form element input by a user, and performing personalized configuration on the form element; and generating form data information according to the configured form units and the layout information, and generating a unique ID for the form data information.
As a further improvement of the application, the method for receiving the personalized configuration information of the form element input by the user and performing personalized configuration on the form element comprises the following steps: receiving personalized configuration information input by a user, wherein the personalized configuration information comprises element association configuration and element operation configuration; when the personalized configuration information is element association configuration, acquiring association logics between elements and between the elements and the table unit pieces according to the element association configuration, and associating the elements and the table unit pieces according to the association logics to generate association expressions, wherein each table unit piece corresponds to at least one element; when the personalized configuration information is the element operation configuration, the target elements needing to be operated are confirmed according to the element operation configuration, and the operation expressions are not set for the target elements.
As a further improvement of the present application, after loading and parsing the form data information corresponding to the unique ID identifier by using a form parser preset in the target system, and generating a form according to the form data information by the target system, the method further includes: receiving a form modification request initiated by a user; judging whether the type of the form modification request is layout modification or personalized configuration modification; if the layout is modified, the layout information is called and output and displayed on a visual layout interface, and when the user confirms that the modification is completed, the layout information is regenerated according to the layout of the form elements on the visual layout interface; and if the personalized configuration is modified, outputting and displaying the editable associated expression and the editable operation expression, and when the user confirms that the modification is completed, performing personalized configuration on the form again according to the modified associated expression and the operation expression.
As a further improvement of the present application, acquiring a target system that needs to issue a form, and issuing a unique ID to the target system includes: extracting key information from the form data information, wherein the key information comprises information for identifying the type of the form; confirming a target system needing to issue a type form according to the key information; and issuing the unique ID to the target system.
As a further improvement of the present application, the method includes the steps of receiving an instruction of a user, generating a form on a visual layout interface according to the instruction, converting the form into form data information, and generating a unique ID identifier, and then: storing the form and the form data information to a cloud database; loading and analyzing form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system, wherein the form analyzer comprises the following steps: and loading and analyzing form data information corresponding to the unique ID from the cloud database by using a form analyzer preset in the target system, and generating a form according to the form data information by the target system.
As a further improvement of the application, the form data information is a JSON format file.
In order to solve the above technical problem, another technical solution adopted by the present application is: provided is an apparatus for generating and issuing a smart form, including: the generating module is used for receiving an instruction of a user, generating a form on a visual layout interface according to the instruction, converting the form into form data information and generating a unique ID; the issuing module is used for acquiring a target system needing to issue the form and issuing the unique ID to the target system; and the loading module is used for loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system.
In order to solve the above technical problem, the present application adopts another technical solution that: there is provided a terminal comprising a processor, a memory coupled to the processor, the memory having stored therein program instructions that, when executed by the processor, cause the processor to perform the steps of the smart form generation and issuance method as recited in any of the preceding claims.
In order to solve the above technical problem, the present application adopts another technical solution that: there is provided a storage medium storing a program file capable of realizing the method for generating and issuing a smart form as defined in any one of the above.
The beneficial effect of this application is: according to the intelligent form generating and issuing method, after the form is constructed according to the instruction of the user, the form is converted into form data information, the form data information is sent to a target system needing to generate the form, then the form data information of the form is loaded and analyzed by using a form analyzer preset on the target system, and the form is generated on the target system according to the analysis result, so that the configuration of the form is not only directed to single application, but also directed to a plurality of systems, and the forms of different systems can be generated by the method and then issued to the systems through the form analyzer to be taken out. For a target system which needs to use various forms frequently, the form configuration management module is independently removed, and the loading and generation problems of the forms can be realized only by installing a form parser, so that the reprogramming design of the target system is simplified, the realization difficulty is reduced, and the workload of maintenance personnel is reduced. And the unique ID identification is set, so that the management of the form is more convenient, and the problem of form issuing error caused by management confusion when the forms are too many is avoided.
Drawings
FIG. 1 is a schematic flow chart diagram of a method for generating and publishing a smart form according to a first embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of a method for generating and publishing a smart form according to a second embodiment of the present application;
FIG. 3 is a schematic diagram of a visual layout interface of a form designer for a method of intelligent form generation and release according to a second embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating a method for generating and publishing a smart form according to a third embodiment of the present application;
FIG. 5 is a schematic flow chart diagram illustrating a method for generating and publishing a smart form according to a fourth embodiment of the present application;
FIG. 6 is a functional block diagram of an apparatus for generating and publishing a smart form according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a storage medium according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first", "second" and "third" in this application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any indication of the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of the feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise. All directional indications (such as up, down, left, right, front, and rear … …) in the embodiments of the present application are only used to explain the relative positional relationship between the components, the movement, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indication is changed accordingly. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Fig. 1 is a flowchart illustrating a method for generating and publishing a smart form according to a first embodiment of the present application. It should be noted that the method of the present application is not limited to the flow sequence shown in fig. 1 if the results are substantially the same. As shown in fig. 1, the method comprises the steps of:
step S101: and receiving an instruction of a user, generating a form on a visual layout interface according to the instruction, converting the form into form data information, and generating a unique ID.
In step S101, in step S1, the user can control the generation of the form by inputting an instruction by which the form unit, the layout information of the form unit and the attribute information required for generating the form can be acquired, and the form can be generated according to the form unit, the layout information and the attribute information, and the form data information is obtained by converting the form, including the form unit generating the form, the layout information of the form unit and the attribute information of the form unit. In addition, in order to distinguish from other form data information, a unique ID needs to be generated for each form data information, and the corresponding form data information can be found through the unique ID.
It should be noted that the form data information is a JSON format file. The JSON is called "JavaScript Object notification" in its entirety, and means a JavaScript Object Notation, which is a lightweight data exchange format based on text and independent of language, and has a small structure compared with xml, so that it occupies a small flow and has a fast transmission speed during network data transmission. By converting the form into the form data information in the JSON format, the transmission speed is higher when the form data information is transmitted, and the transmission efficiency of the form data information is improved.
Specifically, when form data information conversion is performed, it can be realized by the seriarizeeray () method provided by jquery.
Step S102: and acquiring a target system needing to issue the form, and issuing the unique ID to the target system.
In step S102, before issuing the unique ID identifier to the target system, a communication connection with the target system needs to be established through which the unique ID representation is issued to the target system. It should be noted that the target system may be a system specified by a user or a system that actively initiates a form request, and therefore, in some embodiments, the step S2 specifically includes: and taking a system which is appointed to be issued by a user or a system which initiates a form loading request as the target system, and issuing the unique ID to the target system. The system may be a program running on a PC client, an IOS client, or an Android client.
Step S103: and loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system.
In step S103, in order to enable the form data information to be loaded by different types of systems, a form parser which can recognize a unique ID identifier and load corresponding form data information according to the unique ID identifier needs to be installed in advance at each target system. Preferably, the form parser can also be used to convert the form data information into a programming language format file that can be read and edited by the target system, so that the target system can generate the form according to the converted form data information. For example, when the form data information is Json format data, the JAVA programming language used by the target system, the form parser may convert the Json format data into JsonObjects and then convert the JsonObjects into Java entity classes.
It should be noted that, in step S2, when the target system that needs to issue the form is obtained, a target module that generates the form in the target system may also be obtained, and after the form parser loads and parses the form data information, the form is generated at the corresponding target module. For example, if the acquired target system is an OA office system and the target module is an attendance module, the attendance module generates a form from the analyzed form data information.
According to the intelligent form generating and issuing method, after the form is constructed according to the instruction of the user, the form is converted into the form data information and then is sent to the target system needing to generate the form, then the form data information of the form is loaded by using the form analyzer preset on the target system for analysis, and the form is generated on the target system according to the analysis result, so that the configuration of the form is not only directed to single application, but also directed to a plurality of systems, and the forms of different systems can be generated by the method and then issued to the system through the form analyzer to be taken. For a target system which needs to use various forms frequently, the form configuration management module is independently removed, and the loading and generation problems of the forms can be realized only by installing a form parser, so that the reprogramming design of the target system is simplified, the realization difficulty is reduced, and the workload of maintenance personnel is reduced. And the unique ID identification is set, so that the management of the form is more convenient, and the problem of form issuing error caused by management confusion when the forms are too many is avoided.
Further, in some embodiments, after step S101, the method further includes: storing the form and the form data information to a cloud database;
step S103 specifically includes: and loading and analyzing form data information corresponding to the unique ID from the cloud database by using a form analyzer preset in the target system, and generating a form according to the form data information by the target system.
In this embodiment, the cloud database is configured to store the generated form data information and the corresponding unique ID, and when a certain form needs to be used by the target system, the form data information of the form is loaded from the cloud database through the unique ID. The smart form issuing method is applied to a smart form issuing system, the memory pressure of the smart form issuing system is greatly reduced due to the arrangement of the cloud database, meanwhile, the target system only needs to access the cloud database and does not need to access the smart form issuing system, the system access pressure is greatly reduced, the data safety is improved to a certain extent due to the fact that the cloud database is used for storing form data information, and unauthorized modification cannot be synchronized into the cloud database.
Fig. 2 is a flowchart illustrating a method for generating and publishing a smart form according to a second embodiment of the present application. It should be noted that the method of the present application is not limited to the flow sequence shown in fig. 2 if the results are substantially the same. As shown in fig. 2, the method comprises the steps of:
step S201: and acquiring the list element dragged to the visual layout interface from the template library by the user, and generating the layout information of the list element.
In step S201, as shown in fig. 3, fig. 3 shows a visual layout interface of a form designer, and the basic control on the upper left side in fig. 3 is dragged to the visual layout interface, and the layout control on the lower left side is combined, so that the layout information of the form elements can be formed on the visual layout interface. Specifically, the list elements include a textbox type, a drop-down box type, a single selection type, a multiple selection type, a time type, a date field, a text field, an attachment upload, a map presentation, an element group, and the like.
Step S202: the method comprises the steps of acquiring the table unit piece, pre-configuring corresponding common attribute information according to functional characteristics, and marking the table unit piece according to the requirements of a user, wherein the marks comprise a must-fill mark and a check mark.
In step S202, when setting the table element, common attribute information is set for the table element according to the function characteristic of the table element, for example, for the table element of time type and date segment, common attribute information such as time selection frame and date selection frame needs to be preset for the table element of this type.
In addition, referring to fig. 3, the control attribute setting area shown on the right side of fig. 3 may further set the attributes of the form element in more detail, and may further mark the form element, when the form element is marked with a required filling mark, the content corresponding to the form element is required to be filled when the user uses the form after the form is generated, and when the form element is marked with a verification mark, the filled content is required to be verified when the user uses the form.
Step S203: and receiving the personalized configuration information of the form element input by the user, and performing personalized configuration on the form element.
In step S203, after the configuration of the layout information and the common attribute configuration information of the form unit is completed, the form unit needs to be configured individually according to the user 'S requirement, so as to better meet the user' S requirement, for example, for a male and female physical ability test form, when a male is selected by the gender selection box, contents such as a chin-up are required in the contents of the subsequent form, and when a female is selected, contents such as a sit-up and a step test are required in the contents of the subsequent form, i.e., the form unit can be associated with each other, and after the physical ability test is completed, a final score needs to be counted, i.e., the score of each test item needs to be summarized, i.e., the input of the form unit of each test item needs to be summed up and calculated.
Further, in some embodiments, the step S203 specifically includes the following steps:
1. and receiving personalized configuration information input by a user, wherein the personalized configuration information comprises element association configuration and element operation configuration.
Specifically, when the personalized configuration is performed, the personalized configuration is mainly divided into an element association configuration and an element operation configuration, wherein the element association configuration refers to associating the table elements in which the association exists, and the element operation configuration refers to an operation between elements of the table elements, such as a calculation operation, a summary operation, and the like.
It should be understood that the personalized configuration information of the embodiment may also be used for performing other personalized configurations besides the element association configuration and the element operation configuration, and the embodiment is not limited thereto.
2. When the personalized configuration information is element association configuration, acquiring association logics between elements and between the elements and the table unit pieces according to the element association configuration, associating the elements and the table unit pieces according to the association logics, and generating association expressions, wherein each table unit piece corresponds to at least one element.
Specifically, it should be noted that each table element corresponds to at least one element, for example, when the table element is a sex table element corresponding to two elements of "male" and "female", and the elements of different table elements are all related to each other, for example, in the physical fitness test table, the sex table element is selected as "male", a physical fitness table element is required in the subsequent table content, i.e., the element "male" of the sex table element needs to be related to the physical fitness table element, and furthermore, the element "male" needs to be related to the element "1000 meters running" of the running table element, and the element "female" needs to be related to the element "800 meters running" of the running table element, i.e., the element between different table elements. After acquiring the association logic between elements and table elements from the personalized configuration information input by the user, associating the elements and the table elements according to the association logic, and after associating, generating an association expression, wherein the user can quickly acquire whether the association is successful or not and whether the element association configuration is correct or not through the association expression. Specifically, the associated expression may refer to a setting, for example, assuming four table elements a (1, 2, 3), B (4, 5), C (6), and D (7, 8), the corresponding element is shown in parentheses, element 1 of the a element is associated with the B element, and element 7 of the D element is associated, the constructed associated expression may be "a 1" → B → "D7", and through the associated expression, the user may quickly know that element 1 of the a element is associated with the B element, and the B element is associated with element 7 of the D element.
3. When the personalized configuration information is the element operation configuration, the target elements needing to be operated are confirmed according to the element operation configuration, and the operation expressions are not set for the target elements.
Specifically, when the personalized configuration information is the element operation configuration, the operation setting is performed on the target element according to the element operation configuration, if the element operation configuration is to sum up the elements of the table element, a summation formula is set for the elements of the table element, when the user fills the corresponding data in the form, the automatic summation operation can be realized, for example, if A, B, C, D the elements of four table elements need to be summed up, the resultant output is displayed in the text box of the E table element, the summation operation "E ═ a + B + C + D" is set, and the summation operation formula is set as the operation expression, which also facilitates the user to quickly confirm whether the set element operation configuration is correct.
In addition, the element operation configuration may also be to merge and display the contents of the table elements, for example, in a personal resume form, the table elements include the names (1), the genders (2), the ages (3), the addresses (4), the graduates (5), the academic professions (6), the specialties (7), the hobbies (8), and the like, and when the contents in the table elements are completely filled, all the elements of the table elements may be merged to generate a text description, for example: i called Wangxiang, sex male, age 23, now residing in Shenzhen, Futian district, graduate from Shenzhen university computer specialty, proficient in JAVA programming language and SQL database programming language, and liking playing basketball and mountain climbing. The operation expression can be expressed by the following steps of I call (1), sex (2), age (3), living in (4), graduation in (5) (6), expert (7) and love (8).
According to the embodiment, the association relationship between elements of different form units and between the elements and the form units is configured according to the requirements of a user, and the element operation configuration is carried out on target elements, so that the forms can be optimally set according to the requirements of the user when being used, the form contents conforming to the group are output and displayed for each group through logic association, the form contents not belonging to the group are hidden, the operation is more intelligent, and the user experience is improved. And the generation of the associated expression and the operation expression enables a user to quickly confirm whether the personalized configuration is successful, and other users can conveniently know the logical relationship and the operation mode between the table elements.
Step S204: and generating form data information according to the configured form units and the layout information, and generating a unique ID for the form data information.
Step S205: and acquiring a target system needing to issue the form, and issuing the unique ID to the target system.
In this embodiment, step S205 in fig. 2 is similar to step S102 in fig. 1, and for brevity, is not described herein again.
Step S206: and loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system.
In this embodiment, step S206 in fig. 2 is similar to step S103 in fig. 1, and for brevity, is not described herein again.
The intelligent form generating and issuing method of the second embodiment of the application is based on the first embodiment, form layout operation is performed by using the visual layout interface, so that non-developers can complete form construction through the visual layout interface, the operation is convenient and efficient, besides public attribute information of each form unit is configured, personalized configuration can be performed, the configuration of the form can meet the requirements of different systems, and the method is not limited to the fact that a form configuration management tool is limited to one system for use, and is wide in applicability and strong in operability.
Fig. 4 is a flowchart illustrating a method for generating and publishing a smart form according to a third embodiment of the present application. It should be noted that the method of the present application is not limited to the flow sequence shown in fig. 4 if the results are substantially the same. As shown in fig. 4, the method includes the steps of:
step S301: and acquiring the list element dragged to the visual layout interface from the template library by the user, and generating the layout information of the list element.
In this embodiment, step S301 in fig. 4 is similar to step S201 in fig. 2, and for brevity, is not described herein again.
Step S302: the method comprises the steps of acquiring the table unit piece, pre-configuring corresponding common attribute information according to functional characteristics, and marking the table unit piece according to the requirements of a user, wherein the marks comprise a must-fill mark and a check mark.
In this embodiment, step S302 in fig. 4 is similar to step S202 in fig. 2, and for brevity, is not described herein again.
Step S303: and receiving the personalized configuration information of the form element input by the user, and performing personalized configuration on the form element.
In this embodiment, step S303 in fig. 4 is similar to step S203 in fig. 2, and for brevity, is not described herein again.
Step S304: and generating form data information according to the configured form units and the layout information, and generating a unique ID for the form data information.
In this embodiment, step S304 in fig. 4 is similar to step S204 in fig. 2, and for brevity, is not described herein again.
Step S305: and acquiring a target system needing to issue the form, and issuing the unique ID to the target system.
In this embodiment, step S305 in fig. 4 is similar to step S205 in fig. 2, and for brevity, is not described herein again.
Step S306: and loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system.
In this embodiment, step S306 in fig. 4 is similar to step S206 in fig. 2, and for brevity, is not described herein again.
Step S307: a user-initiated form modification request is received.
Step S308: it is determined whether the type of form modification request is a layout modification or a personalized configuration modification. If so, go to step S309; if the personalized configuration is modified, step S310 is executed.
In step S308, the form modification request is generally divided into a layout modification and a personalized configuration modification, and the common attribute information is generally not modified. Specifically, when the type of the form modification request is layout modification, step S309 is executed; when the type of the form modification request is a personalized configuration modification, step S310 is performed.
Step S309: and calling the layout information and outputting and displaying the layout information on the visual layout interface, and regenerating the layout information according to the layout of the list elements on the visual layout interface when the user confirms that the modification is completed.
In step S309, when the form modification request is a layout modification, the form data information corresponding to the form is called, the layout information of the form is obtained from the form data information, the form is reproduced on the visual layout interface according to the layout information, then, the layout of the form element can be modified by the user as required, and when the user confirms that the modification is completed, the layout information is regenerated.
Step S310: and outputting and displaying the editable associated expression and the editable operation expression, and when the user confirms that the modification is completed, carrying out personalized configuration on the form again according to the modified associated expression and the editable operation expression.
In step S310, when the form modification request is a personalized configuration modification, all editable associated expressions and operation expressions showing the form are output, and the associated expressions and operation expressions are modified by the user, and when the user confirms that the modification is completed, the association relationship and operation of the form element are reconfigured according to the modified associated expressions and operation expressions.
It should be understood that, in some embodiments, the method further includes an expansion modification of the form content, and when the expansion modification is performed, the method also needs to retrieve the layout information of the form and output and display the layout information on the visual layout interface, so that the user adds the form element thereon, and then regenerates the layout information, and then receives the associated expression and the operation expression added by the user, and performs personalized configuration on the added form element according to the added associated expression and operation expression.
On the basis of the second embodiment, the method for generating and issuing the intelligent form according to the third embodiment of the application confirms the type of the form modification request when receiving the form modification request initiated by the user, outputs the layout information of the display form unit on the visual layout interface if the form modification request is the layout modification request, is convenient for the user to modify, outputs and displays the associated expression and the operation expression if the form modification request is the personalized configuration modification request, and directly modifies the associated expression or the operation expression by the user without manually modifying the associated relationship or the operation relationship among the form unit step by the user, so that the personalized modification process is more convenient and faster, and errors are not easy to occur.
Fig. 5 is a flowchart illustrating a method for generating and publishing a smart form according to a fourth embodiment of the present application. It should be noted that the method of the present application is not limited to the flow sequence shown in fig. 5 if the substantially same result is obtained. As shown in fig. 5, the method includes the steps of:
step S401: and receiving an instruction of a user, generating a form on a visual layout interface according to the instruction, converting the form into form data information, and generating a unique ID.
In this embodiment, step S401 in fig. 5 is similar to step S101 in fig. 1, and for brevity, is not described herein again.
Step S402: and extracting key information from the form data information, wherein the key information comprises information for identifying the type of the form.
In step S402, generally, types of the forms may be divided according to specific products, each product corresponds to one form, for example, taking the insurance industry as an example, the insurance industry has many risks, such as health risks, accident risks, life risks, personal risks, education risks, and the like, and products of different risks may correspond to one form, that is, the form includes not limited to a health insurance policy, an accident insurance policy, a life insurance policy, a personal insurance policy, and an education insurance policy, and for different products, the key information may be information for distinguishing the forms of different risks, and it should be noted that the key information needs to be preset by a practitioner in the industry according to experience. When the form is generated, it can be acquired from the name information of the form element.
Step S403: and confirming the target system needing to issue the type form according to the key information.
In step S404, the type of the form is determined according to the key information, and it is to be noted that the corresponding relationship between the type of the form and the target system is preset, for example, the health insurance policy is issued to the system platform of the health insurance, and the accident insurance policy is issued to the system platform of the accident insurance.
Step S404: and issuing the unique ID to the target system.
Step S405: and loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system.
In this embodiment, step S405 in fig. 5 is similar to step S103 in fig. 1, and for brevity, is not described herein again.
According to the intelligent form generating and issuing method, on the basis of the first embodiment, the key information is extracted from the form data information, so that the type of the form is identified by using the key information, and then the form is issued on the target system corresponding to the type, so that the automatic issuing of the form is realized, the purpose of intelligently and automatically issuing the form is realized, the operation of a user is further reduced, and the user experience is improved.
Fig. 6 is a schematic functional module diagram of an apparatus for generating and issuing a smart form according to an embodiment of the present application. As shown in fig. 6, the apparatus 70 includes a generation module 71, a publishing module 72, and a loading module 73.
And the generating module 71 is configured to receive an instruction of a user, generate a form on the visual layout interface according to the instruction, convert the form into form data information, and generate a unique ID.
And the issuing module 72 is configured to acquire a target system that needs to issue a form, and issue the unique ID to the target system.
And the loading module 73 is used for loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system.
Optionally, the generating module 71 receives an instruction of a user, generates a form on the visual layout interface according to the instruction, converts the form into form data information, and then generates the unique ID identifier by: acquiring a list element dragged to a visual layout interface from a template library by a user, and generating layout information of the list element; acquiring the table unit piece, pre-configuring corresponding public attribute information according to the functional characteristics, and marking the table unit piece according to the requirements of a user, wherein the marks comprise a must-fill mark and a check mark; receiving personalized configuration information of the form element input by a user, and performing personalized configuration on the form element; and generating form data information according to the configured form units and the layout information, and generating a unique ID for the form data information.
Alternatively, the generating module 71 receives the personalized configuration information of the form element input by the user, and the personalized configuration operation of the form element may be: receiving personalized configuration information input by a user, wherein the personalized configuration information comprises element association configuration and element operation configuration; when the personalized configuration information is element association configuration, acquiring association logics between elements and between the elements and the table unit pieces according to the element association configuration, and associating the elements and the table unit pieces according to the association logics to generate association expressions, wherein each table unit piece corresponds to at least one element; when the personalized configuration information is the element operation configuration, the target elements needing to be operated are confirmed according to the element operation configuration, and the operation expressions are not set for the target elements.
Optionally, the system further includes a modification module 74, configured to, after the loading module 73 loads and parses the form data information corresponding to the unique ID by using a form parser preset in the target system, and then the target system generates a form according to the form data information: receiving a form modification request initiated by a user; judging whether the type of the form modification request is layout modification or personalized configuration modification; if the layout is modified, the layout information is called and output and displayed on a visual layout interface, and when the user confirms that the modification is completed, the layout information is regenerated according to the layout of the form elements on the visual layout interface; and if the personalized configuration is modified, outputting and displaying the editable associated expression and the editable operation expression, and when the user confirms that the modification is completed, performing personalized configuration on the form again according to the modified associated expression and the operation expression.
Optionally, the publishing module 72 obtains the target system that needs to publish the form, and the operation of publishing the unique ID to the target system may be: extracting key information from the form data information, wherein the key information comprises information for identifying the type of the form; confirming a target system needing to issue a type form according to the key information; and issuing the unique ID to the target system.
Optionally, the system further includes a storage module 75, configured to receive an instruction from the user, generate a form on the visual layout interface according to the instruction, convert the form into form data information, and generate a unique ID identifier: storing the form and the form data information to a cloud database;
the operation that the loading module 73 loads and analyzes the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then the target system generates a form according to the form data information may further be: and loading and analyzing form data information corresponding to the unique ID from the cloud database by using a form analyzer preset in the target system, and generating a form according to the form data information by the target system.
Optionally, the form data information is a JSON format file.
For other details of the technical solutions implemented by the modules in the apparatus for generating and issuing a smart form according to the foregoing embodiments, reference may be made to the description of the method for generating and issuing a smart form in the foregoing embodiments, and details are not described herein again.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 7, the terminal 80 includes a processor 81 and a memory 82 coupled to the processor 81.
The memory 82 stores program instructions that, when executed by the processor 81, cause the processor 81 to perform the steps of the smart form generation and issuance method in the above-described embodiment.
The processor 81 may also be referred to as a CPU (Central Processing Unit). The processor 81 may be an integrated circuit chip having signal processing capabilities. The processor 51 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a storage medium according to an embodiment of the present application. The storage medium of the embodiment of the present application stores a program file 91 capable of implementing all the methods described above, where the program file 91 may be stored in the storage medium in the form of a software product, and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or terminal devices, such as a computer, a server, a mobile phone, and a tablet.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The above embodiments are merely examples and are not intended to limit the scope of the present disclosure, and all modifications, equivalents, and flow charts using the contents of the specification and drawings of the present disclosure or those directly or indirectly applied to other related technical fields are intended to be included in the scope of the present disclosure.

Claims (10)

1. A method for generating and publishing a smart form is characterized by comprising the following steps:
receiving an instruction of a user, generating a form on a visual layout interface according to the instruction, converting the form into form data information, and generating a unique ID;
acquiring a target system needing to issue the form, and issuing the unique ID to the target system;
and loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form by the target system according to the form data information.
2. The method for generating and issuing the smart form according to claim 1, wherein the receiving the instruction of the user, generating the form on the visual layout interface according to the instruction, converting the form into form data information, and regenerating the unique ID identifier comprises:
acquiring a list element dragged to a visual layout interface from a template library by a user, and generating layout information of the list element;
acquiring the table unit piece, pre-configuring corresponding public attribute information according to functional characteristics, and marking the table unit piece according to the requirements of a user, wherein the marks comprise a must-fill mark and a check mark;
receiving personalized configuration information of the form unit input by a user, and performing personalized configuration on the form unit;
and generating form data information according to the configured form unit and the layout information, and generating the unique ID for the form data information.
3. The smart form generation and release method of claim 2, wherein the receiving of the personalized configuration information of the form element input by the user and the personalized configuration of the form element comprises:
receiving the personalized configuration information input by a user, wherein the personalized configuration information comprises element association configuration and element operation configuration;
when the personalized configuration information is the element association configuration, acquiring association logics between elements and table unit pieces according to the element association configuration, and associating the elements and the table unit pieces according to the association logics to generate association expressions, wherein each table unit piece corresponds to at least one element;
when the personalized configuration information is the element operation configuration, determining a target element needing to be operated according to the element operation configuration, and not setting an operation expression for the target element.
4. The method for generating and publishing an intelligent form according to claim 3, wherein the step of loading and parsing the form data information corresponding to the unique ID by using a form parser preset in the target system, and further comprising, after the target system generates the form according to the form data information:
receiving a form modification request initiated by a user;
judging whether the type of the form modification request is layout modification or personalized configuration modification;
if the layout is modified, the layout information is called and output and displayed on the visual layout interface, and when the user confirms that the modification is completed, the layout information is regenerated according to the layout of the form elements on the visual layout interface;
if the personalized configuration is modified, outputting and displaying the editable associated expression and the editable operation expression, and when the user confirms that the modification is completed, performing personalized configuration on the form again according to the modified associated expression and the operation expression.
5. The method of claim 1, wherein the obtaining a target system that needs to issue the form, and issuing the unique ID to the target system, comprises:
extracting key information from the form data information, wherein the key information comprises information for identifying the type of the form;
confirming the target system needing to issue the type form according to the key information;
and issuing the unique ID to the target system.
6. The method of claim 1, wherein the receiving a user's instruction and generating a form on a visual layout interface according to the instruction, converting the form into form data information, and generating a unique ID, further comprises:
storing the form and the form data information to a cloud database;
the loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form according to the form data information by the target system, wherein the form analyzer comprises:
and loading and analyzing form data information corresponding to the unique ID from the cloud database by using a form analyzer preset in the target system, and then generating a form by the target system according to the form data information.
7. The method of claim 1, wherein the form data information is a JSON formatted file.
8. An apparatus for generating and issuing a smart form, comprising:
the generating module is used for receiving an instruction of a user, generating a form on a visual layout interface according to the instruction, converting the form into form data information and generating a unique ID;
the issuing module is used for acquiring a target system needing to issue the form and issuing the unique ID to the target system;
and the loading module is used for loading and analyzing the form data information corresponding to the unique ID by using a form analyzer preset in the target system, and then generating a form by the target system according to the form data information.
9. A terminal, characterized in that it comprises a processor, a memory coupled to the processor, in which are stored program instructions which, when executed by the processor, cause the processor to carry out the steps of the smart-form generation and issuance method according to any one of claims 1 to 7.
10. A storage medium storing a program file capable of implementing the smart form generation and issuance method according to any one of claims 1 to 7.
CN202011486108.8A 2020-12-16 2020-12-16 Smart form generating and issuing method, device, terminal and storage medium Pending CN112527278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011486108.8A CN112527278A (en) 2020-12-16 2020-12-16 Smart form generating and issuing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011486108.8A CN112527278A (en) 2020-12-16 2020-12-16 Smart form generating and issuing method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112527278A true CN112527278A (en) 2021-03-19

Family

ID=75000706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011486108.8A Pending CN112527278A (en) 2020-12-16 2020-12-16 Smart form generating and issuing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112527278A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113889211A (en) * 2021-09-24 2022-01-04 南京海泰医疗信息***有限公司 Automatic electronic medical record form generation system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339314A (en) * 2011-09-24 2012-02-01 国网电力科学研究院 Cross-terminal data form description and presentation method based on extensive makeup language (XML)
CN108427556A (en) * 2018-03-12 2018-08-21 深圳市博安达信息技术股份有限公司 A kind of form design analytic method and system
CN110717320A (en) * 2019-10-11 2020-01-21 上海管和信息科技有限公司 Form/report designer and method suitable for multiple platforms and information management system
CN110889270A (en) * 2018-08-16 2020-03-17 阿里巴巴集团控股有限公司 Form page document generation method and form page rendering method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339314A (en) * 2011-09-24 2012-02-01 国网电力科学研究院 Cross-terminal data form description and presentation method based on extensive makeup language (XML)
CN108427556A (en) * 2018-03-12 2018-08-21 深圳市博安达信息技术股份有限公司 A kind of form design analytic method and system
CN110889270A (en) * 2018-08-16 2020-03-17 阿里巴巴集团控股有限公司 Form page document generation method and form page rendering method and device
CN110717320A (en) * 2019-10-11 2020-01-21 上海管和信息科技有限公司 Form/report designer and method suitable for multiple platforms and information management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113889211A (en) * 2021-09-24 2022-01-04 南京海泰医疗信息***有限公司 Automatic electronic medical record form generation system

Similar Documents

Publication Publication Date Title
CN109978629B (en) Advertisement putting method and device, electronic equipment and storage medium
CN111126006A (en) Method and device for exporting Word document with MathType formula, electronic equipment and storage medium
CN111090641A (en) Data processing method and device, electronic equipment and storage medium
CN113505082B (en) Application program testing method and device
CN111159220A (en) Method and apparatus for outputting structured query statement
CN112906361A (en) Text data labeling method and device, electronic equipment and storage medium
CN114398282A (en) Test script generation method, device, equipment and storage medium
CN113342692B (en) Automatic test case generation method and device, electronic equipment and storage medium
CN112527278A (en) Smart form generating and issuing method, device, terminal and storage medium
JP2011145996A (en) Reviewer evaluation apparatus, reviewer evaluation method and program
CN114138243A (en) Function calling method, device, equipment and storage medium based on development platform
CN110826306B (en) Data acquisition method and device, computer readable storage medium and electronic equipment
CN114968741B (en) Performance test method, system, equipment and medium based on scene platformization
CN111506305A (en) Tool kit generation method and device, computer equipment and readable storage medium
JP7029557B1 (en) Judgment device, judgment method and judgment program
CN111832254B (en) Drawing annotation display processing method and device
US20190102148A1 (en) Development Environment for Real-Time Application Development
CN109522210A (en) Interface testing parameters analysis method, device, electronic device and storage medium
CN111176624B (en) Method and device for generating stream type calculation index
CN110717101B (en) User classification method and device based on application behaviors and electronic equipment
CN111859985B (en) AI customer service model test method and device, electronic equipment and storage medium
CN111475403A (en) Dynamic generation method of test script and related device
CN111400190A (en) Automatic test flow generation method and device and computer readable storage medium
CN112948266B (en) Database grammar testing system, method, device, equipment and storage medium
CN117874211B (en) Intelligent question-answering method, system, medium and electronic equipment based on SAAS software

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