Method, device and system for processing multiple interrupt types
A technology of a processing device and a processing method, which is applied in the computer field, can solve problems such as low CPU efficiency and low CPU concurrent processing capability, and achieve the effects of improving efficiency, saving CPU processing time, and avoiding mutually exclusive operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Embodiment one, such as figure 1 As shown, a multi-interrupt processing method provided by an embodiment of the present invention may include the following steps:
[0031] Step 101: receiving an interrupt request;
[0032] Step 102: Obtain the interrupt type of the above interrupt request;
[0033] The interrupt types of the interrupt requests obtained above can be: read requests, write requests, other requests other than read and write and exception requests, exception requests, etc.; of course, other methods can also be used for the classification of interrupt request types, which do not affect the present invention implementation of the embodiment. The interrupt type of the interrupt request can be represented by the interrupt number, and the interrupt type of the interrupt request can be obtained as follows: the interrupt number of the interrupt request is obtained.
[0034] Step 103: Send the above interrupt request to the interrupt queue corresponding to the ab...
Embodiment 2
[0049] Embodiment 2. In this embodiment, the network card receives an interrupt request and then sends it to a multi-core CPU as an example for illustration. It can be understood that the network card is only an example of an I / O device, and the I / O device can also be other devices other than the network card, such as a keyboard, etc. figure 2 It is a schematic diagram of the system structure of the embodiment of the present invention, including: a network card 201, wherein there are multiple interrupt queues 201A in the network card 201, and the number of interrupt queues 201A can be determined by the number of interrupt types. In this embodiment, the interrupt types are: read request, Write request, abnormal request, read and write request and other requests other than abnormal request, these four types are illustrated as examples; fast peripheral interconnection bus switch 202 connects network card 201 and Northbridge 203, Northbridge 203 and multiple central processing uni...
Embodiment 3
[0054] Embodiment three, such as image 3 As shown, the embodiment of the present invention also provides a multi-interrupt processing device, including:
[0055] an interrupt receiving unit 301, configured to receive an interrupt request;
[0056] A type obtaining unit 302, configured to obtain the interrupt type of the received interrupt request;
[0057] A queue selection sending unit 303, configured to send the above interrupt request to the interrupt queue corresponding to the above interrupt type;
[0058] The CPU selects the sending unit 304, configured to send the interrupt request in the above interrupt queue to the CPU core bound to the above interrupt queue.
[0059] Optionally, each interrupt queue has a corresponding interrupt queue number;
[0060] The above-mentioned queue selection sending unit 303 is specifically configured to send the interrupt request to an interrupt queue of a certain interrupt number corresponding to the above-mentioned interrupt type. ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com