CN110929489A - Form generation and form data processing method and system - Google Patents

Form generation and form data processing method and system Download PDF

Info

Publication number
CN110929489A
CN110929489A CN201911127490.0A CN201911127490A CN110929489A CN 110929489 A CN110929489 A CN 110929489A CN 201911127490 A CN201911127490 A CN 201911127490A CN 110929489 A CN110929489 A CN 110929489A
Authority
CN
China
Prior art keywords
data
description file
generating
form data
control
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
CN201911127490.0A
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.)
Sometimes Digital Technology (beijing) Co Ltd
Original Assignee
Sometimes Digital Technology (beijing) 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 Sometimes Digital Technology (beijing) Co Ltd filed Critical Sometimes Digital Technology (beijing) Co Ltd
Priority to CN201911127490.0A priority Critical patent/CN110929489A/en
Publication of CN110929489A publication Critical patent/CN110929489A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a system for generating a form and processing form data, wherein the method comprises the following steps: defining at least one form control based on a preset form description protocol; identifying form definition operation of a user, generating form control description according to the operation, and generating a complete form description file; sending the form description file to a mobile equipment end; the mobile terminal receives a form description file sent by a server side; analyzing the form description file, generating a form and rendering a form interface; receiving filled information input by a user, generating form data according to the filled information, and uploading the form data to a server side for processing; the server end receives the form filling data; and analyzing the form data based on the form description protocol. The form data processing method realizes form generation, rendering and intelligent filling based on the user terminal equipment, shortens development time cost of a system service layer, and meets the requirements of complex and variable data acquisition scenes in the field of intelligent supervision.

Description

