Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Pending Publication Date: 2022-03-15
浙江惠瀜网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The current form validation needs to configure validation rules, and each page must be configured once. Each validation rule must be clearly written on the current page, and even the expression is completed. It is time-consuming and must follow certain rules.
[0006] For the current form verification in related technologies, verification rules need to be configured, and each page must be configured once. Each verification rule must be clearly written on the current page, and even the expression is completed. It is time-consuming and must be followed. The problem of the rules, no effective solution has yet been proposed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Verification rule generation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a verification rule generation method and device, electronic equipment and a storage medium. The method comprises the steps that based on a preset rule, a front end forms a mapping relation according to a static page configuration rule and an interface element; the content of the mapping relation is analyzed, and calling is initialized and executed; based on the configured verification rule, all form elements are verified in a unified mode; expanding a method event based on the configured rule; and on the basis of maintaining the regular rule base, a verification rule is added. According to the method and the device, the technical problems that verification rules need to be configured in current form verification and the like, each page needs to be configured once, each verification rule needs to be written clearly on the current page, even expression writing is completed, time is consumed, and certain rules are obeyed are solved.

Description

technical field [0001] The present application relates to the field of page verification, and in particular, relates to a verification rule generation method and device, electronic equipment, and a storage medium. Background technique [0002] Page validation is almost unavoidable in form submissions. Although there are various verification components on the market, they still need to be configured in their format, and it takes a lot of time to fill in the rules, which is repetitive and time-consuming. [0003] The current form validation needs to configure validation rules, and each page must be configured once. Each validation rule must be clearly written on the current page, and even the expression is completed. It is time-consuming and must follow certain rules. [0004] Currently, the disadvantages of existing technologies on the market: [0005] The current form validation needs to configure validation rules, and each page must be configured once. Each validation rul...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38G06F9/451
CPCG06F8/38G06F9/451
Inventor 周波赵丽陈蓓珍杨攀张君
Owner 浙江惠瀜网络科技有限公司