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

Request signature method and device thereof, electronic equipment and storage medium

A request header and access request technology, applied in the computer field, can solve the problems of time-consuming and laborious signing process, unfavorable maintenance, repeated development, etc., and achieve the effect of facilitating subsequent maintenance and repeated development, saving time and human resources

Pending Publication Date: 2021-11-16
挂号网(杭州)科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the way of manual signing makes the signing process time-consuming and laborious; and different developers will define different signing methods, which is not conducive to subsequent maintenance and requires repeated development

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 signature method and device thereof, electronic equipment and storage medium
  • Request signature method and device thereof, electronic equipment and storage medium
  • Request signature method and device thereof, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 It is a flow chart of a method for requesting a signature provided by an embodiment of the present invention. The method can be executed by the device for requesting a signature provided in the embodiment of the present invention, the device can be realized by software and / or hardware, and the device can be integrated on various user terminals or servers.

[0031] Such as figure 1 As shown, the method of the embodiment of the present invention specifically includes the following steps:

[0032] S101. Acquire a target request sent by a user terminal for requesting a browser.

[0033] Optionally, when the target request sent by the user terminal for requesting the browser is detected, the target request is acquired. Specifically, the request sent by the specified user terminal may be determined as the target request, or all received requests may be determined as the target request.

[0034] Further, based on the request content of the request, it may be deter...

Embodiment 2

[0046] figure 2It is a flow chart of another method for requesting a signature provided by an embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned technical solutions. Optionally, obtaining the target request sent by the user terminal for requesting the browser includes: monitoring the access request of the browser's access attribute definition interface, and determining whether the request method for initiating the access request is a preset request method; if it is a preset request mode, intercept the access request and determine the access request as the target request. Optionally, based on the target signature behavior, inject the request header into the target request to sign the target request, including: determining the signature time of the target request; based on the target request's request information, target signature behavior, signature time, preset encryption algorithm and user The attribute information of the ...

Embodiment 3

[0066] The embodiments corresponding to the request signature method are described in detail above. In order to make the technical solution of the method more clear to those skilled in the art, specific application scenarios are given below.

[0067] image 3 A flow chart of a method for requesting a signature in an application scenario provided by an embodiment of the present invention; image 3 As shown, when the user terminal sends a user request, the user request needs to complete the request setting through the Object.defineProperty interface, and the Object.defineProperty interface can hijack the request data of the browser page. In a specific implementation, the Object.defineProperty interface can be monitored to obtain requests for accessing the Object.defineProperty interface. When it is detected that the access attribute definition interface of the browser receives a user request, the request mode of the user request is determined.

[0068] Further, when 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 signature method and a device thereof, electronic equipment and a storage medium. The method comprises the steps of obtaining a target request sent by a user terminal and used for requesting a browser; based on a target request mode corresponding to the target request, determining a target signature behavior matched with the target request mode in pre-stored alternative signature behaviors; and injecting a request header into the target request based on the target signature behavior to sign the target request. According to the technical scheme, manual operation is not needed in the signature process, and a large amount of time and manpower resources are saved; moreover, the alternative signature behaviors are stored in advance, so that the same request mode can be adapted to the fixed signature behaviors, and subsequent maintenance and repeated development are facilitated.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a signature request method, device, electronic equipment, and storage medium. Background technique [0002] In order to ensure the data security and convenient transmission of system data during the request exchange process, the request needs to be signed, and the signature is sent together with the request as an additional parameter, so as to prevent illegal requests. [0003] In the prior art, there are different request modes for different browsers, including Ajax (Asynchronous Javascript And XML, asynchronous JavaScript and XML) mode and fetch mode. In the prior art, when adding a digitally encrypted request signature, the developer needs to manually add the signature according to the request mode of the currently used browser. [0004] However, the manual signature method makes the signature process time-consuming and laborious; and differen...

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): H04L9/32H04L29/08
CPCH04L9/3247H04L67/02
Inventor 阮泽坤钱高圣
Owner 挂号网(杭州)科技有限公司