CN112949274A - Document data entry method and system - Google Patents

Document data entry method and system Download PDF

Info

Publication number
CN112949274A
CN112949274A CN202110241955.6A CN202110241955A CN112949274A CN 112949274 A CN112949274 A CN 112949274A CN 202110241955 A CN202110241955 A CN 202110241955A CN 112949274 A CN112949274 A CN 112949274A
Authority
CN
China
Prior art keywords
data
document
wrs
entry
type
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
CN202110241955.6A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202110241955.6A priority Critical patent/CN112949274A/en
Publication of CN112949274A publication Critical patent/CN112949274A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention relates to the technical field of computer document editing, in particular to a method and a system for inputting document data, wherein the method comprises the following steps: the method comprises the steps of establishing a document template making mode, establishing a document data input control library, a document data storage structure, establishing a document data description message, establishing a visual weaving method of the document data description message, establishing document grammar to define the document data description message, packaging the document template, the document data description message and recorded data into a whole, forming a self-defined document type, establishing an analysis engine, analyzing the format of a WRS document, and generating an operable man-machine delivery function module to support the recording of document data in any format. The method can quickly and effectively meet the data entry requirements of enterprises on any critical document, realize fine-grained control on the entered data, and collect the entered data of each document in real time so as to support the data interaction requirements among documents and between the documents and a system.

Description

