Network attack defense method and device based on SM3 algorithm, storage medium, client terminal and service terminal
A client terminal and network attack technology, applied to service terminals, network attack defense based on SM3 algorithm, and client terminal fields, can solve the problems of platform economic losses, false active users, etc., and achieve the effect of improving security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] see figure 1 , figure 1 It is a schematic flowchart of a network attack defense method based on the SM3 algorithm disclosed in the embodiment of the present application, wherein the method is applied to a client terminal. Such as figure 1 As shown, the network attack defense method based on the SM3 algorithm comprises steps:
[0070] S101. Process the packaged request data according to the SM3 algorithm and obtain a first data signature;
[0071] S102. Obtain the ID of the user who initiated the current request, the user's signature key, and a first timestamp, where the first timestamp represents the time when the current request was initiated;
[0072] S103. Combine the first data signature with the user ID, the first time stamp, and the user's signature key to obtain the first data string;
[0073] S104. Process the first data string according to the SM3 algorithm and generate a first request signature;
[0074] S105. Generate request information according to the...
Embodiment 2
[0084] see figure 2 , figure 2 It is a schematic flowchart of a network attack defense method based on the SM3 algorithm disclosed in the embodiment of the present application, wherein the method is applied to a service terminal. Such as figure 2 As shown, the network attack defense method based on the SM3 algorithm comprises steps:
[0085] S201. Obtain request information sent by the client terminal;
[0086] S202. Analyze the request information, and analyze to obtain the first request signature and request data;
[0087] S203. Obtain the user ID, the user's signature key and the first timestamp sent by the client terminal;
[0088] S204. Process the request data according to the SM3 algorithm and obtain a second data signature;
[0089] S205. Splicing the second data signature, the first timestamp, the user ID, and the user's signature key into a second data string;
[0090] S206. Process the second data string according to the SM3 algorithm and generate a second ...
Embodiment 3
[0103] see image 3 , image 3 It is a schematic structural diagram of an SM3 algorithm-based network attack defense device disclosed in an embodiment of the present application, wherein the device is applied to a service terminal. Such as image 3 As shown, the network attack defense device based on the SM3 algorithm includes:
[0104] The first data encryption module 31 is used to process the packaged request data according to the SM3 algorithm and obtain the first data signature;
[0105] The first obtaining module 32 is used to obtain the user ID that initiates the current request, the user's signature key and the first timestamp, and the first timestamp represents the time when the current request is initiated;
[0106] The first data splicing module 33 is used to merge the first data signature with the user ID, the first time stamp, and the user's signature key to obtain the first data string;
[0107] The first data encryption module 31 is further configured to proc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


