Form verification method and related equipment

By detecting and verifying the fields of the current module in the form verification method and determining whether the relevant module needs to be re-verified based on the influencing factor, the problem that users cannot guarantee the overall verification integrity when filling in form items in any order is solved, and a more reliable form verification result is achieved.

CN119599002APending Publication Date: 2025-03-11CHINA MERCHANTS BANK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411371140.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

When the user fills in module form items in any order, the verification integrity of the overall form cannot be guaranteed.

Method used

After the current module of the detection form is executed, the verification operation is performed on the current module, and after the verification is completed, jump to any other module based on the received jump instruction, performing the field entry and verification operations until all modules are checked. At the same time, determine whether the fields entered by the current module involve an influencing factor, and re-check and judge the associated other modules.

Benefits of technology

By determining whether the entered field involves the influencing factor in the current module and re-verifying the associated module, the verification integrity of the overall form is ensured, and the problem of unreliable verification results when the user fills in form items in arbitrary order is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119599002A_ABST
    Figure CN119599002A_ABST
Patent Text Reader

Abstract

The invention discloses a form verification method and related equipment, and relates to the technical field of front-end development, and the form verification method comprises the following steps: if it is detected that a current module executes a field input operation, executing a verification operation on the current module, and after the operation is completed, skipping to any other module in a form, executing the field input operation, and taking any other module as the current module, returning to execute the step of executing the verification operation on the current module until all the modules are verified to obtain a verification result of the form, and when skipping to any other module in the form, returning to execute the verification operation on the current module until all the modules are verified to obtain the verification result of the form. And the synchronization needs to determine whether the field input by the current module relates to the influence factor in the current module or not, and if yes, whether other modules corresponding to the influence factor in the current module need to be re-verified or not is judged. The change of the fields in the form is represented through the change of the influence factor, and whether the module associated with the changed influence factor is re-verified or not is further judged, so that the verification integrity of the whole form is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of front-end development technology, and in particular to a form verification method and related equipment. Background Art

[0002] In the digital age, with the rapid development of big data technology, data collection has become more important. Improving the quality and availability of collected data has become the key. By studying data verification methods and technologies, the efficiency and accuracy of data verification can be improved, thereby increasing the quality and availability of data. As a common data collection method, forms are widely used in data collection in various fields. Furthermore, the optimization of form verification methods is very important for forms.

[0003] In related form verification technologies, users need to enter field information for each module in the form in a fixed order. After each module's field information is entered, the field information entered in the module needs to be verified. Only after the verification is successful can the field information of the next module be entered. After all module field information in the form is entered, and the field information entered in each module is verified successfully, the form can be submitted. In the form verification scenario, when users fill in each module in the module form in an arbitrary order, the verification integrity of the entire form cannot be guaranteed, resulting in unreliable form verification results. Summary of the invention

[0004] The main purpose of this application is to provide a form verification method and related equipment, aiming to solve the technical problem that the verification integrity of the entire form cannot be guaranteed when the user fills in the module form items in any order.

[0005] To achieve the above purpose, the present application proposes a form verification method, which includes:

[0006] If it is detected that the current module of the form has performed the input field operation, the verification operation is performed on the current module;

[0007] After the verification operation is completed, jump to any other module in the form based on the received jump instruction, and perform field entry operation on any other module in the form, and use any other module as the current module, return to the step of performing the verification operation on the current module, until all modules are verified, and obtain the verification result of the form. When jumping to any other module in the form, it is also necessary to determine whether the field entered in the current module involves the influencing factor in the current module. If so, it is determined whether other modules linked to the influencing factor need to be re-verified. If re-verification is required, the corresponding other modules are re-verified.

[0008] In one embodiment, after detecting that the current module of the form performs the input field operation, before the step of performing the verification operation on the current module, the step includes:

[0009] Confirm the influence relationship between the fields in the current module and the fields in any other modules in the form;

[0010] The verification relationship is modeled based on the influence relationship to obtain the influence factors between the modules.