Form generation and form data processing method and system
Technical Field
The invention relates to the technical field of intelligent supervision, in particular to a form generation and form data processing method and system.
Background
The forms are mainly used for realizing a data acquisition function, many functions can complete data display or collection by means of the forms along with the development of an artificial intelligence technology and a mobile information system, data perception is completed by describing some characteristic information of the data, however, the business forms applied to a complex and dynamically-changing intelligent supervision system have the characteristics of a large number of forms, a large number of data fields, deep data structure hierarchy and variability, and an online form designer is generally selected for the existing form generation. For example, the JotForm online form designer can design forms and collect data for enterprise business data, for example, some order information tables, customer information tables, etc. can be designed, the interface operation is simple, the HTML element component is dragged, various verification components are integrated, and various style templates are carried by the JotForm online form designer to provide many free form styles; the Ueditor form designer can be applied to systems of workflow management and the like, is a visual Web form builder, and is rich in HTML element components and mainly comprises: text boxes, multi-line text, drop down menus, radio boxes, check boxes, and the like. However, with the increase of the number of forms, a large amount of time needs to be invested in the form generation process by using the existing form designer, the types of controls supported by the traditional form designer are limited, the data acquisition requirements of scene monitoring in the field of government supervision cannot be met, the form data is repeated and redundant, a lot of repetitive work can be brought, the workload is further increased, the flexible definition of the forms required in the technical field of internet of things cannot be met, and the rendering and the intelligent filling are quickly generated.
Disclosure of Invention
In view of this, the invention provides a form generation and form data processing method and system, aiming to solve the problem that it is difficult to rapidly realize form generation, rendering and intelligent filling based on the internet of things in the prior art.
According to a first aspect, an embodiment of the present invention provides a form generation and form data processing method, including: defining at least one form control based on a preset form description protocol; identifying form definition operation of a user, generating form control description according to the operation, and generating a complete form description file; sending the form description file to a mobile equipment end; receiving form data generated by the mobile equipment according to the form description file; and analyzing the form data to match the form description file corresponding to the form data, and processing the form data of the form description file.
With reference to the first aspect, in a first implementation manner of the first aspect, the identifying an operation of a user, invoking the form control according to the operation, and generating a form description file includes: identifying a dragging operation of a user on at least one form control defined based on a preset form description protocol; identifying the called form control according to the dragging operation; describing the nesting relation of the form controls by the nesting relation of a JSON structure; and generating a form description file of an ISON structure according to the form control and the nesting relation of the form control.
With reference to the first aspect, in a second implementation manner of the first aspect, the receiving the form data uploaded by the mobile device includes: receiving form data generated by the mobile equipment end according to the form description file by adopting distributed multipoint access, load balancing and data asynchronous processing technologies; and buffering the form data by using distributed message middleware.
With reference to the first aspect, in a third implementation manner of the first aspect, the analyzing the form data and matching out the form description file corresponding to the form data includes: splitting different types of form data into different processing branches by adopting a distributed stream processing technology, wherein the different processing branches comprise a plurality of processing nodes; performing multi-instance parallel computation on the processing nodes to obtain parallel computation results; and matching the form description file corresponding to the form data according to the parallel calculation result.
According to a second aspect, an embodiment of the present invention provides a form generation and form data processing method, including: receiving a form description file sent by a server, wherein the form description file is generated by the server through identifying the operation of a user and calling a preset form control according to the operation; analyzing the form description file, generating a form and rendering a form interface; and receiving filled information input by a user, generating form data according to the filled information, and uploading the form data to a server side for processing.
With reference to the second aspect, in a first implementation manner of the second aspect, the parsing the form description file, generating a form, and rendering a form interface includes: analyzing the form description file of the JSON structure to generate a tree-shaped control relation structure and a form control data management structure; managing the nesting relation of the form controls and instantiating the form controls; initializing the form control default value; and generating a complete form according to the implementation logic, and rendering the form interface.
With reference to the second aspect, in a second implementation manner of the second aspect, the form data includes structured data and unstructured data, and the uploading the form data to a server for processing includes: flattening the structured data by using the unique identifier of the form control, removing nested layers among the form controls, encrypting and transmitting to a server end by using a JSON structural form through an https protocol, and processing the form data; and compressing unstructured data, and transmitting the unstructured data to a server side in a blocking manner through an https protocol to process the form data.
According to a third aspect, an embodiment of the present invention provides a form generation and form data processing system, including: the server end defines the at least one form control based on the preset form description protocol; identifying the operation of a user on form definition, generating the form control description according to the operation, and generating a complete form description file; sending the form description file to a mobile equipment end; the mobile equipment end receives the form description file sent by the server end, wherein the form description file is generated by the server end through identifying the operation of a user and calling a preset form control according to the operation; analyzing the form description file, generating a form and rendering a form interface; receiving filled information input by a user, generating form data according to the filled information, and uploading the form data to the server side for processing; the server side receives form data generated by the mobile equipment side; and analyzing the form data to match the form description file corresponding to the form data, and processing the form data.
According to a fourth aspect, an embodiment of the present invention provides a server, including: the form data processing method comprises a memory and a processor, wherein the memory and the processor are connected with each other in a communication mode, computer instructions are stored in the memory, and the processor executes the computer instructions so as to execute the form data processing method in the first aspect or any embodiment of the first aspect.
According to a fifth aspect, an embodiment of the present invention provides a mobile terminal, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing therein computer instructions, and the processor executing the computer instructions to perform the form data processing method according to the second aspect or any embodiment of the second aspect.
According to a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which computer instructions are stored, the computer instructions being configured to cause a computer to execute the method for processing form data in the first aspect, the second aspect, or any implementation manner of the first aspect, or any implementation manner of the second aspect.
The technical scheme of the invention has the following advantages:
1. the invention provides a form generation and form data processing method and system. The method realizes flexible definition of the software interface based on the equipment of the Internet of things, and shortens development time cost.
2. The invention provides a form generation and form data processing method and system. The form description file is generated by the server side through recognizing the operation of a user and calling a preset form control. The method realizes flexible form definition based on the technical field of the Internet of things, fast generates rendering and intelligently fills in the form, and meets the requirements of complex and changeable data acquisition scenes in the intelligent supervision field.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart of a specific example of a server side of a form generation and form data processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific example of S12 corresponding to the form generation and form data processing method in the embodiment of the present invention;
fig. 3 is a flowchart of a specific example of S14 corresponding to the form generation and form data processing method in the embodiment of the present invention;
fig. 4 is a flowchart of a specific example of S15 corresponding to the form generation and form data processing method in the embodiment of the present invention;
FIG. 5 is a flowchart of a specific example of a mobile device side of a form generation and form data processing method according to an embodiment of the present invention;
fig. 6 is a flowchart of a specific example of S22 corresponding to the form generation and form data processing method in the embodiment of the present invention;
fig. 7 is a flowchart of a specific example of S23 corresponding to the form generation and form data processing method in the embodiment of the present invention;
FIG. 8 is a functional block diagram of one specific example of a form generation and form data processing system in an embodiment of the present invention;
FIG. 9 is a block diagram of a server according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. 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 invention.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1
The embodiment provides a form generation and form data processing method, which can be used for flexible definition based on an internet of things device software interface, and includes defining a form control at a server side to generate a form description file, issuing the form description file to a mobile device side, receiving form data generated by operating the form control at the mobile device side, analyzing and processing the form data, and matching the form description file, as shown in fig. 1, including:
s11: and defining at least one form control based on the preset form description protocol. The form control defined based on the form description protocol comprises a conventional form control, a container and layout type control, a special form control and the like, and other form components such as a horizontal and vertical dividing line component, a blank component and the like. The special form control includes, but is not limited to, a handwriting signature control, a fingerprint signature control, a positioning information automatic filling textbox control, an OCR recognition filling control, a multimedia control, and the like.
S12: and identifying form definition operation of a user, generating form control description according to the operation, and generating a complete form description file. And the user can generate a form description file for describing the information of the form control according to the operation of the user on the form control by carrying out the operations of form design, modification and the like on the defined form control at the server side.
S13: and sending the form description file to a mobile equipment terminal. And sending the generated form description file to a mobile equipment end, and analyzing, rendering and the like the form description file by the mobile equipment end.
S14: and receiving form data generated by the mobile equipment according to the form description file. After the mobile equipment terminal analyzes the form description file, a form is generated and filled, the filled information is generated into form data to be uploaded to the server terminal, and the server receives the form data to be processed.
S15: and analyzing the form data to match the form description file corresponding to the form data, and processing the form data of the form description file. The server analyzes the received form data, matches the form description file corresponding to the form data, and processes the form data.
According to the form generation and form data processing method provided by the embodiment, the form description file is generated by defining the form control, the form data generated by operating the form description file by the mobile terminal is received, the corresponding form description file is matched accordingly, and the corresponding form data is processed, so that flexible definition based on a software interface of the Internet of things equipment is realized, the development period is shortened, and the problems of large maintenance workload and increased development period due to the fact that a lot of repetitive work is brought to maintenance due to the increase of the form data amount are solved.
Optionally, in some embodiments of the present invention, as shown in fig. 2, the step S12 specifically includes:
s121: and identifying the dragging operation of the user on at least one form control defined based on the preset form description protocol. A user defines a form control in advance at a server side, for example, a multi-line text box input box defines detailed information such as the height (how many lines can be displayed), the width (how many characters can be displayed on one line) and the name of the multi-line text box, so that a form page can be reasonably designed in order to generate a form, the form control can be customized as a dragging type control, and the user can drag the customized form control to a proper position according to needs.
S122: and identifying the called form control according to the dragging operation. And identifying which form control is dragged by the user, and calling the accurate form control according to the identification result.
S123: and describing the nesting relation of the form controls by the nesting relation of a JSON structure. Nesting relations exist among part of form controls, wherein other components can be nested in the container component and can be nested in multiple layers to realize complex form pages, and the JSON structure describes the nesting relations among the form controls according to the embedding of the attributes of the form controls.
S124: and generating a form description file of a JSON structure according to the nested relation between the form control and the form control. Each form control has a unique identification ID in a form page and is used for generating a flattened form data architecture, and special form controls such as a handwriting signature control, a fingerprint signature control, a multimedia control and the like are marked by special control types in JSON description.
According to the form generation and form data processing method provided by the embodiment, the form control is called by identifying the drag operation of the user on the form control, the form description file of the JSON structure is generated, the form description file of the JSON structure is easy to read and write, and easy to analyze and generate, and the transmission efficiency can also be effectively improved.
Optionally, in some embodiments of the present invention, as shown in fig. 3, the step S14 specifically includes:
s141: and receiving form data generated by the mobile equipment end according to the form description file by adopting distributed multipoint access, load balancing and data asynchronous processing technologies. The distributed multipoint access can fully utilize the existing network resources and has good expandability; load balancing can strengthen data processing capacity and improve the flexibility and the usability of the network; data asynchronous processing enables processing of form data in an asynchronous process.
S142: and buffering the form data by using distributed message middleware. The distributed message middleware is the message middleware of the distributed system, the distributed system is distributed on the network computer, the components coordinate actions through messages, the message middleware sends and receives messages in the distributed system, and the distributed message middleware means that the message middleware is a distributed system.
According to the form data processing method provided by the embodiment, the form data is subjected to buffering processing by adopting the technologies of distributed multipoint access, load balancing, data asynchronous processing and the like and the distributed message middleware technology, so that the access of massive Internet of things data is met.
Optionally, in some embodiments of the present invention, as shown in fig. 4, the step S15 specifically includes:
s151: and splitting different types of form data into different processing branches by adopting a distributed stream processing technology, wherein the different processing branches comprise a plurality of processing nodes. The form description files are different in type, the collected form data are different, the form data are split according to different types, the form data of different types correspond to different processing branches, and a plurality of processing nodes are arranged on the different processing branches, so that the form data can be conveniently processed subsequently.
S152: and performing multi-instance parallel computation on the processing nodes to obtain a parallel computation result. Each processing node supports multi-instance parallel computing.
S153: and matching the form description file corresponding to the form data according to the parallel calculation result. And generating an instance at a server side by analyzing the form description file corresponding to the form data matched with the form data, and processing the data generated by each form control.
In the form data processing method provided by this embodiment, by adopting a distributed stream processing technique to split different types of form data into different processing branches, setting a plurality of processing nodes for the different branches, generating each node instance to perform parallel computation, and by splitting the form data according to different types, the processing efficiency of the form data is improved.
Example 2
The embodiment provides a form generation and form data processing method, which can be used for form generation, form rendering and form intelligent filling of user mobile terminal equipment (for example, Android intelligent equipment) based on the technical field of internet of things, and as shown in fig. 5, the method includes:
s21: and receiving a form description file sent by a server, wherein the form description file is generated by the server through identifying the operation of a user and calling a preset form control according to the operation. And the server side issues the generated form description file to the mobile equipment side, and the mobile equipment side processes the form description file.
S22: and analyzing the form description file, generating a form and rendering a form interface. And downloading the form description file by the mobile equipment, analyzing the form description file based on a control protocol analyzer in the dynamic form engine, rendering each analyzed form control according to implementation logic, and generating a form.
S23: and receiving filled information input by a user, generating form data according to the filled information, and uploading the form data to a server side for processing. The user operates the generated form, namely, the form controls are filled in, for example, the handwritten signature form controls are filled in, the handwritten signature form controls are displayed in a form of a lower-stroke input frame on a form interface, a user click event can be automatically registered when the handwritten signature form controls are rendered, a handwritten signature panel is called and displayed when the user clicks the input frame, after the user finishes signing on the signature panel, the signature panel generates a signature information into an image and returns the image to the handwritten signature form controls, and the handwritten signature form controls resample the image and display the image on the form interface; the fingerprint form control is filled, the fingerprint form control is displayed in a form of a fingerprint icon button, a user click event can be automatically registered and monitored during the rendering of the fingerprint form control, the user can call a fingerprint sensor driving interface of hardware equipment after clicking, the fingerprint sensor reads fingerprint information of the user and then transmits the fingerprint data back to the fingerprint form control through the driving interface, and the fingerprint form control converts the fingerprint data into image information by adopting an image processing technology and displays the image information on the form interface. And collecting the filling information of the form control by the user to generate form data, and uploading the form data to the server side for data processing.
The embodiment of the invention provides a form generation and form data processing method.A mobile equipment end analyzes a form description file sent by a server end by receiving the form description file, generates a form, renders a form interface, receives input operation of a user, collects filled information input by the user to generate form data, and uploads the form data to the server end for form data processing. The method realizes form generation, rendering and intelligent filling based on the mobile intelligent terminal in the technical field of the Internet of things, and meets the requirements of complex and changeable data acquisition scenes in the field of intelligent supervision.
Optionally, in some embodiments of the present invention, as shown in fig. 6, the step S22 includes:
s221: and analyzing the form description file of the JSON structure to generate a tree control relation structure and a form control data management structure. The mobile equipment analyzes the form description file based on a control protocol analyzer in the dynamic form engine, namely analyzes form controls forming the form description file, and generates a tree-shaped control relation structure or a form control data management structure for each analyzed form control.
S222: managing the nesting relation of the form controls and instantiating the form controls. And managing nesting relation among all form controls through a control relation manager in the dynamic form engine, and instantiating the form controls.
S223: initializing the form control default. And setting initialization default values for each form control through a control data manager in the dynamic form engine to generate complete form data.
S224: and generating a complete form according to the implementation logic, and rendering the form interface. And a form control library in the dynamic form engine contains implementation logics of all form controls, renders all the form controls and generates a form interface.
The embodiment of the invention provides a form generation and form data processing method, wherein a mobile device side analyzes a form description file from a server side, instantiates a form description control obtained by analyzing the form description file, generates a complete form according to implementation logic, renders a form interface, realizes form generation based on a dynamic form engine, displays the form, and can further collect data by means of the generated form.
Optionally, in some embodiments of the present invention, the form data is divided into structured data and unstructured data, as shown in fig. 7, the step S23 specifically includes:
s231: and flattening the structured data by using the unique identifier of the form control, removing nested layers among the form controls, encrypting and transmitting to a server end by using a JSON structural form through an https protocol, and processing the form data. For example, text, numbers, dates and the like are all structured data, and each form control has a unique control identification ID, so that the structured data is flattened by using the unique control identification ID attribute, and the nesting relation among the form controls is removed.
S232: and compressing unstructured data, and transmitting the unstructured data to a server side in a blocking manner through an https protocol to process the form data. For example, pictures, videos, binary files, and the like are unstructured data, and since the unstructured data has an irregular or incomplete data structure and no predefined data model, the unstructured data needs to be compressed and then transmitted to a server for processing.
The embodiment of the invention provides a form generation and form data processing method, wherein form data are divided into two forms of structured data and unstructured data and uploaded to a server in different modes, so that the problem of form data uploading during deep and dynamic changes of the form data structure is solved.
Example 3
The present embodiment provides a form generation and form data processing system, as shown in fig. 8, including: the interaction steps of the server side and the mobile equipment section are as follows:
and S31, the server defines at least one form control based on the preset form description protocol. For details, refer to the related description of step S11 of the above method embodiment.
And S32, the server side identifies the form definition operation of the user, generates the form description according to the generated form description and generates a complete form description file. For details, refer to the related description of step S12 of the above method embodiment.
And S3, the server side sends the form description file to the mobile equipment side. For details, refer to the related description of step S13 of the above method embodiment.
And S34, the mobile terminal receives the form description file sent by the server, and the form description file is generated by the server through the operation of identifying a user and calling a preset form control according to the operation. For details, refer to the related description of step S21 of the above method embodiment.
And S35, the mobile terminal analyzes the form description file, generates a form and renders a form interface. For details, refer to the related description of step S22 of the above method embodiment.
And S36, the mobile terminal receives the filled information input by the user, generates form data according to the filled information, and uploads the form data to the server for processing. For details, refer to the description related to step 23 of the above method embodiment.
And S37, the server receives the form data generated by the mobile equipment. For details, refer to the related description of step S14 of the above method embodiment.
And S38, the server side analyzes the form data to match the form description file corresponding to the form data, and processes the form data. For details, refer to the related description of step S15 of the above method embodiment.
In the form generation and form data processing system provided by this embodiment, the server generates a form description file by defining a form control, and then sends the form description file to the mobile terminal, the mobile terminal receives the form description file sent by the server, analyzes the form description file, generates a form, renders a form interface, and simultaneously receives input operation of a user, collects filled information input by the user to generate form data, and uploads the form data to the server for form data processing, the server receiving module receives form data generated by the mobile terminal operating on the form description file, and finally processes the corresponding form data by analyzing and matching the corresponding form description file, thereby implementing flexible definition based on an internet of things device software interface and shortening a development cycle, the method solves the problems of large maintenance workload and increased development period due to the fact that the form data volume is increased and a lot of repetitive work is brought to maintenance, realizes form generation, rendering and intelligent filling based on the mobile terminal, and meets the requirements of complex and changeable data acquisition scenes in the field of intelligent supervision.
Example 4
An embodiment of the present invention further provides a server, as shown in fig. 9, the server may include a processor 41 and a memory 42, where the processor 41 and the memory 42 may be connected by a bus or in another manner, and fig. 9 takes the connection by the bus as an example.
The processor 41 may be a Central Processing Unit (CPU). The Processor 41 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 42, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the form generation and form data processing methods in the embodiments of the present invention. The processor 41 executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory 42, that is, implements the form generation and form data processing method in the above method embodiment.
The memory 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 41, and the like. Further, the memory 42 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 42 may optionally include memory located remotely from processor 41, which may be connected to processor 41 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 42 and, when executed by the processor 41, perform the form generation and form data processing methods of the embodiments shown in fig. 1-4.
The details of the computer device may be understood by referring to the corresponding descriptions and effects in the embodiments shown in fig. 1 to fig. 4, and are not described herein again.
Example 5
An embodiment of the present invention further provides a mobile terminal, as shown in fig. 10, the mobile terminal includes a file receiving module 51, a file parsing module 52, a data uploading module 53, a processor 54, and a memory 55.
And the file receiving module 51 is configured to receive the form description file sent by the server. The file receiving module can be used for terminal file management, and other reasonable obtaining ways can also be used as the file receiving module.
And the file parsing module 52 is configured to parse the received form description file. And analyzing the form description file by using the Android-based dynamic form engine technology.
And the data uploading module 53 is configured to upload the form data to the server. The form data uploading can be through the data network of the mobile terminal, can be through the data transmission line of USB and server connection to carry on the data transmission, can also be through wireless network or bluetooth etc. to upload, this application embodiment does not limit the uploading mode of the module of uploading of this data, the technicians in this field can confirm according to the actual use needs.
The processor 54 may be a Central Processing Unit (CPU). The Processor 54 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 55, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the form generation and form data processing methods in the embodiments of the present invention. The processor 54 executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory 55, namely, implements the form generation and form data processing method in the above method embodiment.
The memory 55 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 54, and the like. Further, the memory 55 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 55 may optionally include memory located remotely from processor 54, which may be connected to processor 54 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 55 and, when executed by the processor 54, perform the form generation and form data processing methods of the embodiments shown in fig. 5-7.
The details of the mobile terminal may be understood by referring to the corresponding descriptions and effects in the embodiments shown in fig. 5 to fig. 7, which are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (11)

