CN112906543A - Data entry method, data entry device, computing equipment, medium and program product - Google Patents

Data entry method, data entry device, computing equipment, medium and program product Download PDF

Info

Publication number
CN112906543A
CN112906543A CN202110173332.XA CN202110173332A CN112906543A CN 112906543 A CN112906543 A CN 112906543A CN 202110173332 A CN202110173332 A CN 202110173332A CN 112906543 A CN112906543 A CN 112906543A
Authority
CN
China
Prior art keywords
input
page
user
image
data
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
CN202110173332.XA
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110173332.XA priority Critical patent/CN112906543A/en
Publication of CN112906543A publication Critical patent/CN112906543A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/412Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a data entry method, including: displaying an image to be input in a first area of a target page, wherein the image to be input corresponds to at least one field to be input; under the condition that the image to be input is configured with a self-defined input page, displaying the self-defined input page in a second area of the target page, wherein the self-defined input page is used for receiving input data input by a user; checking the input data received by the user-defined input page by calling a preset function in the user-defined input page; acquiring the input data from the user-defined input page under the condition that the input data passes the verification; and storing the entry data to complete data entry. The present disclosure also provides a data entry device, a computing device and a computer storage medium. The data entry method and device can be used in the financial field or other fields.

Description

Data entry method, data entry device, computing equipment, medium and program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data entry method, an apparatus, a computing device, a computer storage medium, and a computer program product.
Background
The form information input process of the related technology is as follows: and filling a paper form by a user, then generating a form image by the system according to the paper form, and then displaying the form image through the system operation interface. And the information input personnel inputs the field information in the form into a field input area corresponding to the form image in the system operation interface according to the form image displayed in the system operation interface. And then the form entry approval system verifies the data according to the verification parameters. The verification parameters comprise simple verification rules, regular expressions and verification interfaces such as money amount verification and currency verification.
The related art defines the verification method according to the verification parameters, so that the flexibility is poor, and complex verification cannot be performed. For example, the related art cannot perform correlation check on a set of fields entered together, and also cannot provide different numbers of field input areas for entry according to different scenarios.
Disclosure of Invention
One aspect of the present disclosure provides a data entry method, including: displaying an image to be input in a first area of a target page, wherein the image to be input corresponds to at least one field to be input; under the condition that the image to be input is configured with a custom input page, displaying the custom input page in a second area of the target page, wherein the custom input page is used for receiving input data input by a user; checking the input data received by the user-defined input page by calling a preset function in the user-defined input page; acquiring the input data from the user-defined input page under the condition that the input data passes the verification; and storing the entry data to complete data entry.
Optionally, the method further comprises: acquiring a form image and a segmentation parameter corresponding to the form image; and segmenting the form image into at least one fragment image according to the segmentation parameters, wherein each fragment image in the at least one fragment image corresponds to at least one field to be recorded, and the image to be recorded is any one of the at least one fragment image.
Optionally, the method further comprises: creating an inline frame in a second region of the target page; wherein, the displaying the self-defined entry page corresponding to the at least one field to be entered in the second area comprises: setting the display mode of the inline frame in the second area as display, and configuring the network address pointed by the inline frame as the network address of the custom entry page.
Optionally, the method further comprises: the user-defined input page comprises an input control; the method further comprises the following steps: and receiving input data input by a user through an input control in the user-defined input page.
Optionally, the method further comprises: and under the condition that the input data pass the verification, converting the input data into a JSON format through the preset function, and sending the converted input data to the target page from the user-defined input page.
Optionally, the method further comprises: and generating error reporting information through the preset function under the condition that the input data does not pass the verification, and displaying the error reporting information on the user-defined input page.
Optionally, the method further comprises: setting a submit button in a third area of the target page; and responding to the user clicking the submission button, and triggering and calling the operation of the preset function.
Another aspect of the present disclosure provides a data entry device comprising: the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying an image to be input in a first area of a target page, and the image to be input corresponds to at least one field to be input; the second display module is used for displaying a self-defined input page in a second area of the target page under the condition that the image to be input is configured with the self-defined input page, and the self-defined input page is used for receiving input data input by a user; the verification module is used for verifying the input data received by the user-defined input page by calling a preset function in the user-defined input page; the input data acquisition module is used for acquiring the input data from the user-defined input page under the condition that the input data passes the verification; and the storage module is used for storing the input data so as to complete data input.
Optionally, the apparatus further comprises: the form image acquisition module is used for acquiring a form image and a segmentation parameter corresponding to the form image; and the segmentation module is used for segmenting the form image into at least one fragment image according to the segmentation parameters, wherein each fragment image in the at least one fragment image corresponds to at least one field to be recorded, and the image to be recorded is any one of the at least one fragment image.
Optionally, the apparatus further comprises: the user-defined entry module is used for receiving entry data input by a user through an input control in the user-defined entry page; under the condition that the input data pass the verification, converting the input data into a JSON format through the preset function, and sending the converted input data to the target page from the user-defined input page; and generating error information through the preset function under the condition that the input data does not pass the verification, and displaying the error information on the user-defined input page.
Optionally, the apparatus further comprises: the third display module is used for setting a submit button in a third area of the target page; and responding to the user clicking the submission button, and triggering and calling the operation of the preset function.
Another aspect of the disclosure provides a computing device comprising: one or more processors; storage means for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method as described above when executed.
According to yet another aspect of an embodiment of the present disclosure, there is provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement a method according to an embodiment of the present disclosure.
According to the embodiment of the disclosure, the fields in the image to be input are input and verified by configuring the user-defined input page, so that the flexibility is high, and different input and verification requirements under different scenes can be met.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario of a data entry method and a data entry device according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow diagram of a data entry method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow diagram of a data entry method according to another embodiment of the present disclosure;
FIG. 4 schematically illustrates a block diagram of a data entry device according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a block diagram of a data entry device according to an embodiment of the present disclosure; and
FIG. 6 schematically illustrates a block diagram of a computer system suitable for implementing the methods described in embodiments of the present disclosure, in accordance with embodiments of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
The embodiment of the disclosure provides a data entry method and a data entry device capable of applying the method. Displaying an image to be input in a first area of a target page, wherein the image to be input corresponds to at least one field to be input; under the condition that the image to be input is configured with a custom input page, displaying the custom input page in a second area of the target page, wherein the custom input page is used for receiving input data input by a user; checking the input data received by the user-defined input page by calling a preset function in the user-defined input page; acquiring the input data from the user-defined input page under the condition that the input data passes the verification; and storing the entry data to complete data entry.
It should be noted that the data entry method and apparatus of the embodiments of the present disclosure may be used in the financial field, and may also be used in any field other than the financial field.
Fig. 1 schematically illustrates an application scenario of a data entry method and a data entry device according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the application scenario 100 according to this embodiment includes a form entry audit interface 10, and the form entry audit interface 10 includes a first area 11, a second area 12, and a third area 13.
The first area 11 comprises a debris image presentation module 110 for presenting a debris image 111, i.e. an image to be entered. The fragment image 111 includes field information to be entered, such as credit card number, credit currency, and the like. The second area 12 includes a data entry module 120. The data entry module 120 may embed a custom entry page, receive entry data input by a user through the custom entry page, and verify the entry data. The custom entry page may include one or more input controls 121, such as an input box, a selection menu, and the like, for receiving user-entered entry data. The third area includes one or more buttons 130 for triggering various operations, such as a submit button, which may be used to trigger data checksum storage operations.
According to the fragment image 111 displayed in the image display module 110, the user can input the field information in the fragment image 111 into the custom entry page in the data entry module 120 through the input control 121. After the user finishes inputting the input data, the user can click the submit button to trigger a preset function in the user-defined input page to verify the input data. And under the condition that the input data does not pass the verification, the user can be prompted by displaying error reporting information, and the user can modify the input data according to the prompt. And under the condition that the input data pass the verification, converting the input data into a JSON format through the preset function, and then writing the input data into a database to finish data input.
FIG. 2 schematically shows a flow diagram of a data entry method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S210 to S250.
In operation S210, an image to be entered is presented in a first region of a destination page. The image to be recorded corresponds to at least one field to be recorded.
According to the embodiment of the disclosure, the image to be input is intercepted from the form image, the information of each field in the form is recorded in the form image, and the image to be input comprises the information of part or all of the fields in the form.
According to the embodiment of the disclosure, a division parameter is configured in advance for each form image, and the division parameter includes the positions and ranges of several areas, which are areas containing field information in the form image. During segmentation, firstly, the form image and segmentation parameters corresponding to the form image are obtained, and then the image in each area in the form image is segmented to be used as a fragment image according to the segmentation parameters. And then, taking each segmented fragment image as an image to be recorded for data recording.
In operation S220, under the condition that the image to be entered is configured with the custom entry page, the custom entry page is displayed in the second area of the target page. The user-defined entry page is used for receiving entry data input by a user.
According to the embodiment of the disclosure, the self-defined entry page is configured in advance for the fragment image of the self-defined entry page needing to be applied. The user-defined entry page can be compiled according to the self-requirement of the service and the platform transaction specification. In this embodiment, an inline frame is provided in advance in the second region. The custom entry page can be displayed through an inline frame.
According to the embodiment of the disclosure, the inline frame can be set by adding an iframe tag to a page. Exemplarily, in the present embodiment, the iframe tag may be as follows. Wherein style ═ width: 100 percent; height: 100% "is a style parameter of the inline frame, ID ═ inputPage" indicates that the ID of the inline frame is inputPage, and src ═ xx "indicates the URL of the page indicated by the inline frame.
<iframe style=“width:100%;height:100%”id=“inputPage”src=“xx”></iframe>
According to the embodiment of the disclosure, the network address of the user-defined input page is configured in advance for the fragment image of the user-defined input page needing to be applied. In this embodiment, the default display mode of the inline frame is hidden, that is, the inline frame is not displayed. And under the condition that the image to be input is configured with the self-defined input page, converting the display mode of the inline frame into display, and configuring the URL of the page indicated by the inline frame into the network address of the self-defined input page so as to embed the self-defined input page into the inline frame.
According to the embodiment of the disclosure, the input control is arranged in the user-defined input page, and input data input by a user can be received through the input control in the user-defined input page. The input control may include, for example, an input box, a selection list, and the like.
In operation S230, the entry data received by the custom entry page is verified by calling a preset function in the custom entry page.
According to the embodiment of the disclosure, a preset function is predefined in the user-defined entry page and used for acquiring entry data input by a user in the user-defined entry page and verifying the entry data.
For example, the id of the custom entry page is inputPage, and a getInputValue () function is predefined in the custom entry page as a preset function. Based on this, document. To call a preset function getInputValue () in the custom entry page.
In operation S240, in case that the entry data passes the verification, the entry data from the custom entry page is acquired.
According to the embodiment of the disclosure, under the condition that the input data passes the verification, the input data can be converted into the JSON format through the preset function, and the converted input data is sent to the target page from the user-defined input page.
According to other embodiments of the present disclosure, the entry data may also be converted into a format other than JSON before being sent from the custom entry page to the target page, which is not specifically limited by the present disclosure.
In operation S250, the entry data is stored to complete the data entry.
According to the embodiment of the disclosure, after the target page receives the input data from the user-defined input page, the input data is stored to the corresponding position in the database according to the field corresponding to the input data, so that the input of the data is completed.
According to the embodiment of the disclosure, the fields in the image to be input are input and verified by configuring the user-defined input page, so that the flexibility is high, and different input and verification requirements under different scenes can be met.
FIG. 3 schematically illustrates a flow diagram of a data entry method according to another embodiment of the present disclosure.
As shown in fig. 3, the method may further include operations S301 to S302 in addition to operations S210 to S230.
In operation S301, a form image and a segmentation parameter corresponding to the form image are acquired.
In operation S302, the form image is segmented into at least one fragment image according to the segmentation parameters.
Each fragment image in the at least one fragment image corresponds to at least one field to be recorded, and the image to be recorded is any one of the at least one fragment image.
According to the embodiment of the disclosure, parameters are also configured for each segmented fragment image, the parameters include fields corresponding to the fragment images, and for the fragment images which need to use the user-defined entry page for field entry and field verification, the corresponding parameters further include a network address of the user-defined entry page, default parameters of the user-defined entry page, and the like. Exemplarily, in this embodiment, the custom entry page is a JSP (Java Server Pages) customized according to a service application, and the custom entry page can be written according to a platform transaction specification according to a service self-requirement.
Then, each of the at least one fragment image is taken as an image to be recorded, and the following operations S303 to S310 are performed to record field information contained in each fragment image into the system.
In operation S303, a destination page for entering data is loaded, and an image to be entered is displayed in a first area of the destination page.
According to an embodiment of the present disclosure, operation S303 may further include: and creating an inline frame in a second area of the target page, setting the display mode of the inline frame to be hidden, and setting a submit button in a third area of the target page. It should be noted that, the operations of displaying the image to be entered in the first area, creating the inline frame in the second area, and setting the submit button in the third area may be performed simultaneously or sequentially, where, in the case of sequential execution, the three operations may be performed in any execution order, and the disclosure is not limited thereto.
The image to be recorded corresponds to at least one field to be recorded.
In operation S304, it is determined whether the image to be entered is configured with a custom entry page. In a case where the image to be entered is configured with a custom entry page, operation S307 is performed. In a case where the image to be entered is not configured with the custom entry page, operation S305 is performed.
In operation S305, the general entry page is displayed in the second area, and data entry is performed by using a general entry method.
In operation S306, in response to the user clicking the submit button, the entered data is verified through a general verification method. Operation S309 is then performed.
In operation S307, the custom entry page is displayed in the second area, and entry data input by the user is received through an input control in the custom entry page.
According to the embodiment of the disclosure, the display mode of the inline frame in the second area can be set as display, and the network address pointed by the inline frame is configured as the network address of the user-defined entry page, so that the user-defined entry page is displayed in the second area. The user-defined entry page is provided with input controls such as an input box and a selection menu, and entry data input by a user can be received through the input controls.
In operation S308, in response to the user clicking the submit button, the entry data is verified through the custom entry page.
According to the embodiment of the disclosure, in response to the user clicking the submit button, the operation of calling the preset function can be triggered, and the input data received by the user-defined input page is verified by calling the preset function in the user-defined input page.
According to the embodiment of the disclosure, under the condition that the input data does not pass the verification, the verification mark failing in the verification is sent to the target page from the user-defined input page through the preset function. And under the condition that the input data pass the verification, converting the input data into a JSON format through a preset function, and sending the converted input data and a verification mark for successful verification to a target page from a user-defined input page.
In operation S309, it is determined whether the entry data passes the check. In the case where the logging data passes the verification, operation S311 is performed. In case the logging data does not pass the verification, operation S310 is performed.
In operation S310, error information is presented.
According to the embodiment of the disclosure, under the condition that the input data does not pass the verification, the user can be prompted by displaying the error reporting information, and the user can modify the input data according to the prompt.
In operation S311, the entry data is stored.
According to the embodiment of the disclosure, the entry data passing the verification can be written into the database to complete data entry.
According to the embodiment of the disclosure, for field entry and verification in a special scene, the field can be entered and verified by configuring a custom entry page, so that different entry and verification requirements in different scenes are met.
Taking the information entry scenario for the bank remittance order as an example, the address information in the remittance order corresponds to three input boxes of country, province/city and district/county, and the number of characters included in the address information needs to be checked to ensure that the number of characters does not exceed the threshold of the number of characters. In this scenario, because the related art performs the input data verification through the universal verification rule, the preset character number verification rule can only be invoked to respectively verify the data input in the three input boxes, that is, only whether the number of characters in each input box exceeds the character number threshold value can be determined, and the total number of characters cannot be verified. When data entry is carried out through the user-defined entry page, a user-defined check function can be called to carry out association check on data in the three input boxes so as to judge whether the total number of characters in the three input boxes exceeds a character number threshold value or not, the user-defined check function can be flexibly configured, and therefore the check flexibility is improved.
In addition, in a scenario in which the account of country a remittance to the account of country B, the remittance slip includes three input boxes of country, province/city, and district/county, and in a scenario in which the account of country a remittance to the account of country a, the remittance slip includes two input boxes of province/city and district/county. Through the user-defined input page, the input frames with different numbers can be displayed in different scenes, so that different input requirements in different scenes are met.
FIG. 4 schematically illustrates a block diagram of a data entry device according to an embodiment of the present disclosure.
As shown in fig. 4, the data entry apparatus 400 includes a first presentation module 410, a second presentation module 420, a verification module 430, an entry data acquisition module 440, and a storage module 450. The data entry device 400 may perform the method described above with reference to fig. 2.
Specifically, the first displaying module 410 may be configured to display an image to be entered in a first area of the target page, where the image to be entered corresponds to at least one field to be entered.
The second display module 420 may be configured to display a custom entry page in a second area of the target page under the condition that the image to be entered is configured with the custom entry page, where the custom entry page is used to receive entry data input by the user.
The checking module 430 may be configured to check the entry data received by the custom entry page by calling a preset function in the custom entry page.
The entry data obtaining module 440 may be configured to obtain entry data from the custom entry page when the entry data passes the verification.
The storage module 450 may be used to store the entry data to complete the data entry.
According to an embodiment of the present disclosure, the second display module 420 may be specifically configured to: an inline frame is created in a second region of the target page. And setting the display mode of the inline frame in the second area as display, and configuring the network address pointed by the inline frame as the network address of the user-defined input page.
According to the embodiment of the disclosure, the fields in the image to be input are input and verified by configuring the user-defined input page, so that the flexibility is high, and different input and verification requirements under different scenes can be met.
FIG. 5 schematically illustrates a block diagram of a data entry device according to an embodiment of the present disclosure.
As shown in FIG. 5, in addition to the first presentation module 410, the second presentation module 420, the verification module 430, the entered data acquisition module 440, and the storage module 450, the data entry apparatus 500 may further include a form image acquisition module 510, a segmentation module 520, a custom entry module 530, and a third presentation module 540.
The form image obtaining module 510 may be configured to obtain a form image and a segmentation parameter corresponding to the form image.
The segmenting module 520 may be configured to segment the form image into at least one fragment image according to the segmentation parameter, where each fragment image in the at least one fragment image corresponds to at least one field to be entered, and the image to be entered is any one of the at least one fragment image.
A custom entry module 530, which may be configured to receive entry data input by a user through an input control in a custom entry page; under the condition that the input data pass the verification, converting the input data into a JSON format through a preset function, and sending the converted input data to a target page from a user-defined input page; and generating error reporting information through a preset function under the condition that the input data does not pass the verification, and displaying the error reporting information on a user-defined input page.
A third presentation module 540, which may be used to set a submit button in a third area of the target page; and responding to the user clicking the submission button, and triggering the operation of calling the preset function.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the first presentation module 410, the second presentation module 420, the verification module 430, the logging data acquisition module 440, and the storage module 450 may be combined and implemented in one module, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first presentation module 410, the second presentation module 420, the verification module 430, the logging data acquisition module 440, and the storage module 450 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in any one of three implementations of software, hardware, and firmware, or in a suitable combination of any of them. Alternatively, at least one of the first presentation module 410, the second presentation module 420, the verification module 430, the logging data acquisition module 440 and the storage module 450 may be at least partially implemented as a computer program module, which when executed, may perform a corresponding function.
FIG. 6 schematically shows a block diagram of a computer system suitable for implementing the above described method according to an embodiment of the present disclosure. The computer system illustrated in FIG. 6 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 6, computer system 600 includes a processor 610 and a computer-readable storage medium 620. The computer system 600 may perform a method according to an embodiment of the disclosure.
In particular, the processor 610 may comprise, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 610 may also include onboard memory for caching purposes. The processor 610 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
Computer-readable storage medium 620, for example, may be a non-volatile computer-readable storage medium, specific examples including, but not limited to: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and so on.
The computer-readable storage medium 620 may include a computer program 621, which computer program 621 may include code/computer-executable instructions that, when executed by the processor 610, cause the processor 610 to perform a method according to an embodiment of the disclosure, or any variation thereof.
The computer program 621 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 621 may include one or more program modules, including 621A, 621B, … …, for example. It should be noted that the division and number of the modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, so that the processor 610 may execute the method according to the embodiment of the present disclosure or any variation thereof when the program modules are executed by the processor 610.
According to an embodiment of the present invention, at least one of the first presentation module 410, the second presentation module 420, the verification module 430, the logging data acquisition module 440 and the storage module 450 may be implemented as a computer program module as described with reference to fig. 6, which, when executed by the processor 610, may implement the respective operations described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method provided by the embodiments of the present disclosure, when the computer program product is run on an electronic device, the program code being adapted to cause the electronic device to carry out the method of controlling a server provided by the embodiments of the present disclosure.
The computer program, when executed by the processor 610, performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure. In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed as a signal on a network medium, downloaded and installed, and/or installed from a removable storage medium. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (15)

