Unlock instant, AI-driven research and patent intelligence for your innovation.

Alarm signal processing method based on information queue

A technology of alarm signals and processing methods, applied in the direction of program control devices, etc., can solve problems affecting real-time performance, resource blocking, and affecting the real-time performance of caller programs, and achieve the effect of maintaining real-time performance and realizing synchronous control

Inactive Publication Date: 2007-02-14
BEIJING LEADSEC TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The execution of the alarm API will take a certain amount of time. If each caller directly executes the API, the return time will be extended, affecting the real-time performance of the caller program; on the other hand, if different callers execute the API at the same time, it may cause the same Ways to block resources inside the system
This method can realize its function in a small system, but cannot meet the requirements of a large real-time system. This is because, on the one hand, each alarm method may take some time and affect the real-time performance of the calling program; On the one hand, different callers directly send alarms, which may cause resource blockage within the system in the same way, making it impossible to perform synchronous control

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
  • Alarm signal processing method based on information queue
  • Alarm signal processing method based on information queue
  • Alarm signal processing method based on information queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be described in further detail below in conjunction with the accompanying drawings and preferred embodiments of the present invention.

[0017] figure 1 It is the alarm process or thread processing flowchart of the present invention. First create an object for alarm queue access and alarm node synchronous control, then judge whether the alarm queue is empty, if it is empty, wait until there is a signal to join the alarm node, otherwise judge whether the alarm node queue is locked, if If it is locked, wait until there is an alarm queue to unlock, otherwise lock the alarm node, take out the alarm node and unlock it, then alarm according to the pre-specified method, and delete the alarm node after alarming. After the alarm event is processed, suspend the alarm process or thread, wait for the signal of a node to be generated, and continue to process the alarm event.

[0018] figure 2 It is a user process or thread usage flowchart of the presen...

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 alarm signal treating process based on the message queue includes at least defining the event as the alarm message node after using course or thread with event needing alarming, adding to the node queue and sending the node adding signal to the course or thread; arranging the alarm message node by the alarm course or thread, maintaining the alarm message node queue and synchronizing the nodes in the control queue; taking out one node circularly from the alarm node queue by the alarm course or thread, alarming timely and deleting the node after alarming. The process maintains the real-time calling, uniting the alarm events, realizes the synchronous control of the alarm mode and has no jamming in computer CPU processing or network system.

Description

technical field [0001] The invention relates to computer network security technology, in particular to a message queue-based alarm signal processing method for realizing security alarm. It belongs to the field of computer application technology. Background technique [0002] In the design and implementation of security software, the alarm function is one of the common functions. When an abnormal event occurs, it is necessary to alarm the user in real time. In the prior art, the software alarm method usually adopts technical solutions such as email alarm, operating system windows receiving alarm message, operating system pop-up window and the like. A common implementation method is to encapsulate each alarm method into an application program interface (API) for calling by required users. The execution of the alarm API will take a certain amount of time. If each caller directly executes the API, the return time will be extended, affecting the real-time performance of the cal...

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 Patents(China)
IPC IPC(8): G06F9/44
Inventor 黄琛顾正华
Owner BEIJING LEADSEC TECH