A Method, Device and Electronic Equipment for Analyzing the Provisioning Efficiency of an Event Detection Device
By obtaining event information and calculating layout efficiency indicators, the problem of lack of rationality in the layout of traffic management equipment has been solved, and the utilization efficiency and reasonable layout of equipment have been improved.
Patent Information
- Application Number
- CN202210698375.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-06-20
AI Technical Summary
In the prior art, the layout of traffic management equipment lacks reasonable measurement indicators, resulting in low equipment utilization and the inability to dynamically associate police incidents such as illegal, accidents and congestion.
By obtaining event information in the target area, identifying event types and detecting equipment types, computing and building performance indicators, and generating performance heatmaps to determine equipment types and quantity.
It realizes the rational identification of the layout of traffic management equipment, and improves the utilization efficiency and reasonable layout of equipment.
Smart Images

Figure CN115099604B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and particularly to a method, device and electronic device for analyzing the deployment efficiency of event detection devices. Background Art
[0002] During the traffic management process, it is often necessary to install devices such as illegal capture, safety warning, signal control, etc. at specific points to achieve functions such as non-site law enforcement, safety warning, and traffic control, thereby reducing the number of accidents and reducing violations.
[0003] However, at present, the selection of construction points and device types mainly relies on manual experience, and the rationality of the selection cannot be dynamically associated with actual illegal, accident, congestion and other police situations. There is a lack of measurement indicators for the rationality of device deployment, resulting in low utilization rate of devices. Summary of the Invention
[0004] The purpose of the embodiments of the present invention is to provide a method, device and electronic device for analyzing the deployment efficiency of event detection devices to realize the identification of the rationality of the deployment of traffic management devices. The specific technical solutions are as follows:
[0005] In the first aspect of the embodiments of the present application, first, a method for analyzing the deployment efficiency of event detection devices is provided, including:
[0006] Obtain event information of events that occur in a target area within a preset time interval, where the event information includes event type, the first number of events, and the event occurrence location;
[0007] For the same event occurrence location, obtain the types of event detection devices whose visible fields include the event occurrence location;
[0008] According to the type of the event detection device, the event type of the event, and the first number of events, calculate a deployment efficiency index for the target area, where the deployment efficiency index is used to represent the rationality of the deployment of event detection devices in the target area.
[0009] Optionally, the calculating the deployment efficiency index for the target area according to the type of the event detection device, the event type of the event, and the first number of events includes:
[0010] For any event, according to the type of the event detection device and the event type of the event, determine whether there is an event detection device whose visible field includes the event occurrence location and whose device type matches the event type of the event, and obtain a judgment result;
[0011] For any event occurrence location, calculate the location effectiveness index of the event occurrence location according to the judgment result; wherein, the location effectiveness index is used to represent the reasonable degree of the deployment of event detection devices at the event occurrence location;
[0012] Calculate the deployment effectiveness index of the target area according to the location effectiveness indexes of each event occurrence location.
[0013] Optionally, the calculating the location effectiveness index of the event occurrence location according to the judgment result includes:
[0014] Obtain the event effectiveness indexes of each event type at the event occurrence location according to the judgment result; wherein, the event effectiveness index is used to represent the reasonable degree of the deployment of event detection devices at the event occurrence location for a certain event type;
[0015] Calculate the location effectiveness index of the event occurrence location according to the event effectiveness indexes of each event type.
[0016] Optionally, the calculating the location effectiveness index of the event occurrence location according to the event effectiveness indexes of each event type includes:
[0017] Determine the preset weight corresponding to any event type;
[0018] Calculate the location effectiveness index of the event occurrence location according to the preset weight, the event effectiveness index of the same event type, and the second event quantity.
[0019] Optionally, the calculating the deployment effectiveness index of the target area according to the location effectiveness indexes of each event occurrence location includes:
[0020] Calculate the deployment effectiveness index of the target area according to the location effectiveness indexes of each event occurrence location and the first event quantity.
[0021] Optionally, the method further includes:
[0022] Generate an effectiveness heat map according to the location effectiveness indexes of each event occurrence location in the target area;
[0023] Determine the type and quantity of traffic management devices to be added at each location in the target area according to the generated effectiveness heat map.
[0024] In the second aspect of the embodiments of the present application, there is provided a device for analyzing the deployment effectiveness of event detection devices, including:
[0025] An information acquisition module, configured to acquire event information of events occurring in a target area within a preset time interval, where the event information includes event type, the first event quantity, and event occurrence location;
[0026] A type acquisition module, configured to acquire the type of an event detection device whose visual field includes the event occurrence location for the same event occurrence location.
[0027] An efficiency calculation module, configured to calculate a provisioning efficiency index of the target area according to the type of the event detection device, the event type of the event, and the first event quantity, where the provisioning efficiency index is used to represent the rationality of the provisioning of the event detection devices in the target area.
[0028] Optionally, the efficiency calculation module includes:
[0029] A device judgment sub-module, configured to, for any event, judge whether there is an event detection device whose visual field includes the event occurrence location of the event and whose device type matches the event type of the event according to the type of the event detection device and the event type of the event, and obtain a judgment result.
[0030] A location efficiency calculation sub-module, configured to calculate a location efficiency index of the event occurrence location according to the judgment result for any event occurrence location, where the location efficiency index is used to represent the rationality of the provisioning of the event detection devices at the event occurrence location.
[0031] A region efficiency calculation sub-module, configured to calculate the provisioning efficiency index of the target area according to the location efficiency indexes of each event occurrence location.
[0032] Optionally, the location efficiency calculation sub-module includes:
[0033] An event efficiency acquisition unit, configured to obtain event efficiency indexes of each event type at the event occurrence location according to the judgment result, where the event efficiency index is used to represent the rationality of the provisioning of the event detection devices at the event occurrence location for a certain event type.
[0034] An event efficiency calculation unit, configured to calculate the location efficiency index of the event occurrence location according to the event efficiency indexes of each event type.
[0035] Optionally, the event efficiency calculation includes:
[0036] A weight determination sub-unit, configured to determine a preset weight corresponding to any event type.
[0037] A weighted summation sub-unit, configured to calculate the location efficiency index of the event occurrence location according to the preset weight, the event efficiency index of the same event type, and the second event quantity.
[0038] Optionally, the area efficiency calculation sub-module is specifically configured to calculate the provisioning efficiency index of the target area according to the location efficiency index of each event occurrence location and the first event quantity;
[0039] Optionally, the device further includes:
[0040] A heat map acquisition module, configured to generate an efficiency heat map according to the location efficiency index of each event occurrence location in the target area;
[0041] A heat map determination module, configured to determine the type and quantity of traffic management devices to be added at each location in the target area according to the generated efficiency heat map.
[0042] In a third aspect of the embodiments of the present application, an event efficiency index calculation method is provided, including:
[0043] Obtain the types of event detection devices whose visible fields include the event occurrence locations;
[0044] Determine whether there is an event detection device whose visible field includes the event occurrence location and whose device type matches the event type of the event, and obtain a judgment result;
[0045] Calculate the event efficiency index according to the judgment result.
[0046] Optionally, the calculating the event efficiency index according to the judgment result includes:
[0047] Obtain the event efficiency indexes of each event type at the event occurrence location according to the judgment result; wherein, the event efficiency index is used to represent the rationality of the provisioning of event detection devices at the event occurrence location for a certain event type;
[0048] Calculate the location efficiency index of the event occurrence location according to the event efficiency indexes of each event type.
[0049] Optionally, the calculating the location efficiency index of the event occurrence location according to the event efficiency indexes of each event type includes:
[0050] Determine the preset weight corresponding to any event type;
[0051] Calculate the location efficiency index of the event occurrence location according to the preset weight, the event efficiency index of the same event type, and the second event quantity.
[0052] Optionally, the calculating the location efficiency index of the event occurrence location according to the event efficiency indexes of each event type includes:
[0053] Determine the preset weight corresponding to any event type;
[0054] Calculate a location effectiveness index for the event occurrence location according to the preset weight, the event effectiveness index of the same event type, and the second number of events.
[0055] In a fourth aspect of the embodiments of the present application, an event effectiveness index calculation device is provided, including:
[0056] A device type acquisition module, configured to acquire the type of an event detection device whose visual field includes the event occurrence location;
[0057] A matching device determination module, configured to determine whether there is an event detection device whose visual field includes the event occurrence location and whose device type matches the event type of the event, and obtain a determination result;
[0058] An event effectiveness index calculation module, configured to calculate an event effectiveness index according to the determination result.
[0059] Optionally, the event effectiveness index calculation module includes:
[0060] An event effectiveness index acquisition sub-module, configured to obtain the event effectiveness indexes of each event type at the event occurrence location according to the determination result; wherein, the event effectiveness index is used to represent the reasonable degree of the deployment of the event detection device at the event occurrence location for a certain event type;
[0061] An event effectiveness index calculation sub-module, configured to calculate a location effectiveness index for the event occurrence location according to the event effectiveness indexes of each event type.
[0062] Optionally, the event effectiveness index calculation sub-module includes:
[0063] A time type weight acquisition unit, configured to determine a preset weight corresponding to any event type;
[0064] A time type weight calculation unit, configured to calculate a location effectiveness index for the event occurrence location according to the preset weight, the event effectiveness index of the same event type, and the second number of events.
[0065] Optionally, the event effectiveness index calculation sub-module includes:
[0066] An arbitrary event weight acquisition unit, configured to determine a preset weight corresponding to any event type;
[0067] An arbitrary event weight calculation unit, configured to calculate a location effectiveness index for the event occurrence location according to the preset weight, the event effectiveness index of the same event type, and the second number of events.
[0068] On the other hand, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete their mutual communication through the communication bus;
[0069] The memory is used to store a computer program;
[0070] When the processor is used to execute the program stored on the memory, it implements the provisioning efficiency analysis method of any of the above event detection devices.
[0071] On the other hand, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete their mutual communication through the communication bus;
[0072] The memory is used to store a computer program;
[0073] When the processor is used to execute the program stored on the memory, it implements the event performance index calculation method of any of the above.
[0074] On the other hand, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, it implements the provisioning efficiency analysis method of any of the above event detection devices.
[0075] On the other hand, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, it implements the event performance index calculation method of any of the above.
[0076] On the other hand, an embodiment of the present application further provides a computer program product containing instructions, which when running on a computer, causes the computer to execute the provisioning efficiency analysis method of any of the above event detection devices.
[0077] On the other hand, an embodiment of the present application further provides a computer program product containing instructions, which when running on a computer, causes the computer to execute the event performance index calculation method of any of the above.
[0078] Advantageous effects of the embodiments of the present invention:
[0079] The embodiments of the present invention provide a method, device, and electronic device for analyzing the deployment efficiency of event detection equipment, which can obtain event information of events occurring in a target area and a preset time interval, wherein the event information includes the event type, the number of first events, and the location where the event occurred; for the same event location, obtain the type of event detection equipment whose visual field includes the location where the event occurred; calculate the deployment efficiency index of the target area based on the type of the event detection equipment and the event type and the first number of events of the event, wherein the deployment efficiency index is used to represent the rationality of the deployment of the event detection equipment in the target area. Through the method of the embodiments of the present application, the deployment efficiency index of the target area can be calculated based on the type of the event detection equipment and the event type and the first number of events of the event, thereby realizing the identification of the rationality of the deployment of the event detection equipment, thereby providing a reference for the rational deployment of traffic management equipment and improving the utilization efficiency of traffic management equipment.
[0080] Of course, it is not necessary to achieve all of the advantages described above simultaneously in order to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0082] Figure 1 A schematic diagram of a flow chart of a method for analyzing the deployment efficiency of an event detection device provided in an embodiment of the present application;
[0083] Figure 2 An example diagram of obtaining abnormal traffic event information provided in an embodiment of the present application;
[0084] Figure 3 A schematic diagram of a process for calculating the deployment efficiency index of a target area provided in an embodiment of the present application;
[0085] Figure 4 Another example diagram of obtaining abnormal traffic event information provided in an embodiment of the present application;
[0086] Figure 5 A schematic diagram of a process for generating an efficiency heat map according to an embodiment of the present application;
[0087] Figure 6 An example diagram of the method for analyzing the effectiveness of traffic management equipment provided in an embodiment of the present application;
[0088] Figure 7A schematic flowchart of a method for calculating event performance indicators provided by an embodiment of the present application;
[0089] Figure 8 A schematic structural diagram of a provisioning performance analysis device for an event detection device provided by an embodiment of the present application;
[0090] Figure 9 A schematic structural diagram of a device for calculating event performance indicators provided by an embodiment of the present application;
[0091] Figure 10 A schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0092] Figure 11 Another schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0093] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art based on the present application belong to the scope of protection of the present invention.
[0094] Specifically, refer to Figure 1 , Figure 1 A schematic flowchart of a method for analyzing the provisioning performance of an event detection device provided by an embodiment of the present application, including:
[0095] Step S11, obtain event information of events that occur in a target area within a preset time interval.
[0096] Among them, the event information includes the event type, the first number of events, and the event occurrence location. The events in the embodiments of the present application can be various types of abnormal events. Specifically, the event type can be a traffic accident, a traffic violation, a traffic jam, etc. The target area can be a preset area. For example, it can be a community, an intersection, etc. The preset time interval can be a set event interval. For example, the whole year of 2021, or the whole month of December 2021, etc. Among them, the first number of events represents the total number of events that occur in the target area. For example, the event occurrence locations in the target area can be counted, and the total number of events occurring at each event occurrence location can be calculated.
[0097] In the actual usage process, to obtain the event information of events that occur in the target area within a preset time interval, the text description of each event can be obtained through a third-party system such as an alarm receiving and handling system. In the actual usage process, these descriptions are relatively colloquial. For example, "Near the right-turn intersection opposite Ronghua Shopping Mall, a white car collided with an electric vehicle, causing serious injuries to the driver of the electric vehicle." Therefore, when obtaining the event information of events that occur in the target area within a preset time interval, the event information can be obtained by semantic parsing of the description text. Specifically, when obtaining the event information of events that occur in the target area within a preset time interval, when the type of the current event is obtained by matching the object information in the text description of each event with multiple preset object types, specifically, the type of the object and the type of the event can also be obtained respectively. Among them, the type of the object can include: road, motor vehicle, pedestrian, motor vehicle-motor vehicle, motor vehicle-pedestrian, etc. The type of the event can include accident, violation, traffic congestion, etc. For example, see Figure 2 Regarding "Near the right-turn intersection opposite Ronghua Shopping Mall, a white car collided with an electric vehicle, causing serious injuries to the driver of the electric vehicle", the matched object type can be motor vehicle-non-motor vehicle, and the matched event type can be a traffic accident.
[0098] The method of the embodiment of the present application is applied to an intelligent terminal and can be implemented through the intelligent terminal. Specifically, the intelligent terminal can be a computer, a mobile phone, a server, etc.
[0099] Step S12: For the same event occurrence location, obtain the type of the event detection device whose visual field includes the event occurrence location.
[0100] The event detection device in the embodiment of the present application can be a device for detecting one or more types of events. The type of the above event detection device can indicate what type of events the event detection device can detect. When obtaining the type of the event detection device whose visual field includes the event occurrence location, the visual field of the event detection device can be obtained, and then it can be judged whether the visual field of the event detection device includes the event occurrence location according to the visual field of the event detection device. Among them, the visual field refers to the effective visual range of the device. Among them, the above event detection device can be a monitoring device. For example, when the event detection device is a camera, the visual field can be the shooting range of the camera, and it can be judged whether the camera's visual field includes the event occurrence location by obtaining the shooting range of the camera.
[0101] Step S13: Calculate the deployment efficiency index of the target area according to the type of the event detection device, the type of the event, and the first event quantity.
[0102] Among them, the provision efficiency index of the target area is used to represent the rationality of the provision of event detection devices in the target area. According to the type of the event detection device, the event type of the event, and the first event quantity, the provision efficiency index of the target area can be calculated. First, it can be determined whether the type of the event detection device meets the detection of the event type of the above event to evaluate the rationality of the provision of the event detection device for the event type at the event occurrence location of the above event. For example, when it is met, the satisfaction degree for the event type at the event occurrence location is set to 1, and if it is not met, the satisfaction degree for the event type at the event occurrence location is set to 0. Then, according to the satisfaction degrees of each event type at the event occurrence location, the rationality of the provision of the event detection device at the event occurrence location is obtained. Further, according to the rationality of the provision of the event detection device at each event occurrence location and the first event quantity, the provision efficiency index of the target area is calculated. For example, specifically, reference can be made to the subsequent embodiments.
[0103] It can be seen that through the method of the embodiment of the present application, the provision efficiency index of the target area can be calculated according to the type of the event detection device, the event type of the event, and the first event quantity, so as to realize the identification of the rationality of the provision of the event detection device, thereby providing a reference for the rational provision of traffic management devices and improving the utilization efficiency of traffic management devices.
[0104] Optionally, referring to Figure 3 , step S13 calculates the provision efficiency index of the target area according to the type of the event detection device, the event type of the event, and the first event quantity, including:
[0105] Step S131, for any event, according to the type of the event detection device and the event type of the event, determine whether there is an event detection device whose visual field includes the event occurrence location of the event and whose device type matches the event type of the event, and obtain a judgment result;
[0106] Step S132, for any event occurrence location, calculate the location efficiency index of the event occurrence location according to the judgment result; wherein, the location efficiency index is used to represent the rationality of the provision of the event detection device at the event occurrence location;
[0107] Step S133, calculate the provision efficiency index of the target area according to the location efficiency indexes of each event occurrence location.
[0108] Among them, according to the type of the event detection device and the event type of the event, it is determined whether there is an event detection device whose visual field includes the event occurrence location of the event and the device type matches the event type of the event. The type of the event detection device and the event type of the event can be recognized. Among them, the type of the detection device can indicate what type of event the event detection device can detect, and then it is determined whether the event detection device can detect the event, and it is determined whether the visual field of the event detection device includes the event occurrence location of the event. For example, when the event detection device is a camera, it is determined whether the shooting range of the camera includes the event occurrence location. Only when the event detection device can detect the event, that is, the device type matches the event type of the event, and the visual field of the event detection device includes the event occurrence location of the event, it is determined that the event detection device meets the detection of the event, that is, the judgment result is satisfied.
[0109] Optionally, according to the judgment result, calculate the location effectiveness index of the event occurrence location, including: obtaining the event effectiveness index of each event type at the event occurrence location according to the judgment result; among them, the event effectiveness index is used to represent the reasonable degree of the deployment of the event detection device for a certain event type at a certain event occurrence location; calculate the location effectiveness index of the event occurrence location according to the event effectiveness indexes of each event type at the event occurrence location.
[0110] Optionally, calculate the location effectiveness index of the event occurrence location according to the event effectiveness indexes of each event type, including: determining the preset weight corresponding to any event type; calculating the location effectiveness index of the event occurrence location according to the preset weight, the event effectiveness index of the same event type, and the second event quantity. Among them, according to the judgment result, the event effectiveness indexes of each event type at the event occurrence location can be obtained by presetting the satisfaction degree corresponding to each type of event in advance, and then calculating the event effectiveness indexes of each event type at the event occurrence location according to the judgment result and the satisfaction degree. Reference can be made to Figure 4 , for any event, it can be determined whether the type of the event detection device meets the detection of the event type of the event. When it is satisfied, the satisfaction degree for the event type is set to 1, and if it is not satisfied, it is 0. According to the judgment result, the event effectiveness indexes of each event type at the event occurrence location can be obtained by setting the weight corresponding to each event type, and then performing weighted summation according to the weight and the satisfaction degree to obtain the event effectiveness index of the event occurrence location. Among them, the second event quantity refers to the total number of events occurring at a certain event occurrence location.
[0111] Specifically, setting the weight corresponding to each event type, and then performing weighted summation according to the weight and the satisfaction degree to obtain the event effectiveness index of the event occurrence location can be illustrated by the following example:
[0112] For example, the weights for accidents, violations, and congestion events are 0.8, 0.9, and 1, respectively. For any type of event, the event detection device is judged to determine whether it meets the detection requirements for that event type. If it meets the requirements, the initial satisfaction level for that event type is set to 1; if it does not meet the requirements, it is set to 0. The satisfaction levels of each event type for the event detection device at an event location i within a certain period of time are:
[0113]
[0114] Among them, Q i is the event effectiveness index of event location i, Q i事故 is the initial satisfaction corresponding to the accident type at the event location i, Q i违法 is the initial satisfaction corresponding to the violation type at the event location i, Q i拥堵 is the initial satisfaction corresponding to the congestion type at the event location i, N i is the total number of traffic abnormal events at the event location i, that is, the total number of three types of abnormalities: accidents, violations, and congestion, that is, the number of second events.
[0115] Optionally, the deployment efficiency index of the target area is calculated based on the location efficiency index of each event location, including: calculating the deployment efficiency index of the target area based on the location efficiency index of each event location and the total number of event locations. The deployment efficiency index of the target area can be obtained by calculating the ratio of the sum of the location efficiency index of each event location to the total number of event locations. For example, the preset formula can be used:
[0116]
[0117] Calculate the deployment efficiency index of the target area, where Q is the deployment efficiency index of the target area; Q i is the event effectiveness index of event location i, and M is the total number of event locations in the target area.
[0118] In actual use, you can also calculate the deployment efficiency index of events of different accident types. Taking events as an example, the formula is:
[0119]
[0120] Calculate the deployment efficiency index of the accident type event in the target area, where Q 事故 is the deployment efficiency index of accident type events, Q i事故 is the initial satisfaction corresponding to the accident type i at the event location, and M is the total number of event locations in the target area.
[0121] Optional, seeFigure 5 , the above method further includes:
[0122] Step S51, generating an effectiveness heat map according to the location effectiveness indicators of the occurrence locations of various events in the target area;
[0123] Step S52, determining the types and quantities of traffic management devices to be added at each location in the target area according to the generated effectiveness heat map.
[0124] In the actual use process, an effectiveness heat map can be generated according to the location effectiveness indicators of the occurrence locations of various events in the target area, and the types and quantities of traffic management devices to be added at each location in the target area can be determined according to the generated effectiveness heat map. Thus, locations with relatively low location effectiveness indicators can be identified based on this heat map, and event detection devices can be deployed, thereby improving the efficiency and rationality of device deployment.
[0125] See Figure 6 , Figure 6 which is an example diagram of the effectiveness analysis method of the traffic management device according to the embodiment of the present application, including:
[0126] 1. Obtain the time range of interest and the area of interest. Among them, the area of interest includes N event occurrence locations, and each event occurrence location includes M events;
[0127] 2. Select an event occurrence location in the area and denote it as N i ;
[0128] 3. Select a traffic anomaly event in N i and denote it as N i M t ;
[0129] 4. Perform semantic parsing on N i M t ;
[0130] 5. Obtain the location information of the traffic anomaly event, the object and type of the traffic anomaly event. Among them, the location information of the traffic anomaly event may include longitude and latitude, upstream and downstream topological relationships, and associated devices within N meters around. The upstream and downstream topological relationships can represent the corresponding relationships between longitude and latitude and positions on the map. For example, for a certain coordinate, which intersection it is at on the map, and the associated devices within N meters around the position corresponding to the longitude and latitude can refer to what associated devices there are within N meters around.
[0131] 6. Find the devices whose visible areas are at the locations of traffic anomaly events based on the road network topology relationship and the device visible areas. Among them, to find the devices whose visible areas are at the locations of traffic anomaly events based on the road network topology relationship and the device visible areas, the coordinate positions corresponding to the locations of the traffic anomaly events can be identified using the traffic anomaly event location information and the road network topology relationship, and then, based on these coordinate positions and the associated devices within N meters in the vicinity, the devices whose visible areas are at the locations of the traffic anomaly events can be found;
[0132] 7. Calculate the satisfaction degree of the device types corresponding to this traffic anomaly event; among them, to calculate the satisfaction degree of the device types corresponding to this traffic anomaly event, it is possible to determine whether the types of the devices meet the detection of the event types of this event. When it is satisfied, the satisfaction degree is 1, and if it is not satisfied, it is 0;
[0133] 8. Determine whether the satisfaction degrees of all traffic anomaly event devices at the event occurrence location i have been calculated. If so, proceed to the next step; if not, return to step 3 and continue to execute;
[0134] 9. Calculate the event effectiveness index Q for a certain period at the event occurrence location i =(0.8 * Q i事故 +0.9 * Q i违法 +1 * Q i拥堵 ) / N i ; among them, Q i is the event effectiveness index at the event occurrence location i, Q i事故 is the initial satisfaction degree corresponding to the accident type at the event occurrence location i, Q i违法 is the initial satisfaction degree corresponding to the violation type at the event occurrence location i, Q i拥堵 is the initial satisfaction degree corresponding to the congestion type at the event occurrence location i, and N i is the total number of traffic anomaly events at the event occurrence location i, that is, the total number of three types of anomalies, namely accidents, violations, and congestions, that is, the second event number;
[0135] 10. Determine whether the satisfaction degrees of all traffic anomaly event devices at all event occurrence locations have been calculated. If so, execute the next step; if not, return to step 2 and continue to execute;
[0136] 11. Calculate the deployment effectiveness index of the area of concern. The average value of the satisfaction degrees of the device types at the locations of various traffic anomaly events in the area of concern within the time range of concern can be calculated as the comprehensive evaluation index for the construction effectiveness of the front-end points in this area; for example, through a preset formula:
[0137]
[0138] Calculate the deployment effectiveness index of the target area, where Q is the deployment effectiveness index of the target area; Q iis the event effectiveness index of event occurrence location i, and M is the total number of event occurrence locations in the target area;
[0139] 12. Visualization of equipment type satisfaction: By drawing a heat map based on the equipment type satisfaction at each point in a certain area over a certain period and presenting it on the map, the locations with lower construction effectiveness can be obtained.
[0140] In the second aspect of the embodiments of the present application, a method for calculating event effectiveness index is provided. Refer to Figure 7 , including:
[0141] Step S71: Obtain the types of event detection devices whose visual fields include the event occurrence locations.
[0142] Step S72: Determine whether there are event detection devices whose visual fields include the event occurrence locations and whose device types match the event types of the events, and obtain the judgment result.
[0143] Step S73: Calculate the event effectiveness index according to the judgment result.
[0144] It can be seen that through the method of the embodiments of the present application, the types of event detection devices whose visual fields include the event occurrence locations can be obtained, it can be determined whether there are event detection devices whose visual fields include the event occurrence locations and whose device types match the event types of the events, the judgment result can be obtained, and the event effectiveness index can be calculated according to the judgment result, thereby providing a reference for the reasonable deployment of traffic management devices and improving the utilization efficiency of traffic management devices.
[0145] Optionally, calculating the event effectiveness index according to the judgment result includes:
[0146] According to the judgment result, obtain the event effectiveness indexes of each event type at the event occurrence location; wherein, the event effectiveness index is used to represent the reasonable degree of the deployment of event detection devices at the event occurrence location for a certain event type;
[0147] Calculate the location effectiveness index of the event occurrence location according to the event effectiveness indexes of each event type.
[0148] It can be seen that through the method of the embodiments of the present application, according to the judgment result, the event effectiveness indexes of each event type at the event occurrence location can be obtained; wherein, the event effectiveness index is used to represent the reasonable degree of the deployment of event detection devices at the event occurrence location for a certain event type; calculate the location effectiveness index of the event occurrence location according to the event effectiveness indexes of each event type. Not only can the location effectiveness index of the event occurrence location be calculated through the event effectiveness indexes of each event type, but also the calculated location effectiveness index can provide a reference for the reasonable deployment of traffic management devices and improve the utilization efficiency of traffic management devices.
[0149] Optionally, according to the event effectiveness indicators of each event type, calculate the location effectiveness indicator of the event occurrence location, including:
[0150] Determine the preset weight corresponding to any event type;
[0151] According to the preset weight, the event effectiveness indicator of the same event type, and the second event quantity, calculate the location effectiveness indicator of the event occurrence location.
[0152] It can be seen that through the method of the embodiments of the present application, the preset weight corresponding to any event type can be determined; according to the preset weight, the event effectiveness indicator of the same event type, and the second event quantity, calculate the location effectiveness indicator of the event occurrence location. Not only can the location effectiveness indicator of the event occurrence location be calculated according to the preset weight, the event effectiveness indicator of the same event type, and the second event quantity, but also the location effectiveness indicator obtained by calculation can provide a reference for the reasonable deployment of traffic management devices, improving the utilization efficiency of traffic management devices.
[0153] In the third aspect of the embodiments of the present application, a device deployment effectiveness analysis device for an event detection device is provided. Refer to Figure 8 , including:
[0154] An information acquisition module 801, configured to acquire event information of events occurring in a target area within a preset time interval, where the event information includes event type, the first event quantity, and the event occurrence location;
[0155] A type acquisition module 802, configured to, for the same event occurrence location, acquire the types of event detection devices whose visible fields include the event occurrence location;
[0156] An effectiveness calculation module 803, configured to calculate a deployment effectiveness indicator of the target area according to the type of the event detection device, the event type of the event, and the first event quantity, where the deployment effectiveness indicator is used to represent the reasonable degree of the deployment of event detection devices in the target area.
[0157] Optionally, the effectiveness calculation module 803 includes:
[0158] A device judgment sub-module, configured to, for any event, judge whether there is an event detection device whose visible field includes the event occurrence location of the event and whose device type matches the event type of the event according to the type of the event detection device and the event type of the event, and obtain a judgment result;
[0159] A location effectiveness calculation sub-module, configured to, for any event occurrence location, calculate the location effectiveness indicator of the event occurrence location according to the judgment result; where the location effectiveness indicator is used to represent the reasonable degree of the deployment of event detection devices at the event occurrence location;
[0160] An area efficiency calculation sub-module, configured to calculate the provisioning efficiency index of a target area according to the location efficiency indexes of the occurrence locations of various events;
[0161] Optionally, the location efficiency calculation sub-module includes:
[0162] An event efficiency acquisition unit, configured to obtain the event efficiency indexes of various event types at the event occurrence location according to the judgment result; wherein, the event efficiency index is used to represent the rationality of the provisioning of event detection devices at the event occurrence location for a certain event type;
[0163] An event efficiency calculation unit, configured to calculate the location efficiency index of the event occurrence location according to the event efficiency indexes of various event types;
[0164] Optionally, the event efficiency calculation unit includes:
[0165] A weight determination sub-unit, configured to determine a preset weight corresponding to any event type;
[0166] A weighted summation sub-unit, configured to calculate the location efficiency index of the event occurrence location according to the preset weight, the event efficiency index of the same event type, and the second event quantity;
[0167] Optionally, the area efficiency calculation sub-module is specifically configured to calculate the provisioning efficiency index of the target area according to the location efficiency indexes of the event occurrence locations of each event and the first event quantity;
[0168] Optionally, the above device further includes:
[0169] A heat map acquisition module, configured to generate an efficiency heat map according to the location efficiency indexes of the event occurrence locations in the target area;
[0170] A heat map determination module, configured to determine the types and quantities of traffic management devices to be added at each location in the target area according to the generated efficiency heat map.
[0171] In the fourth aspect of the embodiments of the present application, an event efficiency index calculation device is provided. Refer to Figure 9 , including:
[0172] A device type acquisition module 901, configured to acquire the types of event detection devices whose visual fields include the event occurrence location;
[0173] A matching device judgment module 902, configured to judge whether there is an event detection device whose visual field includes the event occurrence location and whose device type matches the event type of the event, and obtain a judgment result;
[0174] An event efficiency index calculation module 903, configured to calculate the event efficiency index according to the judgment result.
[0175] Optionally, the event performance index calculation module 903 includes:
[0176] An event performance index acquisition sub-module, configured to obtain the event performance indexes of each event type at the event occurrence location according to the judgment result; wherein, the event performance index is used to represent the reasonable degree of the deployment of event detection devices at the event occurrence location for a certain event type;
[0177] An event performance index calculation sub-module, configured to calculate the location performance index of the event occurrence location according to the event performance indexes of each event type.
[0178] Optionally, the event performance index calculation sub-module includes:
[0179] A time type weight acquisition unit, configured to determine the preset weight corresponding to any event type;
[0180] A time type weight calculation unit, configured to calculate the location performance index of the event occurrence location according to the preset weight, the event performance index of the same event type, and the second event quantity.
[0181] Optionally, the event performance index calculation sub-module includes:
[0182] An arbitrary event weight acquisition unit, configured to determine the preset weight corresponding to any event type;
[0183] An arbitrary event weight calculation unit, configured to calculate the location performance index of the event occurrence location according to the preset weight, the event performance index of the same event type, and the second event quantity.
[0184] It can be seen that through the device of the embodiment of the present application, the deployment performance index of the target area can be calculated according to the type of the event detection device, the event type of the event, and the first event quantity, so as to realize the identification of the reasonable degree of the deployment of the event detection device, thereby providing a reference for the reasonable deployment of traffic management devices and improving the utilization efficiency of traffic management devices.
[0185] The embodiment of the present invention also provides an electronic device, as Figure 10 shown, including a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004. Among them, the processor 1001, the communication interface 1002, and the memory 1003 complete mutual communication through the communication bus 1004,
[0186] The memory 1003 is used to store a computer program;
[0187] When the processor 1001 is used to execute the program stored in the memory 1003, the following steps are implemented:
[0188] Obtain event information of events that occur in a target area within a preset time interval, where the event information includes event types, the number of first events, and event occurrence locations;
[0189] For the same event occurrence location, obtain the types of event detection devices whose visual fields include the event occurrence location;
[0190] Calculate a provisioning efficiency index for the target area according to the types of the event detection devices, the event types of the events, and the number of first events, where the provisioning efficiency index is used to represent the rationality of the provisioning of event detection devices in the target area.
[0191] An embodiment of the present invention also provides an electronic device, as Figure 11 shown, including a processor 1101, a communication interface 1102, a memory 1103, and a communication bus 1104, where the processor 1101, the communication interface 1102, and the memory 1103 communicate with each other through the communication bus 1104.
[0192] The memory 1103 is used to store computer programs;
[0193] When the processor 1101 is used to execute the programs stored on the memory 1103, the following steps are implemented:
[0194] Obtain the types of event detection devices whose visual fields include the event occurrence location;
[0195] Determine whether there are event detection devices whose visual fields include the event occurrence location and whose device types match the event types of the events, and obtain a determination result;
[0196] Calculate an event efficiency index according to the determination result.
[0197] The communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity, only a thick line is used in the figure to represent it, but it does not mean that there is only one bus or one type of bus.
[0198] The communication interface is used for communication between the above electronic device and other devices.
[0199] The memory may include a Random Access Memory (RAM), or may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.
[0200] The aforementioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0201] In another embodiment provided by the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned traffic management device performance analysis methods are implemented.
[0202] In another embodiment provided by the present invention, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute any of the traffic management device performance analysis methods in the above embodiments.
[0203] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or data center that includes one or more integrated available media. The available medium may be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
[0204] It should be noted that in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0205] Each embodiment in this specification is described in a related manner. The same or similar parts among the embodiments can be referred to each other, and the differences between each embodiment and other embodiments are emphasized. In particular, for the embodiments of the device, electronic device, storage medium, and computer program product, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments.
[0206] The above are only the preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention are all included in the protection scope of the present invention.
Claims
1. A method for analyzing the provisioning efficiency of an event detection device, characterized in that Including: Obtain the event information of events that occur in the target area within a preset time interval, where the event information includes event type, the first event quantity, and the event occurrence location; For the same event occurrence location, obtain the types of event detection devices whose visual fields include this event occurrence location; For any event, based on the type of the event detection device and the event type of the event, determine whether there is an event detection device whose visual field includes the event occurrence location of the event and whose device type matches the event type of the event, and obtain a judgment result; For any event occurrence location, based on the judgment result, obtain the event effectiveness indicators for each event type at the event occurrence location; where the event effectiveness indicator is used to represent the rationality of the deployment of event detection devices at the event occurrence location for a certain event type; Based on the event effectiveness indicators for each event type, calculate the location effectiveness indicator of the event occurrence location; where the location effectiveness indicator is used to represent the rationality of the deployment of event detection devices at the event occurrence location; Based on the location effectiveness indicators of each event occurrence location and the total number of event occurrence locations, calculate the deployment effectiveness indicator of the target area; where the deployment effectiveness indicator is used to represent the rationality of the deployment of event detection devices in the target area.
2. The method according to claim 1, wherein The calculating the location effectiveness indicator of the event occurrence location based on the event effectiveness indicators for each event type includes: Determine the preset weight corresponding to any event type; Based on the preset weight, the event effectiveness indicator of the same event type, and the second event quantity, calculate the location effectiveness indicator of the event occurrence location.
3. The method according to any one of claims 1 to 2, characterized in that, The method further includes: Generate an effectiveness heat map based on the location effectiveness indicators of each event occurrence location in the target area; Determine the types and quantities of traffic management devices to be added at each location in the target area according to the generated effectiveness heat map.
4. An apparatus for analyzing the provisioning efficiency of an event detection device, characterized in that, Including: An information acquisition module, configured to obtain the event information of events that occur in the target area within a preset time interval, where the event information includes event type, the first event quantity, and the event occurrence location; A type acquisition module, configured to, for the same event occurrence location, obtain the types of event detection devices whose visual fields include this event occurrence location; An effectiveness calculation module, configured to calculate the deployment effectiveness indicator of the target area based on the type of the event detection device, the event type of the event, and the first event quantity, where the deployment effectiveness indicator is used to represent the rationality of the deployment of event detection devices in the target area; The effectiveness calculation module includes: A device judgment sub-module, configured to, for any event, based on the type of the event detection device and the event type of the event, determine whether there is an event detection device whose visual field includes the event occurrence location of the event and whose device type matches the event type of the event, and obtain a judgment result; A location effectiveness calculation sub-module, configured to calculate a location effectiveness index of the event occurrence location according to the judgment result for any event occurrence location; wherein, the location effectiveness index is used to represent the rationality of the deployment of event detection devices at the event occurrence location; The location effectiveness calculation sub-module includes: An event effectiveness acquisition unit, configured to obtain event effectiveness indexes of various event types at the event occurrence location according to the judgment result; wherein, the event effectiveness index is used to represent the rationality of the deployment of event detection devices at the event occurrence location for a certain event type; An event effectiveness calculation unit, configured to calculate the location effectiveness index of the event occurrence location according to the event effectiveness indexes of various event types; A regional effectiveness calculation sub-module, configured to calculate the deployment effectiveness index of the target area according to the location effectiveness indexes of each event occurrence location and the total number of event occurrence locations; 5. The device according to claim 4, wherein The event effectiveness calculation unit includes: A weight determination sub-unit, configured to determine a preset weight corresponding to any event type; A weighted summation sub-unit, configured to calculate the location effectiveness index of the event occurrence location according to the preset weight, the event effectiveness index of the same event type, and the second event quantity; The device further includes: A heat map acquisition module, configured to generate an effectiveness heat map according to the location effectiveness indexes of each event occurrence location in the target area; A heat map determination module, configured to determine the types and quantities of traffic management devices to be added at each location in the target area according to the generated effectiveness heat map; 6. A method for calculating an event effectiveness index, characterized in that, including: Obtain the types of event detection devices whose visible fields include the event occurrence location; Judge whether there is an event detection device whose visible field includes the event occurrence location and whose device type matches the event type of the event, and obtain a judgment result; According to the judgment result, obtain event effectiveness indexes of various event types at the event occurrence location; wherein, the event effectiveness index is used to represent the rationality of the deployment of event detection devices at the event occurrence location for a certain event type.
7. The method according to claim 6, characterized in that, After obtaining the event effectiveness indexes of various event types at the event occurrence location according to the judgment result, it further includes: Calculate the location effectiveness index of the event occurrence location according to the event effectiveness indexes of various event types.
8. The method according to claim 6, characterized in that, The calculating the location effectiveness index of the event occurrence location according to the event effectiveness indexes of various event types includes: Determine a preset weight corresponding to any event type; Calculate the location effectiveness index of the event occurrence location according to the preset weight, the event effectiveness index of the same event type, and the second event quantity.
9. An event effectiveness index calculation device, characterized in that, including: A device type acquisition module, configured to acquire the types of event detection devices whose visible fields include the event occurrence location; A matching device judgment module, configured to judge whether there is an event detection device whose visible field includes the event occurrence location and whose device type matches the event type of the event, and obtain a judgment result; An event effectiveness index calculation module, configured to calculate an event effectiveness index according to the judgment result; The event effectiveness index calculation module includes: An event performance index acquisition sub-module, configured to obtain event performance indexes of each event type at the event occurrence location according to the judgment result; wherein, the event performance index is used to represent the rationality of the deployment of event detection devices at the event occurrence location for a certain event type.
10. The device according to claim 9, characterized in that, The event performance index calculation module further includes: An event performance index calculation sub-module, configured to calculate a location performance index of the event occurrence location according to the event performance indexes of each event type. The event performance index calculation sub-module includes: An arbitrary event weight acquisition unit, configured to determine a preset weight corresponding to an arbitrary event type. An arbitrary event weight calculation unit, configured to calculate the location performance index of the event occurrence location according to the preset weight, the event performance index of the same event type, and the second event quantity.
11. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus. The memory is used to store computer programs. When the processor is configured to execute the programs stored on the memory, it implements the method steps described in any one of claims 1-3 or 6-8.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, it implements the method steps described in any one of claims 1-3 or 6-8.
Citation Information
Patent Citations
Monitoring point location construction evaluation method and device, equipment and storage medium
CN112560549A
Spatiotemporal event prediction device, spatiotemporal event prediction method and spatiotemporal event prediction system
JP2021064021A