Supercharge Your Innovation With Domain-Expert AI Agents!

Interrupt event processing method and processing equipment

A technology of event processing and processing equipment, which is applied in the field of communication, can solve problems such as affecting product performance, increasing interruption signal lines, increasing costs, etc., and achieves the effect of solving wiring difficulties

Inactive Publication Date: 2013-05-15
GUANGDONG VTRON TECH CO LTD
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although this interrupt message processing mechanism is simple, it also brings some shortcomings. Each slave device needs a separate interrupt signal line to connect with the master device. When the master-slave structure is relatively large, the master device needs The interrupt signal line will increase accordingly, and the cost of the product will be increased when the corresponding chip is selected
In addition, the complex wiring also poses certain challenges to PCB routing. If the wiring cannot be done well and interference prevention, etc., the performance of the product will be affected.

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
  • Interrupt event processing method and processing equipment
  • Interrupt event processing method and processing equipment
  • Interrupt event processing method and processing equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0059] see figure 2 The first embodiment of an interrupt event processing method provided by the embodiment of the present invention specifically includes:

[0060] 201. Arbitrate the slave device and obtain the arbitration result;

[0061] In this embodiment, when an interrupt event occurs on a slave device, the processing device can arbitrate the slave device. In order to determine which slave device gets the final arbitration right, the arbitration process can be processed according to the interrupt priority of the slave device.

[0062] It should be noted that the above interruption events may include alarms, temperature abnormalities, and the like.

[0063] 202. Obtain the address of the slave device with the highest interrupt priority according to the arbitration result;

[0064] In this embodiment, after the processing device obtains the arbitration result, the processing device can decide which slave device gets the final arbitration right according to the arbitrati...

no. 2 example

[0070] see image 3 The second embodiment of the interrupt event processing method provided by the embodiment of the present invention specifically includes:

[0071] 301. Forward the first low-level pulse generated by the master device to the slave device;

[0072] In this embodiment, the master device first turns on the interrupt monitoring switch, and then sends out a first low-level pulse. The first low-level pulse can be used as an instruction to receive interrupt information from the slave device. After the processing device receives the first low-level pulse, , sending it to at least two slaves.

[0073] 302. Receive the pre-allocated ID sent from the device;

[0074] In this embodiment, after the slave device receives the first low-level pulse, it first detects whether it has an interrupt event. If not, it waits to receive the next first low-level pulse. If there is an interrupt event, the pre-allocated ID Sent to the processing unit, the processing device receives ...

no. 3 example

[0089] see Figure 4 The third embodiment of an interrupt event processing method provided by the embodiment of the present invention specifically includes:

[0090] 401. Forward the first low-level pulse generated by the master device to the slave device;

[0091] In this embodiment, step 401 is the same as step 301 in the second embodiment of the method for processing an interrupt event provided in the embodiment of the present invention, and details are not repeated here.

[0092] 402. Receive the pre-allocated ID sent from the device;

[0093] In this embodiment, the processing device may receive the highest byte value of the pre-assigned ID sent from the slave device.

[0094] For example: ID is an 8-digit binary number, slave devices include: slave device 1, slave device 2 and slave device n, the ID of slave device 1 is 10101100, the ID of slave device 2 is 10100100, and the ID of slave device n is 10100011. The processing device can receive the 8th digit 1 of the ID ...

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 interrupt event processing method and processing equipment which can effectively reduce the number of interrupt signal lines between a master device and slave devices. The interrupt event processing method includes that the slave devices are arbitrated, and arbitration results are obtained; an address of the slave device with a highest interrupt priority level is obtained according to the arbitration results; and communication of the master device and the slave device with the highest interrupt priority level is established. When interrupt event occurs to a plurality of slave devices, a processing unit arbitrates the slave devices, the arbitration results are obtained, the address of the slave device with the highest interrupt priority level is obtained according to the arbitration results, and therefore the communication of the master device and the slave device with the highest interrupt priority level is established. Thus, only one interrupt signal line between the master device and the slave devices is needed, and therefore the difficult wiring problem caused by the numerous slave devices is solved.

Description

technical field [0001] The present invention relates to the communication field, in particular to an interruption event processing method and processing equipment. Background technique [0002] With the improvement of industrialization requirements, the development of distributed systems, and the need for communication between control equipment and monitoring equipment, monitoring systems based on multi-machine communication system design are gradually becoming popular. At present, in the embedded multi-machine system composed of single-chip microcomputers, the master-slave structure is generally adopted. [0003] see figure 1 , the sending data terminal TXD of the master device is connected to the receiving data terminals RXD of all slave devices, and the receiving data terminal RXD of the master device receives TXD data from all slave devices. In this system, each slave device is assigned a slave device address. During serial communication between the master device and t...

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
IPC IPC(8): G06F9/48
Inventor 鲜燚曹捷黄晓东吴鹏周泽强
Owner GUANGDONG VTRON TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More