Supercharge Your Innovation With Domain-Expert AI Agents!

io multiplexing methods, media, devices and operating systems

A multiplexing and application process technology, applied in IO multiplexing method, equipment and operating system, media field

Active Publication Date: 2022-01-04
ALIBABA CLOUD COMPUTING LTD
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The IO multiplexing mechanism implemented by functions such as select, poll, and epoll belongs to the traditional IO multiplexing mechanism, and is only applicable to socket connections and applications using VFS mechanisms (such as block devices and character devices connected to VFS). scenarios, with application limitations

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
  • io multiplexing methods, media, devices and operating systems
  • io multiplexing methods, media, devices and operating systems
  • io multiplexing methods, media, devices and operating systems

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purposes, 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 with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0044] The IO multiplexing method provided by the embodiments of the present invention is used to implement IO multiplexing of kernel components, for example, the kernel components include interrupts, message queues, shared memory, and the like. In order to realize the IO multiplexing of the kernel components, using the kernel objec...

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

Embodiments of the present invention provide an IO multiplexing method, medium, device and operating system. A listening thread in a kernel state receives a calling request of an application process, and the calling request includes identifiers of multiple kernel objects. The listening thread creates proxy information corresponding to multiple kernel objects, and binds the proxy information to multiple kernel objects correspondingly. The proxy information corresponding to each kernel object includes the event kernel object, and blocks the monitoring through the created event kernel object thread. After the event-triggering thread triggers an event corresponding to the triggered event identifier to the target kernel object, the listening thread is awakened through the event kernel object bound to the target kernel object. The listening thread obtains the triggered event identifier of the target kernel object, and sends the target kernel object identifier and the triggered event identifier to the application process. Through this solution, IO multiplexing of multiple kernel objects in the operating system can be realized.

Description

technical field [0001] The present invention relates to the technical field of operating systems, in particular to an IO multiplexing method, medium, device and operating system. Background technique [0002] IO multiplexing is a synchronous IO model, which realizes that a thread can monitor multiple file descriptors (Filedescriptor or file handle), and once a file descriptor is ready (usually read ready or write ready), it can notify The application process performs corresponding read and write operations. The traditional IO multiplexing mechanism is implemented by functions such as select, poll, and epoll. [0003] In some operating systems, all the underlying layers are shielded through the mechanism of the virtual file system (VFS for short), and users can operate on different files through a unified interface. For each file, a reference is required to indicate, At this time, the application of file descriptors is born. A file descriptor, in the form of a non-negative...

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): G06F9/54G06F11/30
CPCG06F9/541G06F11/3041G06F11/302
Inventor 张畋毛熠璐
Owner ALIBABA CLOUD COMPUTING LTD
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