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

Asynchronous output incoming signal processing method

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: 2008-04-09
KORTIDE LTD
View PDF0 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
  • Asynchronous output incoming signal processing method
  • Asynchronous output incoming signal processing method
  • Asynchronous output incoming signal processing method

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, which provides a set of event-based signal processing mechanism, and a particular design is made on an interface of the driving program to be matched with the set of signal processing. The invention comprises the following steps: step 1, a subscriber thread as a driving program user proposes the needs for conducting the input and output signal processing through the driving program interface; step 2, the driving program establishes an event example, which shall be exported to the subscriber thread; step 3, the subscriber thread obtains an input and output processing signals through the event example, and complete the relevant operation in accordance with the signal definition by the drive; the driving program completes the equipment input and output operation, and give public notice on subscriber thread processing signals through the event example. Some high-level synchronous mechanism are simplified, so as to be provided to the driving program designer for use; a subscriber thread can simultaneously conduct the asynchronous I / O operation with a plurality of equipment; and the driving program can automatically define the signal semantic meaning of the asynchronous I / O, thereby providing 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 complete. The process is as figure 1 shown. [0004] In synchronous I / O, threads waiting for the I / O op...

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): 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