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

Network programming framework system and method based on asynchronous IO model

A framework system and network technology, applied in the computer field, can solve the problems of complex implementation of the IO multiplexing model, and achieve the effect of reducing the difficulty and improving the running performance.

Active Publication Date: 2021-01-15
厦门市易联众易惠科技有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the implementation of the IO multiplexing model is relatively complicated, requiring the user to manually process the read and write operations of data

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
  • Network programming framework system and method based on asynchronous IO model
  • Network programming framework system and method based on asynchronous IO model
  • Network programming framework system and method based on asynchronous IO model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is some embodiments of the present invention, but not all of them. Based on the implementation manners in the present invention, all other implementation manners obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention. Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the implementation manners in the present invention, all other implement...

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 a network programming framework system and method based on an asynchronous IO model, and the system comprises a channel layer which is used for receiving to-be-processed original data; a pipeline layer which is used for reading the original data from the channel layer and operating the original data through a plurality of stored processor nodes; wherein the plurality of processor nodes are connected end to end through forward pointers and backward pointers to form a chain type processing model in a responsibility chain form, and each processor node is bound with a workerthread, so that the method of the processor node is executed in the bound worker thread. According to the embodiment of the invention, a single-thread running environment is provided for the processor node through the design of the context of the processor on the pipeline layer and the processor node, so that the coding difficulty can be reduced by giving the single-thread running environment toeach processor node, and the running performance can be improved by giving the possibility of serialization running of an overall responsibility chain mode.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a network programming framework system and method based on an asynchronous IO model. Background technique [0002] In terms of network programming, the operating system provides several network models for upper-layer applications, namely: blocking IO model, non-blocking IO model, IO multiplexing model, signal-driven model, and asynchronous IO model. In terms of API at the language level, the Java language provided a Socket socket interface in JDK1.0, providing support for the blocking IO model. Support for the non-blocking IO model was provided in the JDK1.4 version. Support for the asynchronous IO model was provided in the JDK1.7 version. [0003] The blocking IO model is relatively simple to implement and apply, but when the amount of concurrency is high, the overall performance of the program is not high enough, and the overhead is relatively high. Because of the blocking...

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 Applications(China)
IPC IPC(8): G06F8/20G06F8/30G06F9/50
CPCG06F8/20G06F8/31G06F9/5016G06F9/5022G06F9/5027G06F2209/5011G06F2209/5018Y02D10/00
Inventor 林斌施建安庄一波赵友平孙志伟
Owner 厦门市易联众易惠科技有限公司
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