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

Method and device for verifying interface packet

A verification method and message technology, applied in the field of data processing, can solve the problems of low portability, low flexibility of message verification, and low reusability, so as to improve flexibility, avoid waste of manpower, and improve efficiency Effect

Active Publication Date: 2019-03-22
BANK OF CHINA
View PDF8 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the object of the present invention is to provide a verification method and device for interface messages to solve the problems of low flexibility, low portability and low reusability of message verification in the prior art

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
  • Method and device for verifying interface packet
  • Method and device for verifying interface packet
  • Method and device for verifying interface packet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0059] This embodiment discloses a verification method for an interface message, see figure 1 , the embodiment includes the following steps:

[0060] S101. Receive the information of the message to be verified; wherein, the information of the message to be verified includes at least field information;

[0061] In a message system, when it i...

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 provides a method and device for verifying an interface packet. The method comprises the following steps: after receiving the information of the packet to be verified, obtaining a verification rule attribute corresponding to the field information according to the field information included in the information of the packet to be verified to obtain a verification function name corresponding to the field information and a verification rule parameter; obtaining a verification rule program corresponding to the verification function name according to the verification function name, andinputting the obtained verification rule parameter into the verification rule program to obtain a verification rule program required to be executed when the fields corresponding to the field information are verified; and verifying the fields in the packet to be verified according to the obtained verification rule program, with no need to rewrite the verification rule program separately for different fields. And different packets or different fields can select corresponding verification rule programs according to their own verification rules to complete the verification, which improves the flexibility, portability and reusability of the verification.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a verification method and device for an interface message. Background technique [0002] Messages with specific interface specifications need to be sent and received between different enterprises, institutions, and departments. Each message contains a number of different fields, and there are different constraints on the content, format legality, and field constraints of different fields. The message must meet the submission specifications before it can be submitted, otherwise it will be returned. Returning in progress The sender should be notified of the specific error. Among them, according to the difference between the sender and the receiver, the specifications to be satisfied by the message to be sent are different. Therefore, before the message to be sent is sent, it is necessary to determine the specification that it needs to meet and check whether th...

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): H04L29/06
CPCH04L63/12
Inventor 李娟易金华丁丽娜裴炜裕
Owner BANK OF CHINA
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