Alarm method and device
AssigneeBoe Technology Group Co., Ltd.
InventorWeiguang Gao
Life of this patent
Estimating the term…
Abstract
The present application provides an alarm method and device. The method includes: in response to a received alarm request, acquiring target data from a target database according to the alarm request, and determining a target processing condition and target alarm conditions according to the alarm request, where the target database includes vehicle data and road section data of at least one transportation subsystem; performing analysis and processing on the target data according to the target processing condition to obtain traffic flow information corresponding to a target road section, where the target road section is at least one road section indicated by the road section data; in response to determining that the traffic flow information meets a set of target alarm conditions, giving an alarm.
Claims18
An alarm method, comprising:
- in response to a received alarm request, acquiring target data from a target database according to the alarm request, and determining a target processing condition and a set of target alarm conditions according to the alarm request, wherein the target database comprises vehicle data and road section data of at least one transportation subsystem;
- performing analysis and processing on the target data according to the target processing condition to obtain traffic flow information corresponding to a target road section, wherein the target road section is at least one road section indicated by the road section data;
- and
- in response to determining that the traffic flow information meets the set of target alarm conditions, giving an alarm;
- wherein the target processing condition further comprises a sort condition, wherein the sort condition indicates a sort field name and a sort rule;
- the traffic flow information comprises a set of vehicle statistical data;
- performing the analysis and processing on the target data according to the target processing condition to obtain the traffic flow information corresponding to the target road section comprises:
- performing, according to the sort rule, sort processing on a field value corresponding to the sort field name in the set of vehicle statistical data corresponding to the target road section to obtain a set of sorted vehicle statistical data, wherein the sort processing comprises an ascending processing or a descending processing.
An electronic device, comprising:
- a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein the program is executed by the processor to implement operations comprising:
- in response to a received alarm request, acquiring target data from a target database according to the alarm request, and determining a target processing condition and a set of target alarm conditions according to the alarm request, wherein the target database comprises vehicle data and road section data of at least one transportation subsystem;
- performing analysis and processing on the target data according to the target processing condition to obtain traffic flow information corresponding to a target road section, wherein the target road section is at least one road section indicated by the road section data;
- and
- in response to determining that the traffic flow information meets the set of target alarm conditions, giving an alarm;
- wherein the target processing condition further comprises a sort condition, wherein the sort condition indicates a sort field name and a sort rule;
- the traffic flow information comprises a set of vehicle statistical data;
- performing the analysis and processing on the target data according to the target processing condition to obtain the traffic flow information corresponding to the target road section comprises:
- performing, according to the sort rule, sort processing on a field value corresponding to the sort field name in the set of vehicle statistical data corresponding to the target road section to obtain a set of sorted vehicle statistical data, wherein the sort processing comprises an ascending processing or a descending processing.
A non-volatile computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and the computer execution instructions are executed by a processor to implement operations comprising:
- in response to a received alarm request, acquiring target data from a target database according to the alarm request, and determining a target processing condition and a set of target alarm conditions according to the alarm request, wherein the target database comprises vehicle data and road section data of at least one transportation subsystem;
- performing analysis and processing on the target data according to the target processing condition to obtain traffic flow information corresponding to a target road section, wherein the target road section is at least one road section indicated by the road section data;
- and
- in response to determining that the traffic flow information meets the set of target alarm conditions, giving an alarm;
- wherein the target processing condition further comprises a sort condition, wherein the sort condition indicates a sort field name and a sort rule;
- the traffic flow information comprises a set of vehicle statistical data;
- performing the analysis and processing on the target data according to the target processing condition to obtain the traffic flow information corresponding to the target road section comprises:
- performing, according to the sort rule, sort processing on a field value corresponding to the sort field name in the set of vehicle statistical data corresponding to the target road section to obtain a set of sorted vehicle statistical data, wherein the sort processing comprises an ascending processing or a descending processing.
Dependencies are inferred from the claim text.