1. A data entry method, comprising:
displaying an image to be input in a first area of a target page, wherein the image to be input corresponds to at least one field to be input;
under the condition that the image to be input is configured with a custom input page, displaying the custom input page in a second area of the target page, wherein the custom input page is used for receiving input data input by a user;
checking the input data received by the user-defined input page by calling a preset function in the user-defined input page;
acquiring the input data from the user-defined input page under the condition that the input data passes the verification; and
and storing the entry data to finish data entry.
2. The method of claim 1, further comprising:
acquiring a form image and a segmentation parameter corresponding to the form image; and
and according to the segmentation parameters, segmenting the form image into at least one fragment image, wherein each fragment image in the at least one fragment image corresponds to at least one field to be recorded, and the image to be recorded is any one of the at least one fragment image.
3. The method of claim 1, further comprising: creating an inline frame in a second region of the target page;
wherein, the displaying the self-defined entry page corresponding to the at least one field to be entered in the second area comprises:
setting the display mode of the inline frame in the second area as display, and configuring the network address pointed by the inline frame as the network address of the custom entry page.
4. The method of claim 1, wherein the custom entry page includes an input control; the method further comprises the following steps:
and receiving input data input by a user through an input control in the user-defined input page.
5. The method of claim 1, further comprising:
and under the condition that the input data pass the verification, converting the input data into a JSON format through the preset function, and sending the converted input data to the target page from the user-defined input page.
6. The method of claim 1, further comprising:
and generating error reporting information through the preset function under the condition that the input data does not pass the verification, and displaying the error reporting information on the user-defined input page.
7. The method of claim 1, further comprising:
setting a submit button in a third area of the target page; and
and triggering the operation of calling the preset function in response to the user clicking the submission button.
8. A data entry device comprising:
the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying an image to be input in a first area of a target page, and the image to be input corresponds to at least one field to be input;
the second display module is used for displaying a self-defined input page in a second area of the target page under the condition that the image to be input is configured with the self-defined input page, and the self-defined input page is used for receiving input data input by a user;
the verification module is used for verifying the input data received by the user-defined input page by calling a preset function in the user-defined input page;
the input data acquisition module is used for acquiring the input data from the user-defined input page under the condition that the input data passes the verification; and
and the storage module is used for storing the input data so as to complete data input.
9. The apparatus of claim 8, further comprising:
the form image acquisition module is used for acquiring a form image and a segmentation parameter corresponding to the form image; and
the segmentation module is used for segmenting the form image into at least one fragment image according to the segmentation parameters, wherein each fragment image in the at least one fragment image corresponds to at least one field to be recorded, and the image to be recorded is any one of the at least one fragment image.
10. The device of claim 8, wherein the second presentation module is specifically configured to:
creating an inline frame in a second region of the target page; and
setting the display mode of the inline frame in the second area as display, and configuring the network address pointed by the inline frame as the network address of the custom entry page.
11. The apparatus of claim 8, wherein the custom entry page comprises an input control; the device also comprises a custom entry module used for:
receiving input data input by a user through an input control in the user-defined input page;
under the condition that the input data pass the verification, converting the input data into a JSON format through the preset function, and sending the converted input data to the target page from the user-defined input page; and
and generating error reporting information through the preset function under the condition that the input data does not pass the verification, and displaying the error reporting information on the user-defined input page.
12. The apparatus of claim 8, further comprising a third presentation module to:
setting a submit button in a third area of the target page; and
and triggering the operation of calling the preset function in response to the user clicking the submission button.
13. A computing device, comprising:
one or more processors;
a memory for storing one or more computer programs,
wherein the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1 to 7.
14. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 7.
15. A computer program product comprising computer executable instructions for implementing the method of any one of claims 1 to 7 when executed.
CN202110173332.XA 2021-02-08 2021-02-08 Data entry method, data entry device, computing equipment, medium and program product Pending CN112906543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110173332.XA CN112906543A (en) 2021-02-08 2021-02-08 Data entry method, data entry device, computing equipment, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110173332.XA CN112906543A (en) 2021-02-08 2021-02-08 Data entry method, data entry device, computing equipment, medium and program product

