CN106020961A - Cross triggering device capable of improving system efficiency - Google Patents

Cross triggering device capable of improving system efficiency Download PDF

Info

Publication number
CN106020961A
CN106020961A CN201610377407.5A CN201610377407A CN106020961A CN 106020961 A CN106020961 A CN 106020961A CN 201610377407 A CN201610377407 A CN 201610377407A CN 106020961 A CN106020961 A CN 106020961A
Authority
CN
China
Prior art keywords
event
unit
response
cpu
handling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610377407.5A
Other languages
Chinese (zh)
Inventor
兰光洋
郑茳
肖佐楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TIANJIN TIANXIN TECHNOLOGY CO LTD
Original Assignee
TIANJIN TIANXIN TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TIANJIN TIANXIN TECHNOLOGY CO LTD filed Critical TIANJIN TIANXIN TECHNOLOGY CO LTD
Priority to CN201610377407.5A priority Critical patent/CN106020961A/en
Publication of CN106020961A publication Critical patent/CN106020961A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Bus Control (AREA)

Abstract

The invention provides a cross triggering device capable of improving the system efficiency. The device comprises an event receiving unit, an event processing unit and a response generating unit; the event receiving unit is used for receiving event sources, classifying the event sources according to event numbers and passing the event numbers to the event processing unit or the response generating unit; the event processing unit is used for coding the event numbers passed by the event receiving unit, searching for corresponding event processing methods in an event processing table according to the obtained event processing numbers, generating corresponding event processing operations and generating a response generating request; the response generating unit receives the response generating requests from the event receiving unit and the event processing unit and generates responses of the corresponding events and information of notifying a CPU. The cross triggering device capable of improving the system efficiency has the following advantages that overheads of the CPU on processing interruption can be greatly reduced, the CPU does not need to execute jump instructions frequently to execute interruption, in this way, the execution efficiency of the CPU can be greatly improved, and therefore the operation efficiency of the whole system is improved.

Description