1. A form generation and form data processing method is characterized by comprising the following steps:
defining at least one form control based on a preset form description protocol;
identifying form definition operation of a user, generating form control description according to the operation, and generating a complete form description file;
sending the form description file to a mobile equipment end;
receiving form data generated by the mobile equipment according to the form description file;
and analyzing the form data to match the form description file corresponding to the form data, and processing the form data of the form description file.
2. The form generation and form data processing method of claim 1, wherein the recognizing the operation of the user, invoking the form control according to the operation, and generating the form description file comprises:
identifying a dragging operation of a user on at least one form control defined based on a preset form description protocol;
identifying the called form control according to the dragging operation;
describing the nesting relation of the form controls by the nesting relation of a JSON structure;
and generating a form description file of a JSON structure according to the nested relation between the form control and the form control.
3. The form generation and form data processing method according to claim 1 or 2, wherein the receiving the form data uploaded by the mobile device side includes:
receiving form data generated by the mobile equipment end according to the form description file by adopting distributed multipoint access, load balancing and data asynchronous processing technologies;
and buffering the form data by using distributed message middleware.
4. The form generation and form data processing method according to any of claims 1 to 3, wherein the parsing the form data to match out the form description file corresponding to the form data comprises:
splitting different types of form data into different processing branches by adopting a distributed stream processing technology, wherein the different processing branches comprise a plurality of processing nodes;
performing multi-instance parallel computation on the processing nodes to obtain parallel computation results;
and matching the form description file corresponding to the form data according to the parallel calculation result.
5. A form generation and form data processing method is characterized by comprising the following steps:
receiving a form description file sent by a server, wherein the form description file is generated by the server through identifying the operation of a user and calling a preset form control according to the operation;
analyzing the form description file, generating a form and rendering a form interface;
and receiving filled information input by a user, generating form data according to the filled information, and uploading the form data to a server side for processing.
6. The form generation and form data processing method of claim 5, wherein the parsing the form description file, generating a form, and rendering a form interface comprises:
analyzing a form description file of the JSON structure to generate a tree-shaped control relation structure and a form control data management structure;
managing the nesting relation of the form controls and instantiating the form controls;
initializing the form control default value;
and generating a complete form according to the implementation logic, and rendering the form interface.
7. The form generation and form data processing method of claim 5, wherein the form data comprises structured data and unstructured data, and the uploading the form data to a server for processing comprises:
flattening the structured data by using the unique identifier of the form control, removing nested layers among the form controls, encrypting and transmitting to a server end by using a JSON structural form through an https protocol, and processing the form data;
and compressing unstructured data, and transmitting the unstructured data to a server side in a blocking manner through an https protocol to process the form data.
8. A form generation and form data processing system, comprising: a mobile device end and a server end,
the server defines at least one form control based on a preset form description protocol;
identifying the operation of a user on form definition, generating the form control description according to the operation, and generating a complete form description file;
sending the form description file to a mobile equipment end;
the mobile equipment end receives the form description file sent by the server end, wherein the form description file is generated by the server end through identifying the operation of a user and calling a preset form control according to the operation;
analyzing the form description file, generating a form and rendering a form interface;
receiving filled information input by a user, generating form data according to the filled information, and uploading the form data to the server side for processing;
the server side receives form data generated by the mobile equipment side;
and analyzing the form data to match the form description file corresponding to the form data, and processing the form data.
9. A server, comprising:
a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the form generation and form data processing method of any of claims 1-4.
10. A mobile terminal, comprising:
a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the form generation and form data processing method of any of claims 5-7.
11. A computer-readable storage medium storing computer instructions for causing a computer to perform the form generation and form data processing method of any one of claims 1-7.
CN201911127490.0A 2019-11-18 2019-11-18 Form generation and form data processing method and system Pending CN110929489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911127490.0A CN110929489A (en) 2019-11-18 2019-11-18 Form generation and form data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911127490.0A CN110929489A (en) 2019-11-18 2019-11-18 Form generation and form data processing method and system

