Method and device for negotiating session key
A technology of session secret key and negotiation message, applied in the field of data processing, can solve the problems of affecting user experience, long service request response time, long interaction process between client and server, etc., to meet session privacy and shorten interaction time. , the effect of shortening the response time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] See figure 1 , figure 1 It is a flow chart of a method for negotiating a session key provided by an embodiment of the present invention. The flow chart is described from the perspective of a client, and the method includes steps 101-103.
[0037] Step 101, the client sends a message to the server; the message includes: a data message and a negotiation message, the data message is generated after encrypting business data using first private information, and the first private The information is generated by the client using an asymmetric encryption algorithm.
[0038] In the embodiment of the present invention, the client refers to a device capable of loading an application program and communicating with the server through the application program. Such as mobile phones, notebooks, tablets, wearable devices, computers and other terminal devices. The client can be a mobile terminal or a fixed terminal device.
[0039] The server serves the client, such as providing reso...
Embodiment 2
[0064] See image 3 , image 3 A flow chart of another method for negotiating a session key provided by an embodiment of the present invention is described from the perspective of a client, and the method includes steps 301-303.
[0065] Step 301: The client judges whether the service has a replay attack risk according to the session service type, if not, perform steps 302, 303 and 304; if yes, perform steps 305 and 304.
[0066] Among them, the essence of steps 302-303-304 is that during the negotiation phase of the session key between the client and the server, the client and the server simultaneously perform business data interaction. This communication mode eliminates the need to negotiate the session key The network delay caused by packet interaction; this mode is called 0-RTT mode in the present invention. The implementation process of this mode can refer to figure 2 .
[0067] Among them, the essence of steps 305-304 is that the client first negotiates the session ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