Publications (1)

Publication Number Publication Date
CN112906543A true CN112906543A (en) 2021-06-04

Family

ID=76123986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110173332.XA Pending CN112906543A (en) 2021-02-08 2021-02-08 Data entry method, data entry device, computing equipment, medium and program product

Country Status (1)

Country Link
CN (1) CN112906543A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113610603A (en) * 2021-08-09 2021-11-05 京东科技控股股份有限公司 Page information processing method and device, electronic equipment and storage medium
WO2023124656A1 (en) * 2021-12-28 2023-07-06 上海右云信息技术有限公司 Methods and devices for storing user-defined data information
CN117131838A (en) * 2023-10-24 2023-11-28 天津异乡好居网络科技股份有限公司 Form page generation method and device based on form image, electronic equipment and medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113610603A (en) * 2021-08-09 2021-11-05 京东科技控股股份有限公司 Page information processing method and device, electronic equipment and storage medium
CN113610603B (en) * 2021-08-09 2024-04-16 京东科技控股股份有限公司 Page information processing method and device, electronic equipment and storage medium
WO2023124656A1 (en) * 2021-12-28 2023-07-06 上海右云信息技术有限公司 Methods and devices for storing user-defined data information
CN117131838A (en) * 2023-10-24 2023-11-28 天津异乡好居网络科技股份有限公司 Form page generation method and device based on form image, electronic equipment and medium
CN117131838B (en) * 2023-10-24 2024-02-09 天津异乡好居网络科技股份有限公司 Form page generation method and device based on form image, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN112906543A (en) Data entry method, data entry device, computing equipment, medium and program product
US8234692B2 (en) System and method for processing an upload of a program with export compliance information
US20200192788A1 (en) Game Test Automation Device and Method
US11625693B2 (en) System and method for payment platform self-certification for processing financial transactions with payment networks
US20180217921A1 (en) System and method for generating and executing automated test cases
US10169214B2 (en) Testing of combined code changesets in a software product
CN107729246B (en) Auxiliary test method, device and equipment for target application and storage medium
CN109901968A (en) A kind of automation page data method of calibration and device
US11521195B2 (en) Integrating mobile payment application with other mobile applications while preventing security exposures
CN108073429A (en) A kind of means of payment collocation method, device, equipment and storage medium
US20140137057A1 (en) Test Validation Planning
US20200218502A1 (en) Cognitive tag library for custom natural language response rendering
CN112785287A (en) Method, apparatus, computer system and medium for billing settlement
CN111145143A (en) Problem image determination method and device, electronic equipment and storage medium
US11573783B2 (en) System and method using natural language processing to synthesize and build infrastructure platforms
US9965744B1 (en) Automatic dynamic vetting of browser extensions and web applications
CN106815014B (en) Information input prompting method and device
CN114791885A (en) Interface test method, device, equipment and medium
CN114115628A (en) U shield display information acquisition method, device, equipment, medium and program product applied to U shield test
US20210141719A1 (en) Assertion engine for validating the configuration of a transaction processing system
CN113095830A (en) Batch payment processing method and device
CN113157572A (en) Test case generation method and system, electronic equipment and storage medium
CN113656301A (en) Interface testing method, device, equipment and storage medium
CN110659897A (en) Method, system, computing device and medium for transaction verification
US20230281386A1 (en) Guiding and validating document submissions

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