Communication method and device between client and server

A communication method and client-side technology, applied in the computer field, can solve problems affecting data security, reduce data security, increase communication risks, etc., and achieve the effects of increasing reverse difficulty, ensuring data security, and improving communication security.

Active Publication Date: 2021-06-29
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, the certificate can be verified through the interface provided by the system or the interface provided by the open source library, such as HttpURLConnection on the Android platform, etc. However, this setting method can easily make reversers bypass the certificate verification process, thereby threatening the client and server The communication security between them reduces the data security; and, in the process of certificate verification in the prior art, the certificate is usually transmitted in plain text, which further increases the communication risk and affects the data security.

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
  • Communication method and device between client and server
  • Communication method and device between client and server
  • Communication method and device between client and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0026] figure 1 A schematic flowchart of a communication method between a client and a server is shown according to an embodiment of the present invention. like figure 1 As shown, the method includes:

[0027] Step S110, generating a first random factor according to the client certificate information.

[0028] Wherein, this embodiment is executed on the client side. Specifically, before the formal data transmission between the ...

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 discloses a communication method and device between a client and a server. The method includes: generating a first random factor according to client certificate information; sending handshake request information to the server, where the handshake request information carries the first random factor; receiving response information fed back by the server to the handshake request information, the response information carrying the first random factor The second random factor generated by the server; the master key is generated according to the first random factor and the second random factor, so that the client and the server can perform data communication according to the master key. In this scheme, the client certificate information is associated with the final generated master key, so that the generation of the master key is coupled with the certificate verification process, and the low communication security caused by the easy bypass of the certificate verification process in the prior art is avoided. In addition, the client certificate information in this scheme is transmitted in non-clear text during the transmission process, thereby further increasing the reverse difficulty and ensuring data security.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a communication method and device between a client and a server. Background technique [0002] Currently, the communication between the client and the server is usually implemented through the https protocol. The https protocol is based on the TLS protocol (Transport Layer Security, secure transport layer protocol) to achieve data communication. Before formal data transmission between the client and the server, usually the client or the server needs to verify the certificate information of both parties, and perform data transmission under the premise that the certificate information is legal. [0003] However, in the current communication mode between the client and the server, the master key required for the communication between the client and the server is further generated after the certificate information is verified. The verification of certificate information i...

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 Patents(China)
IPC IPC(8): H04L29/06H04L9/32H04L9/08H04L29/08
CPCH04L9/0869H04L9/3263H04L63/0823H04L67/02
Inventor 彭峙酿余奕飞
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products