A kind of intersection that can improve system effectiveness triggers device
Technical field
The invention belongs to computer technology and technical field of system control, especially relating to one can improve The intersection of system effectiveness triggers device.
Background technology
Along with deep-submicron manufacturing technology, the developing rapidly of IC design technology, integrated circuit enters Enter the SOC(system on a chip) epoch.And along with the functional requirement of SOC(system on a chip) is got more and more by modern people so that sheet The integrated of upper system becomes increasingly complex, and the SOC(system on a chip) become increasingly complex also is interrupted along with increasing Process, and more interrupt processing can largely reduce the efficiency of whole SOC(system on a chip).
In whole SOC(system on a chip), the general work processing interruption has CPU (central processing unit) to complete, But like this, CPU cannot go to carry out the control work of some equipment at full speed, thus cause be The reduction of system efficiency.
Summary of the invention
In view of this, it is contemplated that propose a kind of intersection that can improve system effectiveness to trigger device, can With in complicated System on Chip/SoC, process the multiple interruption from modules, thus alleviate the negative of CPU Load, improves the execution efficiency of system.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
A kind of intersection improving system effectiveness triggers device, including:
Event receives unit, is used for receiving event source, and enters event source according to the Case Number in event source Row classification, passes to Case Number event handling unit further according to classification results or response produces single Unit;
Event handling unit, the Case Number being used for passing over event reception unit encodes, logical Cross coding and produce an event handling coding meeting event handling table rule, then operated product by event handling Raw unit searches the event-handling method of correspondence according to event handling coding in event handling table, and produces Corresponding event handling operation, produces a response to response generation unit simultaneously and produces request;
Response generation unit, receiving the response generation from event reception unit and event handling unit please Ask, and the source producing request according to this response judges produce the response of corresponding event and notify CPU's Information.
Further, described event reception unit passes through switch selection circuit according to Case Number to event source Classify.
Further, described event receives unit and event source is divided into kind one event and kind two event, Kind one event is manageable interrupt event type, and the Case Number in this type of event source is passed to thing Part processing unit;Kind two event is the most treatable event type, produces response and produces request and transmit Give response generation unit.
Further, described response generation unit judges that the response received produces the source of request, if receiving The response arrived produces request and receives unit from event, then produce the interruption of a CPU, and notice CPU has One interrupt event needs CPU process, Case Number is sent to CPU simultaneously;If the response received The request that produces from event handling unit, then produces the response of corresponding event, produces a CPU energy simultaneously Enough codings identified notify that CPU this time interrupts having performed.
Relative to prior art, present invention have the advantage that
The present invention can greatly reduce CPU disconnected in processes on expense so that CPU can frequency Numerous execution jump instruction performs interruption, so can improve the execution efficiency of CPU greatly, thus Promote the operational efficiency of whole system.
Accompanying drawing explanation
The accompanying drawing of the part constituting the present invention is used for providing a further understanding of the present invention, the present invention's Schematic description and description is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.? In accompanying drawing:
Fig. 1 is the theory structure block diagram intersecting described in the embodiment of the present invention and triggering device;
Fig. 2 is the theory structure block diagram that event described in the embodiment of the present invention receives unit;
Fig. 3 is the theory structure block diagram of event handling unit described in the embodiment of the present invention.
Detailed description of the invention
It should be noted that in the case of not conflicting, the embodiment in the present invention and the spy in embodiment Levy and can be mutually combined.
Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
A kind of intersection improving system effectiveness triggers device, as it is shown in figure 1, include event receive unit, Event handling unit and response generation unit,
Described event receives unit and is used for receiving event source, enters event source according to the Case Number in event source Row classification, further according to classification results, passes to Case Number event handling unit or response produces single Unit,
Because interrupt event has a variety of, some interrupts this device and can process, and some interruption is necessary By CPU process.So, as in figure 2 it is shown, described event receives unit first passes through switch selection Classified in the event source received by circuit according to its Case Number, the switch selection circuit of the present embodiment By judging numbering and the relation of 64 in event source, event is divided into kind one event and kind two event; Kind one event is this device manageable interrupt event type, and this kind of event passes to event handling list Unit processes;Kind two event is the most treatable type of this device, and this kind of event can directly produce response and produce Raw request also passes to respond generation unit process.
The Case Number that described event handling unit is used for passing over event reception unit encodes, And according to event code result event handling table in event handling unit being searched at the event of correspondence Reason method, and produce the event handling operation of correspondence, described response generation unit is produced a sound simultaneously Request should be produced;
As it is shown on figure 3, first, the Case Number received is compiled by a coding circuit further Code processes, and encodes since it is desired that produce an event handling meeting event look-up table rule by coding, Just can find the interruption processing method of correspondence;
The coding rule of the coding circuit of the present embodiment is: when Case Number is less than 16, event handling Coding is equal to the numbering of event, when the numbering of event is more than or equal to 16 and is less than 32, event handling Coding adds 16 equal to the numbering of event, and otherwise, event handling coding is equal to the numbering of event plus 32; The event handling that can be produced meet event look-up table rule 8 by this kind of coded system is encoded, Each event can well be distinguished in event look-up table by this coding;
Then, the result processed according to coding circuit, then operated generation unit by the event handling of this unit In event handling table, the event-handling method of correspondence is searched, according to record in table according to event handling coding Processing mode, and produce correspondence event handling operation, simultaneously produce response generation request notify ring Answering generation unit, this event is the most treated to be completed;
Described response generation unit receives the response generation receiving unit and event handling unit from event Request, and produce the response asking to judge to produce corresponding event and the information of notice CPU according to this response;
If the response received produces request and receives unit from event, then illustrate that this device can not process this Class event, belongs to kind two event, then this unit would not produce the response of this event;But, This unit can produce the interruption of a CPU, the thing that notice this unit of CPU has had this cell processing not Part needs CPU process, the numbering of event is sent to CPU simultaneously, by the CPU interruption by CPU Reason mechanism processes this event;
Ask from event handling unit if the response received produces, then explanation event handling unit is Having processed this time event, this unit can produce the response of corresponding event, and can produce a CPU can simultaneously The coding identified notifies that CPU this time interrupts having performed, and CPU can continue executing with other work ?.
Intersection through the improved system effectiveness of the present invention triggers device, can greatly reduce CPU and exist Process the expense on interrupting so that CPU can perform jump instruction frequently and perform interruption, this Sample can improve the execution efficiency of CPU greatly, thus promotes the operational efficiency of whole system.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. made, should be included in Within protection scope of the present invention.

Claims (4)

