Alarm method and device, electronic equipment, vehicle, storage medium and program product
By identifying static and dynamic risk information of vehicles and using a deep learning model to distinguish the types and levels of risk events, the system achieves classified alerts for different risk events, solving the problem of low intelligence in existing technologies and improving vehicle safety and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGZHOU AUTOMOBILE GROUP CO LTD
- Filing Date
- 2025-12-16
- Publication Date
- 2026-05-08
AI Technical Summary
The existing sentinel mode alarm method uses the same alarm method for all risk events, which has a low level of intelligence, making it easy for car owners to ignore and making it difficult to ensure vehicle safety.
By identifying static and dynamic risk information of vehicles, different types and levels of risk events are distinguished, and corresponding alarm methods are used for classification and alarm. This includes the analysis of parameters such as the type of approacher, distance, dwell time, vibration intensity, vibration duration, number of abnormal unlocking times, and vehicle attitude deviation. Deep learning models are used to identify the type and level of risk events.
It improves the intelligence of vehicle alarms, enabling the classification and severity-based alarms for different types and levels of risk events, thereby enhancing vehicle safety and user experience.
Smart Images

Figure CN121999565A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle safety technology, and more specifically, to an alarm method, device, electronic device, vehicle, storage medium, and program product. Background Technology
[0002] With the increasing computing power of vehicle domain control devices, the vision-based Sentinel Mode function is becoming more and more widely used in automobiles. Besides recording and documenting video of vehicle damage, the Sentinel function also needs to alert malicious intruders to protect the vehicle from further damage. Current Sentinel Mode alerting methods use the same alert approach for all risk events, resulting in low intelligence and alerts that are easily ignored by car owners, making it difficult to ensure vehicle safety. Summary of the Invention
[0003] In view of the above problems, this application proposes an alarm method, device, electronic device, vehicle, storage medium and program product, which can classify and alarm different types and levels of risk events according to their severity, improve the intelligence of vehicle alarms, improve vehicle safety and user experience, and solve the above technical problems.
[0004] In a first aspect, embodiments of this application provide an alarm method, which includes: after a vehicle is locked and all occupants have left the vehicle, identifying the event type of a risk event based on static risk information and dynamic risk information of the vehicle; wherein, the static risk information includes the type of approacher to the vehicle, the distance between the approacher and the vehicle, and the dwell time of the approacher; the dynamic risk information includes the vibration intensity of the vehicle, the duration of the vibration of the vehicle, the number of times the vehicle lock is continuously and abnormally opened, the anti-theft alarm signal of the vehicle, and the attitude deviation of the vehicle; determining the event level of the risk event based on the event type of the risk event; and alarming the risk event using a corresponding alarm method based on the event type and the event level of the risk event.
[0005] Secondly, embodiments of this application provide an alarm device, comprising: a type identification module, used to identify the event type of a risk event based on static risk information and dynamic risk information of the vehicle after the vehicle is locked and all occupants have left the vehicle; wherein the static risk information includes the type of approacher to the vehicle, the distance between the approacher and the vehicle, and the dwell time of the approacher; the dynamic risk information includes the vibration intensity of the vehicle, the duration of the vibration of the vehicle, the number of times the vehicle lock is continuously and abnormally opened, the anti-theft alarm signal of the vehicle, and the attitude deviation of the vehicle; a level determination module, used to determine the event level of the risk event based on the event type of the risk event; and a risk alarm module, used to alarm the risk event using a corresponding alarm method based on the event type and the event level of the risk event.
[0006] Thirdly, embodiments of this application provide an electronic device, which includes a memory and a processor. The memory stores program instructions that, when invoked by the processor, cause the processor to execute the method provided in the embodiments of this application.
[0007] Fourthly, embodiments of this application provide a vehicle that includes the electronic equipment provided in embodiments of this application.
[0008] Fifthly, embodiments of this application provide a computer-readable storage medium storing program code, which, when invoked by a processor, causes the processor to execute the method provided in embodiments of this application.
[0009] Sixthly, embodiments of this application provide a computer program product, which, when invoked by a processor, causes the processor to execute the method provided in embodiments of this application.
[0010] The alarm method provided in this application has the following technical effects: it can identify the event type of a risk event based on the vehicle's static and dynamic risk information, determine the event level of the risk event based on the event type, and use an alarm method corresponding to the event type and event level to alarm the risk event. It can classify and alarm different types and levels of risk events according to their severity, thereby improving the intelligence level of vehicle alarms and enhancing vehicle safety and user experience. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments and drawings obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0012] Figure 1 A schematic diagram of an alarm scenario provided in an embodiment of this application is shown; Figure 2 A flowchart illustrating an embodiment of the alarm method provided in this application is shown; Figure 3 A flowchart illustrating step S110 provided in an embodiment of this application is shown; Figure 4 A flowchart illustrating step S112 provided in an embodiment of this application is shown; Figure 5 A flowchart illustrating step S113 provided in an embodiment of this application is shown; Figure 6 A flowchart illustrating step S113 provided in another embodiment of this application is shown; Figure 7 A flowchart illustrating step S114 provided in an embodiment of this application is shown; Figure 8 A schematic diagram of an alarm item setting interface provided in an embodiment of this application is shown; Figure 9 A structural block diagram of an alarm device provided in an embodiment of this application is shown; Figure 10 A structural block diagram of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0013] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0014] The alarm method of this application can be applied to alarm devices or vehicles, and the alarm devices can be deployed in vehicles. The vehicle is equipped with at least an image sensor (e.g., a camera) and a vibration sensor. The vehicle is equipped with a sensing device for sensing environmental information (e.g., obstacle information) around the vehicle. The sensing device may include, but is not limited to, at least one or more combinations of image sensors (e.g., cameras), vibration sensors, lidar, millimeter-wave radar, and ultrasonic radar. The vehicle may include, but is not limited to, gasoline vehicles or new energy vehicles, and new energy vehicles may include electric vehicles, which may include, but are not limited to, pure electric vehicles, hybrid electric vehicles, or fuel cell vehicles.
[0015] See Figure 1 , Figure 1 This diagram illustrates an alarm scenario provided in an embodiment of this application. Vehicle 1 communicates with a user's mobile terminal 3 via cloud 2. Vehicle 1 includes a surround-view camera 11, a vibration sensor / gyroscope 12, a domain controller 13, a telematics box (TBOX) 14, external speakers 15, a zone controller 16, an LED lighting control module 17, hazard lights 18, and a horn 19.
[0016] The surround-view camera 11 and the vibration sensor / gyroscope 12 send the data they collect to the domain controller 13. The domain controller 13 acquires the vehicle status data and, based on the vehicle status data and the data collected by the surround-view camera 11 and the vibration sensor / gyroscope 12, classifies and issues alarms for risk events according to the alarm method of this application.
[0017] Domain controller 13 is communicatively and / or electrically connected to TBOX 14 and exterior speaker 15, respectively, thereby enabling control of TBOX 14 and exterior speaker 15.
[0018] Domain controller 13 is communicatively and / or electrically connected to area controller 16, enabling data exchange between them. Area controller 16 is communicatively and / or electrically connected to LED lighting control module 17, hazard light device 18, and speaker 19, respectively, thereby enabling control of these components.
[0019] Domain controller 13 may include an event type identification module 131, an event level classification module 132, an alarm policy configuration module 133, an audio source management component 134, an energy management component 135, a lighting control service component 136, a horn service component 137, and a vehicle-to-cloud service component 138. These components are used to implement different sub-functions of domain controller 13. For example, the event type identification module 131 is used to identify the event type of a risk event based on the vehicle's static risk information and dynamic risk information after the vehicle is locked and all occupants have left the vehicle. The static risk information includes the type of approacher to the vehicle, the distance between the approacher and the vehicle, and the duration of the approacher's stay. The dynamic risk information includes the vehicle's vibration intensity, the duration of the vehicle's vibration, the number of times the vehicle lock has been abnormally opened consecutively, the vehicle's anti-theft alarm signal, and the vehicle's attitude deviation. The event level classification module 132 is used to determine the event level of a risk event based on its event type. The alarm strategy configuration module 133, the audio source management component 134, the energy management component 135, the lighting control service component 136, the horn service component 137, and the vehicle cloud service component 138 work together to alarm the risk event according to the event type and the event level of the risk event, using the corresponding alarm method.
[0020] See Figure 2 , Figure 2 A flowchart illustrating an alarm method provided in an embodiment of this application is shown. The alarm method may include steps S110 to S130.
[0021] Step S110: After the vehicle is locked and all occupants have left the vehicle, identify the event type of the risk event based on the vehicle's static risk information and dynamic risk information; wherein, the static risk information includes the type of approacher to the vehicle, the distance between the approacher and the vehicle, and the duration of the approacher's stay; the dynamic risk information includes the vibration intensity of the vehicle, the duration of the vehicle's vibration, the number of times the vehicle lock was abnormally opened consecutively, the vehicle's anti-theft alarm signal, and the vehicle's attitude deviation.
[0022] After the vehicle is locked and all occupants have left the vehicle, the vehicle enters sentry mode. In this application, sentry mode is used to continuously monitor the vehicle and its surrounding environment by activating the vehicle camera, vibration sensor, and vehicle status monitoring module (e.g., vehicle controller, body control module, door control module) when the owner is not present. When a risk event is detected, the risk event is classified and alarmed, triggering an alarm and recording video.
[0023] In some embodiments, after the vehicle is locked and all occupants have exited, the vehicle can activate its image sensors to acquire image sensor data and analyze the type of approacher (i.e., intruder), the distance between the approacher and the vehicle, and the duration of the approacher's stay based on the image sensor data. The image sensor data may include image data, including but not limited to two-dimensional images, three-dimensional images, and surround-view images. Target detection is performed on the images to identify the type of approacher, which may include, but is not limited to, humans, motor vehicles, and animals. The distance between the approacher and the vehicle can be detected based on at least two consecutive image frames. The duration of the approacher's stay is obtained by starting a timer when the image contains the approacher and ending the timer when the image does not contain the approacher. In other embodiments, the image sensor data may be preprocessed before analyzing the type of approacher, the distance between the approacher and the vehicle, and the duration of the approacher's stay, thereby improving the efficiency, accuracy, and success rate of identifying risk event types. Preprocessing may include, but is not limited to, denoising (e.g., removing noise from the image) and image optimization (e.g., improving image resolution and clarity). It should be understood that images can be used to further analyze the status of approaching individuals (unconfirmed, present, absent, moving, stationary, stationary duration) and their position relative to the vehicle (front, rear, left, right, tires, side window). This allows for more precise alerts based on the approaching individual's position relative to the vehicle during subsequent warnings, thereby increasing the deterrent effect on individuals who threaten vehicle safety (such as those who maliciously damage vehicles) and ultimately improving vehicle safety.
[0024] In some embodiments, after the vehicle is locked and all occupants have exited, the vehicle's vibration sensors can be activated to acquire vibration data. Based on this data, the vibration intensity and duration of the vibration can be analyzed. The vibration sensor data may include acceleration values of the vibration sensors along the X, Y, and Z axes of the vehicle. The vibration intensity can be measured based on these acceleration values. The duration of the vibration can be obtained by starting a timer when the vehicle begins to vibrate and ending the timer when vibration ends. In other embodiments, the vibration sensor data may be preprocessed before analyzing the vibration intensity and duration, thereby improving the efficiency of identifying risk event types. This preprocessing may include normalization, for example, normalizing the vibration sensor data.
[0025] After the vehicle is locked and all occupants have exited, the vehicle's self-status monitoring module can be activated to obtain its own status data. Based on this data, the system analyzes whether the anti-theft alarm has been triggered, the number of times the locks have been abnormally opened consecutively, and the vehicle's attitude deviation. This self-status data can include the anti-theft alarm signal, door status signals, and vehicle attitude (heading angle). The anti-theft alarm signal determines whether the alarm has been triggered; for example, a flag of 0 indicates no alarm activation, while a flag of 1 indicates activation. The door status signals determine the number of times the locks have been abnormally opened consecutively; for example, a flag of 0 indicates the door is not opened, while a flag of 1 indicates it is opened. Abnormal lock opening refers to the lock being opened without proper key authentication. The system starts counting when an abnormal lock is opened and ends after a preset time to obtain the number of consecutive abnormal lock openings. It should be understood that the locks can include the locks of each door. The amount of vehicle attitude deviation can be determined by calculating the difference in vehicle attitude at different times.
[0026] In this application, the event types of risk events include human-triggered types, vehicle-triggered types, environmental-triggered types, non-alarm types, and unidentified types. The human-triggered types include multiple human-triggered subtypes, each corresponding to a different event level. The vehicle-triggered types include multiple vehicle-triggered subtypes, each corresponding to a different event level.
[0027] As one implementation method, image sensor data, vibration sensor data, and vehicle state data acquired in the vehicle's sentry mode can be input into a pre-trained event type recognition model to obtain the event type of the risk event output by the event type recognition model. The event type recognition model can be pre-trained based on a deep learning model (such as the Transformer model).
[0028] See Figure 3 , Figure 3 A flowchart illustrating step S110 according to an embodiment of this application is shown. Step S110 may include steps S111 to S114.
[0029] Step S111: Based on the type of the approacher, identify the event type of the risk event as either a motor vehicle-triggered type, a human-triggered type, or an environmentally-triggered type.
[0030] This application can perform target detection based on image data, identifying the type of approaching party as a motor vehicle, human, animal, or unidentified object. Based on the type of approaching party, the event type of the risk event can be determined as a motor vehicle-triggered, human-triggered, or environmentally triggered event. For example, if the approaching party is a motor vehicle, the event type of the risk event is determined to be motor vehicle-triggered; if the approaching party is a human, the event type of the risk event is determined to be human-triggered; and if the approaching party is an animal or an unidentified object, the event type of the risk event is determined to be environmentally triggered.
[0031] Step S112: If the event type of the risk event is a motor vehicle triggered type, then based on the distance between the motor vehicle and the vehicle, the vibration intensity of the vehicle, and the dwell time of the motor vehicle, further identify that the event type of the risk event is one of the multiple motor vehicle triggered subtypes and the non-alarm type.
[0032] After identifying that the event type of the risk event is a motor vehicle-triggered type, this application further identifies that the event type of the risk event is one of the various motor vehicle-triggered subtypes and the non-alarm type, thus making a more detailed classification of the risk event types triggered by motor vehicles, improving the accuracy and richness of the classification and warning, and enhancing user experience and vehicle safety.
[0033] As one implementation method, see Figure 4 , Figure 4 The diagram shows a flowchart of step S112 provided in an embodiment of this application. Step S112 may include steps S1121 to S1128.
[0034] Step S1121: If the event type of the risk event is a motor vehicle trigger type, then detect whether the distance between the motor vehicle and the vehicle is greater than the distance threshold.
[0035] Among them, the distance threshold is the safe distance of the vehicle. The distance threshold can be preset. Optionally, the distance thresholds for the four directions of the vehicle (front, back, left, and right) can be the same or different.
[0036] If the distance between the motor vehicle and the vehicle is greater than a distance threshold, the event type of the risk event is determined to be a non-alarm type (step S1122). Since the distance between the motor vehicle and the vehicle is greater than the distance threshold, it can be determined that the motor vehicle does not threaten the safety of the vehicle, and in this case, no alarm is needed; therefore, the event type of the risk event can be determined to be a non-alarm type.
[0037] If the distance between the motor vehicle and the vehicle is not greater than a distance threshold, then it is detected whether the vibration intensity of the vehicle is greater than or equal to a first vibration intensity threshold (step S1123). If the distance between the motor vehicle and the vehicle is not greater than the distance threshold, it can be determined that the motor vehicle may threaten the safety of the vehicle. Further analysis can be performed to determine whether the motor vehicle has collided with or scratched the vehicle or has not made contact with the vehicle, thereby classifying and issuing alarms for different situations and improving the accuracy of the sentry mode alarm.
[0038] Step S1122: Determine the event type of the risk event as a non-alarm type.
[0039] Step S1123: Detect whether the vibration intensity of the vehicle is greater than or equal to the first vibration intensity threshold.
[0040] The first vibration intensity threshold can be preset based on the vibration intensity at the time of a vehicle collision. Detecting whether the vehicle's vibration intensity is greater than or equal to the first vibration intensity threshold allows for analysis of whether a collision has occurred, enabling a more detailed classification of the vehicle's trigger type and improving alarm accuracy.
[0041] If the vibration intensity of the vehicle is greater than or equal to the first vibration intensity threshold, the event type of the risk event is determined to be the first motor vehicle triggering type (e.g., vehicle collision type) (step S1124). Since the vibration intensity of the vehicle is greater than or equal to the first vibration intensity threshold, it can be determined that a collision has occurred between the vehicle and the vehicle itself. In this case, the event type of the risk event can be determined to be the first motor vehicle triggering type, so that subsequent alarms can be issued based on the first motor vehicle triggering type.
[0042] If the vibration intensity of the vehicle is less than a first vibration intensity threshold, then it is detected whether the vibration intensity of the vehicle is greater than or equal to a second vibration intensity threshold, where the second vibration intensity threshold is less than the first vibration intensity threshold (step S1125). Since the vehicle's vibration intensity is less than the first vibration intensity threshold, it can be determined that no collision occurred between the vehicle and the other vehicle. Further analysis based on the second vibration intensity threshold can be performed to determine whether the vehicle scraped the other vehicle, allowing for a more detailed classification of the vehicle's triggering type and improving alarm accuracy.
[0043] Step S1124: Determine that the event type of the risk event is the first motor vehicle trigger type.
[0044] Step S1125: Detect whether the vibration intensity of the vehicle is greater than or equal to a second vibration intensity threshold, wherein the second vibration intensity threshold is less than the first vibration intensity threshold.
[0045] The second vibration intensity threshold can be preset according to the vibration intensity when the vehicle is involved in a collision.
[0046] If the vibration intensity of the vehicle is greater than or equal to the second vibration intensity threshold, the event type of the risk event is determined to be the second motor vehicle trigger type (e.g., vehicle collision type) (step S1126). Since the vibration intensity of the vehicle is greater than or equal to the second vibration intensity threshold, it can be determined that a collision has occurred between the vehicle and the other vehicle. In this case, the event type of the risk event can be determined to be the second motor vehicle trigger type, so that subsequent alarms can be issued based on the second motor vehicle trigger type.
[0047] If the vibration intensity of the vehicle is less than the second vibration intensity threshold, then it is detected whether the dwell time of the motor vehicle is greater than or equal to the dwell time threshold of the motor vehicle (step S1127). If the vibration intensity of the vehicle is less than the second vibration intensity threshold, it can be determined that the motor vehicle and the vehicle have not collided. Further analysis based on the dwell time of the motor vehicle can be performed to determine whether the motor vehicle is lingering around the vehicle, allowing for a more detailed classification of the motor vehicle triggering type and improving the accuracy of the alarm.
[0048] Step S1126: Determine that the event type of the risk event is the second motor vehicle trigger type.
[0049] Step S1127: Detect whether the dwell time of the motor vehicle is greater than or equal to the dwell time threshold of the motor vehicle.
[0050] The duration threshold can be set in advance based on prior data, such as 10 seconds.
[0051] If the vehicle's dwell time is greater than or equal to a vehicle dwell time threshold, the event type of the risk event is determined to be a third vehicle trigger type (e.g., vehicle loitering). The event levels corresponding to the first, second, and third vehicle trigger types are different (step S1128). If the vehicle's dwell time is greater than or equal to the vehicle dwell time threshold, it can be determined that the vehicle is loitering around the vehicle. In this case, the event type of the risk event can be determined to be a third vehicle trigger type, so that subsequent alarms can be issued based on the third vehicle trigger type.
[0052] If the vehicle's dwell time is less than the vehicle dwell time threshold, the event type of the risk event is determined to be a non-alarm type (step S1122). Since the vehicle's dwell time is less than the vehicle dwell time threshold, it can be determined that the vehicle is not lingering around the vehicle, and therefore the vehicle poses no safety threat to the vehicle. Thus, the event type of the risk event can be determined to be a non-alarm type.
[0053] Step S1128: Determine that the event type of the risk event is the third motor vehicle trigger type. The event levels corresponding to the first motor vehicle trigger type, the second motor vehicle trigger type, and the third motor vehicle trigger type are different.
[0054] Step S113: If the event type of the risk event is a human-triggered type, then based on the anti-theft alarm signal, the vibration intensity of the vehicle, the duration of the vehicle vibration, the number of times the vehicle lock was continuously and abnormally opened, and the pedestrian's stay time, further identify that the event type of the risk event is one of the multiple human-triggered subtypes and the non-alarm type.
[0055] After identifying that the event type of a risk event is a human-triggered type, this application further identifies that the event type of the risk event is one of the various human-triggered subtypes and the non-alarm type, thus making a more detailed classification of human-triggered risk event types, improving the accuracy and richness of classification and warning, and enhancing user experience and vehicle safety.
[0056] In some embodiments, see Figure 5 , Figure 5 A flowchart illustrating step S113 according to an embodiment of this application is shown. Step S113 may include steps S1131A to S1139A.
[0057] Step S1131A: If the event type of the risk event is the human-triggered type, then detect whether the burglar alarm is triggered based on the burglar alarm signal.
[0058] If the anti-theft alarm is triggered, the event type of the risk event is determined to be the first-person trigger type (e.g., pedestrian intrusion into the vehicle) (step S1132A). Triggering the anti-theft alarm confirms that a pedestrian attempted to enter the vehicle, posing a threat to the vehicle's internal security. At this point, the event type of the risk event can be determined to be the first-person trigger type, allowing for subsequent alarms based on this trigger type to remind the user to pay attention to vehicle security (e.g., the security of valuables inside the vehicle).
[0059] If the anti-theft alarm is not triggered, the vibration intensity of the vehicle is checked to see if it is greater than or equal to the third vibration intensity threshold (step S1133A). If the anti-theft alarm is not triggered, it can be determined that the pedestrian did not attempt to enter the vehicle and did not pose a threat to the vehicle's internal security. In this case, the vibration intensity of the vehicle can be further checked to see if it is greater than or equal to the third vibration intensity threshold. This allows for analysis of whether the target person maliciously damaged the vehicle, accidentally touched the vehicle, or was simply loitering around the vehicle, in order to classify the type of human-induced triggering in a more detailed manner.
[0060] Step S1132A: Determine that the event type of the risk event is the first human-triggered type.
[0061] Step S1133A: Detect whether the vibration intensity of the vehicle is greater than or equal to the third vibration intensity threshold.
[0062] The third vibration intensity threshold can be preset based on the vehicle vibration intensity when a pedestrian damages the vehicle, and the third vibration intensity threshold is less than the second vibration intensity threshold.
[0063] If the vibration intensity of the vehicle is greater than or equal to the third vibration intensity threshold, then it is detected whether the duration of the vehicle's vibration is greater than the duration threshold (step S1134A). If the vibration intensity of the vehicle is greater than or equal to the third vibration intensity threshold, it can be determined that the pedestrian has damaged the vehicle. In order to further analyze whether the pedestrian maliciously damaged the vehicle or accidentally touched the vehicle, it is possible to further detect whether the duration of the vehicle's vibration is greater than the duration threshold, and to classify the human-triggered type in a more detailed manner.
[0064] If the vibration intensity of the vehicle is less than the third vibration intensity threshold, then it is detected whether the number of times the vehicle lock has been abnormally opened consecutively exceeds the threshold (step S1135A). Since the vibration intensity of the vehicle is less than the third vibration intensity threshold, it can be determined that the pedestrian has not caused damage to the vehicle. To further analyze the pedestrian's behavior, it is possible to further detect whether the number of times the vehicle lock has been abnormally opened consecutively exceeds the threshold, thus classifying the human-triggered type in a more detailed manner.
[0065] Step S1134A: Detect whether the duration of vibration of the vehicle is greater than the duration threshold.
[0066] The duration threshold can be set in advance based on prior data, such as 10 seconds.
[0067] If the duration of the vehicle's vibration exceeds a duration threshold, the event type of the risk event is determined to be a second human-triggered type (e.g., a pedestrian maliciously damaging the vehicle) (step S1136A). Since the duration of the vehicle's vibration exceeds the duration threshold, it can be determined that a pedestrian maliciously damaged the vehicle. Therefore, the event type of the risk event can be determined to be a second human-triggered type, so that subsequent alarms can be issued based on this second human-triggered type.
[0068] If the duration of the vehicle's vibration is not greater than a duration threshold, the event type of the risk event is determined to be a third-party triggered type (e.g., a pedestrian accidentally touching the vehicle, causing damage) (step S1137A). Since the duration of the vehicle's vibration is not greater than the duration threshold, it can be determined that the pedestrian did not maliciously damage the vehicle but caused damage due to accidental contact. In this case, the event type of the risk event can be determined to be a third-party triggered type, so that subsequent alarms can be issued based on the third-party triggered type.
[0069] Step S1135A: Detect whether the number of times the car lock has been abnormally opened consecutively exceeds the threshold.
[0070] The number of times threshold can be set in advance based on prior data.
[0071] If the number of times the vehicle lock is abnormally opened consecutively exceeds a threshold, the event type of the risk event is determined to be a fourth-person trigger type (e.g., a pedestrian loitering around the vehicle). The event levels corresponding to the first, second, third, and fourth-person trigger types are different (step S1138A). Since the number of times the vehicle lock is abnormally opened consecutively exceeds the threshold, it can be determined that a pedestrian is loitering around the vehicle. Therefore, the event type of the risk event can be determined to be a fourth-person trigger type, so that subsequent alarms can be issued based on this fourth-person trigger type.
[0072] If the number of times the vehicle lock is abnormally opened consecutively does not exceed the threshold, the event type of the risk event is determined to be the non-alarm type (step S1139A). Since the number of times the vehicle lock is abnormally opened consecutively does not exceed the threshold, it can be determined that the pedestrian is either passing by the vehicle normally or briefly stopping around the vehicle due to mistaking it for another vehicle. In other words, the pedestrian poses no safety threat to the vehicle, and the event type of the risk event can be determined to be the non-alarm type, and no alarm is triggered.
[0073] Step S1136A: Determine that the event type of the risk event is the second human-triggered type.
[0074] Step S1137A: Determine that the event type of the risk event is a third-party triggered type.
[0075] Step S1138A: Determine that the event type of the risk event is a fourth-person trigger type.
[0076] Step S1139A: Determine the event type of the risk event as a non-alarm type.
[0077] In other embodiments, see Figure 6 , Figure 6 A flowchart illustrating step S113 according to another embodiment of this application is shown. Step S113 may include steps S1131B to S1139B.
[0078] Step S1131B: If the event type of the risk event is the human-triggered type, then detect whether the burglar alarm is triggered based on the burglar alarm signal.
[0079] If the anti-theft alarm is triggered, the event type of the risk event is determined to be the first-person trigger type (step S1132B). Triggering the anti-theft alarm indicates that a pedestrian has attempted to enter the vehicle, posing a threat to the vehicle's internal security. At this point, the event type of the risk event can be determined to be the first-person trigger type, so that subsequent alarms based on the first-person trigger type can be issued to remind the user to pay attention to vehicle security (such as the security of valuables inside the vehicle).
[0080] If the anti-theft alarm is not triggered, the vibration intensity of the vehicle is checked to see if it is greater than or equal to the third vibration intensity threshold (step S1133B). If the anti-theft alarm is not triggered, it can be determined that the pedestrian did not attempt to enter the vehicle and did not pose a threat to the vehicle's internal security. In this case, the vibration intensity of the vehicle can be further checked to see if it is greater than or equal to the third vibration intensity threshold. This allows for analysis of whether the target person maliciously damaged the vehicle, accidentally touched the vehicle, or was simply loitering around the vehicle, in order to classify the type of human-induced triggering in a more detailed manner.
[0081] Step S1132B: Determine that the event type of the risk event is the first human-triggered type.
[0082] Step S1133B: Detect whether the vibration intensity of the vehicle is greater than or equal to the third vibration intensity threshold.
[0083] If the vibration intensity of the vehicle is greater than or equal to the third vibration intensity threshold, then it is detected whether the duration of the vehicle's vibration is greater than the duration threshold (step S1134B). If the vibration intensity of the vehicle is greater than or equal to the third vibration intensity threshold, it can be determined that the pedestrian has damaged the vehicle. In order to further analyze whether the pedestrian maliciously damaged the vehicle or accidentally touched the vehicle, it is possible to further detect whether the duration of the vehicle's vibration is greater than the duration threshold, and to classify the human-triggered type in a more detailed manner.
[0084] If the vibration intensity of the vehicle is less than the third vibration intensity threshold, then it is detected whether the pedestrian's dwell time is greater than or equal to the pedestrian dwell time threshold (step S1135B). Since the vehicle's vibration intensity is less than the third vibration intensity threshold, it can be determined that the pedestrian has not caused damage to the vehicle. To further analyze the pedestrian's behavior, it is possible to further detect whether the number of times the vehicle lock is abnormally opened consecutively exceeds a threshold, thus classifying the human-triggered type in a more detailed manner.
[0085] Step S1134B: Detect whether the duration of the vehicle's vibration is greater than a duration threshold.
[0086] If the duration of the vehicle's vibration exceeds a duration threshold, the event type of the risk event is determined to be the second human-triggered type (step S1136B). Since the duration of the vehicle's vibration exceeds the duration threshold, it can be determined that a pedestrian maliciously damaged the vehicle. In this case, the event type of the risk event can be determined to be the second human-triggered type, so that subsequent alarms can be issued based on the second human-triggered type.
[0087] If the duration of the vehicle's vibration is not greater than a duration threshold, the event type of the risk event is determined to be a third-party triggered type (step S1137B). Since the duration of the vehicle's vibration is not greater than the duration threshold, it can be determined that the pedestrian did not maliciously damage the vehicle but caused damage due to accidental contact. In this case, the event type of the risk event can be determined to be a third-party triggered type, so that subsequent alarms can be issued based on the third-party triggered type.
[0088] Step S1135B: Detect whether the pedestrian dwell time is greater than or equal to the pedestrian dwell time threshold.
[0089] The pedestrian dwell time threshold can be preset based on the duration of a pedestrian's malicious loitering around a vehicle; for example, the pedestrian dwell time threshold could be 10 seconds.
[0090] If the pedestrian's dwell time is greater than or equal to the pedestrian dwell time threshold, the event type of the risk event is determined to be the fourth person trigger type. The event levels corresponding to the first, second, third, and fourth person trigger types are different (step S1138B). If the pedestrian's dwell time is greater than or equal to the pedestrian dwell time threshold, it can be determined that the pedestrian is lingering around the vehicle. At this time, the event type of the risk event can be determined to be the fourth person trigger type, so that subsequent alarms can be issued based on the fourth person trigger type.
[0091] If the pedestrian's dwell time is less than the pedestrian dwell time threshold, the event type of the risk event is determined to be the non-alarm type (step S1139B). If the pedestrian's dwell time is less than the pedestrian dwell time threshold, it can be determined that the pedestrian is passing by the vehicle normally or stopping briefly around the vehicle due to mistaking it for another vehicle. That is, the pedestrian does not pose a safety threat to the vehicle. In this case, the event type of the risk event can be determined to be the non-alarm type, and no alarm is triggered.
[0092] Step S1136B: Determine that the event type of the risk event is the second human-triggered type.
[0093] Step S1137B: Determine that the event type of the risk event is a third-party triggered type.
[0094] Step S1138B: Determine that the event type of the risk event is a fourth-person trigger type.
[0095] Step S1139B: Determine the event type of the risk event as a non-alarm type.
[0096] It should be understood that the difference between steps S1131A-S1139A and S1131B-S1139B lies only in the difference between steps S1135A and S1135B. In some embodiments, steps S1131A-S1139A and S1131B-S1139B can be combined into one embodiment. That is, steps S1135A and S1135B can be implemented in parallel. As long as either condition S1135A or step S1135B is met, the event type of the risk event can be determined to be the fourth-person triggered type. Otherwise, the event type of the risk event is determined to be the non-alarm type.
[0097] Step S114: If the event type of the risk event is an environment-triggered type, then based on the vehicle's attitude offset and the vehicle's vibration intensity, further identify whether the event type of the risk event is an environment-triggered type, an unidentified type, or a non-alarm type.
[0098] See Figure 7 , Figure 7 A flowchart illustrating step S114 according to an embodiment of this application is shown. Step S114 may include steps S1141 to S1145.
[0099] Step S1141: If the event type of the risk event is environment-triggered, then detect whether the attitude offset of the vehicle is greater than or equal to the attitude offset threshold.
[0100] As one implementation method, the difference between the vehicle's posture when it is locked and the current vehicle posture can be calculated as the vehicle's posture offset.
[0101] If the vehicle's attitude deviation is greater than or equal to the attitude deviation threshold, the event type of the risk event is determined to be an environment-triggered type (e.g., an environment-triggered illegal movement of the vehicle itself) (step S1142). A vehicle attitude deviation greater than or equal to the attitude deviation threshold indicates an abnormal vehicle attitude, confirming that the vehicle has moved. This movement may be due to reasons within the vehicle itself or due to a serious accident. In this case, the event type of the risk event can be determined to be an environment-triggered type, allowing for subsequent alarms based on the environment-triggered type. Serious accidents may include, but are not limited to: strong impacts from other objects (e.g., animals) or adverse environmental influences (e.g., a typhoon blowing the vehicle).
[0102] If the vehicle's attitude offset is less than the attitude offset threshold, then it is detected whether the vehicle's vibration intensity is greater than or equal to the fourth vibration intensity threshold (step S1143). If the vehicle's attitude offset is less than the attitude offset threshold, it indicates that the vehicle's attitude is normal, and it can be determined that the vehicle has not moved or the movement is small. Further detection of whether the vehicle's vibration intensity is greater than or equal to the fourth vibration intensity threshold can be performed to analyze the specific type of risk event and improve the accuracy of classification alarms.
[0103] Step S1142: Determine whether the event type of the risk event is an environment-triggered type.
[0104] Step S1143: Detect whether the vibration intensity of the vehicle is greater than or equal to the fourth vibration intensity threshold.
[0105] If the vibration intensity of the vehicle is greater than or equal to the fourth vibration intensity threshold, the event type of the risk event is determined to be an unidentified type (step S1144). If the vehicle's vibration intensity is greater than or equal to the fourth vibration intensity threshold, it can be determined that the vehicle may have encountered a generally serious accident. In this case, the event type of the risk event can be determined to be an unidentified type, so that subsequent alarms can be issued based on the unidentified type. Generally serious accidents may include, but are not limited to: impacts from other objects (e.g., animals) or relatively severe environmental impacts (e.g., hail falling on the vehicle causing vibration).
[0106] If the vibration intensity of the vehicle is less than the intensity threshold, the event type of the risk event is determined to be the no-alarm type (step S1145). If the vibration intensity of the vehicle is less than the intensity threshold, it can be determined that the vehicle may have encountered a minor accident. In this case, the event type of the risk event can be determined to be the no-alarm type, and no alarm is issued. Minor accidents may include, but are not limited to: minor impacts from other objects (e.g., animals) or general environmental influences (e.g., rain or gusts of wind causing slight shaking of the vehicle).
[0107] Step S1144: Determine that the event type of the risk event is an unidentified type.
[0108] Step S1145: Determine the event type of the risk event as a non-alarm type.
[0109] Step S120: Determine the event level of the risk event based on its event type.
[0110] A mapping relationship between event types and event levels can be pre-defined. Then, based on this mapping relationship, the event level corresponding to the event type can be obtained to determine the event level of the risk event. As an example, the mapping relationship between event types and event levels can be shown in Table 1.
[0111] Table 1 If the event type of the risk event is any one of the following: a first human-triggered type (e.g., a thief breaking into a vehicle to steal), a second human-triggered type (e.g., a pedestrian maliciously damaging a vehicle), a first motor vehicle-triggered type (e.g., a motor vehicle colliding with another vehicle), a second motor vehicle-triggered type (e.g., a motor vehicle scraping another vehicle), or an environmentally triggered type (e.g., the vehicle itself illegally moving), then the event level of the risk event is determined to be Level 1. Level 1 risk events have all caused substantial damage to the vehicle or resulted in abnormal conditions, constituting events that seriously endanger vehicle safety.
[0112] If the event type of the risk event is any one of the following: third-person triggering type (e.g., a pedestrian accidentally touches a vehicle without causing actual damage), fourth-person triggering type (e.g., a pedestrian loitering around a vehicle potentially intending to damage it), third-vehicle triggering type (e.g., a motor vehicle loitering around a vehicle potentially intending to damage it), or unidentified type, then the event level of the risk event is determined to be Level 2, which is lower than Level 1. Level 2 risk events have not currently caused actual damage to the vehicle but may indicate future intentions to damage it, and are considered events that generally seriously endanger vehicle safety.
[0113] If the risk event is classified as a non-alarm type, then the event level is determined to be Level 3, which is lower than Level 2. Level 3 risk events do not cause substantial damage to the vehicle and are considered minor events that pose no threat to vehicle safety.
[0114] Step S130: Based on the event type and event level of the risk event, issue an alarm for the risk event using the corresponding alarm method.
[0115] As one implementation method, alarm item setting information corresponding to the event level of the risk event can be obtained. The alarm item setting information is used to indicate the vehicle-mounted alarm device corresponding to the event level and the setting information of the vehicle-mounted alarm device. Based on the event type of the risk event and the alarm item setting information, the alarm prompt information and alarm method corresponding to the risk event are determined. Based on the alarm prompt information and alarm method corresponding to the risk event, an alarm is issued for the risk event.
[0116] There is a mapping relationship between the event level of the risk event and the alarm item setting information in this application. Based on this mapping relationship, the alarm item setting information corresponding to the event level of the risk event can be obtained. In some embodiments, the alarm item setting information can be set by the user. For example, this application can display an alarm item setting interface to the user, which provides a user interface (UI) setting entry. Based on the UI setting entry, the vehicle alarm device settings and the setting information of the vehicle alarm device for different event levels can be set. As an example, see [link to example]. Figure 8 , Figure 8 A schematic diagram of an alarm item setting interface according to an embodiment of this application is shown. The alarm item setting interface can provide the following 1-5 types of vehicle alarm devices and the setting information for each type of vehicle alarm device.
[0117] 1. Exterior speakers: For exterior speakers, you can set the event level for activating the speakers and the corresponding voice prompt style. For example, you can set the speakers to activate at event level one and / or two, with the speakers playing a serious, direct voice prompt.
[0118] 2. LED (Light Emitting Diode) Screen: For LED screens (i.e., LED lighting control modules), the event levels for activating the LED screen and the corresponding video and text playback effects can be set. For example, the LED screen can be set to activate at event level two, and the LED screen can repeatedly play a pre-set animation and / or repeatedly and intermittently display text prompts. The LED screen can be located outside the vehicle.
[0119] 3. Hazard flashing lights: For hazard flashing lights, the event level for activating the hazard flashing lights and the corresponding duration of each continuous activation can be set. For example, the hazard flashing lights can be set to activate when the event level is Level 1 and / or Level 2, and the hazard flashing lights can continuously emit hazard flashes for the duration of each continuous activation.
[0120] 4. Horn: For the horn, you can set the event level for activating the horn and the duration of a single continuous horn blast corresponding to that event level. For example, you can set the horn to activate when the event level is Level 1 and / or Level 2, and the horn can continuously sound for the duration of a single continuous horn blast.
[0121] 5. Voice calling device: For the voice calling device, the event level for activating the voice calling device and the corresponding vehicle owner contact number can be set. For example, it can be set to activate the voice calling device when the event level is Level 1 and / or Level 2, and the voice calling device will call the vehicle owner's contact number. This application adds a remote call alarm function to the vehicle owner based on the voice calling device. When the event level of the risk event is the event level used to activate the voice calling device, the alarm message can be pushed to the cloud, and the background will automatically dial the vehicle owner's contact number and automatically play a voice prompt message after the call is successful. This enhances the message push method of the application (App), which can improve the vehicle owner's ability to deal with vehicle accidents as quickly as possible and avoid further damage to the vehicle.
[0122] Users can configure the vehicle alarm devices corresponding to the event levels and their settings information through the alarm settings interface, such as... Figure 8 As shown, the settings for the above-mentioned 1-5 types of vehicle alarm devices can be selected and configured by the user, thereby improving the intelligence and personalization of vehicle alarms and enhancing the user experience. For example, for car owners whose parking areas are relatively safe and who do not wish to disturb others with alarms, they can turn off alarms such as the horn and LED screen through the alarm settings interface, meeting the user's personalized needs.
[0123] This application can query a database and generate alarm notification information based on the event type and alarm item settings of a risk event. The database includes at least one of a voice notification library, a text notification library, and a video notification library. Correspondingly, the alarm notification information includes at least one of voice notifications, text notifications, and video notifications. As an example, see Table 2, which shows that different alarm notification information can be generated for different event types.
[0124] Table 2 Risk event event types Alarm notification information First motor vehicle trigger type If a vehicle collision occurs, please preserve the accident scene and contact the vehicle owner immediately! Second motor vehicle trigger type If your vehicle has been involved in a minor collision, please stay and contact the owner to discuss a solution! The first person is the trigger type. The entire unauthorized intrusion was recorded. Please stop the intrusion immediately! The second person is the trigger type. Video recording in progress. Please stop the sabotage immediately! Environment trigger type The vehicle location system is activated. Please stop any unauthorized movement immediately! This application can determine the vehicle-mounted alarm device, the settings of the vehicle-mounted alarm device, and the alarm prompt information used for this alarm based on the event type and alarm item settings of the risk event, thereby determining the specific alarm method.
[0125] As a specific implementation, if the event type of the risk event is a first motor vehicle trigger type and the event level of the risk event is a first level, then the alarm item setting information corresponding to the first level is obtained. This alarm item setting information is used to indicate the vehicle exterior speaker, the voice prompt style of the vehicle exterior speaker, the voice calling device, and the vehicle owner's contact number corresponding to the voice calling device. Based on the first motor vehicle trigger type and the alarm item setting information corresponding to the first level, the first voice prompt information corresponding to the vehicle exterior speaker and the second voice prompt information corresponding to the voice calling device are determined. The first voice prompt information is used... In response to a vehicle collision, a second voice prompt is used to notify the vehicle owner to handle the collision incident. Based on the first vehicle trigger type and the alarm item settings corresponding to the first level, the alarm method is determined to include turning on the exterior speakers to play the first voice prompt in the aforementioned voice reminder style, and turning on the voice calling device to call the vehicle owner's contact number and playing the second voice prompt after a successful call. Turning on the exterior speakers to play the first voice prompt in the aforementioned voice reminder style is used to indicate a vehicle collision. Turning on the voice calling device to call the vehicle owner's contact number and playing the second voice prompt after a successful call is used to notify the vehicle owner to handle the collision incident.
[0126] As one implementation method, when the risk event type is any one of the following: first human-triggered type, second human-triggered type, first vehicle-triggered type, second vehicle-triggered type, and environmental trigger type, and the risk event level is Level 1, the following actions are taken: The camera is activated to record video; the exterior speakers are activated to play alarm prompts corresponding to the event type (see Table 2); the horn is activated; the hazard lights are activated; and the voice call device is activated to dial the vehicle owner's contact number to notify the vehicle owner to handle the risk event of the aforementioned event type, thus issuing an alarm for the risk event. For the highest severity Level 1 risk event, a directional exterior warning is added, which can better attract the attention of the other vehicle owner, improve the deterrent effect on malicious individuals, prevent further damage to the vehicle, and improve vehicle safety. In addition, a remote call alarm method is added, which can notify the vehicle owner to handle the accident immediately, increase the opportunity for the vehicle owner to communicate and handle the situation at the accident scene, prevent further damage to the vehicle, reduce the cumbersome process of the vehicle owner searching for the other party afterward, and provide convenience for the vehicle owner.
[0127] It should be noted that if the vehicle has an external display screen (such as an external LED screen), then when the event type of the risk event is any one of the following: first human-triggered type, second human-triggered type, first motor vehicle-triggered type, second motor vehicle-triggered type, and environmental trigger type, and the event level of the risk event is Level 1, in addition to activating the above-mentioned vehicle-mounted alarm equipment to issue an alarm, the external display screen can also be activated to play alarm prompts (see Table 2). This further increases the targeted external reminders, which can better attract the attention of the other vehicle owner, improve the deterrent effect on malicious individuals, prevent malicious individuals from further damaging the vehicle, and improve vehicle safety.
[0128] As another implementation method, when the risk event type is any one of the following: third-party triggered, fourth-party triggered, third-vehicle triggered, or unidentified, and the risk event level is Level 2, the system activates the camera to record video, activates the hazard lights, and activates the voice call device to dial the vehicle owner's contact number to notify the owner of the risk event corresponding to the aforementioned event type, thus issuing an alarm for the risk event. For the highest severity Level 2 risk events, a remote call alarm method is added, enabling the vehicle owner to be notified immediately of a potential vehicle damage risk event, allowing the owner to promptly go to the vicinity of the vehicle to eliminate the safety hazard, prevent vehicle damage, and improve vehicle safety.
[0129] As another implementation method, when the event type is a non-alarm type and the event level is the third level, no alarm is issued for the current risk event, and the event type of the next risk event is identified based on the vehicle's static risk information and dynamic risk information (step S110).
[0130] Steps S110 to S130 have the following technical effects: Based on the vehicle's static and dynamic risk information, the event type of the risk event can be identified, the event level of the risk event can be determined according to the event type, and an alarm method corresponding to the event type and event level can be used to alarm the risk event. This enables different types and levels of risk events to be classified and alarmed according to their severity, improving the intelligence level of vehicle alarms and enhancing vehicle safety and user experience.
[0131] See Figure 9 , Figure 9A structural block diagram of an alarm device according to an embodiment of this application is shown. The alarm device 100 may include a type identification module 110, a level determination module 120, and a risk alarm module 130. The type identification module 110 is used to identify the event type of a risk event based on the vehicle's static risk information and dynamic risk information after the vehicle is locked and all occupants have left the vehicle. The static risk information includes the type of person approaching the vehicle, the distance between the person approaching the vehicle, and the time the person stays there. The dynamic risk information includes the vehicle's vibration intensity, the duration of the vehicle's vibration, the number of times the vehicle lock has been abnormally opened consecutively, the vehicle's anti-theft alarm signal, and the vehicle's attitude deviation. The level determination module 120 is used to determine the event level of the risk event based on its event type. The risk alarm module 130 is used to issue an alarm for the risk event using a corresponding alarm method based on its event type and event level. For details regarding the specific procedures performed by the type identification module 110, the level determination module 120, and the risk alarm module 130, please refer to the embodiments of the alarm method in this application, which will not be repeated here.
[0132] Those skilled in the art will clearly understand that the apparatus provided in the embodiments of this application can implement the methods provided in the embodiments of this application. The specific working process of the described apparatus and modules can be found in the corresponding processes of the methods in the embodiments of this application, and will not be repeated here.
[0133] In the embodiments provided in this application, the coupling, direct coupling, or communication connection between the modules shown or discussed may be indirect coupling or communication coupling through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms. The embodiments of this application do not impose specific limitations on this.
[0134] Furthermore, the functional modules in the embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0135] See Figure 10 , Figure 10 A structural block diagram of an electronic device provided in an embodiment of this application is shown. The electronic device 200 may include a memory 210 and a processor 220. The memory 210 stores program instructions configured to cause the processor 220 to execute the method provided in an embodiment of this application when invoked by the processor 220.
[0136] Processor 220 may include one or more processing cores. Processor 220 uses various interfaces and lines to connect to various parts of the entire electronic device 200, and is used to run or execute instructions, programs, code sets or instruction sets stored in memory 210, as well as to call and run or execute data stored in memory 210, and perform various functions of electronic device 200 and process data.
[0137] The processor 220 can be implemented using at least one of the following hardware forms: Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 220 can integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and program instructions; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem can also be implemented separately as a communication chip, without being integrated into the processor 220.
[0138] The memory 210 may include random access memory (RAM) or read-only memory (ROM). The memory 210 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 210 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the various method embodiments described above, etc. The data storage area may store data created by the electronic device 200 during use.
[0139] This application also provides a vehicle that includes electronic equipment 200.
[0140] This application also provides a computer-readable storage medium. The computer-readable storage medium stores program code that, when invoked by a processor, causes the processor to execute the method provided in this application.
[0141] Computer-readable storage media can be electronic storage devices such as flash memory, electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), hard disk, or ROM.
[0142] In some embodiments, the computer-readable storage medium includes a non-volatile computer-readable storage medium (Non-TCRSM). The computer-readable storage medium has storage space for program code that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code may be compressed in an appropriate form.
[0143] This application also provides a computer program product, which includes a computer program that, when invoked by a processor, causes the processor to execute the method provided in the embodiments of this application.
[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. An alarm method, characterized in that, include: After the vehicle is locked and all occupants have left the vehicle, the event type of the risk event is identified based on the vehicle's static risk information and dynamic risk information. The static risk information includes the type of person approaching the vehicle, the distance between the person approaching the vehicle and the vehicle, and the duration of the person's stay. The dynamic risk information includes the vehicle's vibration intensity, the duration of the vehicle's vibration, the number of times the vehicle lock was abnormally opened consecutively, the vehicle's anti-theft alarm signal, and the vehicle's attitude deviation. The event level of the risk event is determined based on its event type. Based on the event type and event level of the risk event, an alarm is issued for the risk event using the corresponding alarm method.
2. The method according to claim 1, characterized in that, The types of risk events include human-triggered types, vehicle-triggered types, environmental-triggered types, no-alarm types, and unidentified types; The human-triggered type includes multiple human-triggered subtypes, and different human-triggered subtypes correspond to different event levels; The motor vehicle triggering type includes multiple motor vehicle triggering subtypes, and different motor vehicle triggering subtypes correspond to different event levels.
3. The method according to claim 2, characterized in that, The process of identifying risk event types based on vehicle static and dynamic risk information includes: Based on the type of the approaching party, the event type of the risk event is identified as either a motor vehicle-triggered type, a human-triggered type, or an environmentally-triggered type. If the event type of the risk event is a motor vehicle triggered type, then based on the distance between the motor vehicle and the vehicle, the vibration intensity of the vehicle, and the dwell time of the motor vehicle, the event type of the risk event is further identified as one of the multiple motor vehicle triggered subtypes and the non-alarm type. If the event type of the risk event is a human-triggered type, then based on the anti-theft alarm signal, the vibration intensity of the vehicle, the duration of the vehicle vibration, the number of times the vehicle lock was continuously and abnormally opened, and the pedestrian's stay time, the event type of the risk event can be further identified as one of the multiple human-triggered subtypes and the non-alarm type. If the event type of the risk event is environment-triggered, then based on the vehicle's attitude offset and vibration intensity, the event type of the risk event can be further identified as either environment-triggered, unidentified, or non-alarm type.
4. The method according to claim 3, characterized in that, If the event type of the risk event is a motor vehicle triggered type, then based on the distance between the motor vehicle and the vehicle, the vibration intensity of the vehicle, and the dwell time of the motor vehicle, the event type of the risk event is further identified as one of the multiple motor vehicle triggered subtypes and the non-alarm type, including: If the event type of the risk event is a motor vehicle triggered type, then check whether the distance between the motor vehicle and the vehicle is greater than a distance threshold. If the distance between the motor vehicle and the vehicle is greater than a distance threshold, the event type of the risk event is determined to be a non-alarm type. If the distance between the motor vehicle and the vehicle is not greater than a distance threshold, then it is detected whether the vibration intensity of the vehicle is greater than or equal to a first vibration intensity threshold. If the vibration intensity of the vehicle is greater than or equal to the first vibration intensity threshold, then the event type of the risk event is determined to be the first motor vehicle triggering type. If the vibration intensity of the vehicle is less than the first vibration intensity threshold, then it is detected whether the vibration intensity of the vehicle is greater than or equal to the second vibration intensity threshold, wherein the second vibration intensity threshold is less than the first vibration intensity threshold. If the vibration intensity of the vehicle is greater than or equal to the second vibration intensity threshold, then the event type of the risk event is determined to be the second motor vehicle triggering type. If the vibration intensity of the vehicle is less than the second vibration intensity threshold, then it is detected whether the dwell time of the motor vehicle is greater than or equal to the dwell time threshold of the motor vehicle. If the dwell time of the motor vehicle is greater than or equal to the dwell time threshold of the motor vehicle, then the event type of the risk event is determined to be the third motor vehicle triggering type. The event levels corresponding to the first motor vehicle triggering type, the second motor vehicle triggering type, and the third motor vehicle triggering type are different. If the dwell time of the motor vehicle is less than the dwell time threshold, the event type of the risk event is determined to be a non-alarm type.
5. The method according to claim 4, characterized in that, If the event type of the risk event is a human-triggered type, then based on the anti-theft alarm signal, the vibration intensity of the vehicle, the duration of the vehicle vibration, the number of times the vehicle lock was abnormally opened consecutively, and the pedestrian's dwell time, the event type of the risk event is further identified as one of the multiple human-triggered subtypes and the non-alarm type, including: If the risk event is a human-triggered event, then the burglar alarm is detected based on the aforementioned burglar alarm signal to determine whether the burglar alarm is triggered. If the burglar alarm is triggered, the event type of the risk event is determined to be the first person-triggered type; If the anti-theft alarm is not triggered, the vibration intensity of the vehicle is checked to see if it is greater than or equal to the third vibration intensity threshold. If the vibration intensity of the vehicle is greater than or equal to the third vibration intensity threshold, then it is detected whether the duration of the vehicle's vibration is greater than the duration threshold. If the duration of the vehicle's vibration exceeds a duration threshold, the event type of the risk event is determined to be the second human-triggered type. If the duration of the vehicle's vibration is not greater than the duration threshold, then the event type of the risk event is determined to be a third-party human-triggered type. If the vibration intensity of the vehicle is less than the third vibration intensity threshold, then detect whether the number of times the vehicle lock is continuously and abnormally opened is greater than the number threshold, or detect whether the pedestrian dwell time is greater than or equal to the pedestrian dwell time threshold. If the number of times the car lock is abnormally opened exceeds the threshold, or the pedestrian dwell time is greater than or equal to the pedestrian dwell time threshold, then the event type of the risk event is determined to be the fourth person trigger type. The event levels corresponding to the first person trigger type, the second person trigger type, the third person trigger type, and the fourth person trigger type are different. If the number of times the car lock is abnormally opened consecutively does not exceed the threshold, or the pedestrian dwell time is less than the threshold, then the event type of the risk event is determined to be the non-alarm type.
6. The method according to claim 5, characterized in that, If the event type of the risk event is an environment-triggered type, then based on the vehicle's attitude offset and vibration intensity, the event type of the risk event is further identified as either an environment-triggered type, an unidentified type, or a non-alarm type, including: If the event type of the risk event is environment-triggered, then check whether the attitude offset of the vehicle is greater than or equal to the attitude offset threshold. If the vehicle's attitude offset is greater than or equal to the attitude offset threshold, then the event type of the risk event is determined to be environment-triggered. If the vehicle's attitude offset is less than the attitude offset threshold, then it is detected whether the vehicle's vibration intensity is greater than or equal to the fourth vibration intensity threshold. If the vibration intensity of the vehicle is greater than or equal to the fourth vibration intensity threshold, then the event type of the risk event is determined to be an unidentified type. If the vibration intensity of the vehicle is less than the intensity threshold, the event type of the risk event is determined to be a non-alarm type.
7. The method according to claim 6, characterized in that, Determining the event level of a risk event based on its event type includes: If the event type of the risk event is any one of the following: first human-triggered type, second human-triggered type, first motor vehicle-triggered type, second motor vehicle-triggered type, or environmental-triggered type, then the event level of the risk event is determined to be Level 1. If the event type of the risk event is any one of the third-person trigger type, the fourth-person trigger type, the third-vehicle trigger type, and the unidentified type, then the event level of the risk event is determined to be the second level, which is lower than the first level; If the event type of the risk event is a non-alarm type, then the event level of the risk event is determined to be the third level, which is lower than the second level.
8. The method according to any one of claims 1-7, characterized in that, The step of issuing an alarm for the risk event based on the event type and the event level using the corresponding alarm method includes: Obtain alarm item setting information corresponding to the event level of the risk event, wherein the alarm item setting information is used to indicate the vehicle alarm device corresponding to the event level and the setting information of the vehicle alarm device; Based on the event type of the risk event and the alarm item setting information, determine the alarm prompt information and alarm method corresponding to the risk event; Based on the alarm prompt information and alarm method corresponding to the risk event, an alarm is issued for the risk event.
9. The method according to claim 7, characterized in that, The step of issuing an alarm for the risk event based on the event type and the event level using the corresponding alarm method includes: If the event type is any one of the following: first human-triggered type, second human-triggered type, first motor vehicle-triggered type, second motor vehicle-triggered type, and environmental trigger type, and the event level is first level, the following actions are taken: the camera is turned on to record video, the hazard lights are turned on to emit hazard lights, the external speakers are turned on to play the alarm message corresponding to the event type, the horn is turned on to sound, and the voice call device is turned on to dial the owner's contact number to notify the owner to handle the risk event of the event type, thus issuing an alarm for the risk event. If the event type is any one of the third-person trigger type, the fourth-person trigger type, the third vehicle trigger type, and the unidentified type, and the event level is the second level, the camera is turned on to record video, the hazard lights are turned on to emit hazard lights, and the voice call device is turned on to dial the vehicle owner's contact number to notify the vehicle owner that a risk event corresponding to the event type has been discovered, and an alarm is issued for the risk event. If the event type is a no-alarm type and the event level is level three, no alarm will be issued for the current risk event. Instead, the event type of the next risk event will be identified based on the vehicle's static and dynamic risk information.
10. An electronic device, characterized in that, include: A memory and a processor, wherein the memory stores program instructions that, when invoked by the processor, cause the processor to perform the method as described in any one of claims 1-9.