[0011] In one embodiment, the step of determining whether the other modules associated with the impact factor linkage need to be re-calibrated further includes:

[0012] Determine the target field involving the influencing factor among the entered fields;

[0013] Determine whether the field value of the target field changes before and after entry;

[0014] If there is a change, it is necessary to recheck other modules associated with the impact factor linkage.

[0015] In one embodiment, after the step of obtaining the verification result of the form, the process further includes:

[0016] Determine whether the verification result of the form is successful;

[0017] If the verification result of the form is successful, the form can be submitted in any module;

[0018] If the verification result of the form is verification failure, the form submission is not allowed and the module that failed the verification is prompted.

[0019] In one embodiment, after detecting that the current module of the form performs the input field operation, before the step of performing the verification operation on the current module, the method further includes:

[0020] The interface of the form is displayed, wherein the interface of the form displays the verification status of the current module of the form, the verification status of the form items under the current module, and the corresponding verification results.

[0021] In one embodiment, the step of displaying the form interface further includes:

[0022] If the current module of the form is verified successfully, pass is displayed;

[0023] If the form fails to be verified in the current module, an error is displayed, and the form items that failed to be verified in the current module of the form are displayed.

[0024] In addition, to achieve the above purpose, the present application also proposes a form verification device, which includes:

[0025] A verification module, which is used to perform a verification operation on the current module after the fields in the current module of the form are entered;

[0026] A process processing module, which is used to jump to any other module in the form based on the received jump instruction after the verification operation is completed, and perform field entry operation on any other module in the form, and use the other module as the current module, return to the step of executing the verification operation on the current module, until all modules are verified and the verification result of the form is obtained, wherein, when jumping to any other module in the form, it is also necessary to simultaneously determine whether the field entered in the current module involves the influencing factor in the current module. If so, it is determined whether other modules linked to the influencing factor need to be re-verified; if re-verification is required, the corresponding other modules are re-verified.

[0027] In one embodiment, the verification module includes:

[0028] The first confirmation unit is used to confirm the influence relationship between the fields in the current module and the fields in any other modules in the form;

[0029] The data modeling unit is used to model the verification relationship based on the influence relationship to obtain the influence factors between the modules.

[0030] In one embodiment, the process processing module includes:

[0031] A second confirmation unit is used to determine a target field involving an impact factor in the entered field;

[0032] A first judging unit, used to judge whether the field value of the target field changes before and after entry;

[0033] The re-verification unit is used to re-verify other modules associated with the influencing factor linkage.

[0034] In one embodiment, the process processing module further includes:

[0035] A second judgment unit, used to judge whether the verification result of the form is successful;

[0036] Allow submission unit, used to submit forms in any module;

[0037] The submission unit is not allowed. It is used to disallow form submission and prompt the module that the verification failed.

[0038] In one embodiment, the verification module further includes:

[0039] The display unit is used to display the interface of the form, wherein the interface of the form displays the verification status of the current module of the form, the verification status of the form items under the current module, and the corresponding verification results.

[0040] In one embodiment, the verification module further includes:

[0041] Verification success unit, used to display pass;

[0042] The verification failure unit is used to display the error and the form items that failed the verification in the current module of the form.

[0043] In addition, to achieve the above-mentioned purpose, the present application also proposes a form verification device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the form verification method described above.

[0044] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the form verification method described above are implemented.

[0045] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the form verification method described above are implemented.

[0046] One or more technical solutions proposed in this application have at least the following technical effects:

