CN115509637A - Form-based intelligent filling method, system, equipment and medium - Google Patents
Form-based intelligent filling method, system, equipment and medium Download PDFInfo
- Publication number
- CN115509637A CN115509637A CN202211258599.XA CN202211258599A CN115509637A CN 115509637 A CN115509637 A CN 115509637A CN 202211258599 A CN202211258599 A CN 202211258599A CN 115509637 A CN115509637 A CN 115509637A
- Authority
- CN
- China
- Prior art keywords
- data
- script
- unit
- data table
- file
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000012360 testing method Methods 0.000 claims abstract description 15
- 239000000284 extract Substances 0.000 claims abstract description 3
- 238000013479 data entry Methods 0.000 claims description 24
- 238000013507 mapping Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000003993 interaction Effects 0.000 abstract description 7
- 238000011161 development Methods 0.000 abstract description 4
- 238000004590 computer program Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000012015 optical character recognition Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2246—Trees, e.g. B+trees
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Stored Programmes (AREA)
Abstract
The application provides an intelligent filling method based on Form, a Form configuration unit configures a Form template, extracts a unique identifier of an input assembly in the Form, and generates a data table containing data fields and structured data values as variables based on the Form; calling an automatic test tool to record the operation flow of the third-party system, analyzing page elements of the target address, and finishing the recording of the automatic script with the constant; and comparing and analyzing the incidence relation between the data table field and the script parameter, replacing the constant in the script with the variable parameter in the data table as the data field, adjusting the judgment logic in the script to complete the script configuration, and directionally filling the structured data input each time in the Form to the specified position of a third-party system. Through the configuration, the development difficulty of data interaction of a third-party system can be reduced, repeated entry of key data is automatically completed, the working efficiency is improved, and the utilization efficiency of the data is improved.
Description
Technical Field
The invention relates to the technical field of intelligent data processing, in particular to a Form-based intelligent filling method and system.
Background
The traditional way for processing file service among multiple systems is that one system finishes data and material input, and then the data and the material are input into the other system for manual repeated operation. This results in a significant reduction in work efficiency and an increase in data error rates, making the overall business process complex and lengthy.
The Chinese patent application CN113011143A, a Word document intelligent filling system based on RPA and a method thereof, converts the field name and data record in the original data to be filled into the original data set in CSV format; converting the original data set into a temporary data set in a YML format according to the configuration parameters of the YML template file; reading an original word document to obtain all tables to be filled, and positioning the tables to a specified table according to a configuration parameter tableIndex; and respectively filling the field name and the data record of the temporary data set into a header cell and a data cell of a specified form according to the header filling type of the tableType, and automatically filling the original data into the specified form in the Word document. And completing data filling of the word special identification field.
The invention relates to a Chinese patent application CN114139505A, an RPA-based intelligent document filling system and a method thereof, wherein the output end of a data import module is connected with the input end of a data safety detection module, the data detection module transmits detected data to an error reporting module, the data detection module is mainly used for detecting wrongly written characters, punctuation mark errors and format errors in the data, the data are immediately transmitted to the error reporting module after being inquired, the error reporting module transmits the data to an alarm module, the alarm module gives an alarm and transmits the data to a display device for an operator to check, whether errors exist in the current transmission content can be visually and clearly displayed, whether the errors need to be corrected or not, and the problem that the errors of characters and punctuation marks in a document are reduced because the existing intelligent filling system is not provided with the function of error checking is avoided. What is achieved is detection of erroneous data and automatic display of prompts,
the prior art does not automatically fill structured data and files in a document into a third-party system, and if the structured data and files need to interact with an external system, the structured data and files need to be manually completed. And the data with a great variety of bases needs to be input repeatedly, the data utilization rate is low, and the development difficulty of data interaction of a third-party system is high.
Disclosure of Invention
In view of the above, the present invention provides an intelligent filling method based on Form, which is directed to the problems in the prior art that when multiple documents are required to be repeatedly entered into multiple systems, basic data needs to be repeatedly input, the processing speed is low, and the data utilization rate is low, and can effectively solve the problem that data needs to be repeatedly filled and submitted in multiple systems.
According to an aspect of the present application, a technical solution of the present invention for solving the above technical problem is an intelligent filling method based on Form, including: the Form configuration unit configures a Form template, extracts the unique identifier of an input assembly in the Form, and generates a data table containing data fields and structured data values as variables based on the Form; calling an automatic test tool to record the operation flow of the third-party system, analyzing page elements of the target address, and finishing the recording of the automatic script with the constant; and comparing and analyzing the incidence relation between the data table field and the script parameter, replacing the constant in the script with the variable parameter in the data table as the data field, adjusting the judgment logic in the script to complete the script configuration, and directionally filling the structured data input each time in the Form to the specified position of a third-party system.
Preferably, the Form configuration unit drags the control to Form a Form style through a Form configuration tool, the text input box automatically generates a unique identifier of the component, and configures a Form template, and the Form template can be regularly configured in the script recording unit and can also be data-entered in the data entry unit of the user cabinet side module.
Further preferably, the performing script configuration includes: recording and reporting third-party address operation procedures by using an automatic testing tool, forming an intelligent filling script with third-party address target parameters, obtaining a batch of constant parameters required by a third-party system, replacing the constant parameters in the intelligent filling script with variable parameters in a data table, and adjusting judgment logic in the script; the automatic script recording comprises the following steps: inputting a target address, completing one operation according to the service flow of the automatic testing tool to the target address, generating an operation script code according to the operation steps of filling information in the target address, and making a script.
Preferably, for the recorded script file, dynamically changing data generated at the user cabinet side is replaced by the script configuration unit for automatically generating a constant in the script, so that the data of the data entry unit and the recorded script are associated each time, and a mapping relation is formed and provided to the intelligent filling unit as a rule; and generating a data table comprising data fields and data values, wherein in the data table, the script records and generates a file tree, the constant in the script is analyzed, a replacement variable is determined, and the variable is replaced and filled in a data value column in the generated data table.
Further preferably, the replacing of the constant in the script with the variable generated in the Form as a data field includes, the data table includes a data field and a data value, and the data field includes: the file identification fileID and the field identification are arranged in sequence, the data field corresponds to a specific file of a file tree, and as if a plurality of files are generated under a first-level folder, each file has a specific fileID, and each field identification corresponds to a real structured data value and serves as a variable in a Form.
Preferably, the data entry unit is used for performing data filling on the Form by adopting a manual entry mode, an identity card reading entry mode and an OCR (optical character recognition) entry mode, unique identifiers of all text input boxes correspond to data filled in one data entry unit according to a configuration rule of the script configuration unit and a Form template configured in the Form to Form a data table, the data table contains two columns of data, one column is the unique identifier of the text input box of the Form, and the other column is specific data filled in the data entry unit; carrying out grouping transmission to an intelligent filling unit according to a data table structure; and after the intelligent filling unit receives the structured data table and the picture and document file uploaded by the data input unit, the intelligent filling unit simultaneously analyzes the script file of the current calling script configuration unit, and acquires and directly opens a third-party filling address for filling.
Preferably, according to two columns of parameters in the data table, the unique identifier of the text input box, the specific data filled in the entry unit and the mapping relationship configured in the script configuration unit, the intelligent filling unit automatically fills the specific data matched with the unique identifier into the specified address or the corresponding text input box of the system through the mapping rule to complete data entry, and simultaneously, the picture and the document corresponding to each file identifier in the data table are sequentially uploaded to the directory tree of the third-party system according to the sequence of the file identifiers to complete file entry.
According to another aspect of the present invention, an intelligent filling system based on Form includes: the script recording unit calls an automatic testing tool to record the operation flow of a third-party system, analyzes the page elements of a target address, generates a file tree and finishes the automatic script recording with constant; the script configuration unit analyzes the constants in the script file, determines a replacement variable, and fills a data value column in the data table through variable replacement; the data input unit is used for filling data in the Form, capturing the data filled in the Form after the data is completed, extracting the unique identification of an input assembly in the Form, generating a data table containing data fields and structured data values as variables, and transmitting the data table to the intelligent filling unit in a grouping manner according to the data table structure; after receiving any group of structured data sheets and files, the intelligent filling unit calls script files, third-party addresses and parameters corresponding to the script configuration unit, outputs the script files, the third-party addresses and the parameters to a specified address or system, directionally and synchronously synchronizes the structured data sheets to the intelligent filling unit, transmits the structured data sheets to the third-party specified system, and automatically inputs data into a corresponding input assembly of the third-party address.
Further preferably, the script configuration unit compares and analyzes the incidence relation between the data table field and the script parameter, replaces the constant in the original script with the variable in the data table generated based on the Form as the data field, and adjusts the judgment logic in the script to complete the script configuration; the Form configuration unit drags the control to Form a Form style through a Form configuration tool, the text input box automatically generates a unique identifier of the component, and a Form template is configured, wherein the Form template can be regularly configured in the script recording unit and can also be data recorded in the data recording unit of the user cabinet side module.
According to another aspect of the present application, there is also provided an electronic device, including: a processor; and a memory storing a program, wherein the program comprises instructions that, when executed by the processor, cause the processor to perform the intelligent filling method according to the above.
According to another aspect of the present application, there is also provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to execute the intelligent filling method according to the above.
According to the method, the structured data table generated by the Form and the intelligent filling script are in a mapping relation, so that the oriented automatic filling of the data to the specified path is completed, and through the configuration mode, a worker only needs to complete data entry work in one system, and the system can submit the data to other third-party systems without repeatedly inputting data with various bases, so that the processing speed is increased, and the data utilization rate is increased. The development difficulty of data interaction of a third-party system can be reduced, repeated entry of key data can be automatically completed, the working efficiency is improved, and the utilization efficiency of the data is increased. The repeated cost of manual input is reduced, and the problems of data input errors and the like are avoided.
Drawings
Further details, features and advantages of the present application are disclosed in the following description of exemplary embodiments with reference to the attached drawings. In the drawings:
FIG. 1 is a flowchart illustrating intelligent landfill script recording according to an exemplary embodiment of the present application;
FIG. 2 is a flow diagram illustrating script modification according to an exemplary embodiment of the present application;
FIG. 3 illustrates an exemplary graph of variable replacement generation data representations according to an exemplary embodiment of the present application;
FIG. 4 is a schematic flow diagram of an intelligent reporting system according to an exemplary embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are for illustration purposes only and are not intended to limit the scope of the present application.
It should be understood that the various steps recited in the method embodiments of the present application may be performed in a different order and/or in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present application is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description. It should be noted that the terms "first", "second", and the like in the present application are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this application are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between a plurality of devices in the embodiments of the present application are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The form is mainly responsible for data collection function in the web page, and is defined by a < form > tag, and the information input by the user is included in the form tag. A form is an area containing form elements that allow a user to enter information into the form (e.g., text fields, drop-down lists, radio boxes, check boxes, etc.). Is an important label for front-end and back-end interaction. Common attributes for form include: name: name of the specified form, action: specifying where to send form data when submitting a form, method: specifies how to send the form data.
The technical solutions of the present invention will be clearly and completely described below with reference to the specific examples and the accompanying drawings, and the embodiments are a part of the embodiments of the present invention, and do not represent all the embodiments.
The Form configuration unit configures a Form template, the Form configuration unit of the background configuration module drags controls such as an input frame, a radio frame and a pull-down selection frame to Form a Form style through a Form configuration tool, wherein a text input frame can automatically generate a unique identifier of a component, the Form template is configured through the method, the Form template can be regularly configured in the script recording unit, and data entry can also be performed in the data entry unit of the user cabinet face end module. For any Form, generating a data table after filling, extracting the unique identifier of the input assembly in the Form, and generating the data table containing data fields and structured data values; calling an automatic test tool (such as playright) to record the operation flow of the third-party system, analyzing page elements of the target address, and finishing the recording of the automatic script with the constant; and comparing and analyzing the incidence relation between the data table field and the automatic script parameter, replacing the constant parameter in the script with the variable parameter in the data table, and directionally filling the structured data input each time in the Form to the specified position of a third-party system. Through the configuration mode, the development difficulty of data interaction of a third-party system can be reduced, repeated entry of key data is automatically completed, the working efficiency is improved, and the utilization efficiency of the data is increased.
Firstly, script configuration is carried out, an automatic testing tool (playright) is utilized to record and report the third-party address operation flow, an intelligent report script with third-party address target parameters is formed, and a batch of constant parameters required by a third-party system are obtained. According to the practical use case, replacing the constant parameters in the intelligent filling script with the variable parameters in the data table, and adjusting the judgment logic in the script to complete the script configuration.
Fig. 1 is a flowchart illustrating recording of an intelligent filling script according to an exemplary embodiment of the present invention. The method comprises the following steps: firstly, the automatic testing tool generates an operation script code according to the operation steps of filling information in the target address and makes a script. Inputting a target address, completing a normal manual operation on the service flow of the target address under the assistance of an automatic test tool, such as filling in basic information, clicking the next step, uploading a file and the like, and generating an operation script code by the automatic test tool according to the steps of manual operation each time, so that script making can be completed.
For example, when preparing a playwright environment in a recording computer, a system command prompt CMD is used to input and execute a pip install playwright (download playwright tool) and a playwright install (install playwright tool), and the environment preparation is completed. Then, a startup playright tool (playright code) is called to start the playright tool to record the operation steps, and an original script file with constants is obtained. The codes in the original script file can execute the reproducing and recording actions again, and the constant data filled in the recording process is the execution data.
Filling pre-filling data in the Form, testing the data, submitting and executing the data through a user cabinet face end, and generating a corresponding data table by taking the structured data filled in the Form, the Form and other files as a group of data.
For the recorded script file, the data entry unit of the user cabinet face end module needs to generate dynamically changed data, and the script configuration unit replaces the constant automatically generated in the script, so that the data of the data entry unit can be associated with the recorded script each time, and the automatic filling of the data can be completed. The following procedure is a specific alternative:
FIG. 2 is a script modification flow chart of an exemplary embodiment of the present invention, which includes: and generating a data table comprising data fields and data values, wherein in the data table, the script is recorded to generate a file tree, the constant in the original script is analyzed, the replacement variable is determined, and the variable is replaced and filled into a data value column in the generated data table. The data generated is shown in table 1, for example.
Table 1: data sheet examples
Data field | Data value |
file_0_0 | Pdf, a detection report issued by qualified detection agencies within a year |
file_1_0 | 2.pdf |
file_2_0 | Enterprise name pre-approval certificate (or business license copy) |
file_3_0 | Business license (horizontal) |
file_4_0 | Pdf bank card |
file_5_0 | File and application for business license postponement pdf |
file_6_0 | Pdf, a health license application |
receiving_name | Receive the name of the person |
receiving_phone | Get people's cell-phone number |
receiving_address | Address of person to be picked up |
The data table comprises a data field and a data value, wherein the data field comprises: file identifiers, namely file ids and field identifiers, for example, a specific file of a file tree corresponding to the data field file _ n _0 is a data value (the file identifier is file _0_0 corresponds to a detection report issued by a qualified detection mechanism within one year, pdf), and like a plurality of files generated below a first-level folder, the files are sequentially arranged according to the serial numbers of 0_0 and 0_1, and each file has a specific file id; the field identification is as follows: receiving _ name, receiving _ phone, receiving _ address, the corresponding data value is: and the name, the mobile phone number and the address of the person are obtained. The Form ID can be customized in the Form component or automatically generated for the system, and each identifier corresponds to one real structured data value, namely, a variable in the Form.
In one embodiment, the execution data is an indefinite data, i.e., a variable, generated by a business system or other data source, so that to implement intelligent reporting of different data sources, it is necessary to replace a constant in an original script with a variable generated in a Form as a data field.
FIG. 3 is a diagram illustrating variable replacement generating data representations according to an exemplary embodiment of the present invention.
Fillnput [ name = "orgName" ], page.
Fillinput[name=”orgName”],page.fill(input[name=”orgName”]),data.get(“company-name”)
For example, the name is replaced by the "orgName" in the fill input, the file of the original script page of the file tree contains the field of "orgName", the corresponding data value of the field is "enterprise name", the script search is executed to search for the constant in the file tree of the structured form, and if the constant is searched for the "enterprise name", the "enterprise name" is automatically filled into the constant object of which the constant data field is "orgName". Therefore, the generation of the Form or the filling of the indefinite data of other data sources can be completed by replacing the constant data such as the enterprise name and the like with the variable data such as the data.get ("company _ name") and the like, wherein the company _ name is a data field in the Form data table and can also be other field IDs needing to be filled.
Fig. 4 is a schematic flow chart of the intelligent filling system according to the exemplary embodiment of the present invention.
The intelligent filling system comprises: the system comprises a background configuration module and a user cabinet face end module, wherein the background configuration module comprises: the script recording unit and the script configuration unit; the user cabinet face end module comprises: the data entry unit, intelligent filling unit.
And after the data filling is finished at the user cabinet face end by using the Form, the structured data in the Form is synchronized to the intelligent filling unit, and the data is automatically recorded into a corresponding input assembly of a third-party address.
The data entry unit of the user cabinet face-end module performs data entry on the Form, and the data entry can be completed according to fields needing to be filled in the document template by adopting modes of manual entry, identity card reading entry, OCR (optical character recognition) entry and the like. According to the configuration rule of the script configuration unit and the Form template configured in the Form, the unique identifications of all the text input boxes correspond to the data filled in by one data entry unit to Form a data table. The data table contains two columns of data, one column is the unique identification of the Form text input box, and the other column is the specific data filled in the data entry unit. And carrying out grouping transmission to the intelligent filling unit according to the data table structure.
After the intelligent filling unit receives the group of structured data tables and the files such as pictures, documents and the like uploaded by the user cabinet face end module, the server end can simultaneously analyze the script file of the current calling script configuration unit, and obtain and directly open a third-party filling address for intelligent filling. According to the two columns of parameters in the data table, the unique identification of the text input box and the specific data filled in by the input unit; and the mapping relation configured in the script configuration unit. And the intelligent filling unit automatically fills the specific data matched with the unique identifier into a specified address or a corresponding text input box of the system through the configured mapping rule to finish the automatic data entry. Meanwhile, files such as pictures and documents corresponding to file _0_0 in the data table are sequentially uploaded to a directory tree of the third-party system according to the file ID sequence, and automatic entry of the files is completed.
An exemplary embodiment of the present application also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program, when executed by the at least one processor, is for causing the electronic device to perform a method according to an embodiment of the application.
The exemplary embodiments of this application also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is adapted to cause the computer to perform a method according to embodiments of this application.
The exemplary embodiments of this application also provide a computer program product comprising a computer program, wherein the computer program is adapted to cause a computer to perform the method according to an embodiment of this application when executed by a processor of the computer.
Referring to fig. 5, a block diagram of a structure of an electronic device 300, which may be a server or a client of the present application, which is an example of a hardware device that may be applied to aspects of the present application, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
The electronic device 300 includes a computing unit 301 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 302 or a computer program loaded from a storage unit 308 into a Random Access Memory (RAM) 303. In the RAM303, various programs and data required for the operation of the device 300 can also be stored. The calculation unit 301, the ROM 302, and the RAM303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
A number of components in the electronic device 300 are connected to the I/O interface 305, including: an input unit 306, an output unit 307, a storage unit 308, and a communication unit 309. The input unit 306 may be any type of device capable of inputting information to the electronic device 300, and the input unit 306 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. Output unit 307 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, a video/audio output terminal, a vibrator, and/or a printer. The storage unit 308 may include, but is not limited to, a magnetic disk, an optical disk. The communication unit 309 allows the electronic device 300 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 301 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 301 performs the respective methods and processes described above.
Program code for implementing the methods of the present application may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
Claims (11)
1. An intelligent filling method based on Form is characterized by comprising the following steps: the Form configuration unit configures a Form template, extracts the unique identifier of an input assembly in the Form, and generates a data table containing data fields and structured data values as variables based on the Form; calling an automatic test tool to record the operation flow of the third-party system, analyzing page elements of the target address, and finishing the recording of the automatic script with the constant; and comparing and analyzing the incidence relation between the data table field and the script parameter, replacing the constant in the script with the variable parameter in the data table as the data field, adjusting the judgment logic in the script to complete the script configuration, and directionally filling the structured data input each time in the Form to the specified position of a third-party system.
2. The intelligent filling-in method of claim 1, wherein the Form configuration unit drags the control to Form a Form style through a Form configuration tool, the text input box automatically generates a unique identifier of the component, a Form template is configured, the Form template can be regularly configured in the script recording unit, and can also be data-entered in the data entry unit of the user cabinet front end module.
3. The intelligent filling method of claim 1, wherein the script configuring comprises: recording and reporting a third-party address operation flow by using an automatic testing tool, forming an intelligent filling script with third-party address target parameters, obtaining a batch of constant parameters required by a third-party system, replacing the constant parameters in the intelligent filling script with variable parameters in a data table, and adjusting judgment logic in the script; the automatic script recording comprises: inputting a target address, finishing one operation according to the service flow of the automatic test tool to the target address, generating an operation script code according to the operation steps of filling information in the target address, and making a script.
4. An intelligent filling method as claimed in any one of claims 1-3, wherein for the recorded script file, the dynamically changing data generated at the user's counter end is replaced by the script configuration unit to automatically generate constants in the script, so that the data of the data entry unit and the recorded script are associated each time to form a mapping relation as a rule to be provided to the intelligent filling unit; and generating a data table comprising data fields and data values, wherein in the data table, the script records and generates a file tree, the constant in the script is analyzed, the replacement variable is determined, and the variable is replaced and filled in a data value column in the generated data table.
5. The intelligent filling method of any one of claims 1 to 3, wherein the replacing of the constant in the script with a variable generated in a Form as a data field comprises, the data table comprising a data field and a data value, the data field comprising: the file identification fileID and the field identification are arranged in sequence, the data field corresponds to a specific file of a file tree, and as if a plurality of files are generated under a first-level folder, each file has a specific fileID, and each field identification corresponds to a real structured data value and serves as a variable in a Form.
6. The intelligent filling and reporting method of any one of claims 1 to 3, wherein the data entry unit adopts manual entry, ID card reading entry, OCR recognition entry to fill data in the Form, according to the configuration rule of the script configuration unit and the Form template configured in the Form, the unique identifier of all the text input boxes corresponds to the data filled in one data entry unit to Form a data table, the data table contains two columns of data, one column is the unique identifier of the Form text input box, and the other column is the specific data filled in the data entry unit; carrying out grouping transmission to an intelligent filling unit according to a data table structure; and after the intelligent filling unit receives the structured data table and the picture and document file uploaded by the data input unit, the intelligent filling unit simultaneously analyzes the script file of the current calling script configuration unit, and acquires and directly opens a third-party filling address for filling.
7. The intelligent filling method as claimed in claim 6, wherein according to two columns of parameters in the data table, the unique identifier of the text input box and the specific data filled by the entry unit, and the mapping relationship configured by the script configuration unit, the specific data matched with the unique identifier is automatically filled into the corresponding text input box of the designated address or system through the mapping rule by the intelligent filling unit to complete data entry, and simultaneously, the picture and the document corresponding to each file identifier in the data table are sequentially uploaded to the directory tree of the third-party system according to the sequence of the file identifiers to complete file entry.
8. An intelligent filling system based on Form forms, comprising: the script recording unit calls an automatic testing tool to record the operation flow of a third-party system, analyzes the page elements of a target address, generates a file tree and finishes the automatic script recording with constant; the script configuration unit analyzes the constants in the script file, determines a replacement variable, and fills a data value column in the data table through variable replacement; the data input unit is used for filling data in the Form, capturing the data filled in the Form after the data is completed, extracting the unique identification of an input assembly in the Form, generating a data table containing data fields and structured data values as variables, and transmitting the data table to the intelligent filling unit in a grouping manner according to the data table structure; after receiving any group of structured data tables and files, the intelligent filling unit calls script files, third-party addresses and parameters corresponding to the script configuration unit, outputs the script files, the third-party addresses and the parameters to a specified address or system, directionally synchronizes the structured data tables to the intelligent filling unit, transmits the structured data tables to the third-party specified system, and automatically inputs data into a corresponding input assembly of the third-party address.
9. The intelligent filling system of claim 8, further comprising a script configuration unit comparing and analyzing the association relationship between the data table fields and the script parameters, replacing the constants in the original script with the variables in the data table generated based on the Form as data fields, and adjusting the judgment logic in the script to complete the script configuration; the Form configuration unit drags the control to Form a Form style through a Form configuration tool, the text input box automatically generates a unique identifier of the component, and a Form template is configured, wherein the Form template can be regularly configured in the script recording unit and can also be data recorded in the data recording unit of the user cabinet side module.
10. An electronic device, comprising: a processor; and a memory storing a program, wherein the program comprises instructions that when executed by the processor cause the processor to perform the intelligent reporting method according to any one of claims 1 to 7.
11. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the intelligent filling method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211258599.XA CN115509637A (en) | 2022-10-14 | 2022-10-14 | Form-based intelligent filling method, system, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211258599.XA CN115509637A (en) | 2022-10-14 | 2022-10-14 | Form-based intelligent filling method, system, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115509637A true CN115509637A (en) | 2022-12-23 |
Family
ID=84511150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211258599.XA Pending CN115509637A (en) | 2022-10-14 | 2022-10-14 | Form-based intelligent filling method, system, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115509637A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116562255A (en) * | 2023-07-11 | 2023-08-08 | 北京国电通网络技术有限公司 | Form information generation method, form information generation device, electronic equipment and computer readable medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112308542A (en) * | 2020-12-31 | 2021-02-02 | 浙江非线数联科技有限公司 | Method and system for realizing intelligent and non-inductive data input |
-
2022
- 2022-10-14 CN CN202211258599.XA patent/CN115509637A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112308542A (en) * | 2020-12-31 | 2021-02-02 | 浙江非线数联科技有限公司 | Method and system for realizing intelligent and non-inductive data input |
Non-Patent Citations (1)
Title |
---|
张冲: ""电子表单系统应用分析"", 《华东科技》, no. 9, pages 60 - 63 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116562255A (en) * | 2023-07-11 | 2023-08-08 | 北京国电通网络技术有限公司 | Form information generation method, form information generation device, electronic equipment and computer readable medium |
CN116562255B (en) * | 2023-07-11 | 2023-09-19 | 北京国电通网络技术有限公司 | Form information generation method, form information generation device, electronic equipment and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109947789B (en) | Method, device, computer equipment and storage medium for processing data of multiple databases | |
CN104317618B (en) | A kind of firmware partition treating method and apparatus | |
CN110647523B (en) | Data quality analysis method and device, storage medium and electronic equipment | |
CN112631557A (en) | Method, device and storage medium for generating interface code and/or interface document | |
CN113110995B (en) | System migration testing method and device | |
KR20190095099A (en) | Transaction system error detection method, apparatus, storage medium and computer device | |
US20210124752A1 (en) | System for Data Collection, Aggregation, Storage, Verification and Analytics with User Interface | |
CN112612664A (en) | Electronic equipment testing method and device, electronic equipment and storage medium | |
CN113760730A (en) | Automatic testing method and device | |
CN115437663A (en) | Upgrade strategy updating method and device, electronic equipment, storage medium and vehicle | |
CN115509637A (en) | Form-based intelligent filling method, system, equipment and medium | |
CN115794437A (en) | Calling method and device of microservice, computer equipment and storage medium | |
CN116453125A (en) | Data input method, device, equipment and storage medium based on artificial intelligence | |
CN117873486A (en) | Front-end and back-end code automatic generation method, device, equipment and storage medium | |
CN111506594B (en) | Big data query platform, management method thereof and data query method | |
CN116956326A (en) | Authority data processing method and device, computer equipment and storage medium | |
US10699329B2 (en) | Systems and methods for document to order conversion | |
CN115941712A (en) | Method and device for processing submission data, computer equipment and storage medium | |
CN111931465B (en) | Method and system for automatically generating user manual based on user operation | |
CN115237425A (en) | Code viewing method and device, computer equipment and storage medium | |
CN114637672A (en) | Automatic data testing method and device, computer equipment and storage medium | |
CN106713666A (en) | Recognition display method and device of verification information | |
CN114371866A (en) | Version reconfiguration test method, device and equipment of service system | |
CN111107154B (en) | Data reporting method and device | |
CN115334064B (en) | Method and device for generating configuration system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221223 |