Publications (1)

Publication Number Publication Date
CN110929489A true CN110929489A (en) 2020-03-27

Family

ID=69853308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911127490.0A Pending CN110929489A (en) 2019-11-18 2019-11-18 Form generation and form data processing method and system

Country Status (1)

Country Link
CN (1) CN110929489A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487774A (en) * 2020-11-20 2021-03-12 深圳市鹰硕教育服务有限公司 Writing form electronization method and device and electronic equipment
CN112764637A (en) * 2021-02-01 2021-05-07 山东汇金海智慧农业研究院有限公司 Smart agriculture Internet of things equipment description file generation method
CN112783492A (en) * 2020-12-31 2021-05-11 杭州趣链科技有限公司 Method and device for rendering driving form applied to block chain management platform
CN113343654A (en) * 2021-05-28 2021-09-03 中国工商银行股份有限公司 General configuration method and device for information filling form
CN113515276A (en) * 2021-07-20 2021-10-19 北京金和网络股份有限公司 Method and device for generating point service based on form engine platform
CN114118018A (en) * 2021-11-25 2022-03-01 福建博思软件股份有限公司 Implementation mode of cross-platform electronic report
CN114265823A (en) * 2021-12-27 2022-04-01 众和空间(北京)科技有限责任公司 Internet of things equipment visualization integration system and method based on mapping file
CN114386374A (en) * 2020-10-19 2022-04-22 昆明安泰得软件股份有限公司 Method for generating odf document by using CA signature in data integration and program thereof
CN115169302A (en) * 2022-09-08 2022-10-11 天津联想协同科技有限公司 Data collection method and device based on online form document and storage medium
CN116720489A (en) * 2023-08-08 2023-09-08 建信金融科技有限责任公司 Page filling method and device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777950A (en) * 2014-01-23 2014-05-07 北京航空航天大学 Gridding method for resolving AOS (Advanced Orbiting System) telemetering data
CN106201501A (en) * 2016-07-06 2016-12-07 全程网络科技(上海)有限公司 A kind of configurableization construction method to mobile terminal form interface and system
CN108156194A (en) * 2016-12-02 2018-06-12 航天星图科技(北京)有限公司 A kind of form data processing method
CN108427556A (en) * 2018-03-12 2018-08-21 深圳市博安达信息技术股份有限公司 A kind of form design analytic method and system
US20190087398A1 (en) * 2017-09-21 2019-03-21 Payformix LLC Automated electronic form generation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777950A (en) * 2014-01-23 2014-05-07 北京航空航天大学 Gridding method for resolving AOS (Advanced Orbiting System) telemetering data
CN106201501A (en) * 2016-07-06 2016-12-07 全程网络科技(上海)有限公司 A kind of configurableization construction method to mobile terminal form interface and system
CN108156194A (en) * 2016-12-02 2018-06-12 航天星图科技(北京)有限公司 A kind of form data processing method
US20190087398A1 (en) * 2017-09-21 2019-03-21 Payformix LLC Automated electronic form generation
CN108427556A (en) * 2018-03-12 2018-08-21 深圳市博安达信息技术股份有限公司 A kind of form design analytic method and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114386374A (en) * 2020-10-19 2022-04-22 昆明安泰得软件股份有限公司 Method for generating odf document by using CA signature in data integration and program thereof
CN112487774A (en) * 2020-11-20 2021-03-12 深圳市鹰硕教育服务有限公司 Writing form electronization method and device and electronic equipment
WO2022105004A1 (en) * 2020-11-20 2022-05-27 深圳市鹰硕教育服务有限公司 Method and apparatus for electronizing written form, and electronic device
CN112783492A (en) * 2020-12-31 2021-05-11 杭州趣链科技有限公司 Method and device for rendering driving form applied to block chain management platform
CN112764637A (en) * 2021-02-01 2021-05-07 山东汇金海智慧农业研究院有限公司 Smart agriculture Internet of things equipment description file generation method
CN112764637B (en) * 2021-02-01 2023-06-20 山东汇金海智慧农业研究院有限公司 Intelligent agriculture Internet of things equipment description file generation method
CN113343654A (en) * 2021-05-28 2021-09-03 中国工商银行股份有限公司 General configuration method and device for information filling form
CN113515276A (en) * 2021-07-20 2021-10-19 北京金和网络股份有限公司 Method and device for generating point service based on form engine platform
CN113515276B (en) * 2021-07-20 2024-02-02 北京金和网络股份有限公司 Method and device for generating integration service based on form engine platform
CN114118018A (en) * 2021-11-25 2022-03-01 福建博思软件股份有限公司 Implementation mode of cross-platform electronic report
CN114118018B (en) * 2021-11-25 2024-02-06 福建博思软件股份有限公司 Implementation mode of cross-platform electronic report
CN114265823A (en) * 2021-12-27 2022-04-01 众和空间(北京)科技有限责任公司 Internet of things equipment visualization integration system and method based on mapping file
CN115169302A (en) * 2022-09-08 2022-10-11 天津联想协同科技有限公司 Data collection method and device based on online form document and storage medium
CN115169302B (en) * 2022-09-08 2022-12-09 天津联想协同科技有限公司 Data collection method and device based on online form document and storage medium
CN116720489A (en) * 2023-08-08 2023-09-08 建信金融科技有限责任公司 Page filling method and device, electronic equipment and computer readable storage medium
CN116720489B (en) * 2023-08-08 2023-11-07 建信金融科技有限责任公司 Page filling method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110929489A (en) Form generation and form data processing method and system
US11296961B2 (en) Simplified entity lifecycle management
CN107577805B (en) Business service system for log big data analysis
US11948003B2 (en) System and method for automated production and deployment of packaged AI solutions
US11416768B2 (en) Feature processing method and feature processing system for machine learning
CN106067080B (en) Configurable workflow capabilities are provided
CN109448100B (en) Three-dimensional model format conversion method, system, computer device and storage medium
CN111079047B (en) Web-oriented page construction system
WO2021190379A1 (en) Method and device for realizing automatic machine learning
CN107273104B (en) Processing method and device for configuration data structure
CN115392501A (en) Data acquisition method and device, electronic equipment and storage medium
CN114546365B (en) Flow visualization modeling method, server, computer system and medium
US10691429B2 (en) Converting whiteboard images to personalized wireframes
CN108073582B (en) Computing framework selection method and device
CN111143465A (en) Method and device for realizing data center station and electronic equipment
US20210326761A1 (en) Method and System for Uniform Execution of Feature Extraction
CN113568614A (en) Task issuing method, electronic device and storage medium
CN116594733B (en) Flow visual modeling method, computer equipment and computer readable storage medium
CN111966880A (en) Visual website content acquisition method and system
CN115576973B (en) Service deployment method, device, computer equipment and readable storage medium
CN115756448A (en) Method, device, equipment and medium for acquiring vehicle cloud data acquisition system architecture
US20190114691A1 (en) Systems and methods for document to order conversion
CN113656369A (en) Log distributed streaming acquisition and calculation method in big data scene
CN109670601B (en) Machine learning feature generation method and device, electronic device and storage medium
CN113704593B (en) Operation data processing method and related device

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