[0047] The present application proposes a form verification method and related equipment. In the related art, when verifying a form, the user can only fill in the form items of each module in sequence. When the user fills in the module form items in any order, the verification integrity of the entire form cannot be guaranteed. In the present application, first, if it is detected that the current module of the form performs a field entry operation, a verification operation is performed on the current module. After the verification operation is completed, based on the received jump instruction, jump to any other module in the form, and perform a field entry operation on any other module in the form, and use the any other module as the current module, return to the step of performing the verification operation on the current module, until all modules are verified and the verification result of the form is obtained. When jumping to any other module in the form, it is also necessary to simultaneously determine whether the field entered by the current module involves the influencing factor in the current module. If so, it is determined whether the other modules linked to the influencing factor need to be re-verified. If re-verification is required, the corresponding other modules are re-verified. By judging whether the entered field involves the influencing factors in the current module, further judging whether to re-check other modules linked to the influencing factors in the current module, the verification integrity of the entire form is ensured.

[0048] It is understandable that the impact factor characterizes the impact relationship between the fields in each module and the fields in any other module. First, determine whether the entered field involves the impact factor in the current module. If it involves the impact factor, determine whether the module associated with the impact factor performs a re-verification operation to solve the problem that the verification integrity of the entire form cannot be guaranteed when the user fills in the module form items in any order. Among them, it is understandable that when the impact factor changes, it indicates that the verification relationship of the module associated with the changed impact factor also changes. The module where the form item is located is re-verified, and the verification result is updated to ensure the verification integrity of the entire form. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0051] Figure 1 A flowchart of the first embodiment of the application form verification method is provided;

[0052] Figure 2 A schematic diagram of the form operation flow provided for step S200 of this application;

[0053] Figure 3 A flowchart of the second embodiment of the application form verification method is provided;

[0054] Figure 4 A schematic diagram showing the impact factor provided in step S20 of the present application, showing the impact of field changes on other modules;

[0055] Figure 5 A schematic diagram of the verification status of each module of the initialization form provided in Example 2 of the present application;

[0056] Figure 6 A schematic diagram of verification results of various modules associated with the impact factor change provided in Example 2 of the present application;

[0057] Figure 7 A schematic diagram of the verification status of each module when allowing form submission provided in Example 2 of the present application;

[0058] Figure 8 A flowchart of the third embodiment of the application form verification method is provided;

[0059] Fig. 9 Schematic diagram of the form interface provided for step S30 of this application;

[0060] Fig.10 A schematic diagram of the verification status of each module of the form provided in step S30 of this application;

[0061] Fig.11 This is a schematic diagram of the module structure of the form verification device of the embodiment of the present application;

[0062] Fig.12 Schematic diagram of the device structure of the hardware operating environment involved in the form verification method in the embodiment of the present application.

[0063] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0064] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0065] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0066] The main solution of the embodiment of the present application is: to characterize the changes in the fields in the form by the changes in the influencing factors, and further determine whether to re-check the modules associated with the changed influencing factors to ensure the verification integrity of the entire form.

[0067] In this embodiment, for ease of description, the following description is made with the form verification device as the execution subject.

[0068] Because in the prior art, in the related art, when verifying a form, the user can only fill in the form items of each module in sequence. When the user fills in the module form items in any order, the verification integrity of the entire form cannot be guaranteed.

[0069] The present application provides a solution. First, if it is detected that the current module of the form performs a field entry operation, a verification operation is performed on the current module. After the verification operation is completed, based on the received jump instruction, jump to any other module in the form, and perform a field entry operation on any other module in the form, and use the other module as the current module, return to the step of performing the verification operation on the current module, until all modules are verified, and obtain the verification result of the form, wherein, when jumping to any other module in the form, it is also necessary to simultaneously determine whether the field entered by the current module involves the influencing factor in the current module. If so, it is determined whether the other modules associated with the influencing factor need to be re-verified. If re-verification is required, the corresponding other modules are re-verified. By determining whether the entered field involves the influencing factor in the current module, it is further determined whether to re-verify other modules associated with the influencing factor in the current module, so as to ensure the verification integrity of the overall form.

