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

Request verification method and related device

A verification method and a technology of request acquisition, which are applied in the computer field and can solve problems such as single functions

Active Publication Date: 2019-09-13
TENCENT TECH (SHENZHEN) CO LTD
View PDF14 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the existing JS object numbered musical notation specification can only verify a single field in the JSON request, and has a single function

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
  • Request verification method and related device
  • Request verification method and related device
  • Request verification method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The embodiment of the present application provides a request verification method and related devices, which can perform various types of verification on requests, not only to meet the verification requirements of a single field, but also to meet other verification requirements such as associations between fields .

[0060] The embodiment of this application can be applied to such as figure 1 The frame diagram of the request verification system is shown, in this frame, the server is connected with the client and the configuration system respectively.

[0061] The client is controlled by the client. When the server is required to perform business, it will send a request to the server to request the server to perform the business corresponding to the request.

[0062] The server is used to receive the request sent by the client, and then verify the request according to the request specification stored by itself. In the verification process, the single field of the reques...

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 request verification method and a related device. The method provided by the embodiment of the invention comprises the following steps: a server firstly receiving a request of a client; the server obtaining a request standard according to the request; wherein the request specification comprises a first user-defined expression; wherein the first user-defined expression is used for representing a verification rule, and the first user-defined expression can be compiled according to actual requirements, so that the server verifies the request according to the first user-defined expression, and not only can the verification requirement of a single field be met, but also other verification requirements such as an incidence relation among the fields canbe met.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a request verification method and related devices. Background technique [0002] During the access process, the client generally needs to send a request message to the server. After receiving the request, the server usually needs to judge whether the format of the request is correct, so as to constrain the data structure of the request. [0003] There are many kinds of requests sent by the client to the server, one of which is JS object notation (Java Script Object Notation, JSON), which is a lightweight data exchange format, and JS object notation specification (JavaScript Object Notation Schema, JSON Schema) is a specification that constrains the JSON data structure, and is mostly used to verify whether the format of the JSON request is correct. [0004] The existing JS object numbered musical notation specification defines a JSON data body structure, and realizes ...

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): H04L29/06
CPCH04L63/123
Inventor 曹智颖
Owner TENCENT TECH (SHENZHEN) 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