Verification rule generation method and device, electronic equipment and storage medium
A technology of rules and extension methods, applied in the field of page verification, can solve time-consuming problems, achieve the effect of lowering the threshold of data processing, increasing the possibility of expansion, and releasing IT resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0088] According to an embodiment of the present invention, such as figure 1 As shown, a method for generating a verification rule is provided, and the method includes the following steps:
[0089] S100. Based on preset rules, the front end forms a mapping relationship with static page configuration rules and interface elements;
[0090] S200. Analyze the content of the mapping relationship, and initialize and execute the calling object parameters;
[0091] S300, based on the configured verification rules, uniformly verify all form elements;
[0092] S400. Configuration-based rules and extension method events;
[0093] S500. Add a regularization rule based on maintaining the regularization rule base.
[0094] In a further embodiment, based on preset rules, the front end forms a mapping relationship with static page configuration rules and interface elements, including:
[0095] S110. Acquiring label elements of the page;
[0096] S120. Obtain a corresponding field based o...
Embodiment 2
[0124] The embodiment of the present invention also includes a device for generating verification rules, including:
[0125] The mapping acquisition module is used to form a mapping relationship based on preset rules and the front end according to static page configuration rules and interface elements;
[0126] The parameter call module is used to analyze the content of the mapping relationship, and initialize and execute the call object parameters;
[0127] The form verification module is used to verify all form elements uniformly based on configuration verification rules;
[0128] Extension module for configuration-based rules, extension method events;
[0129] The regular maintenance module is used to add regular rules based on maintaining the regular rule base.
[0130] In a further embodiment, the mapping acquisition module includes:
[0131] a label obtaining unit, configured to obtain label elements of the page;
[0132] a field obtaining unit, configured to obtain ...
Embodiment 3
[0158] The embodiment of the present invention also includes an electronic device, including a memory and a processor, the memory stores a computer program, and when the computer program is executed in the processor, it is used to implement the above verification rule generation method, the method include:
[0159] S100. Based on preset rules, the front end forms a mapping relationship with static page configuration rules and interface elements;
[0160] S200. Analyze the content of the mapping relationship, and initialize and execute the calling object parameters;
[0161] S300, based on the configured verification rules, uniformly verify all form elements;
[0162] S400. Configuration-based rules and extension method events;
[0163] S500. Add a regularization rule based on maintaining the regularization rule base.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