[0070] It can be seen from the above embodiments that the present application adopts the technical means of using the influencing factor to characterize the influence relationship between the fields in each module and the fields in any other module. By judging whether the entered field involves the influencing factor in the current module, if it involves the influencing factor, it is judged whether the module associated with the influencing factor performs a re-verification operation, thereby solving the problem that the verification integrity of the overall form cannot be guaranteed when the user fills in the module form items in any order. Among them, it can be understood that when the influencing factor changes, it indicates that the verification relationship of the module associated with the changed influencing factor also changes, and the module where the form item is located is re-verified, and the verification result is updated to ensure the verification integrity of the overall form.

[0071] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a form verification device, etc. The following takes the form verification device as an example to illustrate this embodiment and the following embodiments.

[0072] Based on this, the present application embodiment provides a form verification method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the form verification method of this application.

[0073] In this embodiment, the form method includes steps S100 to S200:

[0074] Step S100, if it is detected that the current module of the form has performed the input field operation, a verification operation is performed on the current module;

[0075] In this embodiment, if it is detected that the current module of the form performs the input field operation, a verification operation is performed on the current module to obtain the verification result of the current module.

[0076] In this embodiment, a specific application scenario may be that when the form verification device detects that the current module performs a field entry operation and receives an instruction to jump to other modules of the form or to close the form, the fields entered in the current module are verified. The fields entered in the current module may be all fields or some fields.

[0077] It should be noted that forms are usually used to collect information input by users, such as contact information, search query information, user registration information, login credential information, order information, etc.

[0078] Specifically, in a form, a form includes one or more modules, each module includes one or more form items, for example, a simple login form may include a user name (text), a password (password), and a login button (submit).

[0079] In addition, it should be noted that in the process form, the form is divided into multiple modules, and the large amount of information that needs to be entered in the form is dispersed into each module, and each module only needs to enter a small amount of information. Among them, it can be understood that when the front-end and back-end interact at the system level, the smaller the amount of data transmitted at a time, the faster the system responds, while ensuring the stability of data transmission. If the data transmitted at a single time is too large, it may cause a slow response or even a transmission failure.

[0080] It can be understood that, since the verification relationship of the current module input fields in the form needs to be obtained, step S100 is performed to provide the current module verification relationship and data basis for subsequent steps.

[0081] Step S200, after the verification operation is completed, jump to any other module in the form based on the received jump instruction, and perform field entry operation on any other module in the form, and use the other module as the current module, return to the step of performing the verification operation on the current module, until all modules are verified, and obtain the verification result of the form, wherein, when jumping to any other module in the form, it is also necessary to simultaneously determine whether the field entered in the current module involves the influencing factor in the current module. If so, it is determined whether other modules linked to the influencing factor need to be re-verified; if re-verification is required, the corresponding other modules are re-verified.

[0082] It should be noted that the impact factor is an indicator to measure the influence of academic journals, which is usually used to reflect the authority and importance of a journal in its field. In this application, the impact factor is used to represent the influence relationship between the fields in each module and the fields in any other module.

[0083] In this embodiment, after the verification operation is completed, a jump instruction sent by the user is received to jump to the target module in the form, wherein the target module represents the module selected by the user to enter, and the target module can be any module in the form. After jumping to the target module in the form, the field entry operation is performed, and the target module is used as the current module, and the step of performing the verification operation on the current module is returned until all modules in the form are verified. Based on the verification results of all modules in the form, the verification results of the form are obtained. Among them, when jumping to any other module in the form, it is also necessary to simultaneously determine whether the field entered in the current module involves the influencing factor in the current module. If so, it is determined whether the other modules linked to the influencing factor need to be re-verified; if re-verification is required, the corresponding other modules are re-verified.

[0084] For example, to help understand the form verification process in this embodiment, please refer to Figure 2 , Figure 2 A form operation flow diagram is provided, specifically:

