A service processing method and device based on ssl/tls

A technology for business processing and business, applied in the direction of transmission systems, electrical components, etc., can solve problems such as low efficiency of business processing

Active Publication Date: 2020-07-10
NSFOCUS INFORMATION TECHNOLOGY CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides an SSL / TLS-based business processing method and device to solve the problem of low efficiency of SSL / TLS-based business processing in the prior art

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
  • A service processing method and device based on ssl/tls
  • A service processing method and device based on ssl/tls
  • A service processing method and device based on ssl/tls

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] figure 2 A schematic diagram of an SSL / TLS-based business processing method provided by an embodiment of the present invention, the method includes the following steps:

[0048] S201: If there is a service waiting to establish a transmission control protocol TCP connection or there is a service in a waiting state in the waiting queue, determine whether the time required for processing the current sub-service of the currently processed service is greater than the set first time length threshold; If yes, go to S202, if not, continue to process the current sub-service of the currently-processed service.

[0049]The SSL / TLS-based business processing method provided by the embodiment of the present invention is applied to electronic equipment, and the electronic equipment may be an electronic equipment capable of data calculation such as a PC or a notebook computer, wherein the electronic equipment is deployed with an SSL / TLS-based business processing method. The security ...

Embodiment 2

[0065] On the basis of the above embodiments, in the SSL / TLS-based business processing method provided by the embodiment of the present invention, after saving the currently processed business in the waiting queue, the method further includes:

[0066] If the current sub-service is in the data sending and receiving phase, save the acquired data of the currently processed service;

[0067] If the current sub-service is in the encryption and decryption phase, continue the encryption and decryption process.

[0068] The sub-services include handshaking state, sending and receiving state and closed state. When the current sub-service is in any one of the handshaking state, sending and receiving state or closed state, data sending and receiving in the data sending and receiving stage and data encryption and decryption in the encryption and decryption stage will be performed. After the currently processed service is saved in the waiting queue in the embodiment of the present inventi...

Embodiment 3

[0078] In order to reduce the service processing time of the service in the waiting state, on the basis of the above-mentioned embodiments, in the SSL / TLS-based service processing method provided by the embodiment of the present invention, the selection of the second service in the waiting queue that meets the waiting condition include:

[0079] In the waiting queue, select a candidate service whose waiting time is longer than the set second time threshold;

[0080] The service with the longest waiting time is selected from the candidate services as the second service.

[0081] The second duration threshold may be 1 millisecond, 2 milliseconds or 5 milliseconds, which may be the same as or different from the first duration threshold.

[0082] Since the data sending and receiving phase or the encryption and decryption phase of the current sub-service of the candidate service takes a long time, if the waiting time is longer than the set second time length threshold, it can be c...

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 service processing method and device based on SSL / TLS. The method includes: if there is a service waiting to establish a transmission control protocol TCP connection or there is a service in a waiting state in the waiting queue, judging whether the currently processed service is Whether the time required for the current sub-service to be processed is greater than the set first time length threshold; if yes, the currently processed service is stored in a waiting queue, and the state of the currently processed service is identified as a waiting state, Judging whether there is a service to be established with a TCP connection; if yes, select the first service to be established with a TCP connection, and process the first service; if not, select the second service that meets the waiting condition in the waiting queue, and process the first service in the waiting queue delete the second service, and continue to process the second service. Since the asynchronous processing mechanism is used in the present invention, the service processing performance of service processing based on SSL / TLS is improved.

Description

technical field [0001] The invention relates to the technical field of computer network security, in particular to an SSL / TLS-based service processing method and device. Background technique [0002] With the intensification of network security threats, security services based on SSL (Secure Sockets Layer, secure socket layer) / TLS (Transport Layer Security, secure transport layer protocol) are deployed in business processing systems of more and more electronic devices. figure 1 It is a flow chart of business processing based on SSL / TLS in the prior art. In the business processing based on SSL / TLS in the prior art, when a business processing request is received, such as figure 1 As shown, after the step S101TCP (TransmissionControl Protocol, transmission control protocol) connection is established, the business passes through the handshake state in step S102, the sending and receiving state in step S103, and the service processing in step S104, and when it is judged in step S...

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/06H04L29/08
CPCH04L63/166H04L63/168H04L67/51
Inventor 付程李洋陈翔陈涛
Owner NSFOCUS INFORMATION TECHNOLOGY 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