Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interface parameter verification method, device and equipment and storage medium

A technology of interface parameters and verification methods, applied in the risk management and control field of big data technology, can solve the problems of low efficiency of adding annotations, redundant verification codes, and low verification efficiency

Pending Publication Date: 2021-02-02
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method adds a corresponding DTO to each interface and adds annotations to each field. There is a problem of redundant verification code. If there are many parameter fields, there are problems of low efficiency of adding annotations and low verification 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
  • Interface parameter verification method, device and equipment and storage medium
  • Interface parameter verification method, device and equipment and storage medium
  • Interface parameter verification method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The embodiment of the present invention provides an interface parameter verification method, device, device and storage medium, which are used to obtain interface parameter configuration information by parsing multiple interface parameter documents, and set unified interface parameters for multiple interfaces through aspect-oriented programming. Interface parameter verification rules improve the efficiency of interface parameter verification and interface maintenance.

[0028] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the term "compri...

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 relates to the technical field of big data, and discloses an interface parameter verification method, device and equipment and a storage medium, which are used for improving the verification efficiency of interface parameters. The interface parameter verification method comprises the steps of obtaining a plurality of interface parameter documents, determining corresponding verified parameter information based on each interface parameter document, and obtaining a plurality of parameter verification information; determining a plurality of pieces of target interface identification information, and respectively setting parameter verification rules for the plurality of pieces of target interface identification information; determining a target calling interface and to-be-verifiedinput parameter information, intercepting the target calling interface through aspect-oriented programming, and obtaining corresponding target parameter verification information; and performing parameter verification on the to-be-verified parameter information through the parameter verification rule and the target parameter verification information, and when the verification result is that the verification is passed, executing a to-be-called function corresponding to the target calling interface to obtain an execution result. In addition, the invention also relates to a blockchain technology,and a plurality of parameter verification information can be stored in the blockchain node.

Description

technical field [0001] The present invention relates to the field of risk management and control of big data technology, in particular to an interface parameter verification method, device, equipment and storage medium. Background technique [0002] In the development process of business requirements, it is often necessary to interact with other systems. The interface parameter document is a standard for the interaction between systems. The server needs to develop the interface according to the interface parameter document, and the consumer needs to write code and call according to the interface parameter document. When the server receives the call request, it needs to verify the input parameters of the interface, for example, whether the required fields are missing, whether the field type is correct, and whether the string length is too long. [0003] The existing interface verification methods generally only verify the required fields, and do not verify other content. Fo...

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): G06F11/36G06F16/25
CPCG06F11/3604G06F11/3672G06F16/252
Inventor 孙佳伟
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products