[0085] like Figure 2As shown, in this embodiment, after the form process is opened, the form interface defaults to the interface of module one (or the first module) in the form. After the user enters the field information, the field information entered in module one will be verified, the verification result of module one will be obtained, and the verification result of module one will be recorded. After the verification of module one is completed, the user can choose to enter any other module and continue to enter the field information. Repeat the user entering any other module, continue to enter the field information, verify the field information entered in the other module, obtain the verification result of the other module, and record the verification result of the other module. Until the field information of all modules in the form is entered, and the verification results of each module in the form are obtained. Summarize the verification results of each module, determine whether the verification results of each module are all verified successfully, and if the verification results of each module are all verified successfully, the form is allowed to be submitted. If there is one or more verification failures in the verification results of each module, the verification results are not allowed to be submitted. At this time, the user can re-select to enter any module in the form and modify the field information entered in the form.

[0086] It can be understood that in this embodiment, the influence relationship between the fields in each module and the fields in any other module is characterized by the influence factor, and it is determined whether the entered field involves the influence factor in the current module. If the influence factor is involved, the module associated with the changed influence factor is rechecked to solve the problem that the verification integrity of the entire form cannot be guaranteed when the user enters the field information in the module in any order. Among them, it can be understood that when the influence factor changes, it indicates that the verification relationship of the module associated with the changed influence factor has also changed, and the module where the form item is located is rechecked, and the verification result is updated to ensure the verification integrity of the entire form.

[0087] Specifically, the step of determining whether the other modules associated with the impact factor linkage need to be re-calibrated further includes steps S210 to S230:

[0088] Step S210, determining a target field involving an impact factor in the entered fields;

[0089] In this embodiment, a target field involving an impact factor is determined from the entered fields.

[0090] Step S220, determining whether the field value of the target field changes before and after entry;

[0091] In this embodiment, the target field value before the field is entered and the target field value after the field is entered are respectively obtained, and the two are compared to determine whether the target field value has changed, and the target field value change result is obtained.

[0092] Step S230: If there is a change, it is necessary to recheck other modules associated with the impact factor linkage.

[0093] In this embodiment, the target field value change result obtained in step S220 is used to determine whether to perform the re-verification step. If the target field value change result is a change, it is necessary to re-verify other modules associated with the influencing factor linkage.

[0094] In this embodiment, after determining that the target field value has changed, other modules associated with the influencing factor linkage are found, and the other modules associated with the influencing factor linkage are re-checked to ensure the integrity of the form verification.

[0095] Furthermore, after completing step S200, the following steps are also included:

[0096] Determine whether the verification result of the form is successful;

[0097] If the verification result of the form is successful, the form can be submitted in any module;

[0098] If the verification result of the form is verification failure, the form submission is not allowed and the module that failed the verification is prompted.

[0099] It is understandable that if the verification results of all modules in the form are successful, the verification result of the form is successful. At this time, in any module in the form, you can click the Submit button to submit the form.

[0100] If one or more verifications fail in the verification results of all modules in the form, the form submission will not be allowed. After clicking the Submit button, the submission failure will be displayed, and the form modules that failed the verification will be prompted.

[0101] The present application proposes a form verification method and related equipment. In the related technology, when verifying a form, the user can only fill in the form items of each module in sequence. When the user fills in the module form items in any order, the verification integrity of the entire form cannot be guaranteed. In the present application, first, if it is detected that the current module of the form performs a field entry operation, a verification operation is performed on the current module. After the verification operation is completed, based on the received jump instruction, jump to any other module in the form, and perform a field entry operation on any other module in the form, and use the any other module as the current module, return to the step of performing the verification operation on the current module, until all modules are verified and the verification result of the form is obtained. When jumping to any other module in the form, it is also necessary to simultaneously determine whether the field entered by the current module involves the influencing factor in the current module. If so, it is determined whether the other modules linked to the influencing factor need to be re-verified. If re-verification is required, the corresponding other modules are re-verified. By judging whether the entered field involves the influencing factors in the current module, further judging whether to re-check other modules linked to the influencing factors in the current module, the verification integrity of the entire form is ensured.

