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

Method for processing asynchronous input/output signal

A technology for outputting signals and processing methods, which is applied in the field of signal transmission, can solve problems such as not proposing an asynchronous signal processing model, and achieve the effect of enriching functions

Inactive Publication Date: 2009-07-08
KORTIDE LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the Windows system, asynchronous I / O operations are implemented as a function of the file system, and various synchronization mechanisms in Windows can be used. This is a high-level signal processing behavior, but no suitable asynchronous operation was proposed when developing the driver. Signal Processing Model
On the other hand, in the traditional UNIX system, although asynchronous I / O based on the driver level is provided and a special signal is provided for it, there are many restrictions on this. For example, only stream devices can use asynchronous I / O. / O, only one such signal per process

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
  • Method for processing asynchronous input/output signal
  • Method for processing asynchronous input/output signal
  • Method for processing asynchronous input/output signal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0020] First of all, from the perspective of the kernel's event support for asynchronous input and output (asynchronous I / O), the kernel provides the function of creating events and notifying threads through events. For an event, a thread can wait for it or try to wait. Then, all interfaces in the driver interface layer support an output parameter of an event (see the interface definition of the driver). When an application thread needs to perform asynchronous I / O, it obtains an event from the kernel through the interface method of the driver, and can wait for or try to wait for the corresponding device to complete the corresponding work through the event at any time. When an event occurs, the waiting thread can also obtain signal information from the event. The semantics of this signal can be defined by the driver, and the application thread will do relate...

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 an asynchronous input and output signal processing method, provides a set of event-based signal processing mechanism, and makes a special design on the interface of the driver program to cooperate with this set of signal processing, including the following steps: Step 1, as a driver program The user thread of the user puts forward the need for input and output signal processing through the driver interface; step 2, the driver creates an event object and exports it to the user thread; step 3, the user thread obtains the input and output processing signal through the event object, And complete the corresponding operation according to the definition of the signal by the driver; the driver completes the input and output operations of the device, and notifies the user thread to process the signal through the event object. Simplify some advanced synchronization mechanisms and provide them to driver designers; a user thread can perform asynchronous I / O operations with multiple devices at the same time; drivers can customize the signal semantics of asynchronous I / O to provide richer functions .

Description

technical field [0001] The invention relates to a signal transmission method, in particular to an input and output method when an application program uses a driver program to access an external device. Background technique [0002] Applications generally use drivers to access external devices, and currently drivers can provide two modes of operation: synchronous input and output (hereinafter referred to as synchronous I / O) and asynchronous input and output (hereinafter referred to as asynchronous I / O) . [0003] In synchronous I / O, a thread initiates an I / O operation and immediately enters a wait state until the I / O operation is complete before continuing. In the asynchronous I / O mode, the thread sends an I / O request to the kernel, and then continues to process other things. After the kernel completes the I / O request, it will notify the thread that the I / O operation is completed. This process is as figure 1 shown. [0004] In synchronous I / O, threads waiting for the I / O ...

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/46
Inventor 王晨辉苏翼鹏张毅
Owner KORTIDE LTD
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