Supercharge Your Innovation With Domain-Expert AI Agents!

A non-blocking terminal information jump method based on web service

A web service, non-blocking technology, which is applied in the field of non-blocking end information jumping methods of web services, can solve problems such as thread pool efficiency reduction, and achieve the effects of improving convenience, ensuring defensibility, and improving security

Active Publication Date: 2020-11-27
CHINA UNIV OF PETROLEUM (EAST CHINA)
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this case, if a large number of reads or writes block the efficiency of the thread pool, the efficiency of the thread pool will be greatly reduced, and the operating system also needs to deal with frequent cpu switching

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 non-blocking terminal information jump method based on web service
  • A non-blocking terminal information jump method based on web service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] see figure 2 , which is a non-blocking terminal information jumping method based on Web services in the present invention.

[0022] Step a: For the web server, create a client socket request processing class to detect the connection request of the client.

[0023] The request processing class in step a is the socket connection process. Such as figure 1 , which is a complete socket socket programming process, which mainly includes steps such as server monitoring, client request, connection confirmation, data transmission, and connection closing. The connection process between sockets is the first three steps of the process step.

[0024] Server monitoring: The server first creates a socket socket, and uses the listen() function to monitor whether there is a socket request. At this time, the server is in the state of waiting for connection, and the network status is monitored in real time.

[0025] Client request: The client creates a socket socket request and uses ...

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 non-blocking terminal information jumping method based on Web services. The method includes: aiming at the Web server, creating a socket request processing class of the client, and detecting the connection request of the client; instantiating a server class, and passing in The address of the server and the request handler class; assign a value to the blocking interrupt processing time of the server class; realize the pseudo-random jump of the server's address, port, algorithm, service and other terminal information according to whether there is a request within the running time of the server class, so as to avoid the server The occurrence of a non-blocking state. The invention increases the diversity of web service writing and improves the robustness of web service operation.

Description

technical field [0001] The invention relates to a non-blocking terminal information jump method based on Web services, in particular to providing services for clients through the server. Whether there is a service request within the service response time timeout, and then use the exited sub-process status collected by the server as a judgment standard to execute the terminal information jump code to realize the non-blocking terminal information jump of the server. Background technique [0002] In recent years, security precautions and network countermeasures have attracted increasing attention. Determinism, similarity, and staticity are fatal security risks in existing Web server designs. More and more Web attacks make designers hard to guard against. As a new active network defense technology, dynamic target defense has attracted much attention. Its core idea is to enhance its diversity, pseudo-randomness and unpredictability by constructing a dynamic, heterogeneous and unc...

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/08H04L29/06
CPCH04L63/1441H04L67/02H04L69/162H04L67/51H04L67/60
Inventor 石乐义郭宏彬崔玉文李剑蓝吕献勇孙慧薛智宇陈松
Owner CHINA UNIV OF PETROLEUM (EAST CHINA)
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More