Unlock instant, AI-driven research and patent intelligence for your innovation.

Request processing method and device, server, storage medium and product

A request processing and processor technology, which is applied in secure communication devices, digital transmission systems, user identity/authority verification, etc., can solve problems such as not being able to reduce server pressure well, and achieve the effect of reducing pressure and cost

Pending Publication Date: 2022-06-24
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a request processing method, device, server, storage medium and product to solve the problem that the existing client request processing solution cannot reduce the pressure on the server well

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 processing method and device, server, storage medium and product
  • Request processing method and device, server, storage medium and product
  • Request processing method and device, server, storage medium and product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 2 is a schematic flowchart of the request processing method provided in Embodiment 1 of the present invention, as shown in figure 2 As shown, the execution body of the request processing method provided by this embodiment is a request processing device, and the request processing device is located in the server, and the request processing method provided by this embodiment includes the following steps:

[0045] Step 101: Receive a request sent by a client, obtain a preset field corresponding to the request, and determine a hash value corresponding to the request according to the preset field.

[0046] In this embodiment, the client and the server are connected in communication, and the client may be a user terminal or an application installed in the user terminal. For example, in a certain scenario, when a user makes an online payment, the user clicks to pay, the client sends a payment request to the corresponding server, and the server receives the payment re...

Embodiment 2

[0060] image 3 is a schematic flowchart of the request processing method provided by the second embodiment of the present invention, such as image 3 As shown, on the basis of the request processing method provided in the first embodiment of the present invention, the preset fields corresponding to the acquisition request in step 101 are further refined, and the hash value corresponding to the request is determined according to the preset fields. Include the following steps:

[0061] Step 1011: Parse the request to obtain the corresponding preset key field and the corresponding identifier of the client.

[0062] In this embodiment, parsing the request to obtain the corresponding preset field is to obtain the key field and the identifier corresponding to the client, wherein the identifier corresponding to the client is unique, and the identifiers corresponding to different clients are also different. The preset key field is a preset key field, at least one preset key field i...

Embodiment 3

[0066] Figure 4 is a schematic flowchart of the request processing method provided in Embodiment 3 of the present invention, such as Figure 4 As shown, based on the request processing method provided in Embodiment 1 of the present invention, step 104 is further refined, and specifically includes the following steps:

[0067] Step 1041: Obtain the timestamp corresponding to the hash value stored in the preset storage device.

[0068] In this embodiment, the timestamp corresponding to the hash value stored in the preset storage device is obtained, wherein the timestamp corresponding to the hash value is stored in the preset storage device, and the stored hash value is based on the hash value sent by the client in the past. The preset field corresponding to the request is obtained, and the server will store the hash value corresponding to the request received in the past and the timestamp corresponding to the request, and there is a mapping relationship between the hash value ...

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 request processing method and device, a server, a storage medium and a product, and belongs to the technical field of resource scheduling. The method comprises the steps that a request sent by a client side is received, a preset field corresponding to the request is obtained, a hash value corresponding to the request is determined according to the preset field, and the preset field comprises an identifier corresponding to the client side; further determining whether a hash value corresponding to the request exists in a preset storage device or not; if not, executing a preset operation corresponding to the request; if yes, determining whether a timestamp corresponding to the request meets a preset request filtering strategy or not; if the timestamp corresponding to the request does not meet the preset request filtering strategy, executing a preset operation corresponding to the request; and if the timestamp corresponding to the request satisfies a preset request filtering strategy, refusing the request. According to the method provided by the invention, the requests repeatedly submitted by the client for multiple times are effectively filtered, and the pressure of the server can be effectively reduced.

Description

technical field [0001] The present application relates to the technical field of resource scheduling, and in particular, to a request processing method, device, server, storage medium and product. Background technique [0002] With the rapid development of Internet technology, in the actual application process of customers, various software generally involves data request and transmission between the server and the client. For example, the client makes a data request to the server, and the server verifies the identity. Extract and process and then feed back to the client. [0003] In the above process, the client may make multiple identical requests to the server due to factors such as misoperation or network delay. If the server processes multiple identical requests, it will not only increase the burden on the server, but may also cause The data is chaotic, and in severe cases it can even cause server downtime. Therefore, the client's request is usually distributed to mul...

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): H04L67/60H04L67/566H04L9/40H04L9/32
CPCH04L63/0227H04L63/1458H04L9/3297H04L9/3236
Inventor 辜坤
Owner CHINA CONSTRUCTION BANK