[0102] It is understandable that the influence relationship between the fields in each module and the fields in any other module is characterized by the influence factor, and it is judged whether the entered field involves the influence factor in the current module. If the influence factor is involved, the module associated with the changed influence factor is rechecked to solve the problem that the verification integrity of the entire form cannot be guaranteed when the user fills in the module form items in any order. Among them, it is understandable that when the influence factor changes, it indicates that the verification relationship of the module associated with the changed influence factor has also changed. The module where the form item is located is rechecked, and the verification result is updated to ensure the verification integrity of the entire form.

[0103] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 3 Before step S100, the form verification method further includes steps S10 to S20:

[0104] Step S10, confirming the influence relationship between the fields in the current module and the fields in any other modules in the form;

[0105] It should be noted that data modeling is usually used in database design, information system development, software engineering, business analysis and other fields. The main purpose of data modeling is to ensure the consistency, integrity, maintainability and understandability of data. Through data modeling, the consistency and compatibility of data between different systems, applications and users can be ensured.

[0106] In this example, first confirm the influence relationship between the fields in the current module of the form and the fields in any other modules.

[0107] Step S20: Modeling the verification relationship based on the influence relationship to obtain the influence factors between the modules.

[0108] In this embodiment, the verification relationship is modeled based on the influence relationship to obtain the influence factors between the modules. The influence factors are used to characterize the influence relationship between the fields in each module and the fields in any other modules.

[0109] It should be noted that data initialization refers to the process of assigning initial values ​​to data structures or variables. Data initialization is an important step in programming and software development because it ensures that when the program starts executing, the data structure or variable contains a known state rather than a random or undefined value.

[0110] It can be understood that the impact factor represents the influence relationship between the fields in each module and the fields in any other module.

[0111] For example, in order to help understand the simplified schematic diagram of the influence factor representation field change on other modules obtained by combining the present embodiment with the above-mentioned embodiment 1, please refer to Figure 4 , Figure 4 A brief flow chart of the impact factor characterization field changes on other modules is provided, specifically:

[0112] It should be noted that in Figure 4 In the table, impact refers to the impact factor, module refers to each module in the form, field refers to the field, and factor refers to the associated module.

[0113] exist Figure 4 In the example, field 1 in module 1 has an impact relationship with a field in module 2. When the value of field 1 changes, the field value of the field in module 2 that has an impact relationship with field 1 will also change. Furthermore, the verification status of module 2 will also change.

[0114] In addition, it should be noted that before starting the form process, the verification status of each module in the form will be initialized and marked as "unchecked". Figure 5 At this time, the verification status of each module in the form is "unchecked".

[0115] Combined with the first embodiment, the impact factor data of the current module is taken out, and the field value corresponding to each impact factor is determined to be consistent with the field value in the latest form. If not, the status value of the associated module is updated. For example, the value of field 1 in module one changes from a1 to b1, so the status of modules three and five is updated to error; the value of field 2 in module one has not changed before and after, so the verification status of the corresponding module two does not need to be updated. For the specific form verification status, please refer to Figure 6 .

[0116] Furthermore, when the verification results of each module in the form are all successful, the form is allowed to be submitted. At this time, the verification status of each module in the form is "pass". Figure 7 .

[0117] Based on the first and second embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those of the first and second embodiments can be referred to the above description, and will not be described in detail later. Figure 8 Before step S100, the form verification method further includes step S30:

[0118] Step S30, displaying the interface of the form, wherein the interface of the form displays the verification status of the current module of the form, the verification status of the form items under the current module, and the corresponding verification results.

[0119] In this embodiment, a form interface is constructed based on multiple modules in the form, and the verification status of the form items, the verification status of the modules and the verification results of the form are displayed through the form interface. A form interface for reference is shown as follows: Fig. 9 shown.

[0120] exist Fig. 9 Compared with the form page in the existing form verification technology, the form page proposed in this application can display the verification status of each module, making it convenient for users to find the module that failed the verification.

