The invention relates to the technical field of
Internet of Things communication, and provides an alarm event
processing method and
system for an intelligent street lamp. The method comprises the following steps: acquiring a data frame from a LoRa node; identifying the type of a data frame according to the frame header feature, judging the data frame as a local alarm instruction frame when the data frame starts from a first preset
function code, and judging the data frame as an uplink sensor data frame when the data frame starts from a second preset frame header and ends at a third preset frame
tail; analyzing the local alarm instruction frame to obtain a
function code, an equipment identifier and a state
flag field, and after the
function code, the equipment identifier and the state
flag field are matched with a pre-stored alarm rule, directly controlling the GPIO pin to drive or turn off the alarm equipment by the main control MCU; stripping a frame header and a frame
tail of an uplink sensor data frame to obtain an effective load, performing
byte order conversion on a multi-
byte numerical value, and sending the multi-
byte numerical value to a PC management platform; according to the invention,
millisecond-level local instant alarm is realized, the network dependence is reduced, and the platform
processing pressure is relieved.