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

Request response method, device and system, server and storage medium

A request-response and server technology, applied in the Internet field, can solve problems such as reducing development efficiency and code redundancy, and achieve the effect of improving development efficiency and realizing unified verification

Pending Publication Date: 2021-12-07
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Because the API interface corresponding to each algorithm model needs to develop verification logic codes such as authentication and current limiting, which will lead to code redundancy, and the non-business logic code is coupled with the business logic code related to the algorithm model. Greatly reduces development 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
  • Request response method, device and system, server and storage medium
  • Request response method, device and system, server and storage medium
  • Request response method, device and system, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] figure 1 It is a flow chart of a request response method provided by Embodiment 1 of the present invention. This embodiment is applicable to responding to a user request sent by a client. The method can be executed by a request responding device, which can be realized by software and / or hardware, and integrated in the gateway server. like figure 1 As shown, the method specifically includes the following steps:

[0046] S110. Receive a user request sent by the client.

[0047] Wherein, the client may refer to a program that provides a local server for the user. The client can implement the same software function in different program forms. For example, the client may be an application software APP, a small program, a web page, or the like. A user request may refer to a request triggered by a user for accessing an algorithm model in a background server. For example, the user request may be: a request for querying logistics information. The gateway server can open a...

Embodiment 2

[0074] image 3 It is a flow chart of a request response method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment performs the step "check whether the user request meets the target verification condition according to the target verification configuration information" Optimized. After the user request is sent to the target algorithm model of the background server, a step of "receiving the first response data corresponding to the user request sent by the background server; processing the first response data by using the preset post-filter , determine the second response data corresponding to the user request, and send the second response data to the client." The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.

[0075] see image 3 , the request response method provided in this embodiment specifically includes the following steps:

[0076...

Embodiment 3

[0096] Figure 5It is a flow chart of a request response method provided by Embodiment 3 of the present invention. This embodiment is applicable to responding to a user request sent by a gateway server. The method can be executed by a request responding device, which can be realized by software and / or hardware, and integrated in the background server. like Figure 5 As shown, the method specifically includes the following steps:

[0097] S510. Receive, through the target API interface, a user request that satisfies the target verification condition and is sent by the gateway server.

[0098] Specifically, when the gateway server detects that the user request sent by the client meets the target verification condition, it sends the user request to the background server by calling the target API interface of the background server, and the background server can receive the target API interface through the target API interface. to the user request, so that the user request only ...

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 response method, device and system, a server and a storage medium, and the method is applied to a gateway server, and comprises the steps: receiving a user request sent by a client; determining target verification configuration information corresponding to a target API interface according to target API interface information in the user request; according to the target verification configuration information, detecting whether the user request meets a target verification condition; and if the user request meets the target verification condition, sending the user request to a target algorithm model of a background server by calling a target API interface of the background server, so that the target algorithm model performs response processing on the user request. Through the technical scheme of the embodiment of the invention, unified verification of user requests can be realized, and the non-business logic codes and the business logic codes related to the algorithm model are decoupled, so that the development efficiency is greatly improved.

Description

technical field [0001] The embodiments of the present invention relate to Internet technologies, and in particular to a request response method, device, system, server and storage medium. Background technique [0002] With the rapid development of Internet technology, various algorithm models have been developed and applied to various fields to provide services. For example, the trained algorithm model can be persisted, and then the server can be run to load the algorithm model, and each loaded algorithm model can provide external services in the form of API (Application Programming Interface, application programming interface). [0003] At present, the API interface corresponding to each algorithm model loaded by the server needs to develop verification logic codes for authentication and current limiting, so that when the client sends a user request by calling the API interface corresponding to a certain network model, the The API interface can perform verification operati...

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/08
CPCH04L67/60H04L67/63
Inventor 史伟航彭尉蔚
Owner BEIJING WODONG TIANJUN INFORMATION TECH 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