Interface rule verification method, device, computer device and storage medium

A verification method and rule technology, applied in the computer field, can solve the problems of different verification styles and code redundancy.

Pending Publication Date: 2019-02-15
PING AN TECH (SHENZHEN) CO LTD
View PDF5 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides an interface rule verification method, device, computer equipment and s...

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 rule verification method, device, computer device and storage medium
  • Interface rule verification method, device, computer device and storage medium
  • Interface rule verification method, device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0031] The interface rule verification method provided by this application can be applied in such as figure 1 An application environment in which a computer device communicates with a server over a network. Computer equipment can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server can be implemented by an independent server or a server cluster composed of multiple servers.

...

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 an interface rule checking method, a device, a computer device and a storage medium. The method comprises the following steps of: obtaining an access request, wherein the access request carries a reference and an access address, and the access address corresponds to an access mark; Obtaining an imitation object corresponding to the access identifier according to the accessidentifier, and obtaining interface information according to the imitation object; Obtaining an interface ID from the interface information, and obtaining a verification rule set corresponding to theinterface ID from a database based on the interface ID; adopting a Verification rule set verify the incoming parameters, obtaining the incoming parameter verification result, and sending the incomingparameter verification result to a client; Obtaining an operation request fed back by a client end based on an incoming parameter checking result, and if the operation request is an operation requestto continue processing, executing a service logic corresponding to an access identifier based on the incoming parameter, and obtaining an outgoing parameter corresponding to the incoming parameter; adopting Verification rule set to verify the parameters, and the results are obtained; realizing the standardization of verification rules and reduce code redundancy.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, computer equipment and storage medium for verifying interface rules. Background technique [0002] As an interface provided by the service provider, necessary field verification is essential. In the existing development model, different users are responsible for different interfaces, and the verification styles are different when performing rule verification on necessary fields, which will cause different degrees of error. Code redundancy. In addition, when the interface is called, the generated log file will contain some sensitive data (such as the input parameter contains the customer's name, mobile phone number and ID card number, etc.), storing these sensitive information in the log will make the customer information in the Logs are not stored securely. Contents of the invention [0003] Embodiments of the present invention provide an interface...

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
IPC IPC(8): G06F21/62
CPCG06F21/6245
Inventor 王保军
Owner PING AN TECH (SHENZHEN) CO LTD
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