Document entry method and device, computer equipment, storage medium and program product
By displaying the document field identification and entry area in a floating window, you can directly enter the field value and update it, which solves the problem of low efficiency of traditional document entry and achieves more efficient document entry.
Patent Information
- Application Number
- CN202510704097.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-09-26
AI Technical Summary
Traditional document entry is inefficient, especially for documents with many fields, which takes a lot of time.
By displaying a floating window including the field identifiers and field value entry areas of the document to be entered, the operator directly enters the field values and completes the document entry through update operations until all field identifiers are empty.
Improves document entry efficiency, shortens the time required to enter target field values, and reduces the time required to find field identifiers and enter field values in documents.
Smart Images

Figure CN120704559A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a document entry method, apparatus, computer equipment, storage medium, and computer program product. Background Art
[0002] With the development of computer technology, paperless office has been gradually realized. Documents, as an important information recording medium, are widely used in various scenarios. The information that can be structured in documents is usually defined as document fields, such as the type, document number, and currency category in the document.
[0003] In traditional technology, document entry is achieved by entering the field values corresponding to the fields in the document. For documents with many fields, document entry takes a lot of time, resulting in low document entry efficiency. Summary of the Invention
[0004] The embodiments of the present application provide a document entry method, apparatus, computer device, storage medium, and computer program product, which can improve the efficiency of document entry.
[0005] In a first aspect, the present application provides a document entry method, comprising:
[0006] Display the document to be entered and a floating window; the floating window includes the field identifier to be entered and the field value entry area in the document to be entered;
[0007] In response to an input operation on the field value input area, obtaining an input field value corresponding to the to-be-entered field identifier, and determining the input field value as a target field value corresponding to the to-be-entered field identifier in the to-be-entered document;
[0008] In response to the update operation on the floating window, the updated field identifier to be entered is displayed in the floating window, and the steps of responding to the entry operation on the field value entry area, obtaining the entry field value corresponding to the field identifier to be entered, and determining the entry field value as the target field value corresponding to the field identifier to be entered in the document to be entered are repeated until the field identifier to be entered displayed in the floating window is empty, and the target document corresponding to the document to be entered is obtained.
[0009] In a second aspect, the present application further provides a document entry device, comprising:
[0010] A display module displays the document to be entered and a floating window; the floating window includes the field identifier to be entered and the field value entry area in the document to be entered;
[0011] an input module, configured to, in response to an input operation on the field value input area, obtain an input field value corresponding to the to-be-entered field identifier, and determine the input field value as a target field value corresponding to the to-be-entered field identifier in the to-be-entered document;
[0012] A loop module is configured to respond to an update operation on the floating window, display an updated field identifier to be entered in the floating window, repeatedly execute the steps of responding to an entry operation on the field value entry area, obtaining an entry field value corresponding to the field identifier to be entered, and determining the entry field value as a target field value corresponding to the field identifier to be entered in the document to be entered, until the field identifier to be entered displayed in the floating window is empty, thereby obtaining a target document corresponding to the document to be entered.
[0013] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the methods described in the fourth aspect when executing the computer program.
[0014] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any one of the methods described in the fourth aspect when the computer program is executed by a processor.
[0015] In a fifth aspect, the present application also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods described in the fourth aspect.
[0016] The above-mentioned document entry method, device, computer equipment, storage medium and computer program product display the document to be entered and the floating window; the floating window includes the field identifier to be entered and the field value entry area in the document to be entered; in response to the entry operation on the field value entry area, the entry field value corresponding to the field identifier to be entered is obtained, and the entry field value is determined as the target field value corresponding to the field identifier to be entered in the document to be entered; in response to the update operation on the floating window, the updated field identifier to be entered is displayed in the floating window, and the steps of obtaining the entry field value corresponding to the field identifier to be entered and determining the entry field value as the target field value corresponding to the field identifier to be entered in the document to be entered are repeated until the field identifier to be entered displayed in the floating window is empty, and the target document corresponding to the document to be entered is obtained. The to-be-entered field identifier and field value entry area in the document to be entered are displayed in a floating window. The operator can directly enter the entry field value corresponding to the to-be-entered field identifier in the field value entry area, and then map the entry field value as the target field value corresponding to the to-be-entered field identifier to the document to be entered, thereby completing the input of a target field value in the document to be entered. Then, the next to-be-entered field identifier is displayed in the floating window through an update operation. Repeating the above operation can complete the document entry of the document to be entered. Compared with searching for the to-be-entered field identifier for the target field value to be entered in the document to be entered and then completing the entry of the target field value, this shortens the time for entering the target field value, thereby improving the document entry efficiency of the document to be entered. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 This is an application environment diagram of a document entry method in one embodiment;
[0019] Figure 2 1. A schematic flow chart of a document entry method in one embodiment;
[0020] Figure 3 is a schematic diagram of a floating window in one embodiment;
[0021] Figure 4 A schematic diagram of a field definition interface in one embodiment;
[0022] Figure 5 A flowchart of the steps for determining an input method in one embodiment is shown;
[0023] Figure 6 Schematic diagram of the process of adding target field values in one embodiment;
[0024] Figure 7 1. A schematic flow chart of a document entry method in one embodiment;
[0025] Figure 8 This is a structural block diagram of a document entry device in one embodiment;
[0026] Figure 9 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0028] The document entry method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 displays the document to be entered and the floating window; the floating window includes the field identifier to be entered and the field value entry area in the document to be entered; in response to the entry operation on the field value entry area, the entry field value corresponding to the field identifier to be entered is obtained, and the entry field value is determined as the target field value corresponding to the field identifier to be entered in the document to be entered; in response to the update operation on the floating window, the updated field identifier to be entered is displayed in the floating window, and the steps of responding to the entry operation on the field value entry area, obtaining the entry field value corresponding to the field identifier to be entered, and determining the entry field value as the target field value corresponding to the field identifier to be entered in the document to be entered are repeated until the field identifier to be entered displayed in the floating window is empty, and the target document corresponding to the document to be entered is obtained. Terminal 102 may include, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, smart car devices, and projectors. Portable wearable devices may include smart watches, smart bracelets, and head-mounted devices. Head-mounted devices may include virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, and the like. Server 104 may be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services.
[0029] In an exemplary embodiment, Figure 2 As shown, a document entry method is provided, which is applied to Figure 1 The computer device in the embodiment is used as an example to illustrate the method, which includes the following steps 202 to 206. Among them:
[0030] Step 202: Display the document to be entered and a floating window; the floating window includes the identifier of the field to be entered and the field value entry area in the document to be entered.
[0031] Among them, the document to be entered refers to the document that needs to enter information. The document to be entered can be a voucher, invoice, delivery note, receipt and contract, etc. The document to be entered includes multiple field identifiers. For example, if the document to be entered is a voucher, the document to be entered includes field identifiers such as type, voucher number, currency, etc.; or, if the document to be entered is a contract, the document to be entered includes field identifiers such as basic information, commodity information, transaction agreement information, amount calculation information, termination information, risk terms, etc. The floating window refers to a window that floats on the display screen. The floating window can be located on the upper layer of the document to be entered, the floating window can also be located inside the document to be entered, or the floating window can be located outside the document to be entered, for example, the floating window is located on one side above, below, left or right of the document to be entered. For example, the schematic diagram of the floating window is as follows Figure 3 As shown, the floating window 302 is suspended above the document to be entered, and the floating window 302 is located in the lower right corner of the document to be entered. The floating window includes at least one field identifier to be entered and at least one field value entry area, as well as related controls, etc. The field identifier to be entered refers to an identifier that represents the field to be entered, which can be understood as the name of the field to be entered. The field identifier to be entered is the field identifier in the document to be entered. The field value entry area refers to the area for entering field values. The field value entry area can be located on any side of the field identifier to be entered, such as above, below, left or right. For example, Figure 3 In the floating window 302 shown in FIG, the field value entry area is located below the identifier of the field to be entered. The field value entry areas in the floating window correspond one-to-one with the identifier of the field to be entered, and the number of field value entry areas in the floating window is equal to the number of the identifiers to be entered. The position of the floating window can be fixed relative to the document to be entered, for example, the floating window is located to the lower right of the display area of the document to be entered. The position of the floating window can also be flexible, and the operator can drag the floating window with the mouse to change the position of the floating window.
[0032] Exemplarily, a display screen of a computer device displays a document to be entered, and a floating window including identifiers of fields to be entered and field value entry areas in the document to be entered.
[0033] In an exemplary embodiment, in response to a display operation for a document to be entered, a computer device displays the document to be entered on a display screen of the computer device; counts the number of field identifiers to be entered in the document to be entered to obtain a statistical number of the field identifiers to be entered; and when the statistical number is greater than a quantity threshold, a floating window including the field identifiers to be entered and field value entry areas in the document to be entered is displayed. The statistical number being greater than the quantity threshold indicates that the number of field identifiers to be entered in the document to be entered is large, and the display screen of the computer device may not be able to display all the field identifiers to be entered in the document to be entered. The operator needs to perform operations such as searching and turning pages when entering field values, which takes a considerable amount of time to enter the document, resulting in low document entry efficiency. Thus, a floating window is displayed to improve document entry efficiency.
[0034] In an exemplary embodiment, in response to a display operation for a document to be entered, a computer device displays the document to be entered on a display screen of the computer device; determines whether the document to be entered is a complex document; and, if the document to be entered is a complex document, displays a floating window including identifiers of fields to be entered and fields value entry areas in the document to be entered. A complex document may include more than a preset number of field identifiers, for example, a document to be entered with more than 100 field identifiers. A complex document may also include documents whose entire contents cannot be displayed on the display screen at once.
[0035] In an exemplary embodiment, the computer device generates a document to be entered in response to a triggering operation on a new control, and displays the document to be entered and a floating window.
[0036] Step 204 , in response to the input operation on the field value input area, obtain the input field value corresponding to the field identifier to be input, and determine the input field value as the target field value corresponding to the field identifier to be input in the document to be input.
[0037] The term "entry operation" refers to the operation of inputting information, which can be understood as the operation of entering information into the field value entry area. The operator can perform entry operations using input devices such as a keyboard, mouse, touchpad, and voice control. Entering a field value refers to the information entered into the field value entry area.
[0038] Exemplarily, in response to an entry operation on the field value entry area, the computer device obtains the entry field value corresponding to the field identifier to be entered from the field value entry area, and determines the entry field value as the target field value corresponding to the field identifier to be entered in the document to be entered.
[0039] In an exemplary embodiment, prior to step 204, the process further includes: determining the position of the field identifier to be entered in the document to be entered based on the anchor identifier corresponding to the field identifier to be entered, and displaying a document area including the field identifier to be entered and the corresponding target field value. The anchor identifier refers to the position information of the field identifier in the document to be entered. The document area can be determined based on the anchor identifier corresponding to the reference field identifier and preset parameters. The preset parameters can be an upper height and a lower height. It can be understood that the field identifier is displayed in the middle of the display frame, with the upper height being the height from the upper border of the display frame, and the lower height being the height from the lower border of the display frame.
[0040] In step 206, in response to the update operation on the floating window, the updated field identifier to be entered is displayed in the floating window, and the steps of responding to the entry operation on the field value entry area, obtaining the entry field value corresponding to the field identifier to be entered, and determining the entry field value as the target field value corresponding to the field identifier to be entered in the document to be entered are repeated until the field identifier to be entered displayed in the floating window is empty, and the target document corresponding to the document to be entered is obtained.
[0041] The update operation refers to the operation of updating the field identifier to be entered and the field value entry area in the floating window. It can be understood as the operation of displaying another field identifier to be entered in the floating window and setting the field value entry area to be empty. The update operation can be achieved by clicking the update control in the floating window, for example, Figure 3 The "Next" control in the floating window 302 shown in the figure is an update control. The target document refers to the document to be entered after information entry has been completed. The fact that the pending field identifiers displayed in the floating window are empty may indicate that the pending field identifiers displayed in the floating window are the pending field identifiers before the update operation, i.e., the pending field identifiers in the floating window have not been updated. Alternatively, the fact that the pending field identifiers displayed in the floating window are empty may indicate that the pending field identifiers displayed in the floating window are preset identifiers, which indicate that all pending field identifiers in the document to be entered have been displayed.
[0042] Exemplarily, in response to the update operation on the floating window, the computer device displays the updated field identifier to be entered in the floating window, and repeats steps 204-206 until the field identifier to be entered displayed in the floating window is empty, thereby obtaining the target document corresponding to the document to be entered.
[0043] In the above document entry method, the field identifier to be entered and the field value entry area in the document to be entered are displayed through a floating window. The operator can directly enter the entry field value corresponding to the field identifier to be entered through the field value entry area, and then map the entry field value as the target field value corresponding to the field identifier to be entered to the document to be entered, thereby completing the input of a target field value in the document to be entered, and then display the next field identifier to be entered in the floating window through an update operation. Repeat the above operation to complete the document entry of the document to be entered. Compared with searching for the field identifier to be entered for the target field value to be entered in the document to be entered and then completing the entry of the target field value, the input time of the target field value is shortened, thereby improving the document entry efficiency of the document to be entered.
[0044] In an exemplary embodiment, before responding to an input operation on a field value input area, the method further includes:
[0045] Determine the reference field identifier corresponding to the field identifier to be entered in the floating window; display the document area in the document to be entered that includes the target field value corresponding to the reference field identifier; the target field value corresponding to the reference field identifier is used to provide reference information for determining the target field value corresponding to the field identifier to be entered; after determining the entry field value as the target field value corresponding to the field identifier to be entered in the document to be entered, it also includes: displaying the document area in the document to be entered that includes the target field value corresponding to the field identifier to be entered.
[0046] The "reference field identifier" refers to a field identifier associated with the field identifier to be entered. A field identifier to be entered can correspond to one or more reference field identifiers. The target field value corresponding to the reference field identifier provides reference information for determining the target field value corresponding to the field identifier to be entered. For example, if the field identifier to be entered is the contract expiration date and the reference field identifier is the contract start date, the date corresponding to the contract start date can provide reference information for determining the contract expiration date. The document area refers to the local area on the screen where the document to be entered is displayed.
[0047] Exemplarily, after step 202, the computer device determines the reference field identifier corresponding to the field identifier to be entered in the floating window, determines the document area in the document to be entered that includes the target field value corresponding to the reference field identifier, and displays the above document area on the display screen; the computer device responds to the entry operation for the field value entry area, obtains the entry field value corresponding to the field identifier to be entered, and determines the entry field value as the target field value corresponding to the field identifier to be entered in the document to be entered; determines the document area in the document to be entered that includes the target field value corresponding to the field identifier to be entered, and displays the above document area on the display screen.
[0048] In an exemplary embodiment, determining the reference field identifier corresponding to the field identifier to be entered in the floating window includes: the computer device obtains the target attribute set corresponding to the field identifier to be entered in the floating window, and obtains the reference field identifier corresponding to the field identifier to be entered in the floating window from the target attribute set. The target attribute set refers to a set of attributes of the field, and the target attribute set includes but is not limited to the field value type, the number of field value characters, the entry method, and the reference field identifier. The field value attribute set can be set through the field definition interface. For example, the schematic diagram of the field definition interface is shown in FIG. Figure 4 As shown, the operator can Figure 4 The field definition interface shown sets field attributes such as field ID, field value type, number of field value characters, entry method and reference field ID, visibility and empty prompt information of the field. The above field attributes constitute the target attribute set.
[0049] In an exemplary embodiment, determining a document area in a document to be entered that includes a target field value corresponding to a reference field identifier includes: obtaining an anchor identifier corresponding to the reference field identifier from a target attribute set corresponding to the reference field identifier; and determining a document area in the document to be entered that includes the target field value corresponding to the reference field identifier based on the anchor identifier corresponding to the reference field identifier.
[0050] In this embodiment, by displaying the document area including the target field value corresponding to the reference field identifier in the document to be entered, the target field value corresponding to the reference field identifier can provide reference information for determining the target field value corresponding to the field identifier to be entered. Compared with the operator needing to query the target field value corresponding to the reference field identifier, the entry time of the target field value corresponding to the field identifier to be entered in the document to be entered is shortened; after the entry field value is determined to be the target field value corresponding to the field identifier to be entered in the document to be entered, the document area including the target field value corresponding to the field identifier to be entered in the document to be entered is displayed, which facilitates the operator to review the target field value corresponding to the field identifier to be entered, thereby shortening the review time of the target field value corresponding to the field identifier to be entered in the document to be entered.
[0051] In an exemplary embodiment, before displaying the floating window, the method further includes:
[0052] Acquire multiple field identifiers and the entry methods corresponding to the field identifiers in the document to be entered; determine the field identifiers whose entry method is floating window entry as the field identifiers to be entered; and determine the entry order corresponding to the field identifiers to be entered.
[0053] The field identifier is the identifier that represents the field and can be understood as the name of the field. The entry method refers to the method of entering the field value, which can be one of the following: floating window entry and calculated entry. Floating window entry means that the field value is entered through the field value entry area in the floating window. Calculated entry means that the field value is determined by calculation. Calculated entry can be understood as the field value corresponding to the field identifier does not need to be entered by the operator, but is calculated by calculating the field values corresponding to other field identifiers. The entry order refers to the order in which the field identifiers to be entered are displayed in the floating window.
[0054] Exemplarily, before displaying the field identifiers to be entered in the floating window, the computer device obtains multiple field identifiers in the document to be entered and the field attribute sets corresponding to the field identifiers. For each field identifier, the computer device obtains the entry method corresponding to the field identifier from the field attribute set corresponding to the field identifier. If the entry method corresponding to the field identifier is floating window entry, the field identifier is determined as the field identifier to be entered, and the entry order corresponding to the field identifiers to be entered is determined. The entry order corresponding to the field identifiers to be entered can be determined based on the position of the field to be entered in the document to be entered, or the entry order corresponding to the field identifiers to be entered can be determined based on the order in which the field identifiers to be entered are obtained from the document to be entered.
[0055] In this embodiment, the field identifiers entered in the floating window are determined as the field identifiers to be entered, and then the entry order corresponding to the field identifiers to be entered is determined, laying the foundation for subsequently displaying the field identifiers to be entered in the floating window.
[0056] In an exemplary embodiment, Figure 5 As shown, before obtaining multiple field identifiers and the entry methods corresponding to the field identifiers in the document to be entered, and obtaining multiple field identifiers and the entry methods corresponding to the field identifiers in the document to be entered, including:
[0057] Step 502: In response to a scanning operation on a paper document, a document to be entered corresponding to the paper document is obtained.
[0058] A paper document refers to a document that is carried on paper. It can be a handwritten document or a printed document. A scanning operation refers to the digitization of a paper document using an image capture device, with the goal of converting the paper document into an electronic document ready for entry.
[0059] For example, an operator scans a paper document through an image acquisition device, and the computer device obtains a document to be entered corresponding to the paper document in response to the scanning operation on the paper document.
[0060] Step 504: Acquire multiple field identifiers and field attribute sets in the document to be entered; the field attribute set includes candidate fields and candidate attribute sets corresponding to the candidate fields.
[0061] The field attribute set refers to a set consisting of candidate fields and candidate attribute sets corresponding to the candidate fields. The field attribute set includes multiple candidate fields and a candidate attribute set corresponding to each candidate field. The field attribute set can be a pre-set set.
[0062] Exemplarily, the computer device obtains multiple field identifiers in the document to be entered, and obtains a field attribute set consisting of candidate fields and candidate attribute sets corresponding to the candidate fields.
[0063] Step 506 : For each field identifier, determine the candidate attribute set corresponding to the candidate field identifier that is the same as the field identifier as the target attribute set corresponding to the field identifier.
[0064] Exemplarily, for each field identifier, the computer device determines the candidate attribute set corresponding to the candidate field identifier that is the same as the field identifier as the target attribute set corresponding to the field identifier.
[0065] Step 508: Obtain the entry method corresponding to the field identifier from the target attribute set.
[0066] Exemplarily, the computer device obtains the entry method corresponding to the field identifier from the target attribute set.
[0067] In this embodiment, by scanning the paper document, the document to be entered corresponding to the paper document is obtained, which lays the foundation for the rapid entry of the document to be entered, and then multiple field identifiers are obtained from the document to be entered. The field values corresponding to some field identifiers in the document to be entered need to be input by the operator, and the field values corresponding to some field identifiers do not require input by the operator and can be obtained through calculation. Therefore, it is necessary to obtain a field attribute set consisting of candidate fields and candidate attribute sets corresponding to the candidate fields, obtain a target attribute set corresponding to the field identifier from the field attribute set, and obtain an entry method corresponding to the field identifier from the target attribute set to provide accurate basic data for the candidate to determine the field identifier to be entered.
[0068] In an exemplary embodiment, in response to an update operation on the floating window, the floating window displays updated identifiers of fields to be entered, including:
[0069] In response to an update operation on the floating window, an update order is determined based on an entry order corresponding to the to-be-entered field identifiers in the floating window; and the to-be-entered field identifiers corresponding to the update order are displayed in the floating window.
[0070] The update sequence refers to the entry order corresponding to the next field identifier to be entered in the floating window.
[0071] Exemplarily, in response to the update operation on the floating window, the computer device adds one to the entry order corresponding to the to-be-entered field identifiers in the floating window to obtain an update order, and displays the to-be-entered field identifiers corresponding to the update order in the floating window.
[0072] In an exemplary embodiment, after displaying the identifiers of the fields to be entered corresponding to the update sequence in the floating window, the method further includes: setting the field value entry area in the floating window to be empty.
[0073] In this embodiment, in response to the update operation on the floating window, the update order is determined by the entry order corresponding to the field identifiers to be entered in the floating window, and the field identifiers to be entered corresponding to the update order are displayed in the floating window, laying the foundation for entering the target field value corresponding to the next field identifier to be entered.
[0074] In an exemplary embodiment, until the to-be-entered field indicator displayed in the floating window is empty, obtaining the target document corresponding to the to-be-entered document includes:
[0075] Until the field identifier to be entered displayed in the floating window is empty, obtain the calculated field identifiers in the document to be entered whose entry method is calculated; determine the calculation formula and calculation field identifier corresponding to the calculated field identifier; obtain the calculation field value corresponding to the calculation field identifier from the document to be entered, substitute the calculation field value into the calculation formula, and obtain the target field value corresponding to the calculated field identifier; until the target field value corresponding to the last calculated field identifier is determined, the target document corresponding to the document to be entered is obtained.
[0076] The calculation field ID is the field ID for fields entered using calculation. The operation formula is the formula that determines the target field value. The operation field ID is the field ID corresponding to the target field value involved in the operation.
[0077] Exemplarily, until the field identifier to be entered displayed in the floating window is empty, the computer device obtains the calculation field identifier in the document to be entered, and the entry method is calculation entry. For each calculation field identifier, the calculation formula and calculation field identifier corresponding to the calculation field identifier are obtained from the target field attribute corresponding to the calculation field identifier, and the calculation field value corresponding to the calculation field identifier is obtained from the document to be entered. The calculation field value is substituted into the calculation formula to obtain the target field value corresponding to the calculation field identifier. The above steps are repeated until the target field value corresponding to the last calculation field identifier is determined, and the target document corresponding to the document to be entered is obtained.
[0078] In this embodiment, the target field value corresponding to the field identifier to be entered is entered through a floating window. For the calculated field identifier in the document to be entered, the computer device directly calculates it based on the operation formula corresponding to the calculated field identifier and the operation field identifier, thereby realizing the entry of the target field value corresponding to the calculated field identifier, thereby improving the entry efficiency of the target field value corresponding to the calculated field identifier, and further improving the entry efficiency of the document to be entered.
[0079] In an exemplary embodiment, Figure 6 As shown, the document entry method also includes:
[0080] Step 602: When the field value entry area in the floating window is empty, in response to an update operation on the floating window, the identifier of the field to be entered in the floating window is saved to the supplementary field set.
[0081] The supplementary field set refers to a set consisting of supplementary field identifiers, which can be understood as a set consisting of field identifiers to be entered that have been displayed in the floating window but for which the target field values have not been determined.
[0082] In an exemplary embodiment, when the number of supplementary recording field identifiers in the supplementary recording field set is greater than zero, the supplementary recording icon is in a flashing state. The supplementary recording icon refers to an icon located in the floating window. The supplementary recording image can be in a flashing state and a static state. The flashing state indicates the existence of the supplementary recording field identifier, and the static state indicates the absence of the supplementary recording field identifier. Alternatively, a prompt sound can be used to indicate whether a supplementary recording field identifier exists. The prompt method can be set according to actual needs and is not limited here. The supplementary recording icon can be located on the supplementary recording control or at other locations in the floating window.
[0083] Exemplarily, when the field value entry area in the floating window is empty, the computer device saves the identifier of the field to be entered in the floating window to the supplementary field set in response to the update operation on the floating window.
[0084] Step 604: In response to the triggering operation on the supplementary recording control in the floating window, the supplementary recording field identifiers in the supplementary recording field set are displayed.
[0085] The supplementary recording control refers to a control used to display the supplementary recording field identifier in the supplementary recording data set.
[0086] Exemplarily, the operator clicks on the supplementary recording control in the floating window, and the computer device displays the supplementary recording field identifiers in the supplementary recording field set in response to the triggering operation on the supplementary recording control in the floating window.
[0087] Step 606: In response to the selection operation for the supplementary field identifier, the selected field identifier is displayed in a floating window.
[0088] The color selection field identifier refers to the selected supplementary field identifier.
[0089] Exemplarily, the operator selects one of the supplementary field identifiers, and the computer device displays the selected field identifier in a floating window in response to the selection operation on the supplementary field identifier.
[0090] Step 608 : In response to the input operation on the field value input area, the input field value of the selected field identifier is obtained, and the input field value is determined as the target field value of the selected field identifier in the document to be input.
[0091] Exemplarily, the operator enters the entry field value into the field value entry area, and the computer device responds to the entry operation on the field value entry area, obtains the entry field value of the selected field identifier, and determines the entry field value as the target field value of the selected field identifier in the document to be entered.
[0092] In this embodiment, for the field identifier to be entered for which the operator skips entering the target field value, the computer device saves the above-mentioned field identifier to be entered to the supplementary field set. When the operator needs to enter the target field value of the supplementary field identifier, the computer device can display the supplementary field identifier in the supplementary field set through the trigger operation of the supplementary control. The selected field identifier can be displayed in the floating window through the selection operation of the supplementary field identifier. By entering the entry field value in the field value entry area in the floating window, the target field value corresponding to the selected field identifier in the document to be entered can be quickly entered. Compared with the operator needing to search for the supplementary field identifier in the document to be entered to enter the target field value, the entry time of the target field value corresponding to the supplementary field identifier is shortened, thereby improving the entry efficiency of the target field value corresponding to the supplementary field identifier.
[0093] In an exemplary embodiment, a document entry device is provided, comprising:
[0094] (1) Field mapping unit:
[0095] Set the candidate attribute set corresponding to the candidate field identifier. The candidate attribute set includes field identifier, field type, reference field identifier, width, height, anchor identifier and entry method, etc.
[0096] (2) Document assembly unit:
[0097] Generate documents to be entered based on candidate fields and candidate attribute sets corresponding to the candidate fields;
[0098] Alternatively, scan the paper document to obtain the document to be entered corresponding to the paper document.
[0099] (3) Floating unit:
[0100] Display a floating window, which can be closed;
[0101] The floating window displays the field identifiers to be entered according to the entry order corresponding to the field identifiers to be entered;
[0102] Before determining the target field value corresponding to the field identifier to be entered, the position of the reference field identifier in the document to be entered is determined based on the anchor identifier corresponding to the reference field identifier, and the document area in the document to be entered that includes the target field value corresponding to the reference field identifier is displayed;
[0103] After determining the target field value corresponding to the field identifier to be entered, the position of the field identifier to be entered in the document to be entered is determined based on the anchor identifier corresponding to the field identifier to be entered, and the document area including the field identifier to be entered and the corresponding target field value is displayed;
[0104] For the to-be-entered field identifiers whose target field values have not been determined, the to-be-entered field identifiers are saved in the supplementary entry identifier set;
[0105] The number of supplementary recording field identifiers in the supplementary recording identifier set is greater than zero, so the supplementary recording icon is in a flashing state;
[0106] In response to the triggering operation of the supplementary recording control, the supplementary recording field identifiers in the supplementary recording field set are displayed.
[0107] (4) Data processing unit:
[0108] Get the entry field value corresponding to the field ID to be entered from the field value entry area, and map the entry field value to the target field value corresponding to the field ID to be entered in the document to be entered.
[0109] (5) Key information display unit:
[0110] Displays the target field value corresponding to the field identifier to be entered through the floating window. Through the one-side pull-down method, you can quickly browse the target field value corresponding to the field identifier to be entered through the floating window.
[0111] Based on the above document entry device, the flow chart of the document entry method is as follows: Figure 7 Shown, including:
[0112] Document entry preparation stage:
[0113] 1.1 The operator sets the candidate attribute set of the candidate field identifier through the field mapping unit.
[0114] 1.2 The computer device saves the candidate field identifier and the candidate attribute set corresponding to the candidate field identifier in the field attribute set.
[0115] Before entering the target field value:
[0116] 2.1 The operator clicks on the new control.
[0117] 2.2 The computer device generates and displays the document to be entered in response to the triggering operation of the newly created control.
[0118] 2.3 Display the floating window.
[0119] 2.4 The computer device obtains multiple field identifiers and field attribute sets corresponding to the field identifiers in the document to be entered. For each field identifier, the computer device obtains the entry method corresponding to the field identifier from the field attribute set corresponding to the field identifier. If the entry method corresponding to the field identifier is floating window entry, the field identifier is determined as the field identifier to be entered, and the entry order corresponding to the field identifier to be entered is determined. Based on the entry order corresponding to the field identifier to be entered, the fields to be entered are displayed in the floating window.
[0120] 2.5 The computer device obtains an anchor identifier corresponding to the reference field identifier from the target attribute set corresponding to the reference field identifier, determines, based on the anchor identifier corresponding to the reference field identifier, a document area in the document to be entered that includes the target field value corresponding to the reference field identifier, and displays the document area on a display screen.
[0121] Target field value entry stage:
[0122] 3.1 The operator enters the field value in the field value input area in the floating window.
[0123] 3.2 In response to the input operation on the field value input area, the computer device obtains the input field value corresponding to the field identifier to be input from the field value input area.
[0124] 3.3 The computer device transmits the input field value to the document to be entered, determines the input field value as the target field value corresponding to the identifier of the field to be entered in the document to be entered, and, based on the anchor identifier of the field to be entered, determines the document area in the document to be entered that includes the target field value corresponding to the identifier of the field to be entered, and displays the document area on the display screen. In response to the update operation on the floating window, the computer device displays the updated identifier of the field to be entered in the floating window, and repeats steps 2.5-3.3 until the identifier of the field to be entered displayed in the floating window is empty.
[0125] 3.4 The computer device obtains the calculated field identifiers of the document to be entered, whose entry method is calculation. For each calculated field identifier, the computer device obtains the calculation formula and calculation field identifier corresponding to the calculated field identifier from the target field attribute corresponding to the calculated field identifier. The computer device obtains the calculation field value corresponding to the calculation field identifier from the document to be entered, substitutes the calculation field value into the calculation formula, and obtains the target field value corresponding to the calculated field identifier. The above steps are repeated until the target field value corresponding to the last calculated field identifier is determined, thereby obtaining the target document corresponding to the document to be entered.
[0126] In the above document entry method, the field identifier to be entered and the field value entry area in the document to be entered are displayed through a floating window. The operator can directly enter the entry field value corresponding to the field identifier to be entered through the field value entry area, and then map the entry field value as the target field value corresponding to the field identifier to be entered to the document to be entered, thereby completing the input of a target field value in the document to be entered, and then display the next field identifier to be entered in the floating window through an update operation. Repeat the above operation to complete the document entry of the document to be entered. Compared with searching for the field identifier to be entered for the target field value to be entered in the document to be entered and then completing the entry of the target field value, the input time of the target field value is shortened, thereby improving the document entry efficiency of the document to be entered.
[0127] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0128] Based on the same inventive concept, embodiments of the present application also provide a document entry device for implementing the document entry method described above. The solution provided by this device is similar to the solution described in the method described above. Therefore, the specific limitations of one or more document entry device embodiments provided below can be found in the limitations of the document entry method described above and will not be repeated here.
[0129] In an exemplary embodiment, Figure 8 As shown, a document entry device is provided, including: a display module 802, an entry module 804 and a circulation module 806, wherein:
[0130] Display module 802 displays the document to be entered and a floating window; the floating window includes the field identifiers to be entered and the field value entry area in the document to be entered;
[0131] An input module 804 is configured to obtain an input field value corresponding to a to-be-entered field identifier in response to an input operation on a field value input area, and determine the input field value as a target field value corresponding to the to-be-entered field identifier in the to-be-entered document;
[0132] Loop module 806 is used to respond to the update operation on the floating window, display the updated field identifier to be entered in the floating window, repeatedly execute the steps of responding to the entry operation on the field value entry area, obtaining the entry field value corresponding to the field identifier to be entered, and determining the entry field value as the target field value corresponding to the field identifier to be entered in the document to be entered, until the field identifier to be entered displayed in the floating window is empty, and the target document corresponding to the document to be entered is obtained.
[0133] In an exemplary embodiment, the display module 802 is also used to: determine the reference field identifier corresponding to the field identifier to be entered in the floating window; display the document area in the document to be entered that includes the target field value corresponding to the reference field identifier; the target field value corresponding to the reference field identifier is used to provide reference information for determining the target field value corresponding to the field identifier to be entered; after the entry field value is determined as the target field value corresponding to the field identifier to be entered in the document to be entered, it also includes: displaying the document area in the document to be entered that includes the target field value corresponding to the field identifier to be entered.
[0134] In an exemplary embodiment, the document entry device also includes a determination module, which is used to: obtain multiple field identifiers in the document to be entered and the entry methods corresponding to the field identifiers; determine the field identifier whose entry method is floating window entry as the field identifier to be entered; and determine the entry order corresponding to the field identifier to be entered.
[0135] In an exemplary embodiment, the display determination module is also used to: in response to a scanning operation on a paper document, obtain a document to be entered corresponding to the paper document; obtain multiple field identifiers in the document to be entered and the entry method corresponding to the field identifiers, including: obtaining multiple field identifiers and a field attribute set in the document to be entered; the field attribute set includes candidate fields and a candidate attribute set corresponding to the candidate fields; for each field identifier, the candidate attribute set corresponding to the candidate field identifier that is the same as the field identifier is determined as the target attribute set corresponding to the field identifier; and obtain the entry method corresponding to the field identifier from the target attribute set.
[0136] In an exemplary embodiment, the loop module 806 is further configured to: in response to an update operation on the floating window, determine an update order based on the entry order corresponding to the field identifiers to be entered in the floating window; and display the field identifiers to be entered corresponding to the update order in the floating window.
[0137] In an exemplary embodiment, the loop module 806 is also used to: until the to-be-entered field identifier displayed in the floating window is empty, obtain the calculation field identifier in the document to be entered whose entry method is calculation entry; determine the calculation formula and calculation field identifier corresponding to the calculation field identifier; obtain the calculation field value corresponding to the calculation field identifier from the document to be entered, substitute the calculation field value into the calculation formula, and obtain the target field value corresponding to the calculation field identifier; until the target field value corresponding to the last calculation field identifier is determined, and the target document corresponding to the document to be entered is obtained.
[0138] In an exemplary embodiment, the entry module 804 is also used to: when the field value entry area in the floating window is empty, in response to an update operation on the floating window, save the field identifier to be entered in the floating window to the supplementary field set; in response to a trigger operation on the supplementary control in the floating window, display the supplementary field identifier in the supplementary field set; in response to a selection operation on the supplementary field identifier, display the selected field identifier in the floating window; in response to an entry operation on the field value entry area, obtain the entry field value of the selected field identifier, and determine the entry field value as the target field value of the selected field identifier in the document to be entered.
[0139] Each module in the document entry device described above may be implemented in whole or in part through software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0140] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure may be shown in Figure 9. The computer device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and computer program stored in the non-volatile storage medium. The input / output interface of the computer device is configured to exchange information between the processor and an external device. The communication interface of the computer device is configured to communicate with an external terminal via wired or wireless communication, where the wireless communication may be achieved via Wi-Fi, a mobile cellular network, near-field communication (NFC), or other technologies. When executed by the processor, the computer program implements a document entry method. The display unit of the computer device is configured to produce a visually visible image and may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.
[0141] Those skilled in the art will understand that Figure 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0142] In some exemplary embodiments, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0143] In some exemplary embodiments, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0144] In some exemplary embodiments, a computer program product is provided, including a computer program, which implements the steps in the above-mentioned method embodiments when executed by a processor.
[0145] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0146] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), quantum computing-based data processing logic devices, artificial intelligence (AI) processors, and the like.
[0147] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0148] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A document entry method, characterized in that: The method comprises: Display the document to be entered and a floating window; the floating window includes the field identifier to be entered and the field value entry area in the document to be entered; In response to an input operation on the field value input area, obtaining an input field value corresponding to the to-be-entered field identifier, and determining the input field value as a target field value corresponding to the to-be-entered field identifier in the to-be-entered document; In response to the update operation on the floating window, the updated field identifier to be entered is displayed in the floating window, and the steps of responding to the entry operation on the field value entry area, obtaining the entry field value corresponding to the field identifier to be entered, and determining the entry field value as the target field value corresponding to the field identifier to be entered in the document to be entered are repeated until the field identifier to be entered displayed in the floating window is empty, and the target document corresponding to the document to be entered is obtained.
2. The method according to claim 1, characterized in that Before responding to the input operation on the field value input area, the method further includes: Determine a reference field identifier corresponding to the field identifier to be entered in the floating window; Displaying a document area in the document to be entered that includes a target field value corresponding to the reference field identifier; the target field value corresponding to the reference field identifier is used to provide reference information for determining the target field value corresponding to the field identifier to be entered; After determining the entry field value as the target field value corresponding to the to-be-entered field identifier in the to-be-entered document, the method further includes: A document area including a target field value corresponding to the field identifier to be entered in the document to be entered is displayed.
3. The method according to claim 1, characterized in that Before displaying the floating window, it also includes: Obtain multiple field identifiers in the document to be entered and the entry methods corresponding to the field identifiers; The field identifier of the field whose input mode is floating window input is determined as the field identifier to be input; Determine the entry order corresponding to the field identifiers to be entered.
4. The method according to claim 3, characterized in that Before obtaining a plurality of field identifiers in the document to be entered and the entry methods corresponding to the field identifiers, the method further includes: In response to a scanning operation on a paper document, obtaining a document to be entered corresponding to the paper document; The obtaining of multiple field identifiers in the document to be entered and the entry methods corresponding to the field identifiers includes: Acquire multiple field identifiers and field attribute sets in the document to be entered; the field attribute set includes candidate fields and candidate attribute sets corresponding to the candidate fields; For each field identifier, determining a candidate attribute set corresponding to a candidate field identifier identical to the field identifier as a target attribute set corresponding to the field identifier; An entry method corresponding to the field identifier is obtained from the target attribute set.
5. The method according to claim 1, wherein In response to the update operation on the floating window, displaying the updated identifier of the field to be entered in the floating window includes: In response to an update operation on the floating window, determining an update order based on an entry order corresponding to the identifiers of the fields to be entered in the floating window; The identifiers of the fields to be entered corresponding to the update sequence are displayed in the floating window.
6. The method according to claim 1, characterized in that The step of obtaining a target document corresponding to the document to be entered until the identifier of the field to be entered displayed in the floating window is empty includes: Until the identifier of the field to be entered displayed in the floating window is empty, obtain the identifier of the calculated field in the document to be entered, which has the entry mode of calculation; Determine the calculation formula and calculation field identifier corresponding to the calculation field identifier; Obtaining a calculation field value corresponding to the calculation field identifier from the document to be entered, substituting the calculation field value into the calculation formula to obtain a target field value corresponding to the calculation field identifier; Until the target field value corresponding to the last calculated field identifier is determined, the target document corresponding to the document to be entered is obtained.
7. The method according to claim 1, characterized in that The method further comprises: When the field value entry area in the floating window is empty, in response to an update operation on the floating window, the identifier of the field to be entered in the floating window is saved to the supplementary entry field set; In response to a triggering operation on a supplementary recording control in the floating window, displaying a supplementary recording field identifier in the supplementary recording field set; In response to a selection operation on the supplementary field identifier, displaying a selected field identifier in the floating window; In response to an input operation on the field value input area, an input field value of the selected field identifier is obtained, and the input field value is determined as a target field value of the selected field identifier in the document to be input.
8. A document entry device, characterized in that: The device comprises: A display module displays the document to be entered and a floating window; the floating window includes the field identifier to be entered and the field value entry area in the document to be entered; an input module, configured to, in response to an input operation on the field value input area, obtain an input field value corresponding to the to-be-entered field identifier, and determine the input field value as a target field value corresponding to the to-be-entered field identifier in the to-be-entered document; A loop module is configured to respond to an update operation on the floating window, display an updated field identifier to be entered in the floating window, repeatedly execute the steps of responding to an entry operation on the field value entry area, obtaining an entry field value corresponding to the field identifier to be entered, and determining the entry field value as a target field value corresponding to the field identifier to be entered in the document to be entered, until the field identifier to be entered displayed in the floating window is empty, thereby obtaining a target document corresponding to the document to be entered.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.