CN110609988A - Form verification method and equipment - Google Patents
Form verification method and equipment Download PDFInfo
- Publication number
- CN110609988A CN110609988A CN201910739302.3A CN201910739302A CN110609988A CN 110609988 A CN110609988 A CN 110609988A CN 201910739302 A CN201910739302 A CN 201910739302A CN 110609988 A CN110609988 A CN 110609988A
- Authority
- CN
- China
- Prior art keywords
- sub
- forms
- verified
- splitting
- verification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012795 verification Methods 0.000 title claims abstract description 76
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012986 modification Methods 0.000 abstract description 9
- 230000004048 modification Effects 0.000 abstract description 9
- 238000013461 design Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- COCAUCFPFHUGAA-MGNBDDOMSA-N n-[3-[(1s,7s)-5-amino-4-thia-6-azabicyclo[5.1.0]oct-5-en-7-yl]-4-fluorophenyl]-5-chloropyridine-2-carboxamide Chemical compound C=1C=C(F)C([C@@]23N=C(SCC[C@@H]2C3)N)=CC=1NC(=O)C1=CC=C(Cl)C=N1 COCAUCFPFHUGAA-MGNBDDOMSA-N 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the application provides a method and equipment for checking a form, wherein the method comprises the following steps: splitting a form to be verified into a plurality of sub-forms; determining form entries for each of the sub-forms; checking the form input items of each sub-form respectively; and if the sub-forms which fail to be verified exist in the sub-forms, displaying the information of the error input items of the sub-forms which fail to be verified. The form verification method provided by the embodiment of the application can facilitate a user to check error information, improve modification efficiency, bring convenience to the use of the form, and improve user experience.
Description
Technical Field
The embodiment of the application relates to the technical field of forms, in particular to a form verification method and device.
Background
With the development of social economy, people have more and more opportunities to apply forms in daily life and learning work. After completing the filling-in of the form, the user needs to check the information of the form and can use the form after confirming that no error exists.
The common method for checking the form is as follows: and carrying out one-time overall check on the form information at the time of submission. I.e. the entire form information is checked at once.
However, for a form with a large amount of information, such as a long form, if the form verification method is used for verification, it is difficult for a user to find wrong information, the modification efficiency is low, and the use of the form is finally affected.
Disclosure of Invention
The embodiment of the application provides a form verification method and a form verification device, and aims to solve the problems that a user is difficult to search error information, the modification efficiency is low, and the use of a form is influenced in the existing form verification method.
In a first aspect, an embodiment of the present application provides a method for checking a form, including:
splitting a form to be verified into a plurality of sub-forms;
determining form entries for each of the sub-forms;
checking the form input items of each sub-form respectively;
and if the sub-forms which fail to be verified exist in the sub-forms, displaying the information of the error input items of the sub-forms which fail to be verified.
In one possible design, the splitting the form to be verified into a plurality of sub-forms includes:
acquiring the service logic of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the service logic;
or
Determining a target splitting keyword in the form to be verified according to a preset splitting keyword, and splitting the form to be verified into a plurality of sub-forms according to the target splitting keyword;
or
And acquiring the length of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the length.
In one possible design, the checking the form entries of the sub-forms respectively includes:
determining the sequence of the sub-forms according to the forms to be verified;
displaying the input items of the first sub-form and hiding the input items of other sub-forms according to the sequence;
checking the input item of the first sub-form;
and when the input item of the first sub-form is verified and enters the next sub-form, hiding the input item of the first sub-form, displaying the input item of a second sub-form according to the sequence, taking the second sub-form as a new first sub-form, and re-executing the step of verifying the input item of the first sub-form.
In one possible design, after the determining the form entries of the respective sub-forms, the method further includes:
configuring verification data for each input item on each sub-form respectively, wherein the verification data comprises a verification mode;
the checking the form entries of the sub-forms respectively includes:
and respectively checking the form input items of each sub-form according to the checking mode, and determining the information of the error input items of the corresponding sub-forms.
In one possible design, further comprising:
and if all the sub-forms are verified successfully, submitting the form to be verified.
In a second aspect, an embodiment of the present application provides an apparatus for checking a form, including:
the splitting module is used for splitting the form to be verified into a plurality of sub-forms;
the determining module is used for determining the form input items of the sub-forms;
the checking module is used for checking the form input items of the sub-forms respectively;
and the display module is used for displaying the information of the error input item of the sub-form with the failed verification if the sub-form with the failed verification exists in each sub-form.
In one possible design, the splitting module is specifically configured to:
acquiring the service logic of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the service logic;
or
Determining a target splitting keyword in the form to be verified according to a preset splitting keyword, and splitting the form to be verified into a plurality of sub-forms according to the target splitting keyword;
or
And acquiring the length of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the length.
In one possible design, the verification module is specifically configured to:
determining the sequence of the sub-forms according to the forms to be verified;
displaying the input items of the first sub-form and hiding the input items of other sub-forms according to the sequence;
checking the input item of the first sub-form;
and when the input item of the first sub-form is verified and enters the next sub-form, hiding the input item of the first sub-form, displaying the input item of a second sub-form according to the sequence, taking the second sub-form as a new first sub-form, and re-executing the step of verifying the input item of the first sub-form.
In one possible design, further comprising: a configuration module for, after the determination module determines the form entries for each of the sub-forms,
configuring verification data for each input item on each sub-form respectively, wherein the verification data comprises a verification mode;
the verification module is specifically configured to:
and respectively checking the form input items of each sub-form according to the checking mode, and determining the information of the error input items of the corresponding sub-forms.
In one possible design, further comprising: and the submitting module is used for submitting the form to be verified if all the sub-forms are verified successfully.
In a third aspect, an embodiment of the present application provides a form verification apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of form verification as described above in the first aspect and in various possible designs of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the method for form verification according to the first aspect and various possible designs of the first aspect is implemented.
According to the method and the device for checking the form, the form to be checked is divided into a plurality of sub-forms; determining the form input items of each sub-form; then, checking the form input items of each sub-form respectively; if the sub-forms which fail to be verified exist in the sub-forms, the information of the error input items of the sub-forms which fail to be verified is displayed, so that a user can check the error information conveniently, the modification efficiency is improved, convenience is brought to the use of the forms, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a form verification system according to an embodiment of the present application;
fig. 2 is a first flowchart illustrating a method for checking a form according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a sub-form provided by an embodiment of the present application;
fig. 4 is a second flowchart illustrating a method for checking a form according to an embodiment of the present application;
FIG. 5 is a first schematic structural diagram of an apparatus for form verification according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a form verification apparatus according to an embodiment of the present application;
fig. 7 is a schematic hardware structure diagram of a form verification apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The common method for checking the form is as follows: and carrying out one-time overall check on the form information at the time of submission. I.e. the entire form information is checked at once.
However, for a form with a large amount of information, such as a long form, if the form verification method is used for verification, it is difficult for a user to find wrong information, the modification efficiency is low, and the use of the form is finally affected.
Therefore, in view of the above problem, the present embodiment provides a method for checking a form, where the method splits a form to be checked into a plurality of sub-forms; determining the form input items of each sub-form; then, checking the form input items of each sub-form respectively; if the sub-forms which fail to be verified exist in the sub-forms, the information of the error input items of the sub-forms which fail to be verified is displayed, so that a user can conveniently check the error information, the modification efficiency is improved, the use of the forms is facilitated, and the user experience is improved.
The embodiment provides a method for form verification, which may be applied to the schematic architecture diagram of the form verification system provided in the embodiment of the present application shown in fig. 1, and as shown in fig. 1, the system provided in the embodiment includes a terminal 101. The terminal 101 may split the form to be verified into a plurality of sub-forms; form entries for each of the sub-forms may be determined; or checking the form input items of each sub-form respectively; if the sub-forms which fail to be checked exist in the sub-forms, the information of the error input items of the sub-forms which fail to be checked can be displayed. The terminal 101 may be a mobile phone, a tablet, a vehicle-mounted terminal, and the like, and the embodiment is not limited herein. The form to be verified can be one or more forms to be verified, can be determined according to actual conditions, and can also be specified by a user.
The following describes the technical solutions of the present application and how to solve the above technical problems in detail with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a first flowchart illustrating a method for form verification according to an embodiment of the present application, where an execution main body of the embodiment may be the terminal 101 in the embodiment shown in fig. 1, and the embodiment is not limited herein. As shown in fig. 2, the method may include:
s201: and splitting the form to be checked into a plurality of sub-forms.
Optionally, the splitting of the form to be verified into a plurality of sub-forms may be implemented by, but not limited to, the following several ways:
acquiring the service logic of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the service logic;
or
Determining a target splitting keyword in the form to be verified according to a preset splitting keyword, and splitting the form to be verified into a plurality of sub-forms according to the target splitting keyword;
or
And acquiring the length of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the length.
For example, the business logic may be a logic for processing data, and the form to be checked is split into a plurality of sub-forms according to the logic for processing data of the form to be checked. For example: the form to be checked is divided into a first module, a second module and a third module according to the logic of processing data, wherein each module is a sub-form.
The preset splitting keyword can be set according to actual conditions, for example, a setting date is the splitting keyword. And splitting the form to be checked into a plurality of sub-forms according to the date. For example: the date of the form to be checked is from 1/4/2019 to 30/4/2019, the form to be checked can be divided into one sub-form every five days according to the date, and the form to be checked is divided into six sub-forms on average.
In addition, after the length of the form to be verified is obtained, the form to be verified may be divided into a plurality of sub-forms according to the length, for example: the list to be checked has ten pages in total, every two pages are divided into one sub-form, and the list to be checked is averagely divided into five sub-forms.
Here, the form to be verified is split into a plurality of sub-forms in the above-described optional manner. In addition, the user can select according to the application scene or own habit, and the requirements of different scenes and the diversified requirements of the user are met.
S202: form entries for each of the sub-forms are determined.
Each sub-form includes one or more form entries, and fig. 3 is a schematic diagram of a sub-form provided in an embodiment of the present application, and as shown in fig. 3, the form entries of the sub-form include: entry 1, entry 2, entry 3, and entry 4.
S203: and checking the form input items of the sub-forms respectively.
Optionally, the checking of the form entries of each of the sub-forms may be implemented by, but not limited to:
determining the sequence of the sub-forms according to the forms to be verified; for example, according to the processing data sequence of the form to be verified, the sequence of the sub-forms is determined.
Displaying the input items of the first sub-form and hiding the input items of other sub-forms according to the sequence;
checking the input item of the first sub-form;
and when the input item of the first sub-form is verified and enters the next sub-form, hiding the input item of the first sub-form, displaying the input item of a second sub-form according to the sequence, taking the second sub-form as a new first sub-form, and re-executing the step of verifying the input item of the first sub-form.
For example, the initial state displays the entries of the first sub-form and hides the entries of the other sub-forms, and the entries of the first sub-form are checked. And when the next sub-form is checked, hiding the input item of the current sub-form, displaying the input item of the next sub-form, checking the input item of the next sub-form, and repeating the steps until all sub-forms are checked.
By the mode, the form input items of the sub-forms are verified, so that the accuracy and convenience of the verification process are improved.
S204: and if the sub-forms which fail to be verified exist in the sub-forms, displaying the information of the error input items of the sub-forms which fail to be verified.
The information of the error entry of the sub-form whose verification fails may include the sub-form identifier and the entry identifier, for example, the first entry of the first sub-form. Here, the information of the error entry of the sub-form in which the verification fails may be used to instruct a preset person to modify the error entry.
The preset personnel can receive the information of the error input item of the sub-form which fails to be verified in a short message or mail mode, and the preset personnel can modify the error input item. Preset personnel can preset according to the application scene, which is not limited in this embodiment.
According to the form verification method provided by the embodiment of the application, the form to be verified is split into a plurality of sub-forms; determining the form input items of each sub-form; then, checking the form input items of each sub-form respectively; if the sub-forms which fail to be verified exist in the sub-forms, the information of the error input items of the sub-forms which fail to be verified is displayed, so that a user can conveniently check the error information, the modification efficiency is improved, convenience is brought to the use of the forms, and the user experience is improved.
Fig. 4 is a second flowchart of the method for form verification according to the embodiment of the present application, where an execution main body of the embodiment may be the terminal 101 in the embodiment shown in fig. 1, and the embodiment is not limited in this respect. As shown in fig. 4, the method includes:
s401: and splitting the form to be checked into a plurality of sub-forms.
S402: form entries for each of the sub-forms are determined.
Steps S401 to S402 are the same as the implementation of steps S201 to S202 described above, and are not described herein again.
S403: and configuring verification data for each input item on each sub-form respectively, wherein the verification data comprises a verification mode.
Any existing verification method can be selected according to the application scenario and the user habit, which is not particularly limited in this embodiment.
S404: and checking the form input items of the sub-forms respectively.
Optionally, the checking the form entries of the sub-forms respectively includes:
s4041: and respectively checking the form input items of each sub-form according to the checking mode, and determining the information of the error input items of the corresponding sub-forms.
Illustratively, each input item on the sub-forms is checked through the independent control, and if the form input item of a certain sub-form is verified to be wrong, the information of the wrong input item of the sub-form is determined.
The form input items of each sub-form are respectively verified according to the verification mode, and the information of the wrong input item of the corresponding sub-form is determined, so that the accuracy of the result of verifying the form input items of the sub-forms is improved.
S405: and if the sub-forms which fail to be verified exist in the sub-forms, displaying the information of the error input items of the sub-forms which fail to be verified.
The step S405 is the same as the step S204, and is not described herein again.
S406: and if all the sub-forms are verified successfully, submitting the form to be verified.
And when each sub-form is successfully verified, submitting the form to be verified, so that the form is convenient to use.
According to the form verification method provided by the embodiment of the application, the form to be verified is split into a plurality of sub-forms; determining the form input items of each sub-form; then, checking the form input items of each sub-form respectively; if the sub-forms which fail to be verified exist in the sub-forms, the information of the error input items of the sub-forms which fail to be verified is displayed, so that a user can conveniently check the error information, the modification efficiency is improved, convenience is brought to the use of the forms, and the user experience is improved. Meanwhile, the form input items of the sub-forms are respectively verified according to the verification mode, the information of the error input items of the corresponding sub-forms is determined, and the accuracy of the result of verifying the form input items of the sub-forms is improved. And when each sub-form is successfully verified, submitting the form to be verified, so that the form is convenient to use.
Fig. 5 is a schematic structural diagram of a form verification apparatus according to an embodiment of the present application, and for convenience of description, only the parts related to the embodiment of the present application are shown. As shown in fig. 5, the form verification apparatus 50 includes: a splitting module 501, a determining module 502, a checking module 503, and a displaying module 504.
The splitting module 501 is configured to split the form to be verified into a plurality of sub-forms;
a determining module 502, configured to determine form entries of the sub-forms;
the checking module 503 is configured to check the form entries of the sub-forms respectively;
the display module 504 is configured to display information of an error entry of the sub-form with the failed verification if there is a sub-form with the failed verification in each of the sub-forms.
The apparatus provided in the embodiment of the present application may be configured to implement the technical solution of the method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again in the embodiment of the present application.
Fig. 6 is a schematic structural diagram of a form verification apparatus according to an embodiment of the present application. As shown in fig. 6, the form verification apparatus 60 further includes, on the basis of fig. 5: a configuration module 505 and a commit module 506.
Optionally, the splitting module 501 is specifically configured to:
acquiring the service logic of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the service logic;
or
Determining a target splitting keyword in the form to be verified according to a preset splitting keyword, and splitting the form to be verified into a plurality of sub-forms according to the target splitting keyword;
or
And acquiring the length of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the length.
Optionally, the verification module 503 is specifically configured to:
determining the sequence of the sub-forms according to the forms to be verified;
displaying the input items of the first sub-form and hiding the input items of other sub-forms according to the sequence;
checking the input item of the first sub-form;
and when the input item of the first sub-form is verified and enters the next sub-form, hiding the input item of the first sub-form, displaying the input item of a second sub-form according to the sequence, taking the second sub-form as a new first sub-form, and re-executing the step of verifying the input item of the first sub-form.
Optionally, a configuration module 505, configured to, after the determination module 502 determines the form entries of each of the sub-forms,
respectively configuring verification data for each input item on each form, wherein the verification data comprises a verification mode;
the verification module 503 is specifically configured to:
and respectively checking the form input items of each sub-form according to the checking mode, and determining the information of the error input items of the corresponding sub-forms.
Optionally, the submitting module 506 is configured to submit the to-be-verified form if all the sub-forms are verified successfully.
The apparatus provided in the embodiment of the present application may be configured to implement the technical solution of the method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again in the embodiment of the present application.
Fig. 7 is a schematic hardware structure diagram of a form verification apparatus according to an embodiment of the present application. As shown in fig. 7, the form verification apparatus 70 of the present embodiment includes: a processor 701 and a memory 702; wherein
A memory 702 for storing computer-executable instructions;
a processor 701 configured to execute the computer executable instructions stored in the memory to perform the steps of the method for form verification in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 702 may be separate or integrated with the processor 701.
When the memory 702 is separately configured, the apparatus for form verification further includes a bus 703 for connecting the memory 702 and the processor 701.
The embodiment of the present application further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the method for checking a form as described above is implemented.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to implement the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods described in the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method for form verification disclosed in this application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or part of the steps of the embodiments of the method for realizing the form verification can be completed by hardware related to program instructions. The program may be stored in a computer-readable storage medium. When the program is executed, executing the steps of the method embodiment comprising the form verification; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (12)
1. A method for form verification, comprising:
splitting a form to be verified into a plurality of sub-forms;
determining form entries for each of the sub-forms;
checking the form input items of each sub-form respectively;
and if the sub-forms which fail to be verified exist in the sub-forms, displaying the information of the error input items of the sub-forms which fail to be verified.
2. The method of claim 1, wherein the splitting the form to be verified into a plurality of sub-forms comprises:
acquiring the service logic of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the service logic;
or
Determining a target splitting keyword in the form to be verified according to a preset splitting keyword, and splitting the form to be verified into a plurality of sub-forms according to the target splitting keyword;
or
And acquiring the length of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the length.
3. The method of claim 1, wherein said separately verifying the form entries of each of the sub-forms comprises:
determining the sequence of the sub-forms according to the forms to be verified;
displaying the input items of the first sub-form and hiding the input items of other sub-forms according to the sequence;
checking the input item of the first sub-form;
and when the input item of the first sub-form is verified and enters the next sub-form, hiding the input item of the first sub-form, displaying the input item of a second sub-form according to the sequence, taking the second sub-form as a new first sub-form, and re-executing the step of verifying the input item of the first sub-form.
4. The method of claim 1, further comprising, after said determining form entries for each of said sub-forms:
configuring verification data for each input item on each sub-form respectively, wherein the verification data comprises a verification mode;
the checking the form entries of the sub-forms respectively includes:
and respectively checking the form input items of each sub-form according to the checking mode, and determining the information of the error input items of the corresponding sub-forms.
5. The method of claim 1, further comprising:
and if all the sub-forms are verified successfully, submitting the form to be verified.
6. An apparatus for form verification, comprising:
the splitting module is used for splitting the form to be verified into a plurality of sub-forms;
the determining module is used for determining the form input items of the sub-forms;
the checking module is used for checking the form input items of the sub-forms respectively;
and the display module is used for displaying the information of the error input item of the sub-form with the failed verification if the sub-form with the failed verification exists in each sub-form.
7. The apparatus of claim 6, wherein the splitting module is specifically configured to:
acquiring the service logic of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the service logic;
or
Determining a target splitting keyword in the form to be verified according to a preset splitting keyword, and splitting the form to be verified into a plurality of sub-forms according to the target splitting keyword;
or
And acquiring the length of the form to be verified, and splitting the form to be verified into a plurality of sub-forms according to the length.
8. The apparatus of claim 6, wherein the verification module is specifically configured to:
determining the sequence of the sub-forms according to the forms to be verified;
displaying the input items of the first sub-form and hiding the input items of other sub-forms according to the sequence;
checking the input item of the first sub-form;
and when the input item of the first sub-form is verified and enters the next sub-form, hiding the input item of the first sub-form, displaying the input item of a second sub-form according to the sequence, taking the second sub-form as a new first sub-form, and re-executing the step of verifying the input item of the first sub-form.
9. The apparatus of claim 6, further comprising: a configuration module for, after the determination module determines the form entries for each of the sub-forms,
configuring verification data for each input item on each sub-form respectively, wherein the verification data comprises a verification mode;
the verification module is specifically configured to:
and respectively checking the form input items of each sub-form according to the checking mode, and determining the information of the error input items of the corresponding sub-forms.
10. The apparatus of claim 6, further comprising: and the submitting module is used for submitting the form to be verified if all the sub-forms are verified successfully.
11. An apparatus for form verification, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of form verification of any of claims 1 to 5.
12. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, implement the method of form verification of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910739302.3A CN110609988A (en) | 2019-08-12 | 2019-08-12 | Form verification method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910739302.3A CN110609988A (en) | 2019-08-12 | 2019-08-12 | Form verification method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110609988A true CN110609988A (en) | 2019-12-24 |
Family
ID=68889839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910739302.3A Pending CN110609988A (en) | 2019-08-12 | 2019-08-12 | Form verification method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110609988A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112632391A (en) * | 2020-12-30 | 2021-04-09 | 深圳市华傲数据技术有限公司 | Data processing method, device and storage medium |
CN113435170A (en) * | 2021-06-24 | 2021-09-24 | 平安国际智慧城市科技股份有限公司 | Data verification method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090204818A1 (en) * | 2008-02-13 | 2009-08-13 | Samsung Electronics Co., Ltd. | Method and apparatus for generating and verifying electronic signature of software data, and computer readable recording medium thereof |
CN109376341A (en) * | 2018-09-26 | 2019-02-22 | 海南新软软件有限公司 | A kind of preservation of long list and method of calibration, apparatus and system |
CN109697141A (en) * | 2017-10-20 | 2019-04-30 | 北京京东尚科信息技术有限公司 | Method and device for visual testing |
-
2019
- 2019-08-12 CN CN201910739302.3A patent/CN110609988A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090204818A1 (en) * | 2008-02-13 | 2009-08-13 | Samsung Electronics Co., Ltd. | Method and apparatus for generating and verifying electronic signature of software data, and computer readable recording medium thereof |
CN109697141A (en) * | 2017-10-20 | 2019-04-30 | 北京京东尚科信息技术有限公司 | Method and device for visual testing |
CN109376341A (en) * | 2018-09-26 | 2019-02-22 | 海南新软软件有限公司 | A kind of preservation of long list and method of calibration, apparatus and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112632391A (en) * | 2020-12-30 | 2021-04-09 | 深圳市华傲数据技术有限公司 | Data processing method, device and storage medium |
CN113435170A (en) * | 2021-06-24 | 2021-09-24 | 平安国际智慧城市科技股份有限公司 | Data verification method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111858296B (en) | Interface testing method, device, equipment and storage medium | |
US11243742B2 (en) | Data merge processing based on differences between source and merged data | |
CN111159329A (en) | Sensitive word detection method and device, terminal equipment and computer-readable storage medium | |
CN111310232A (en) | Data desensitization method and device, electronic equipment and storage medium | |
CN110609988A (en) | Form verification method and equipment | |
CN111475494A (en) | Mass data processing method, system, terminal and storage medium | |
CN107402720B (en) | Hard disk processing method and device and terminal | |
CN114265740A (en) | Error information processing method, device, equipment and storage medium | |
CN110231923B (en) | Data management method and device | |
US20190205572A1 (en) | Terminal verification method, terminal device, and computer readable storage medium | |
CN115374009A (en) | Interface automation test method, device, equipment, medium and program product | |
CN112364630B (en) | License content error correction method, device and system | |
CN114706600A (en) | Method and device for updating service page, electronic equipment and storage medium | |
CN110703988B (en) | Storage pool creating method, system, terminal and storage medium for distributed storage | |
CN108510071B (en) | Data feature extraction method and device and computer readable storage medium | |
JP2017526062A (en) | System and method for detecting and alerting to risks in replenishment transactions | |
CN111427778A (en) | Test method, test device, terminal equipment and storage medium | |
CN112732361B (en) | Function realization method, device and equipment | |
CN110704301A (en) | TPC-E automatic test method and TPC-E test system | |
CN106648558B (en) | Control method and device for TPL (tire pressure level) Dataflow | |
CN109584087B (en) | Information processing method, device and storage medium | |
CN114003516B (en) | Method, system, equipment and storage medium for setting BIOS as default value | |
CN110645131B (en) | Vehicle control method, vehicle switch identification method and device | |
CN111078714A (en) | Data processing method and device | |
CN117435185A (en) | Code generation method, device, computer equipment and storage medium |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210204 Address after: 100044 Room 308, 3 / F, building 4, 19 gaoliangqiaoxie street, Xizhimenwai, Haidian District, Beijing Applicant after: JINZAY (BEIJING) FINANCIAL INFORMATION SERVICE Co.,Ltd. Address before: 11th Floor, No. 2 Building, 43 North Third Ring West Road, Haidian District, Beijing 100086 Applicant before: Beijing Golden Eagle Rongxin Technology Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191224 |
|
RJ01 | Rejection of invention patent application after publication |