[0121] In this embodiment, by constructing a form page, the verification status of the form items, the verification status of the modules and the verification results of the form are displayed, so that users can more intuitively find the modules and form items that failed the verification, and it is convenient for users to modify the field information entered in the form.

[0122] Specifically, refer to Fig.10 In step S30, the step of displaying the form interface further includes steps S31 to S32:

[0123] Step S31, if the current module of the form is successfully verified, pass is displayed;

[0124] In this embodiment, if the current module of the form is successfully verified, pass (or "√") is displayed at the icon position of the current module.

[0125] Step S32: If the verification of the current module of the form fails, an error is displayed, and the form items that failed the verification in the current module of the form are displayed.

[0126] In this embodiment, if the current module of the form fails to be verified, an error (or "×") is displayed at the icon position of the current module, and the form items that failed to be verified in the current module are obtained, and the verification status of these form items is also displayed.

[0127] In this embodiment, the user can directly obtain the verification results of each module in the form by using the different icons displayed at the icon position of the current module.

[0128] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the form verification method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0129] This application also provides a form verification device, please refer to Fig.11 , the form verification device comprises:

[0130] A verification module, which is used to perform a verification operation on the current module after the fields in the current module of the form are entered;

[0131] A process processing module, which is used to jump to any other module in the form based on the received jump instruction after the verification operation is completed, and perform field entry operation on any other module in the form, and use the other module as the current module, return to the step of executing the verification operation on the current module, until all modules are verified and the verification result of the form is obtained, wherein, when jumping to any other module in the form, it is also necessary to simultaneously determine whether the field entered in the current module involves the influencing factor in the current module. If so, it is determined whether other modules linked to the influencing factor need to be re-verified; if re-verification is required, the corresponding other modules are re-verified.

[0132] In one embodiment, the verification module includes:

[0133] The first confirmation unit is used to confirm the influence relationship between the fields in the current module and the fields in any other modules in the form;

[0134] The data modeling unit is used to model the verification relationship based on the influence relationship to obtain the influence factors between the modules.

[0135] In one embodiment, the process processing module includes:

[0136] A second confirmation unit is used to determine a target field involving an impact factor in the entered field;

[0137] A first judging unit, used to judge whether the field value of the target field changes before and after entry;

[0138] The re-verification unit is used to re-verify other modules associated with the influencing factor linkage.

[0139] In one embodiment, the process processing module further includes:

[0140] A second judgment unit, used to judge whether the verification result of the form is successful;

[0141] Allow submission unit, used to submit forms in any module;

[0142] The submission unit is not allowed. It is used to disallow form submission and prompt the module that the verification failed.

[0143] In one embodiment, the verification module further includes:

[0144] The display unit is used to display the interface of the form, wherein the interface of the form displays the verification status of the current module of the form, the verification status of the form items under the current module, and the corresponding verification results.

[0145] In one embodiment, the verification module further includes:

[0146] Verification success unit, used to display pass;

[0147] The verification failure unit is used to display the error and the form items that failed the verification in the current module of the form.

[0148] The present application provides a form verification device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the form verification method in the above-mentioned embodiment 1.

[0149] Reference below Fig.12, which shows a schematic diagram of the structure of a form verification device suitable for implementing the embodiment of the present application. The form verification device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The form verification device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0150] like Fig.12 As shown, the form verification device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the form verification device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the form verification device to communicate wirelessly or wired with other devices to exchange data. Although the form verification device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0151] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0152] The form verification device provided by the present application adopts the form verification method in the above embodiment, which can solve the technical problem of form verification. Compared with the prior art, the beneficial effects of the form verification device provided by the present application are the same as the beneficial effects of the form verification method provided by the above embodiment, and other technical features in the form verification device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0153] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0154] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0155] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the form verification method in the above-mentioned embodiment.

[0156] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0157] The computer-readable storage medium may be included in the form verification device; or may exist independently without being assembled into the form verification device.

[0158] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the form verification device, the form verification device:

