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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com