Socket communication method and device and storage equipment

A communication method and technology of a communication device, applied in the field of network storage, can solve problems such as inability to achieve high-performance concurrent services, limit the number of events that can be selectively monitored, and achieve the effects of increasing concurrency and overcoming system abnormalities

Inactive Publication Date: 2017-01-04
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF10 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The select mechanism adopts a polling strategy, that is, it needs to traverse the entire monitored descriptor set, which makes its work efficiency inversely proportional to the number of monito

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
  • Socket communication method and device and storage equipment
  • Socket communication method and device and storage equipment
  • Socket communication method and device and storage equipment

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0038] The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

[0039] Please refer to figure 1 with figure 2 , figure 1 It is a flowchart of an IPSAN-based socket communication method provided by an embodiment of the present invention, figure 2 This is a flowchart of io operations in an IPSAN-based socket communication method provided by an embodiment of the present invention. The method can include:

[0040] Step 101: Create a socket for monitoring client requests, add the socket to epoll, and register a callback ...

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 IPSAN-based socket communication method and device and storage equipment. The method comprises the steps that a socket for monitoring client requests is created and added into epoll, and a callback function is registered; the client requests are received, and a new connection file descriptor is added into epoll; when the file descriptor is readable, the callback function is called to analyze IPSAN requests, and an interface at the storage end is called to carry out io operation; a modification event corresponding to the writable file descriptor for which operation is finished is sent to a client side. By using the epoll technology, the event corresponding to the new connection file descriptor can be directly returned, a polling strategy is not adopted, the phenomenon that the efficiency is remarkably lowered along with increasing of the number of monitoring events is avoided, the problem that system exception is caused by limiting on the number of events can be solved, and the storage end concurrent volume is greatly improved.

Description

technical field [0001] The invention relates to the field of network storage, in particular to an IPSAN-based socket communication method, device and storage device. [0002] technical background [0003] With the development of science and technology in modern society, computers have been widely used in various fields. In today's digitization, networking and informationization, computer network technology has been developed rapidly and widely used. The storage system based on IPSAN can realize the SAN storage function with only a small investment, and even directly utilize the existing TCP / IP network. Compared with the previous network storage technology, it solves the problems of openness, capacity, transmission speed, compatibility, security, etc., and its superior performance has attracted much attention and favor. The IPSAN realizes the data transmission between the client and the storage end through SOCKET communication. [0004] In TCP / TP network applications, the ma...

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
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/1097H04L69/162
Inventor 宋腾
Owner ZHENGZHOU YUNHAI INFORMATION 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