1. the intersection that can improve system effectiveness triggers device, it is characterised in that including:
Event receives unit, is used for receiving event source, and enters event source according to the Case Number in event source Row classification, passes to Case Number event handling unit further according to classification results or response produces single Unit;
Event handling unit, the Case Number being used for passing over event reception unit encodes, logical Cross coding and produce an event handling coding meeting event handling table rule, then operated product by event handling Raw unit searches the event-handling method of correspondence according to event handling coding in event handling table, and produces Corresponding event handling operation, produces a response to response generation unit simultaneously and produces request;
Response generation unit, receiving the response generation from event reception unit and event handling unit please Ask, and the source producing request according to this response judges produce the response of corresponding event and notify CPU's Information.
The intersection improving system effectiveness the most according to claim 1 triggers device, and its feature exists In: described event is received unit and is classified event source according to Case Number by switch selection circuit.
The intersection improving system effectiveness the most according to claim 1 triggers device, and its feature exists In: described event receives unit and event source is divided into kind one event and kind two event, kind one event For manageable interrupt event type, the Case Number in this type of event source is passed to event handling list Unit;Kind two event is the most treatable event type, produces response generation and asks and pass to response to produce Raw unit.
The intersection improving system effectiveness the most according to claim 3 triggers device, and its feature exists In: described response generation unit judges that the response received produces the source of request,
If the response received produces request and receives unit from event, then produce the interruption of a CPU, Notice CPU has an interrupt event to need CPU process, Case Number is sent to CPU simultaneously;
Ask from event handling unit, then to produce the response of corresponding event if the response received produces, The coding that one CPU of generation is capable of identify that simultaneously is to notify that CPU this time interrupts having performed.
CN201610377407.5A 2016-05-30 2016-05-30 Cross triggering device capable of improving system efficiency Pending CN106020961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610377407.5A CN106020961A (en) 2016-05-30 2016-05-30 Cross triggering device capable of improving system efficiency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610377407.5A CN106020961A (en) 2016-05-30 2016-05-30 Cross triggering device capable of improving system efficiency

Publications (1)

Publication Number Publication Date
CN106020961A true CN106020961A (en) 2016-10-12

Family

ID=57093011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610377407.5A Pending CN106020961A (en) 2016-05-30 2016-05-30 Cross triggering device capable of improving system efficiency

Country Status (1)

Country Link
CN (1) CN106020961A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1195140A (en) * 1997-03-28 1998-10-07 国际商业机器公司 Using intelligent bridges with PICO-code to improve interrupt response
CN1535427A (en) * 2001-07-30 2004-10-06 皇家菲利浦电子有限公司 Efficient interrupt system for system on chip design
CN101634974A (en) * 2009-08-26 2010-01-27 成都市华为赛门铁克科技有限公司 Method, device and system for processing multiple interrupt types
CN104102322A (en) * 2013-04-07 2014-10-15 索尼公司 Method and device for prolonging CPU sleep time

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1195140A (en) * 1997-03-28 1998-10-07 国际商业机器公司 Using intelligent bridges with PICO-code to improve interrupt response
CN1535427A (en) * 2001-07-30 2004-10-06 皇家菲利浦电子有限公司 Efficient interrupt system for system on chip design
CN101634974A (en) * 2009-08-26 2010-01-27 成都市华为赛门铁克科技有限公司 Method, device and system for processing multiple interrupt types
CN104102322A (en) * 2013-04-07 2014-10-15 索尼公司 Method and device for prolonging CPU sleep time

Similar Documents

Publication Publication Date Title
Khatibsyarbini et al. Test case prioritization using firefly algorithm for software testing
Eberle et al. The simian herpesviruses.
Jeon et al. Hybrid malware detection based on Bi-LSTM and SPP-Net for smart IoT
ATE421730T1 (en) SYSTEMS, METHODS AND SOFTWARE FOR CLASSIFYING DOCUMENTS
CN101604364B (en) Classification system and classification method of computer rogue programs based on file instruction sequence
CN105072115B (en) A kind of information system intrusion detection method based on Docker virtualizations
Lin et al. AI4AMP: an antimicrobial Peptide predictor using physicochemical property-Based encoding method and deep learning
US20140325109A1 (en) Method of interrupt control and electronic system using the same
CN103136364A (en) Cluster database system and data query processing method thereof
CN1866219A (en) System and method for testing measured object based on automatic test script
CN1460208A (en) Secure software SMI dispatching using caller address
CN107908537A (en) A kind of system and method based on the processing of kernel module exception information
CN106020961A (en) Cross triggering device capable of improving system efficiency
Fang et al. Separate and locate: Rethink the text in text-based visual question answering
CN112347126B (en) Big data processing method, device, equipment and medium
Gao et al. A hybrid approach to coping with high dimensionality and class imbalance for software defect prediction
CN109670972A (en) Core protects method, apparatus, electronic equipment, storage medium
CN100447748C (en) Interrupt system realizing method
CN112199404A (en) Report creating method and device, electronic equipment and computer readable storage medium
Dan et al. Understanding spatial relations through multiple modalities
Chan et al. Sgpt: The secondary path guides the primary path in transformers for hoi detection
Jain et al. CPLAG: Efficient plagiarism detection using bitwise operations
CN103678136B (en) Data race false positive reduction method based on control flow
Alhammady et al. Expanding the training data space using emerging patterns and genetic methods
CN111736962A (en) Event hierarchical processing system based on block chain

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161012