Document data entry method and system
Technical Field
The invention relates to the technical field of computer document editing, in particular to a method and a system for inputting document data.
Background
The foundation of digitalizing the enterprise to improve the efficiency is to change all the data into analyzable data, which necessarily comprises documents appearing in the production and operation process of the enterprise, and the operation of enterprise business can be effectively accelerated by efficiently and accurately extracting the data in the documents, for example, if the financial affairs of the enterprise can obtain the data of a sales contract in real time, the financial affairs of the enterprise can help to control the cash flow of the enterprise more timely; if the detection mechanism can acquire data of a detection report in real time, the detection mechanism is helpful for informing a submission unit more timely; for example, application scenarios that depend on data carried in various types of critical documents are not exhaustive, and thus, a technology for extracting data from documents is very critical.
However, the existing document editing system only supports data entry of a document in any format, but cannot support fine-grained control (such as numerical type, size range and numerical enumeration) when a document data field is entered, and does not have the interaction capability of the document data. Accordingly, those skilled in the art provide a method and system for document data entry to solve the above problems in the background art.
Disclosure of Invention
The present invention aims to provide a method and a system for entering document data, so as to solve the problems in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: a method and a system for document data entry are provided, the document entry system comprises:
the document template is used for an operator to perform data entry on a part of the document, which needs to enter data, according to the document content structure as a semantic background;
the rule set is used for defining the entry rules of all data items to be entered in the document template and dividing the rules into different rule files by taking the page code values of the data items in the document as the reference;
the parameter set is used for storing parameters to be recorded corresponding to the data items to be recorded in the document template, and dividing the recorded parameters into different parameter files by taking the page code values of the data items in the document as the reference;
the data document set is used for storing documents in various formats generated after the data entry of the documents is finished;
the control library is used for ensuring that each data type defined in the label data type set has a corresponding data input control in the document data type input control library;
the analysis engine is used for analyzing the format of the document and generating an operable man-machine delivery function module to support the input function of document data in any format;
the method for entering the document data comprises the following steps:
s1, a document template making mode;
establishing a unique tag containing semantics, defining to form a tag data type set, and identifying the data type required by the input data item through the implied semantics;
s2, establishing a document data input control library;
based on the label data type set, realizing a corresponding check type data entry control to form a document data entry control library;
s3, a storage structure of document data;
the method includes the following steps that document data are located through a multi-dimensional coordinate system, keys of storage items are formed through multi-dimensional coordinate values, values of the storage items are formed through data values, and the method specifically includes the following steps: a one-dimensional type, a two-dimensional type, and a picture type;
s4, establishing a document data description message for clearly expressing various data verification rules and delivery rules involved in the document data entry process;
s5, establishing a visual weaving method of the document data description message, and establishing a document grammar to define the document data description message;
s6, packaging the document template, the document data description message and the recorded data set into a whole to form a self-defined document type, namely a WRS document;
s7, designing and establishing an analysis engine, analyzing the format of the WRS document, and generating an operable man-machine delivery function module to support the input function of document data in any format;
and S8, with the WRS document as an operation object, realizing a WEB system mode and a PC system mode for the WRS document analysis engine so as to support two use scenes of network and non-network.
As a further scheme of the invention: the specific operations in S1 are: taking a document content structure as a semantic background, and performing data entry on a part of the document where data are to be entered;
wherein the set of tag data types includes: integers, decimals, text, multi-options, single options, dates, times, tables, pictures, can override the various data types involved in existing document data entry processes, and support extensions to new data types.
As a still further scheme of the invention: each check type data entry control in the S2 embeds various service check rules, which may appear in the data type, according to the data type supported by the control;
the method specifically comprises the following steps: the system comprises an integer entry control, a decimal entry control, a text entry control, a multi-option entry control, a single-option entry control, a date entry control, a time entry control, a form and picture entry control and a new data type entry control.
As a still further scheme of the invention: the message in S4 includes the following:
firstly, identifying data fields of a document to be filled;
data type constraint of data field of the document to be filled;
data field data relation constraint of the document to be filled;
fourthly, data verification constraint of data fields of the document to be filled;
data field interactive constraint: two types of data delivery constraints are defined for input and output of document data.
As a still further scheme of the invention: the document grammar in S5 includes:
the data field definition segment specifically includes: the field sequence, the field identification, the field name, the field data type, the basic constraint and the field semantic needed by the field data type;
a data relationship definition segment, specifically: linkage type, relation source field, relation target field, trigger condition of target field value dependence, and data field value pairing relation;
data verification definition segment: defining the service check to be executed when the document data is submitted, and describing the content of the message corresponding to the document data, including: data value null check and service-related calculation check;
fourthly, the data interaction definition segment specifically comprises: the mapping relation between the interface address, the interface type, the request data structure and the related data field coordinate, and the response data structure and the document data field coordinate.
As a still further scheme of the invention: in the step S7, the WRS document is rendered by the document parsing engine, and data entry and data interaction on the WRS document are completed, where the specific operations include:
firstly, generating a preview view of a WRS document template;
secondly, dynamically drawing a data entry view corresponding to the document template;
thirdly, storing the input data in real time by taking the data coordinate as key and the data value as a structure;
providing interactive capacity, and performing data initialization when a document is opened and pushing data when the document is submitted according to interactive constraint indicated by the rule;
providing tracking marks, and storing the WRS document for sequential data modification difference values once the WRS document is submitted;
sixthly, providing conversion capability and supporting conversion of WRS documents into WORD, WPS and PDF documents.
As a still further scheme of the invention: the specific operation in S8 is:
under the network environment: the method comprises the steps that a WRS document is operated through a WEB system, data entry is completed, the WRS document is supported to be exported to a certain storage device, and then the WRS document is supported to be imported from the certain storage device to a PC system in a non-network environment, so that related operations of the WRS document are completed;
secondly, under the non-network environment, the WRS document is operated through the PC system, data import is completed, the WRS document export is supported to be exported to a certain storage device, and then under the network environment, the WRS document import from the certain storage device to the WEB system is supported, and the related operation of the WRS document is completed.
Compared with the prior art, the invention has the beneficial effects that: the invention relates to a method and a system for inputting document data, which are applied in practice;
compared with the traditional document which only contains the content context environment, the document format and the document data of the document, the WRS document designed by the invention is additionally provided with a data constraint rule, a data interaction rule and a data positioning rule on the basis of the WRS document, and the verification and interaction logic required in the data entry process of the WRS document is already supported from the content of the document, so that the WRS document can be considered as a service self-checking document;
in addition, the analysis engine realized around the WRS document generates the corresponding human-computer delivery function by adopting a dynamic analysis technology, and the method can solve the problem of endless workload caused by correspondingly developing a front-end interface realization mode by adopting a template in the traditional technical mode from the technical bottom layer, thereby effectively supporting the data entry of the document with any format.
Drawings
FIG. 1 is a block diagram of a WRS document in a method and system for document data entry;
FIG. 2 is an implementation schematic diagram of a method and system for document data entry;
FIG. 3 is a diagram of steps for compiling document data description messages through document templates in a method and system for document data entry;
FIG. 4 is a schematic diagram of a WRS document data verification method and system for document data entry;
FIG. 5 is a schematic diagram of data interaction of WRS documents in a method and system for document data entry;
fig. 6 is a schematic diagram of a WRS document supporting a network environment switching operation in a method and system for document data entry.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1 to 6, in an embodiment of the present invention, a document data entry system includes:
the document template is used for an operator to perform data entry on a part of the document, which needs to enter data, according to the document content structure as a semantic background;
the rule set is used for defining the entry rules of all data items to be entered in the document template and dividing the rules into different rule files by taking the page code values of the data items in the document as the reference;
the parameter set is used for storing parameters to be recorded corresponding to the data items to be recorded in the document template, and dividing the recorded parameters into different parameter files by taking the page code values of the data items in the document as the reference;
the data document set is used for storing documents in various formats generated after the data entry of the documents is finished;
the control library is used for ensuring that each data type defined in the label data type set has a corresponding data input control in the document data type input control library;
the analysis engine is used for analyzing the format of the document and generating an operable man-machine delivery function module to support the input function of document data in any format;
a method of document data entry, the method comprising the steps of:
firstly, a document template manufacturing mode;
compared with a traditional manufacturing mode that only unique tags are adopted to define data items to be recorded in a document, the method provided by the invention reestablishes a unique tag containing semantics for defining to form a tag data type set, and the data types required by the recorded data items can be identified through the implied semantics;
the above-mentioned unique label is'${ [ data type]Data identification}”;
If the document fragment "name: __, age: __, gender: __, respectively; "make document template for example, the corresponding fragments in the document template are as follows:
name:${[str]t1}, age:${[int]t2}, gender:${[select]t3};
wherein [ XXX ] in the document tag represents the data type of the data field, and the data type required for entering the data item can be identified through the implied semantics;
moreover, a set of tag data type sets is defined in the method, which specifically comprises: integer [ int ], decimal [ dec ], text [ str ], multiple option [ select ], single option [ pool ], date [ date ], time [ time ], table [ table ], picture [ image ], can cover various data types involved in the existing document data entry process, and support the extension of new data types, the new data type is defined in a form of "[ type ]", for example: the capital amount [ money ];
secondly, establishing a document data input control library;
based on the label data type set, realizing a corresponding check type data entry control to form a document data entry control library;
each check type data entry control is embedded with various service check rules which may appear in the data type according to the data type supported by the check type data entry control, and the check type data entry control specifically comprises the following steps:
the integer input control only supports the input of legal integers and comprises the check of an integer range;
the decimal entry control only supports entry of legal decimal numbers, and comprises decimal number range and decimal precision verification;
the text entry control comprises a text length range, illegal characters and the verification of legal characters;
the multi-option entry control is not editable and limits selection among a plurality of specified data items;
the single option input control only supports selection and non-selection;
the date entry control only supports entry of legal dates and automatically converts the dates into a specified format;
the time input control only supports the input of legal time and automatically converts the time into a specified format;
the form entry control supports the entry of form data of any cell merging style;
the picture input control only supports picture input in a legal format and comprises the zooming adjustment of the size of the picture;
the new data type input control is expanded according to the data type, for example, the capital sum input control limits the input text to accord with the capital sum description;
the label data type set and the document data entry control library form a one-to-one correspondence relationship, namely, each data type defined in the label data type set has a corresponding data input control in the document data entry control library;
s3, a storage structure of document data;
positioning document data by adopting a multi-dimensional coordinate system, { x, y, z, }, forming keys of storage items by using multi-dimensional coordinate values, and forming values of the storage items by using data values; the method specifically comprises the following steps:
the single-dimensional input type comprises data types such as an integer [ int ], a decimal [ dec ], a text [ str ], a multiple option [ select ], a single option [ cool ], a date [ date ], and the like, positioning coordinates of the data items are formed by document IDs, page code values, data identifications and data types, corresponding storage items key are { wrsID, pageNum, dataMark and dataType }, and value of the corresponding storage items is a data value;
the two-dimensional input type corresponds to a table [ table ] data type, a document ID, a page code value, a data identifier, a data type, a row index and a column index are adopted to form the positioning coordinate of the data item, the key corresponding to the storage item is { wrsID, pageNum, dataMark, dataType, rowIndex and colIndex }, and the value corresponding to the storage item is the data value of a table cell;
a picture type; corresponding to the data type of the picture [ image ], adopting a document ID, a page code value, a data identifier and a data type to form a positioning coordinate of the data item, wherein the key corresponding to the storage item is { wrsID, pageNum, dataMark and dataType }, and the value corresponding to the storage item is a storage path of the picture in the WRS document;
further, { wrsID, pageNum, dataMark, dataType, rowIndex, colinex } structural structure as a key of the storage item, is further described as follows:
wrsID is the document ID of the WRS document, which is dynamically generated and built in the WRS document to be unchangeable when the WRS document is created;
pageNum is the page number value of the page where the data item to be input is located in the WRS document template;
dataMark is a data identifier defined by a data item to be input in a WRS document template;
the dataType is a data type defined by a data item to be input in a WRS document template, and the type determines a processing mode of the data item value;
the rowIndex is used for positioning row indexes of cells corresponding to tabular data to be recorded in the WRS document template;
the colIndex is used for positioning a column index of a cell corresponding to tabular data to be entered in the WRS document template;
as described above, in the system, a WRS document is located by wrsID, a template page is located by pageNum, data items are located by dataMark, a specific data item to be entered of a certain type in the document can be accurately located, and further, a specific cell data item of table type data can be located by rowIndex and colIndex;
as described above, when a WRS document performs data interaction, the system determines a processing manner of a value of a storage item according to dataType, specifically:
for the character type: the method comprises the steps of including an integer [ int ], a decimal [ dec ], a text [ str ], a multiple option [ select ], a single option [ cool ], a date [ date ], a time [ time ] and a table [ table ], and using a value to participate in data interaction;
for the byte type: the method comprises the steps of obtaining an original picture file to participate in data interaction according to a value [ image ];
fourthly, establishing a document data description message for clearly expressing various data verification rules and delivery rules involved in the document data entry process;
and the message contains the following contents:
data field identification of document to be filled
The data field identification includes: data identification, data type and data semantics;
wherein the data identifier indicates a unique identifier of the data in the document, such as t1 for a first item of data to be entered in the document and t2 for a second item of data to be entered, and the data identifiers are used for forming coordinates of the data items in the document;
the data type indicating data field belongs to text data, table data or picture data to be filled in a document, for example, the text type data in the document is marked as str, the table type data in the document is marked as table, the image type data in the document is marked as image, and the data type is used for marking a processing method adopted during document data entry;
② data field data type constraint of document to be filled
The data types include: integer [ int ], decimal [ dec ], text [ str ], multiple option [ select ], single option [ bolus ], date [ date ], time [ time ], table [ table ], picture [ image ], and other new types of extensions; the method specifically comprises the following steps:
integer of: minimum value constraint, maximum value constraint, default value constraint;
decimal fraction: minimum value constraint, maximum value constraint, default value constraint and precision constraint;
text: length constraint, illegal character constraint, legal character constraint and default value constraint;
multiple options: optional constraints, default constraints;
single option: optional constraints, default constraints;
date: date range constraints, date format constraints, default value constraints;
time: time range constraint, time format constraint, default value constraint;
table (b): format constraint; picture: restricting the size of the picture; the new type is as follows: defining a specific constraint mode according to the service requirement of the extension type;
third, data field data relation constraint of file to be filled
Defining the limited category relation constraint existing among a plurality of data fields in the document as an action, and defining a keyword for each action to form an associated action set; the method specifically comprises the following steps: a conversion action, a selection action and a calculation action; various linkage relations involved in the existing document data entry process can be covered, and the expansion of a new action type is supported;
wherein the interpretation of the transition action is: when the two fields of the value field of the amount and the description field of the capitalization of the amount in the document have a one-to-one correspondence relationship, the relationship can be designated as the conversion action of the capitalization of the amount, in the document data description message, the data relationship constraint is added to the two fields by the linkage of the conversion relation of the capitalization of the amount, and when the value of the amount changes, the capitalization of the amount automatically changes according to the value of the amount;
the interpretation of the selection action is: when the company name, the bank and the account number have one-to-one correspondence relationship, the relationship can be designated as a multi-level linkage selection action, in a document data description message, a data relationship constraint is added to the three fields by using multi-level linkage selection linkage, and when the company changes, the bank and the account number automatically change according to the company name;
the interpretation of the computational actions is: when the two fields of the paid money and the residual money in the document are equal to the calculation relationship of a certain fixed numerical value in the statistical summation, the relationship can be specified as a summation calculation action, in a document data description message, a data relationship constraint is added to the two fields by using the summation calculation association action, and when the value of the paid money changes, the residual money automatically changes according to the summation fixed numerical value;
further, defining a new action type according to the business requirement of the extended data relation;
data check constraint of data field of document to be filled
Designing two types of data verification constraints, defining a keyword for each type of verification rule in each type of data verification constraint, and forming a data verification constraint set as constraint actions, wherein the two types of data verification constraints are respectively as follows:
judging type constraint: the numerical judgment of the single-word segment conforms to a certain rule, such as: judging whether the signal is non-null;
a computational constraint; the calculation of the value of a plurality of fields meets a certain result, such as: performing summation operation;
wherein, defining data check constraint comprises two parts of contents, which are respectively:
and (3) constraint action: identifying a data check constraint execution mode;
constraint field set: identifying a field set verified by the data verification constraint action;
data field interaction constraint
Two data delivery constraints are defined and used for inputting and outputting document data, specifically:
acquiring data, acquiring data from an external data source, and initializing document data content;
pushing data; after the document data is correctly recorded, submitting the data to an external system;
wherein, defining the data delivery constraint includes the following contents: data interface, interface type, request type, parameter body and response conversion relation;
fifthly, establishing a visual weaving method of the document data description message, and establishing a document grammar to define the document data description message;
wherein the document grammar includes:
the data field definition segment specifically includes: the field sequence, the field identification, the field name, the field data type, the basic constraint and the field semantic needed by the field data type;
a data relationship definition segment, specifically: linkage type, relation source field, relation target field, trigger condition of target field value dependence, and data field value pairing relation;
data verification definition segment: defining the service check to be executed when the document data is submitted, and describing the content of the message corresponding to the document data, including: data value null check and service-related calculation check;
fourthly, the data interaction definition segment specifically comprises: the mapping relation between the interface address, the interface type, the request data structure and the related data field coordinate, and the mapping relation between the response data structure and the document data field coordinate;
further, acquiring the content text of the document template, and analyzing the compound text according to the sequence from top to bottom and from left to right${ [ data type]Data identificationExtracting five Chinese characters on the left side of the label as a data field name, analyzing a data type and a data identifier represented by the label to generate a first part of content of the document grammar, wherein the first part of content of the document grammar is an item which must exist, and the latter three parts of content can determine whether the first part of content needs to exist according to document data entry service;
sixthly, packaging the document template, the document data description message and the recorded data set into a whole to form a self-defined document type, namely a WRS document;
designing and establishing an analysis engine, analyzing the format of the WRS document, and generating an operable man-machine delivery function module to support the input function of document data in any format;
further, the WRS document is rendered through the document parsing engine, data entry and data interaction of the WRS document are completed, and the specific operations include:
firstly, generating a preview view of a WRS document template;
secondly, dynamically drawing a data entry view corresponding to the document template;
thirdly, storing the input data in real time by taking the data coordinate as key and the data value as a structure;
providing interactive capacity, and performing data initialization when a document is opened and pushing data when the document is submitted according to interactive constraint indicated by the rule;
providing tracking marks, and storing the WRS document for sequential data modification difference values once the WRS document is submitted;
providing conversion capability to support conversion of WRS documents into WORD, WPS and PDF documents;
eighthly, using the WRS document as an operation object, and realizing a WEB system mode and a PC system mode for the WRS document analysis engine so as to support two use scenes of a network and a non-network;
the specific operations of the two usage scenarios are:
under the network environment: the method comprises the steps that a WRS document is operated through a WEB system, data entry is completed, the WRS document is supported to be exported to a certain storage device, and then the WRS document is supported to be imported from the certain storage device to a PC system in a non-network environment, so that related operations of the WRS document are completed;
secondly, under the non-network environment, the WRS document is operated through the PC system, data import is completed, the WRS document export is supported to be exported to a certain storage device, and then under the network environment, the WRS document import from the certain storage device to the WEB system is supported, and the related operation of the WRS document is completed.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (7)

1. A method and a system for inputting document data are characterized in that the document inputting system comprises:
the document template is used for an operator to perform data entry on a part of the document, which needs to enter data, according to the document content structure as a semantic background;
the rule set is used for defining the entry rules of all data items to be entered in the document template and dividing the rules into different rule files by taking the page code values of the data items in the document as the reference;
the parameter set is used for storing parameters which are correspondingly input by all data items to be input in the document template, and dividing the input parameters into different parameter files by taking the page code values of the data items in the document as the reference;
the data document set is used for storing documents in various formats generated after the data entry of the documents is finished;
the control library is used for ensuring that each data type defined in the label data type set has a corresponding data input control in the document data type input control library;
the analysis engine is used for analyzing the format of the document and generating an operable man-machine delivery function module to support the input function of document data in any format;
the method for entering the document data comprises the following steps:
s1, a document template making mode;
establishing a unique tag containing semantics, defining to form a tag data type set, and identifying the data type required by the input data item through the implied semantics;
s2, establishing a document data input control library;
based on the label data type set, realizing a corresponding check type data entry control to form a document data entry control library;
s3, a storage structure of document data;
the method includes the following steps that document data are located through a multi-dimensional coordinate system, keys of storage items are formed through multi-dimensional coordinate values, values of the storage items are formed through data values, and the method specifically includes the following steps: a one-dimensional type, a two-dimensional type, and a picture type;
s4, establishing a document data description message for clearly expressing various data verification rules and delivery rules involved in the document data entry process;
s5, establishing a visual weaving method of the document data description message, and establishing a document grammar to define the document data description message;
s6, packaging the document template, the document data description message and the recorded data set into a whole to form a self-defined document type, namely a WRS document;
s7, designing and establishing an analysis engine, analyzing the format of the WRS document, and generating an operable man-machine delivery function module to support the input function of document data in any format;
and S8, with the WRS document as an operation object, realizing a WEB system mode and a PC system mode for the WRS document analysis engine so as to support two use scenes of network and non-network.
2. A method and system for document data entry according to claim 1, wherein the specific operations in S1 are: taking a document content structure as a semantic background, and performing data entry on a part of the document where data are to be entered;
wherein the set of tag data types includes: integers, decimals, text, multi-options, single options, dates, times, tables, pictures, can override the various data types involved in existing document data entry processes, and support extensions to new data types.
3. A method and system for document data entry as claimed in claim 1, wherein each check type data entry control in S2 embeds its data type, various business check rules that may appear according to its supported data type;
the method specifically comprises the following steps: the system comprises an integer entry control, a decimal entry control, a text entry control, a multi-option entry control, a single-option entry control, a date entry control, a time entry control, a form and picture entry control and a new data type entry control.
4. A method and system for document data entry as claimed in claim 1, wherein the message in S4 includes the following contents:
firstly, identifying data fields of a document to be filled;
data type constraint of data field of the document to be filled;
data field data relation constraint of the document to be filled;
fourthly, data verification constraint of data fields of the document to be filled;
data field interactive constraint: two types of data delivery constraints are defined for input and output of document data.
5. A method and system for document data entry as claimed in claim 1, wherein the document syntax in S5 includes:
the data field definition segment specifically includes: the field sequence, the field identification, the field name, the field data type, the basic constraint and the field semantic needed by the field data type;
a data relationship definition segment, specifically: linkage type, relation source field, relation target field, trigger condition of target field value dependence, and data field value pairing relation;
data verification definition segment: defining the service check to be executed when the document data is submitted, and describing the content of the message corresponding to the document data, including: data value null check and service-related calculation check;
fourthly, the data interaction definition segment specifically comprises: the mapping relation between the interface address, the interface type, the request data structure and the related data field coordinate, and the response data structure and the document data field coordinate.
6. A method and system for document data entry according to claim 1, wherein in S7, a WRS document is rendered by a document parsing engine to complete data entry and data interaction for the WRS document, and the specific operations include:
firstly, generating a preview view of a WRS document template;
secondly, dynamically drawing a data entry view corresponding to the document template;
thirdly, storing the input data in real time by taking the data coordinate as key and the data value as a structure;
providing interactive capacity, and performing data initialization when a document is opened and pushing data when the document is submitted according to interactive constraint indicated by the rule;
providing tracking marks, and storing the WRS document for sequential data modification difference values once the WRS document is submitted;
sixthly, providing conversion capability and supporting conversion of WRS documents into WORD, WPS and PDF documents.
7. A method and system for document data entry according to claim 1, wherein the specific operations in S8 are:
under the network environment: the method comprises the steps that a WRS document is operated through a WEB system, data entry is completed, the WRS document is supported to be exported to a certain storage device, and then the WRS document is supported to be imported from the certain storage device to a PC system in a non-network environment, so that related operations of the WRS document are completed;
secondly, under the non-network environment, the WRS document is operated through the PC system, data import is completed, the WRS document export is supported to be exported to a certain storage device, and then under the network environment, the WRS document import from the certain storage device to the WEB system is supported, and the related operation of the WRS document is completed.
CN202110241955.6A 2021-03-04 2021-03-04 Document data entry method and system Pending CN112949274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110241955.6A CN112949274A (en) 2021-03-04 2021-03-04 Document data entry method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110241955.6A CN112949274A (en) 2021-03-04 2021-03-04 Document data entry method and system

Publications (1)

Publication Number Publication Date
CN112949274A true CN112949274A (en) 2021-06-11

Family

ID=76247681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110241955.6A Pending CN112949274A (en) 2021-03-04 2021-03-04 Document data entry method and system

Country Status (1)

Country Link
CN (1) CN112949274A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117350249A (en) * 2023-12-05 2024-01-05 佰墨思(成都)数字技术有限公司 Control configuration method and system for automatically inputting electronic document data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117350249A (en) * 2023-12-05 2024-01-05 佰墨思(成都)数字技术有限公司 Control configuration method and system for automatically inputting electronic document data
CN117350249B (en) * 2023-12-05 2024-02-09 佰墨思(成都)数字技术有限公司 Control configuration method and system for automatically inputting electronic document data

Similar Documents

Publication Publication Date Title
US11960832B2 (en) Cross-document intelligent authoring and processing, with arbitration for semantically-annotated documents
US11210456B2 (en) Method relating to preparation of a report
KR102432104B1 (en) Systems and methods for determining relationships between data elements
US9495347B2 (en) Systems and methods for extracting table information from documents
CN110738037B (en) Method, apparatus, device and storage medium for automatically generating electronic form
US20070136316A1 (en) Systems and methods for report design and generation
US20150261728A1 (en) Markup language system, method, and computer program product
US20040088650A1 (en) Methods and apparatus for generating a spreadsheet report template
US20060218160A1 (en) Change control management of XML documents
CN101661512A (en) System and method for identifying traditional form information and establishing corresponding Web form
US20070055556A1 (en) Spreadsheet Generator
O'Donnell Programming for the World: A guide to internationalization
US11620451B2 (en) Iterative training for text-image-layout transformer
US10699112B1 (en) Identification of key segments in document images
CN115917613A (en) Semantic representation of text in a document
JP3305949B2 (en) Program analyzer
CN112966482A (en) Report generation method, device and equipment
CN112949274A (en) Document data entry method and system
CN115210705A (en) Vector embedding model for relational tables with invalid or equivalent values
KR102126342B1 (en) Electronic document braille translation system and a method therefor
JP2001125855A (en) Dynamic web page generation program
US8719693B2 (en) Method for storing localized XML document values
CN113687827A (en) Data list generation method, device and equipment based on widget and storage medium
CN114391151A (en) Enhanced natural language generation platform
Iwashokun et al. Parsing of Research Documents into XML Using Formal Grammars

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