Parameter verification method, verification template generation method and storage medium

A verification template and verification method technology, applied in the computer field, can solve problems such as reduced efficiency, failure to display verification error messages, and incomplete verification of parameters, so as to shorten the development cycle, realize hot start, and improve convenience Effect

Pending Publication Date: 2022-05-10
北京理房通支付科技有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The verification scheme based on JsonSchema needs to write verification rules for each requirement, and the reuse rate of rule configuration is low; the parameters of complex data formats cannot be verified perfectly, and additional codes are still required for supplementary verification; for It is difficult for non-developers to realize the configuration of parameter verification logic, and in the process of using the system, it is impossible to display humanized verification error messages, requiring frequent intervention by developers to help find problems, resulting in reduced efficiency

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
  • Parameter verification method, verification template generation method and storage medium
  • Parameter verification method, verification template generation method and storage medium
  • Parameter verification method, verification template generation method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Hereinafter, exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited by the exemplary embodiments described here.

[0045] It should be noted that relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0046] Those skilled in the art can understand that terms such as "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc. necessary logical sequence.

[0047] It should also be understood that in the embodiments of the present disclosure, "...

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 embodiment of the invention discloses a parameter verification method and device, a verification template generation method and device, a computer readable storage medium, a computer program product and electronic equipment, and the method comprises the steps: receiving an input parameter from a preset parameter verification interface; determining parameter values corresponding to the parameters; based on the parameters, extracting a pre-configured verification template used for verifying the parameter values; determining parameter verification configuration information which is included in the verification template and is used for verifying the parameter value; and based on the parameter verification configuration information, verifying the parameter value to obtain a verification result. According to the embodiment of the invention, the development period of the verification method can be greatly shortened, and the parameter verification efficiency is improved. Meanwhile, the parameter verification is carried out based on the mode of configuring the verification template, the system does not need to be restarted when the verification rule changes, and only the updated verification template and the parameter verification configuration information need to be obtained, so that the hot start of the verification configuration is realized, and hidden dangers possibly brought by the system restart are reduced.

Description

technical field [0001] The present disclosure relates to the field of computer technology, in particular, a method and device for parameter verification, a method and device for generating a verification template, a computer-readable storage medium, a computer program product, and electronic equipment. Background technique [0002] With the development of network information technology, Internet applications are used more and more widely. At the same time, Internet applications receive more and more business data. In order for the application to run normally, it is necessary to verify the parameters of the interface. [0003] The current parameter verification scheme mainly includes the following three types: [0004] Option 1, use hard-coded methods for verification. The scheme has strong flexibility and applicability, and there is no parameter verification that cannot be realized. [0005] The second option is to use the JSR303 specification for parameter format verifica...

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): G06F9/445G06F9/451H04L41/0813H04L41/0823H04L41/084H04L41/0866
CPCG06F9/44505H04L41/0866H04L41/0843G06F9/451H04L41/0813H04L41/0823
Inventor 付敏申晓波龚成龙
Owner 北京理房通支付科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products