[0159] If it is detected that the current module of the form has performed the input field operation, the verification operation is performed on the current module;

[0160] After the verification operation is completed, jump to any other module in the form based on the received jump instruction, and perform field entry operation on any other module in the form, and use the other module as the current module, return to the step of performing the verification operation on the current module, until all modules are verified, and obtain the verification result of the form. When jumping to any other module in the form, it is also necessary to determine whether the field entered in the current module involves the influencing factor in the current module. If so, it is determined whether other modules linked to the influencing factor need to be re-verified; if re-verification is required, the corresponding other modules are re-verified.

[0161] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0162] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0163] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0164] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned form verification method, and can solve the technical problem of form verification. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the form verification method provided in the above-mentioned embodiment, and will not be elaborated here.

[0165] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned form verification method when executed by a processor.

[0166] The computer program product provided by the present application can solve the technical problem of form verification. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the form verification method provided by the above embodiment, which will not be repeated here.

[0167] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A form verification method, characterized in that: The form verification method comprises: If it is detected that the current module of the form has performed the input field operation, the current module will be verified; After the verification operation is completed, jump to any other module in the form based on the received jump instruction, and perform field entry operation on any other module in the form, and use any other module as the current module, return to the step of performing the verification operation on the current module, until all modules are verified, and obtain the verification result of the form. When jumping to any other module in the form, it is also necessary to determine whether the field entered in the current module involves the influencing factor in the current module. If so, it is determined whether other modules linked to the influencing factor need to be re-verified. If re-verification is required, the corresponding other modules are re-verified.

2. The form verification method according to claim 1, characterized in that: After the current module of the form is detected to perform the input field operation, before the step of performing the verification operation on the current module, the method includes: Confirm the influence relationship between the fields in the current module and the fields in any other modules in the form; The verification relationship is modeled based on the influence relationship to obtain the influence factors between the modules.

3. The form verification method according to claim 1, characterized in that: The step of determining whether re-calibration is required for other modules associated with the influencing factor linkage, further includes: Determine the target field involving the influencing factor among the entered fields; Determine whether the field value of the target field changes before and after entry; If there is a change, it is necessary to recheck other modules associated with the impact factor linkage.

4. The form verification method according to claim 1, characterized in that: After the step of obtaining the verification result of the form, the method further includes: Determine whether the verification result of the form is successful; If the verification result of the form is successful, the form can be submitted in any module; If the verification result of the form is verification failure, the form submission is not allowed and the module that failed the verification is prompted.

5. The form verification method according to claim 1, characterized in that: After the current module of the form is detected to perform the input field operation, before the step of performing the verification operation on the current module, the step further includes: The interface of the form is displayed, wherein the interface of the form displays the verification status of the current module of the form, the verification status of the form items under the current module, and the corresponding verification results.

6. The form verification method according to claim 5, characterized in that: The step of displaying the interface of the form also includes: If the current module of the form is verified successfully, pass is displayed; If the form fails to be verified in the current module, an error is displayed, and the form items that failed to be verified in the current module of the form are displayed.

7. A form verification device, characterized in that: The form verification device comprises: A verification module, which is used to perform a verification operation on the current module after the fields in the current module of the form are entered; A process processing module, which is used to jump to any other module in the form based on the received jump instruction after the verification operation is completed, and perform field entry operation on any other module in the form, and use the other module as the current module, return to the step of executing the verification operation on the current module, until all modules are verified and the verification result of the form is obtained, wherein, when jumping to any other module in the form, it is also necessary to simultaneously determine whether the field entered in the current module involves the influencing factor in the current module. If so, it is determined whether other modules linked to the influencing factor need to be re-verified; if re-verification is required, the corresponding other modules are re-verified.

8. A form verification device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the form verification method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the form verification method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the form verification method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method, device and system for saving and verifying long form

    CN109376341A

  • Form verification method and device, computer equipment and storage medium

    CN110334303A

  • Clinical research data verification method and device

    CN113377571A