CN107544838B - Interrupt processing method and device - Google Patents

Interrupt processing method and device Download PDF

Info

Publication number
CN107544838B
CN107544838B CN201610472215.2A CN201610472215A CN107544838B CN 107544838 B CN107544838 B CN 107544838B CN 201610472215 A CN201610472215 A CN 201610472215A CN 107544838 B CN107544838 B CN 107544838B
Authority
CN
China
Prior art keywords
interrupt request
value
interrupt
timing time
reporting
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.)
Active
Application number
CN201610472215.2A
Other languages
Chinese (zh)
Other versions
CN107544838A (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610472215.2A priority Critical patent/CN107544838B/en
Priority to PCT/CN2017/088646 priority patent/WO2017219918A1/en
Publication of CN107544838A publication Critical patent/CN107544838A/en
Application granted granted Critical
Publication of CN107544838B publication Critical patent/CN107544838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Bus Control (AREA)

Abstract

The invention provides an interrupt processing method and device, wherein the interrupt processing method comprises the following steps: when an interrupt request is detected, starting timing to obtain a timing time value, and counting the reporting times of the interrupt request to obtain a counting number reported by the interrupt request; when the timing time value reaches a preset timing time value or the count number value exceeds a preset count threshold value, calculating the reporting frequency value of the interrupt request; and if the calculated reporting frequency value is larger than the preset frequency value, shielding the interrupt request. The technical scheme provided by the embodiment of the invention judges whether the interrupt request is reported too many times by detecting the reporting frequency value of the interrupt request under a certain condition, and shields the interrupt request if the number of the reporting times is too many, so that the probability of system breakdown caused by repeated and continuous reporting of the interrupt request due to the fact that a CPU (central processing unit) does not timely process a certain interrupt request can be reduced.

Description

Interrupt processing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an interrupt processing method and apparatus.
Background
In highly reliable carrier systems, there are generally two trigger options for external GPIO (General Purpose Input Output, general purpose input/output) interrupts: level triggering and edge triggering. The level trigger is a continuous and stable scene, and the CPU can actively clear the interrupt only after explicitly processing the interrupt, so that the reliability of the interrupt can be ensured.
However, the conventional level triggering method has the following problems: if the CPU is in a high load state at a certain time point, since the level triggered interrupt request does not respond in time, although the peripheral device only generates an interrupt once, if the CPU does not clear the interrupt in time, the interrupt request state will continue all the time, thus forming a positive feedback of vicious circle, and the system may crash in extreme cases.
Disclosure of Invention
The embodiment of the invention provides an interrupt processing method and device, which are used for solving the problem that in the prior art, a CPU (central processing unit) does not process a certain interrupt request in time, so that the interrupt request is repeatedly and continuously reported for a plurality of times.
In order to solve the technical problems, the invention adopts the following technical scheme:
according to an aspect of an embodiment of the present invention, there is provided an interrupt processing method, including:
when an interrupt request is detected, starting timing to obtain a timing time value, and counting the reporting times of the interrupt request to obtain a counting number reported by the interrupt request;
when the timing time value reaches a preset timing time value or the count number value exceeds a preset count threshold value, calculating the reporting frequency value of the interrupt request;
and if the calculated reporting frequency value is larger than the preset frequency value, shielding the interrupt request.
Further, when the timing time value reaches a preset timing time value, the step of calculating the reporting frequency value of the interrupt request includes:
when the timing time value reaches a preset timing time value, acquiring a counting number reported by the interrupt request;
and determining the reporting frequency value of the interrupt request according to the ratio of the counting times value to the timing time value.
Further, when the count number value exceeds a preset count threshold, the step of calculating the report frequency value of the interrupt request includes:
when the count number value exceeds a preset count threshold value, acquiring the timing time value;
and determining the reporting frequency value of the interrupt request according to the ratio of the counting times value to the timing time value.
Further, after the step of calculating the report frequency value of the interrupt request, the interrupt processing method further includes:
and if the reporting frequency value of the interrupt request is smaller than a preset frequency value, resetting the timing time value and the counting frequency value to zero.
Further, after the step of masking the interrupt request, the interrupt processing method further includes:
starting a timer;
judging whether the interrupt request is shielded or not after the timing time of the timer is reached;
and if the interrupt request is shielded, controlling the interrupt request to be re-enabled.
According to another aspect of an embodiment of the present invention, there is provided an interrupt processing apparatus including:
the acquisition module is used for starting timing when an interrupt request is detected, obtaining a timing time value, and counting the reporting times of the interrupt request to obtain a counting number of times of reporting the interrupt request;
the calculating module is used for calculating the reporting frequency value of the interrupt request when the timing time value obtained by the obtaining module reaches a preset timing time value or when the count number value obtained by the obtaining module exceeds a preset count threshold value;
and the first processing module is used for shielding the interrupt request when the report frequency value calculated by the calculation module is larger than a preset frequency value.
Further, the computing module includes:
the first acquisition unit is used for acquiring the count number reported by the interrupt request when the timing time value reaches a preset timing time value;
and the first calculation unit is used for determining the reporting frequency value of the interrupt request according to the ratio of the counting times value to the timing time value acquired by the first acquisition unit.
Further, the computing module includes:
the second acquisition unit is used for acquiring the timing time value when the count number value exceeds a preset count threshold value;
and the second calculating unit is used for determining the reporting frequency value of the interrupt request according to the ratio of the counting times value to the timing time value acquired by the second acquiring unit.
Further, the interrupt processing apparatus further includes:
and the second processing module is used for resetting the timing time value to zero and the counting times value to zero when the reporting frequency value of the interrupt request is smaller than a preset frequency value.
Further, the interrupt processing apparatus further includes:
the timing module is used for starting a timer;
the judging module is used for judging whether the interrupt request is shielded or not after the timing time of the timer started by the timing module is reached;
and the third processing module is used for controlling the interrupt request to be re-enabled when the judging module determines that the interrupt request is shielded.
The beneficial effects of the invention are as follows:
according to the technical scheme, the reporting frequency value of the interrupt request under a certain condition is detected, so that whether the number of times of reporting the interrupt request is excessive is judged, and if the number of times of reporting is excessive, the interrupt request is shielded, so that the probability of system breakdown caused by repeated and continuous reporting of the interrupt request due to the fact that a CPU (central processing unit) does not timely process a certain interrupt request can be reduced.
Drawings
FIG. 1 is a flowchart of an interrupt handling method according to a first embodiment of the present invention;
FIG. 2 is a flowchart showing the embodiment of S102 according to the first embodiment of the present invention;
FIG. 3 is another specific flowchart of S102 provided in the first embodiment of the present invention;
FIG. 4 is a block diagram showing an interrupt handling apparatus according to a second embodiment of the present invention;
fig. 5 is another block diagram of an interrupt handling apparatus according to a second embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
First embodiment
An embodiment of the present invention provides an interrupt processing method, as shown in fig. 1, including:
s101, when an interrupt request is detected, starting timing to obtain a timing time value, and counting the number of times of reporting the interrupt request to obtain a count number of times of reporting the interrupt request.
When the CPU detects that a certain interrupt request arrives, an interrupt processing function is firstly called according to a normal processing mode, timing is started corresponding to the interrupt request, and the reporting times of the interrupt request of the type are counted.
The interrupt request mentioned in the embodiment of the present invention is a trigger type interrupt request, such as a level triggered interrupt request.
S102, when the timing time value reaches a preset timing time value or when the count number value exceeds a preset count threshold value, calculating the reporting frequency value of the interrupt request.
When detecting that the timing time value corresponding to the interrupt request reaches a preset timing time value, calculating the reporting frequency value of the interrupt request to determine whether the number of times of reporting the interrupt request is excessive; or when the number of times of reporting the interrupt request exceeds a preset count threshold, calculating the reporting frequency value of the interrupt request to determine whether the number of times of reporting the interrupt request is excessive.
The preset time value and the preset count threshold value described herein may be selected according to actual requirements, and the comparison of the embodiment of the present invention is not limited.
S103, if the calculated reporting frequency value is larger than the preset frequency value, shielding the interrupt request.
If the calculated reporting frequency value is smaller than or equal to the preset frequency value, the fact that the number of times of reporting the interrupt request is too large is indicated, and the interrupt request needs to be shielded, namely an interrupt shielding mark for controlling the interrupt request is disabled is indicated, so that the interrupt request is restrained from being continuously generated, the number of times of reporting the same interrupt request in a large amount in a short time is reduced, system breakdown caused by excessively high occupancy rate of a CPU in a very short time is avoided, and the stability of the system is improved.
If the reporting frequency value of the interrupt request is smaller than the preset frequency value, the reporting frequency of the interrupt request is within an acceptable range, then an interrupt processing function is called according to a normal flow, and the timing time and the reporting count number value corresponding to the interrupt request are zeroed, so that the timing of the interrupt request is restarted, and the reporting count number is counted.
Further, as shown in fig. 2, when the counted time value reaches the preset counted time value in S102, the step of calculating the reporting frequency value of the interrupt request includes:
and S201, when the timing time value reaches a preset timing time value, acquiring the counting number reported by the interrupt request.
S202, determining the reporting frequency value of the interrupt request according to the ratio of the count number value and the count time value obtained in S201.
That is, when the timing time value corresponding to the interrupt request reaches the preset timing time value, the ratio of the number of times of reporting the interrupt request to the timing time value in the timing time is calculated, where the calculated ratio is the reporting frequency of the interrupt request.
Further, as shown in fig. 3, when the count number value exceeds the preset count threshold in S102, the step of calculating the reporting frequency value of the interrupt request includes:
s301, when the count number value of the interrupt request exceeds a preset count threshold value, acquiring a timing time value at the moment.
S302, determining the reporting frequency value of the interrupt request according to the ratio of the counting number value of the interrupt request to the timing time value acquired in S301.
According to the method, the number of times of reporting an interrupt request is monitored in real time, when the count number exceeds the preset count threshold, the reporting frequency of the interrupt request, namely the ratio of the count number to the time counting value, is calculated, whether the interrupt request needs to be shielded or not is determined according to the calculated reporting frequency, and in this way, the reporting of the interrupt request can be processed in time, and the reporting of a large number of times of the same interrupt request in a short time is avoided.
Further, in the embodiment of the present invention, when an interrupt request is masked, a timer is started, after the timing time of the timer arrives, it is determined whether the interrupt request is masked, if the interrupt request is masked, the interrupt request is controlled to be re-enabled, that is, an interrupt mask flag of the interrupt request is controlled to be enabled (available), the masking is released, and at the same time, the number of times of reporting the interrupt request is restarted to be counted.
Specifically, to further understand the interrupt processing method provided in the embodiment of the present invention, an example will be described below, in which the method described in steps S301 to S302 is mainly taken as an example, and the following is described:
during system initialization, a monitoring IRQ (Interrupt Request ) is set as a GPIO external interrupt number, wherein relevant parameters and a registration callback function in the monitoring process are applied as follows:
reference time interval value: time_interval=200 milliseconds;
reporting time threshold (corresponding to the preset count threshold described above): threshold=100 times;
timing time of timer: timer=3000 milliseconds.
When an IRQ is detected to arrive, an interrupt processing function is called according to a normal flow, the number of times of reporting the IRQ is counted, and meanwhile, the counted statistical time (corresponding to the timing time value) is recorded.
If the IRQ reporting times are less than or equal to 200 times, directly calling an interrupt processing function.
If the number of times of reporting the IRQ is greater than 200 times, but the statistical time is greater than 200ms, the report frequency of the interrupt request is considered to belong to a normal range, and meanwhile, the number of times of reporting the IRQ and the statistical time are cleared, and new counting and timing are restarted.
If the number of times of the IRQ reporting is greater than 200 and the statistical time is less than or equal to 200ms, indicating that the reporting frequency of the interrupt request is too high, shielding the interrupt request and simultaneously creating a timer with a timing duration of 3000 ms. When the timing time of 3000ms arrives, detecting whether the IRQ is shielded, if so, removing the shielding of the IRQ, deleting the 3000ms timer, clearing the reporting times and the statistical time of the IRQ, and restarting the new counting.
In summary, the embodiment of the invention judges whether the number of times of reporting the interrupt request is excessive by detecting the reporting frequency of the interrupt request under a certain condition, and shields the interrupt request if the number of times of reporting is excessive, so that the probability of system breakdown caused by repeated and continuous reporting of the interrupt request due to the fact that a CPU does not process a certain interrupt request in time can be reduced.
Second embodiment
An embodiment of the present invention provides an interrupt processing apparatus, as shown in fig. 4, including:
the obtaining module 401 is configured to start timing when an interrupt request is detected, obtain a timing time value, and count the number of times of reporting the interrupt request to obtain a count number of times of reporting the interrupt request.
When the CPU detects that a certain interrupt request arrives, an interrupt processing function is firstly called according to a normal processing mode, timing is started corresponding to the interrupt request, meanwhile, the number of times of reporting the interrupt request of the type is counted, and the count number value and the timing time value of reporting the interrupt request are obtained through the obtaining module 401.
The interrupt request mentioned in the embodiment of the present invention is a trigger type interrupt request, such as a level triggered interrupt request.
The calculating module 402 is configured to calculate a reporting frequency value of the interrupt request when the timing time value obtained by the obtaining module 401 reaches a preset timing time value or when the count number value obtained by the obtaining module exceeds a preset count threshold.
When the acquisition module 401 detects that the timing time value corresponding to the interrupt request reaches a preset timing time value, the calculation module 402 calculates the reporting frequency value of the interrupt request to determine whether the number of times of reporting the interrupt request is excessive; or when the acquisition module 401 detects that the number of times of reporting the interrupt request exceeds a preset count threshold, the calculation module 402 calculates the value of the reporting frequency of the interrupt request to determine whether the number of times of reporting the interrupt request is excessive.
The preset time value and the preset count threshold value described herein may be selected according to actual requirements, and the comparison of the embodiment of the present invention is not limited.
The first processing module 403 is configured to mask the interrupt request when the report frequency value calculated by the calculating module 402 is greater than a preset frequency value.
If the reporting frequency value calculated by the calculation module 402 is less than or equal to the preset frequency value, it indicates that the number of times of reporting the interrupt request is too large, and it is necessary to mask the interrupt request by the first processing module 403, that is, to control the interrupt mask flag of the interrupt request to be disable (inhibit), so as to inhibit the interrupt request from being continuously generated, so as to reduce the number of times of reporting the same interrupt request in a large amount in a short time, avoid system breakdown caused by excessively high occupancy rate of the CPU in a very short time, and improve the stability of the system.
Further, as shown in fig. 5, the computing module 402 includes:
the first obtaining unit 4021 is configured to obtain the count value reported by the interrupt request when the count time value reaches a preset count time value.
The first calculating unit 4022 is configured to determine a reporting frequency value of the interrupt request according to a ratio of the count number value acquired by the first acquiring unit 4021 to the timing time value.
That is, when the timing time value corresponding to the interrupt request reaches the preset timing time value, the first obtaining unit 4021 calculates the number of times of reporting the interrupt request in the timing time by using the first calculating unit 4022, where the calculated ratio is the reporting frequency of the interrupt request.
Further, the computing module 402 includes:
the second obtaining unit 4023 is configured to obtain a timing time value when the count number value exceeds a preset count threshold.
The second calculating unit 4024 is configured to determine a reporting frequency value of the interrupt request according to a ratio of the counted number of times to the counted time value acquired by the second acquiring unit 4023.
That is, the acquisition module 401 monitors the number of times of reporting an interrupt request in real time, when the count number exceeds the preset count threshold, the second acquisition unit 4023 acquires the timing time value corresponding to the interrupt request at this time, and the second calculation unit 4024 calculates the reporting frequency of the interrupt request, that is, the ratio of the count number to the timing time value, and determines whether the interrupt request needs to be masked according to the reporting frequency calculated by the second calculation unit 4024, so that the reporting of the interrupt request can be processed in time, and the reporting of a large number of times of the same interrupt request in a short time is avoided.
Further, as shown in fig. 5, the interrupt processing apparatus further includes:
and the second processing module 404 is configured to zero the timing time value and the count number value when the reporting frequency value of the interrupt request is smaller than the preset frequency value.
When the second processing module 404 determines that the reporting frequency value of the interrupt request is smaller than the preset frequency value, it indicates that the reporting frequency of the interrupt request is within an acceptable range, then an interrupt processing function is called according to a normal flow, and at the same time, the timing time corresponding to the interrupt request and the number of times of reporting are zeroed, and the timing and the number of times of reporting corresponding to the interrupt request are restarted to be counted.
Further, as shown in fig. 5, the interrupt processing apparatus further includes:
a timing module 405 for starting a timer;
a judging module 406, configured to judge whether the interrupt request is masked after the timing time of the timer started by the timing module arrives;
a third processing module 407, configured to control the interrupt request to be re-enabled when the interrupt request has been masked.
In the embodiment of the present invention, when the interrupt request is masked, a timer is started by the timing module 405, and after the timing time of the timer is reached, the second judging module 406 judges whether the interrupt request is masked, if the second judging module 406 determines that the interrupt request is masked, the third processing module 407 controls the interrupt request to be re-enabled, that is, controls the interrupt mask flag of the interrupt request to be enabled (available), unmaskes, and simultaneously restarts counting the number of times of reporting the interrupt request.
According to the interrupt processing device provided by the embodiment of the invention, the acquisition module 401 acquires the number of times of reporting a certain interrupt request and the corresponding timing time in real time, the calculation module 402 calculates the reporting frequency of the terminal request under a certain condition, and when the calculated reporting frequency is greater than the preset frequency, the first processing module 403 shields the interrupt request, so that the probability of system breakdown caused by repeated continuous reporting of the interrupt request due to the fact that the CPU does not process the certain interrupt request in time is reduced.
It should be noted that the interrupt processing apparatus is an apparatus corresponding to the interrupt processing method in the first embodiment, and all the embodiments in the first embodiment are applicable to the embodiment of the apparatus, and the same technical effects can be achieved.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and changes can be made without departing from the principles of the present invention, and such modifications and changes are intended to be within the scope of the present invention.

Claims (8)

1. An interrupt processing method, characterized in that the application is in a high load state of a CPU, comprising:
when an interrupt request is detected, starting timing to obtain a timing time value, and counting the reporting times of the interrupt request to obtain a counting number reported by the interrupt request, wherein the triggering mode of the interrupt request is level triggering, and the interrupt request is GPIO external interrupt;
when the timing time value reaches a preset timing time value or the count number value exceeds a preset count threshold value, calculating the reporting frequency value of the interrupt request;
if the calculated reporting frequency value is larger than a preset frequency value, shielding the interrupt request;
wherein, when the interrupt request is masked, the interrupt processing method further includes: starting a timer;
judging whether the interrupt request is shielded or not after the timing time of the timer is reached;
and if the interrupt request is shielded, controlling the interrupt request to be re-enabled.
2. The interrupt processing method according to claim 1, wherein the step of calculating the report frequency value of the interrupt request when the counted time value reaches a preset counted time value comprises: when the timing time value reaches a preset timing time value, acquiring a counting number reported by the interrupt request;
and determining the reporting frequency value of the interrupt request according to the ratio of the counting times value to the timing time value.
3. The interrupt processing method according to claim 1, wherein the step of calculating the report frequency value of the interrupt request when the count number value exceeds a preset count threshold value comprises: when the count number value exceeds a preset count threshold value, acquiring the timing time value;
and determining the reporting frequency value of the interrupt request according to the ratio of the counting times value to the timing time value.
4. The interrupt processing method according to claim 1, wherein after the step of calculating the report frequency value of the interrupt request, the interrupt processing method further comprises: and if the reporting frequency value of the interrupt request is smaller than a preset frequency value, resetting the timing time value and the counting frequency value to zero.
5. An interrupt handling apparatus, comprising:
the acquisition module is used for starting timing when detecting an interrupt request under the high load state of the CPU, obtaining a timing time value, and counting the number of times of reporting the interrupt request to obtain a number of times of reporting the interrupt request, wherein the triggering mode of the interrupt request is level triggering, and the interrupt request is GPIO external interrupt;
the calculating module is used for calculating the reporting frequency value of the interrupt request when the timing time value obtained by the obtaining module reaches a preset timing time value or when the count number value obtained by the obtaining module exceeds a preset count threshold value; the first processing module is used for shielding the interrupt request when the report frequency value calculated by the calculation module is larger than a preset frequency value; the timing module is used for starting a timer;
the judging module is used for judging whether the interrupt request is shielded or not after the timing time of the timer started by the timing module is reached;
and the third processing module is used for controlling the interrupt request to be re-enabled when the judging module determines that the interrupt request is shielded.
6. The interrupt processing apparatus of claim 5, wherein the computing module comprises: the first acquisition unit is used for acquiring the count number reported by the interrupt request when the timing time value reaches a preset timing time value;
and the first calculation unit is used for determining the reporting frequency value of the interrupt request according to the ratio of the counting times value to the timing time value acquired by the first acquisition unit.
7. The interrupt processing apparatus of claim 5, wherein the computing module comprises: the second acquisition unit is used for acquiring the timing time value when the count number value exceeds a preset count threshold value;
and the second calculating unit is used for determining the reporting frequency value of the interrupt request according to the ratio of the counting times value to the timing time value acquired by the second acquiring unit.
8. The interrupt processing apparatus of claim 5, wherein the interrupt processing apparatus further comprises: and the second processing module is used for resetting the timing time value to zero and the counting times value to zero when the reporting frequency value of the interrupt request is smaller than a preset frequency value.
CN201610472215.2A 2016-06-24 2016-06-24 Interrupt processing method and device Active CN107544838B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610472215.2A CN107544838B (en) 2016-06-24 2016-06-24 Interrupt processing method and device
PCT/CN2017/088646 WO2017219918A1 (en) 2016-06-24 2017-06-16 Interrupt processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610472215.2A CN107544838B (en) 2016-06-24 2016-06-24 Interrupt processing method and device

Publications (2)

Publication Number Publication Date
CN107544838A CN107544838A (en) 2018-01-05
CN107544838B true CN107544838B (en) 2024-02-23

Family

ID=60783794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610472215.2A Active CN107544838B (en) 2016-06-24 2016-06-24 Interrupt processing method and device

Country Status (2)

Country Link
CN (1) CN107544838B (en)
WO (1) WO2017219918A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471663B (en) * 2018-10-30 2022-04-05 珠海格力智能装备有限公司 Method and device for executing single chip microcomputer program
CN110442466B (en) * 2019-06-14 2024-05-07 平安科技(深圳)有限公司 Method, device, computer equipment and storage medium for preventing repeated access request
CN112711549B (en) * 2021-01-15 2023-08-01 飞腾信息技术有限公司 Interrupt request signal conversion system and method, and computing device
CN113516791B (en) * 2021-03-31 2023-05-26 深圳市顺易通信息科技有限公司 Method and device for processing non-falling pole event
CN115599722B (en) * 2022-12-15 2023-03-17 深圳市欧瑞博科技股份有限公司 Method and device for realizing accurate transmission of serial port data based on kernel of operating system
CN118474840A (en) * 2023-02-07 2024-08-09 荣耀终端有限公司 Interrupt processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990006453A (en) * 1997-06-03 1999-01-25 제프리 엘. 포맨 User-Programmable Interrupt Mask with Timeout
CN101276295A (en) * 2008-03-19 2008-10-01 北京星网锐捷网络技术有限公司 Method for real-time operating system to avoid interrupt occupying excess CPU resources
CN102135912A (en) * 2011-04-02 2011-07-27 大唐移动通信设备有限公司 Interruption jitter processing method and equipment
CN105468497A (en) * 2015-12-15 2016-04-06 迈普通信技术股份有限公司 Interruption exception monitoring method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006216042A (en) * 2005-02-04 2006-08-17 Sony Computer Entertainment Inc System and method for interruption processing
CN104021043B (en) * 2014-06-23 2017-09-15 中国银行股份有限公司 The interruption re-access method and system of batch application program
CN104486100B (en) * 2014-11-28 2018-07-13 华为技术有限公司 Fault treating apparatus and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990006453A (en) * 1997-06-03 1999-01-25 제프리 엘. 포맨 User-Programmable Interrupt Mask with Timeout
CN101276295A (en) * 2008-03-19 2008-10-01 北京星网锐捷网络技术有限公司 Method for real-time operating system to avoid interrupt occupying excess CPU resources
CN102135912A (en) * 2011-04-02 2011-07-27 大唐移动通信设备有限公司 Interruption jitter processing method and equipment
CN105468497A (en) * 2015-12-15 2016-04-06 迈普通信技术股份有限公司 Interruption exception monitoring method and apparatus

Also Published As

Publication number Publication date
WO2017219918A1 (en) 2017-12-28
CN107544838A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN107544838B (en) Interrupt processing method and device
EP2983086A1 (en) System fault detection and processing method, device, and computer readable storage medium
US9876899B2 (en) Method and device for calling in mute mode
CN110767579B (en) Semiconductor process monitoring method and device
CN108549578B (en) Interrupt aggregation device and method thereof
CN111813638B (en) Alarm information processing method and device and terminal equipment
CN102694678A (en) Method, system, network management server and network element device for alarm message transmission
CN112527544A (en) Server, and method and device for triggering fusing
CN103577306A (en) Active-detecting high-availability software operating method in cloud platform
CN108270201A (en) Overload long delay protection methods, devices and systems
CN107396428A (en) One kind cuts frequency method and device
CN110806924A (en) Network processing method and device based on CPU occupancy rate
CN113479732A (en) Elevator control method, device and storage medium
EP2490100B1 (en) Suspendable interrupts for processor idle management
US9335754B2 (en) Method for testing the real-time capability of an operating system
US20040207966A1 (en) Fan protection method and apparatus
US9411755B2 (en) Software debouncing and noise filtering modules for interrupts
CN113965523A (en) Loop-based PFC deadlock processing method and device
CN111882067A (en) Dynamic fusing algorithm based on data statistics and electronic equipment
CN105208632B (en) A kind of power-economizing method and device of board
CN110832459B (en) Vehicle control device
CN111537783A (en) Method for judging synchronization signal loss
CN106483913A (en) A kind of alarm windstorm processing method and processing device
CN109120365B (en) Window drifting processing method and device
CN111935658B (en) Method and system for solving congestion in message interaction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant