Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

SSL (Secure Sockets Layer) nonblocking communication method and server therefor

A non-blocking communication and server technology, applied in the field of network communication, can solve problems such as slow performance, low communication efficiency, and no secure non-blocking channel

Active Publication Date: 2015-06-03
ALIBABA GRP HLDG LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the SSL non-blocking communication method solves the problems of high system overhead, slow performance, and low communication efficiency that exist in the SSL blocking communication method, it does not support the handshake interaction of the SSL protocol in terms of security.
Specifically, since version 1.4 of the JDK implements non-blocking communication through the new I / O library (JavaNIO), the NIO library includes non-blocking functions for files, pipes, and client and server sockets. However, the library lacks One of the features is safe non-blocking socket connections
There is no safe non-blocking channel class established in the Java NIO library, so safe non-blocking communication cannot be used

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
  • SSL (Secure Sockets Layer) nonblocking communication method and server therefor
  • SSL (Secure Sockets Layer) nonblocking communication method and server therefor
  • SSL (Secure Sockets Layer) nonblocking communication method and server therefor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0060] In order to enable those skilled in the art to better understand this application, the following briefly introduces the basic idea of ​​non-blocking communication in this application:

[0061] If you want to do two things at the same time: boil water and porridge.

[0062] The steps to boil water are as follows:

[0063] Put water in the pot and turn on the gas stove;

[0064] Wait for the water to boil; / / block

[0065] Turn off the gas stove and fill the kettle with boiling water.

[0066] The steps of cooking porridge are as follows:

[0067] Put water and rice in the pot, turn on the gas stove;

[0068] Wait for the porridge to boil; / / block

[0069] Adjust the gas stove to a small fire...

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 an SSL (Secure Sockets Layer) nonblocking communication method and a server therefor / The SSL nonblocking communication method comprises the following steps of: monitoring a network I / O (Input / Output) event by a server, and registering a read event if the I / O event is a connecting event; if the I / O event is a write event, executing write operation of writing second enciphered data in a buffering region into a network, obtaining a current handshake state according to a preset SSL handshake process and executing corresponding operation according to different handshake states; and if the I / O event is a read event, executing read operation of first enciphered data from the network, writing the first enciphered data into a preset buffering region, obtaining the current handshake state according to the preset SSL handshake process and executing corresponding operation according to different handshake states. According to the SSL nonblocking communication method and the server therefor disclosed by the invention, nonblocking high-performance communication of an SSL protocol can be ensured, the handshake interaction process of the whole SSL protocol can be controlled, related messages in the handshake interaction process are controlled easily, and a plurality of problems oriented to SSL protocol application are solved.

Description

technical field [0001] The present application relates to the technical field of network communication, in particular to a method for SSL non-blocking communication and a server for SSL non-blocking communication. Background technique [0002] SSL (Secure Sockets Layer) is a security protocol that provides security and data integrity for network communications. It is used to ensure the security of data transmission on the Internet. It is not easy to be intercepted and eavesdropped during the transmission process. It has been widely used for identity authentication and encrypted data transmission between web browsers and servers. [0003] The SSL protocol is located between the TCP / IP protocol and various application layer protocols, providing security support for data communication. The SSL protocol can be divided into two layers: [0004] The first layer: SSL Record Protocol (SSL Record Protocol), which is based on a reliable transmission protocol (such as TCP), provides...

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/06H04L12/70
Inventor 彭渊
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products