Method, device and enterprise system for checking forms
A verification method and form technology, applied in the direction of instruments, etc., can solve the problems that cannot be reused, verification rules cannot be dynamically expanded, specified, etc., and achieve the effect of realizing reuse and facilitating dynamic expansion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] Such as figure 1 Shown is a flow chart of the form verification method provided by the first embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown.
[0032] In step S101, the verification rules corresponding to the form fields are read according to the association relationship between the form fields and the verification rules in the verification reference table.
[0033] In the embodiment of the present invention, a verification reference table is preset in the database for storing the association relationship between various form fields and verification rules, and the predefined verification rules are stored in the database in the form of a stack. Then, according to the association relationship between the form fields and the verification rules, the corresponding verification rules are read in the verification rule data stack. Wherein, in the verification reference table, a form field...
Embodiment 2
[0040] Such as figure 2 Shown is a flow chart of the client-side form verification method provided by the second embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown.
[0041] In step S201, according to the association relationship between all client page form fields and verification rules in the verification reference table, the verification rules corresponding to all client page form fields are read.
[0042] In the embodiment of the present invention, according to the client page, all the form fields of the client page can be known, and then, according to the association relationship between all the form fields of the page and the verification rules in the verification reference table, read the correspondence of all the form fields of the page. validation rules.
[0043] In step S202, a script is generated and sent to the client according to the read verification rule.
[0044] In the em...
Embodiment 3
[0050] Such as image 3 Shown is a flow chart of implementing the server form verification method in the form of an interceptor provided by the third embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0051] In step S301, the server receives a verification request sent by a user, and the verification request includes form fields to be verified.
[0052] In step S302, the corresponding verification rule is read according to the association relationship between the field of the form to be verified and the verification rule in the verification reference table.
[0053] In step S303, the form fields to be verified in the verification request are decomposed, and then compared with the verification rules.
[0054]In the embodiment of the present invention, the form fields to be verified in the verification request are decomposed on the server side, and then the form fields to be ver...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com