Vehicle accident handling method, device, computer equipment and storage medium
By detecting the gravity acceleration of shared vehicles and obtaining environmental images, the accident type is automatically identified and processed, the problem of high and untimely manual inspection costs in the prior art is solved, and efficient and economical vehicle accident handling is achieved.
Patent Information
- Application Number
- CN202410422627.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-09
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-04-09
AI Technical Summary
In the prior art, accident detection of shared vehicles relies on manual supervision, resulting in high costs and lack of timeliness.
By detecting the gravity acceleration of the vehicle to be tested, determine whether there is an accident; if it exists, obtain the current environmental image, extract the characteristics to determine the type of accident, and process it according to the type.
It realizes rapid and economical testing of vehicle accidents, reduces labor costs, and improves the efficiency of accident handling and vehicle safety.
Smart Images

Figure CN118197066B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a vehicle accident handling method, apparatus, computer equipment and storage medium. Background Art
[0002] With the development of computers, shared vehicles have gradually been widely used by people. However, due to the high frequency of use of shared vehicles, the accident rate of shared vehicles is relatively high.
[0003] In the existing technology, it is usually necessary to regularly conduct manual supervision of shared vehicle parking areas to detect accidents involving shared vehicles (such as violent vehicle moving by ordinary users or operation and maintenance users), and issue accident reminders for the accidents. Although this method can handle vehicle accidents, it has high labor costs and is not timely. Summary of the invention
[0004] Based on this, it is necessary to provide a vehicle accident handling method, device, computer equipment and storage medium that can be low-cost and high-time in order to address the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a method for handling a vehicle accident. The method comprises:
[0006] Determine whether the vehicle under test has an accident according to the gravitational acceleration of the vehicle under test;
[0007] If it exists, obtain the current environment image of the vehicle to be tested;
[0008] Determine the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested;
[0009] The vehicle under test is processed according to the type of accident.
[0010] In one embodiment, determining the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested includes:
[0011] Performing feature extraction on the current environment image of the vehicle to be tested to obtain the current environment features of the vehicle to be tested; wherein the current environment features include at least one of pothole features, vehicle features, or human features;
[0012] The accident type of the vehicle to be tested is determined according to the current environmental characteristics of the vehicle to be tested.
[0013] In one of the embodiments, determining the accident type of the vehicle to be tested based on the current environmental characteristics of the vehicle to be tested includes:
[0014] The accident type of the vehicle under test is determined according to the current environmental characteristics of the vehicle under test and the motor starting state of the vehicle under test within a preset time period.
[0015] In one embodiment, the accident type of the vehicle under test is determined according to the current environmental characteristics of the vehicle under test and the motor start-up state of the vehicle under test within a preset period of time, including:
[0016] If the motor start state of the vehicle under test is not started within the preset time period, and the current environmental characteristics of the vehicle under test include human characteristics, then the accident type of the vehicle under test is determined to be a vehicle moving accident;
[0017] If the motor start state of the vehicle under test within the preset time period is start, and the current environmental characteristics of the vehicle under test include pothole characteristics, then determining that the accident type of the vehicle under test is a pothole accident;
[0018] If the motor starting state of the vehicle to be tested is started within the preset time period, and the current environmental characteristics of the vehicle to be tested only include vehicle characteristics and / or human characteristics, it is determined that the accident type of the vehicle to be tested is a collision accident.
[0019] In one embodiment, the vehicle to be tested is processed according to the accident type, including:
[0020] If the accident type is a pothole accident or a collision accident, the speed of the vehicle to be tested will be reduced;
[0021] If the accident type is a car moving accident, the user type of the logged-in user of the vehicle to be tested is obtained, and a car moving reminder is output according to the user type.
[0022] In one embodiment, if the accident type is a collision accident, the method further includes:
[0023] Determine the accident level of the vehicle to be tested according to the current environment image, the gravity acceleration and the tilt angle of the vehicle to be tested;
[0024] Send rescue reminders to operation and maintenance personnel based on the accident level so that they can rescue the vehicle under test.
[0025] In one embodiment, outputting a vehicle moving reminder according to the user type includes:
[0026] If the user type is a rental user, the default car moving reminder is output;
[0027] If the user type is an operation and maintenance user, a target car moving reminder is generated according to the historical number of reminder triggers of the operation and maintenance user and the default car moving reminder, and the target car moving reminder is output.
[0028] In a second aspect, the present application also provides a vehicle accident handling device. The device comprises:
[0029] An accident judgment module is used to determine whether the vehicle under test has an accident based on the gravity acceleration of the vehicle under test;
[0030] An image acquisition module, used to acquire the current environment image of the vehicle to be tested, if any;
[0031] A type determination module, used to determine the accident type of the vehicle to be tested based on the current environment image of the vehicle to be tested;
[0032] The vehicle processing module is used to process the vehicle to be tested according to the accident type.
[0033] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0034] Determine whether the vehicle under test has an accident according to the gravitational acceleration of the vehicle under test;
[0035] If it exists, obtain the current environment image of the vehicle to be tested;
[0036] Determine the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested;
[0037] The vehicle under test is processed according to the type of accident.
[0038] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0039] Determine whether the vehicle under test has an accident according to the gravitational acceleration of the vehicle under test;
[0040] If it exists, obtain the current environment image of the vehicle to be tested;
[0041] Determine the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested;
[0042] The vehicle under test is processed according to the type of accident.
[0043] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0044] Determine whether the vehicle under test has an accident according to the gravitational acceleration of the vehicle under test;
[0045] If it exists, obtain the current environment image of the vehicle to be tested;
[0046] Determine the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested;
[0047] The vehicle under test is processed according to the type of accident.
[0048] The above-mentioned vehicle accident handling method, device, computer equipment and storage medium determine whether the vehicle to be tested has an accident through the gravitational acceleration of the vehicle to be tested. When the vehicle to be tested has an accident, the accident type of the vehicle to be tested is determined based on the current environmental image of the vehicle to be tested that is acquired, and the vehicle to be tested is further processed according to the accident type. This method no longer relies on manual fault detection and accident processing of the vehicle to be tested. Through the gravitational acceleration of the vehicle to be tested, it can be detected in real time whether the vehicle to be tested has a fault, which reduces labor costs while improving the efficiency of detecting accidents of the vehicle to be tested. Accidents of the vehicle to be tested can be processed in time, thereby improving the safety and life of the vehicle to be tested. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 An application environment diagram of a vehicle accident handling method provided in this embodiment;
[0050] Figure 2 A schematic flow chart of a first vehicle accident handling method provided in this embodiment;
[0051] Figure 3 A schematic diagram of a process for determining the type of accident provided in this embodiment;
[0052] Figure 4 A schematic flow chart of a second vehicle accident handling method provided in this embodiment;
[0053] Figure 5 A structural block diagram of a first vehicle accident handling device provided in this embodiment;
[0054] Figure 6 A structural block diagram of a second vehicle accident handling device provided in this embodiment;
[0055] Figure 7 A structural block diagram of a third vehicle accident handling device provided in this embodiment;
[0056] Figure 8 This is a diagram of the internal structure of a computer device provided in this embodiment. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0058] The vehicle accident handling method provided in the embodiment of the present application can be applied to Figure 1 In one embodiment, a computer device is provided, which may be a vehicle-mounted terminal, and its internal structure diagram may be as shown in FIG. Figure 1 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store accident type data of the vehicle to be tested. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a vehicle accident handling method is implemented.
[0059] In one embodiment, Figure 2 As shown, a vehicle accident handling method is provided, which is applied to Figure 1 Taking a computer device such as a vehicle-mounted terminal as an example, the following steps are included:
[0060] S201, determining the gravitational acceleration of the vehicle to be tested.
[0061] The vehicle to be tested may be a vehicle to be tested for an accident, and optionally, the vehicle to be tested may be a shared electric vehicle. The gravitational acceleration may be the acceleration of the vehicle to be tested in the vertical direction.
[0062] Optionally, the gravity acceleration of the vehicle to be tested is acquired in real time through a gravity acceleration sensor installed on the rear wheel of the vehicle to be tested.
[0063] S202, determining whether the vehicle to be tested has an accident based on the gravitational acceleration of the vehicle to be tested, if yes, continuing to execute step S203, if no, returning to execute the operation of determining whether the vehicle to be tested has an accident based on the gravitational acceleration of the vehicle to be tested.
[0064] Optionally, based on the obtained gravitational acceleration of the vehicle to be tested, determine whether the gravitational acceleration is higher than a preset acceleration threshold. If so, it means that the vehicle has a tendency to fall vertically, proving that the vehicle to be tested has an accident, and it is necessary to continue to execute subsequent step S203; if not, it proves that the vehicle to be tested has not had an accident, and you can return to execute the step of determining whether the vehicle to be tested has an accident based on the gravitational acceleration of the vehicle to be tested.
[0065] S203: If yes, obtain the current environment image of the vehicle to be tested.
[0066] The current environment image may be an image containing the surrounding environment of the vehicle to be tested.
[0067] Optionally, when the vehicle under test detects that an accident occurs at the current moment, in order to more accurately analyze the cause of the accident and process the vehicle, this embodiment can obtain the current environment image around the vehicle under test through a camera deployed on the front of the vehicle under test.
[0068] S204: Determine the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested.
[0069] Among them, accident types may include collision accidents (such as traffic collisions occurring during vehicle driving), pothole accidents (such as bumps occurring when a vehicle passes through pothole-prone sections during driving), and vehicle moving accidents (such as violent vehicle moving behavior).
[0070] Optionally, the specific implementation method of determining the accident type of the vehicle under test based on the current environment image of the vehicle under test may be that the on-board terminal performs accident detection based on the acquired current environment image of the vehicle under test, and directly determines the accident type of the vehicle under test locally; or, the on-board terminal sends the acquired current environment image of the vehicle under test to the remote control platform of the vehicle under test, and the remote control platform performs accident detection on the current environment image to obtain the accident type corresponding to the current environment image, and sends the accident type to the on-board terminal through a communication connection, and the on-board terminal receives the accident type and determines the accident type as the accident type of the vehicle under test.
[0071] Optionally, this embodiment performs accident detection on the current environment image, and the method for determining the accident type of the vehicle to be tested can be to extract features of the current environment image of the vehicle to be tested to obtain current environment features of the vehicle to be tested; and determine the accident type of the vehicle to be tested based on the current environment features of the vehicle to be tested.
[0072] The current environment feature includes at least one of a pothole feature, a vehicle feature or a person feature.
[0073] Specifically, feature extraction is performed on the current environment image of the vehicle to be tested, the current environment features are identified from the current environment image, and the accident type of the vehicle to be tested is determined based on the current environment features of the vehicle to be tested, that is, if the current environment features of the vehicle to be tested include pothole features, then the accident type of the vehicle to be tested is determined to include pothole accidents; if the current environment features of the vehicle to be tested include vehicle features, then the accident type of the vehicle to be tested is determined to include collision accidents; if the current environment features of the vehicle to be tested include human features, then the accident type of the vehicle to be tested is determined to include vehicle moving accidents.
[0074] It should be noted that if the current environment image contains multiple types of current environment features, the accident type corresponding to each type of current environment feature is used as the accident type corresponding to the current environment image. For example, if the current environment image contains pothole features and vehicle features, the accident types corresponding to the current environment image are determined to be pothole accidents and collision accidents.
[0075] S205: Process the vehicle to be tested according to the accident type.
[0076] Optionally, depending on the type of accident, the way to handle the vehicle under test can be: if the accident type is a pothole accident, the on-board terminal stops the motor movement of the vehicle under test, thereby achieving the purpose of slowing down the vehicle under test; if the accident type is a collision accident, the on-board terminal performs an alarm through the alarm device installed in the vehicle under test; if the accident type is a vehicle moving accident, the on-board terminal outputs a reminder voice for civilized vehicle moving through the playback device installed in the vehicle under test.
[0077] The above-mentioned vehicle accident handling method determines whether the vehicle to be tested has an accident through the gravitational acceleration of the vehicle to be tested. When the vehicle to be tested has an accident, the accident type of the vehicle to be tested is determined based on the current environmental image of the vehicle to be tested that is obtained, and the vehicle to be tested is further handled according to the accident type. This method no longer relies on manual fault detection and accident handling of the vehicle to be tested. Through the gravitational acceleration of the vehicle to be tested, it can be detected in real time whether the vehicle to be tested has a fault, which reduces labor costs while improving the efficiency of detecting accidents of the vehicle to be tested. Accidents of the vehicle to be tested can be handled in a timely manner, thereby improving the safety and life of the vehicle to be tested.
[0078] Optionally, in one embodiment, the on-board device directly processes the vehicle to be tested according to the determined accident type. If the accident type is a pothole accident or a collision accident, the vehicle to be tested is decelerated; if the accident type is a vehicle moving accident, the user type of the logged-in user of the vehicle to be tested is obtained, and a vehicle moving reminder is output according to the user type.
[0079] The user types include rental users and operation and maintenance users. Rental users are users who rent the vehicle to be tested. Operation and maintenance users are users who perform operation and maintenance management on the vehicle to be tested.
[0080] Optionally, since the motor of the vehicle under test is in the on state when a pothole accident or a collision accident occurs, in order to ensure the safety of the user of the vehicle under test, the motor of the vehicle under test should be turned off first. Therefore, when the accident type is a pothole accident or a collision accident, the on-board terminal should turn off the motor of the vehicle under test to slow down the vehicle under test.
[0081] Optionally, an optional way to obtain the user type of the logged-in user of the vehicle to be tested may be to obtain user information of the logged-in user of the vehicle to be tested and determine the user type of the logged-in user from the user information. Exemplarily, if there is an identifier representing the user type of the logged-in user in the user information of the logged-in user.
[0082] Optionally, the implementation method of outputting a car moving reminder according to the user type can be that if the user type is a rental user, a default car moving reminder is output; if the user type is an operation and maintenance user, the historical number of reminder triggers of the operation and maintenance user and the default car moving reminder are used to generate a target car moving reminder, and the target car moving reminder is output.
[0083] Specifically, if the vehicle-mounted terminal detects that the user type of the logged-in user is a rental user, it outputs a default car moving reminder (e.g., please use the vehicle in a civilized manner); if the vehicle-mounted terminal detects that the user type of the logged-in user is an operation and maintenance user, it obtains the historical number of triggered reminders of the operation and maintenance user, concatenates the historical number of triggered reminders with the default car moving reminder, generates a target car moving reminder, and outputs the target car moving reminder (e.g., when the historical number of triggered reminders of the operation and maintenance user is 3 times, the target car moving reminder can be, you have accumulated three uncivilized car moving reminders, please move the car in a civilized manner).
[0084] It should be noted that when the user type is an operation and maintenance user, the vehicle-mounted terminal can also send the user information of the operation and maintenance user and the gravity acceleration of the vehicle to be tested to the remote control platform. The remote control platform records the user information of the operation and maintenance user and the gravity acceleration of the vehicle to be tested, and updates the number of trigger reminders of the operation and maintenance user, so as to facilitate the subsequent rapid tracing of the uncivilized vehicle moving behavior of the operation and maintenance user.
[0085] Optionally, if the accident type is a collision accident, this embodiment can also determine the accident level of the vehicle to be tested based on the current environmental image, the gravitational acceleration and the tilt angle of the vehicle to be tested; and send a rescue reminder to the operation and maintenance personnel based on the accident level, so that the operation and maintenance personnel can perform rescue operations on the vehicle to be tested.
[0086] Specifically, the inclination angle between the vehicle to be tested and the ground is determined by a posture sensor installed on the body of the vehicle to be tested, and the angle score corresponding to the angle interval to which the inclination angle belongs is further determined; the accident score corresponding to the accident type is determined according to the accident type corresponding to the current environment; the speed score corresponding to the speed interval to which the gravity acceleration belongs is determined according to the gravity acceleration of the vehicle to be tested. After the angle score, accident score and accident score are determined, the angle score, accident score and accident score are summed or weighted summed, and the summed result is used as the total accident score of the vehicle to be tested, and the accident level corresponding to the accident interval to which the total accident score belongs is determined. According to the accident level, a rescue reminder matching the accident level is sent to the operation and maintenance personnel (for example, when the accident level is low, the rescue reminder may be that the rental user of the vehicle to be tested has a collision accident, please go to rescue in time; when the accident level is high, the rescue reminder may be that the rental user of the vehicle to be tested has a major traffic accident, please go to rescue immediately), so that the operation and maintenance personnel can rescue the vehicle to be tested.
[0087] Figure 3 The figure is a flow chart of determining the accident type in an embodiment. In order to ensure the accuracy of the accident type determination, the present embodiment introduces the determination of the current environmental features and the motor start-up state in the current environmental image, so as to more accurately determine the accident type of the vehicle to be tested. Specifically, the present embodiment provides an optional method for determining the accident type, including the following steps:
[0088] S301 performs feature extraction on the current environment image of the vehicle to be tested to obtain the current environment features of the vehicle to be tested.
[0089] Optionally, a feature extraction model or a feature extraction algorithm can be used to identify whether pothole features, vehicle features and human features exist in the current environment image of the vehicle to be tested, and all identified features (i.e., including at least one of the pothole features, vehicle features and human features) are used as the current environment features of the vehicle to be tested.
[0090] S302 determines the accident type of the vehicle under test according to the current environmental characteristics of the vehicle under test and the motor starting state of the vehicle under test within a preset period of time.
[0091] The preset period may be a shorter period before the current moment. For example, the preset period may be 3 seconds before the current moment.
[0092] Optionally, the motor start state of the vehicle to be tested within a preset time period is obtained, and the accident type of the vehicle to be tested is determined according to the current environmental characteristics of the vehicle to be tested and the motor start state within the preset time period, that is, if the motor start state of the vehicle to be tested within the preset time period is not started, and the current environmental characteristics of the vehicle to be tested include human characteristics, it means that the vehicle to be tested has not been used within the preset time period, and it is human factors that cause the vehicle to be tested to generate a large gravitational acceleration. Therefore, it can be determined that the accident type of the vehicle to be tested is a vehicle moving accident; if the motor start state of the vehicle to be tested within the preset time period is started, and the current environmental characteristics of the vehicle to be tested include pothole characteristics, it proves that the vehicle to be tested is in a driving state at this time, and there is a pothole path in the surrounding environment. Therefore, it can be determined that the accident type of the vehicle to be tested is a pothole accident; if the motor start state of the vehicle to be tested within the preset time period is started, and the current environmental characteristics of the vehicle to be tested only include vehicle characteristics and / or human characteristics, it proves that the vehicle to be tested is in a driving state at this time, and it may be a collision with other vehicles or pedestrians, resulting in a large gravitational acceleration of the vehicle to be tested, thereby determining that the accident type of the vehicle to be tested is a collision accident.
[0093] The above-mentioned method for determining the type of accident can determine whether the vehicle to be tested is in a driving state or a stationary state within the preset time period through the motor starting state of the vehicle to be tested within the preset time period, and can judge the surrounding environment of the vehicle to be tested according to the current environmental features of the current environmental image of the vehicle to be tested extracted. Therefore, based on the current environmental features of the current environmental image of the vehicle to be tested extracted and the motor starting state of the vehicle to be tested within the preset time period, the accident type of the vehicle to be tested is determined, which comprehensively considers the movement and environmental conditions of the vehicle to be tested within the preset time period, and can more accurately determine the accident type of the vehicle to be tested.
[0094] In one embodiment, this embodiment provides an optional method for handling vehicle accidents, and takes the method applied to a vehicle-mounted device, such as a vehicle-mounted terminal, as an example for explanation. Figure 4 As shown, the method comprises the following steps:
[0095] S401 obtains the gravity acceleration of the vehicle to be tested.
[0096] S402 determines whether the vehicle to be tested has an accident according to the gravitational acceleration of the vehicle to be tested. If yes, continue to execute step S403. If no, return to execute the step of determining whether the vehicle to be tested has an accident.
[0097] If so, S403 obtains the current environment image of the vehicle to be tested.
[0098] S404 performs feature extraction on the current environment image of the vehicle to be tested to obtain the current environment features of the vehicle to be tested.
[0099] The current environment feature includes at least one of a pothole feature, a vehicle feature or a person feature.
[0100] S405 determines the accident type of the vehicle under test according to the current environmental characteristics of the vehicle under test and the motor starting state of the vehicle under test within a preset period of time.
[0101] Optionally, if the motor starting state of the vehicle to be tested within the preset time period is not started, and the current environmental characteristics of the vehicle to be tested include human characteristics, then the accident type of the vehicle to be tested is determined to be a vehicle moving accident; if the motor starting state of the vehicle to be tested within the preset time period is started, and the current environmental characteristics of the vehicle to be tested include pothole characteristics, then the accident type of the vehicle to be tested is determined to be a pothole accident; if the motor starting state of the vehicle to be tested within the preset time period is started, and the current environmental characteristics of the vehicle to be tested only include vehicle characteristics and / or human characteristics, then the accident type of the vehicle to be tested is determined to be a collision accident.
[0102] S406 processes the vehicle to be tested according to the accident type.
[0103] Optionally, if the accident type is a pothole accident, the vehicle under test is decelerated; if the accident type is a collision accident, the vehicle under test is decelerated, and the accident level of the vehicle under test is determined based on the current environmental image, the gravity acceleration and the tilt angle of the vehicle under test, and a rescue reminder is sent to the operation and maintenance personnel based on the accident level, so that the operation and maintenance personnel can rescue the vehicle under test; if the accident type is a car moving accident, the user type of the logged-in user of the vehicle under test is obtained, if the user type is a rental user, a default car moving reminder is output, and if the user type is an operation and maintenance user, a target car moving reminder is generated based on the historical number of reminder triggers of the operation and maintenance user and the default car moving reminder, and the target car moving reminder is output.
[0104] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0105] Based on the same inventive concept, the embodiment of the present application also provides a vehicle accident handling device for implementing the vehicle accident handling method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more vehicle accident handling device embodiments provided below can refer to the limitations of the vehicle accident handling method above, and will not be repeated here.
[0106] In one embodiment, Figure 5 As shown, a vehicle accident processing device 1 is provided, comprising: an accident judgment module 10, an image acquisition module 11, a type determination module 12 and a vehicle processing module 13, wherein:
[0107] The accident judgment module 10 is used to determine whether the vehicle under test has an accident according to the gravity acceleration of the vehicle under test;
[0108] An image acquisition module 11 is used to acquire the current environment image of the vehicle to be tested, if any;
[0109] A type determination module 12 is used to determine the accident type of the vehicle to be tested based on the current environment image of the vehicle to be tested;
[0110] The vehicle processing module 13 is used to process the vehicle to be tested according to the accident type.
[0111] In one embodiment, Figure 6 As shown, Figure 5 The type determination module 12 comprises:
[0112] The feature determination unit 120 is used to extract features from the current environment image of the vehicle to be tested to obtain the current environment features of the vehicle to be tested; wherein the current environment features include at least one of pothole features, vehicle features or human features;
[0113] The type determination unit 121 is used to determine the accident type of the vehicle to be tested according to the current environmental characteristics of the vehicle to be tested.
[0114] In one embodiment, the type determination unit 121 may also be used to determine the accident type of the vehicle under test according to the current environmental characteristics of the vehicle under test and the motor start-up state of the vehicle under test within a preset time period.
[0115] In one embodiment, the type determination unit 121 can be specifically used to determine that the accident type of the vehicle to be tested is a vehicle moving accident if the motor starting state of the vehicle to be tested within a preset time period is not started, and the current environmental characteristics of the vehicle to be tested include human characteristics; if the motor starting state of the vehicle to be tested within the preset time period is started, and the current environmental characteristics of the vehicle to be tested include pothole characteristics, then the accident type of the vehicle to be tested is determined to be a pothole accident; if the motor starting state of the vehicle to be tested within the preset time period is started, and the current environmental characteristics of the vehicle to be tested only include vehicle characteristics and / or human characteristics, then the accident type of the vehicle to be tested is determined to be a collision accident.
[0116] In one embodiment, Figure 7 As shown, Figure 5 The vehicle processing module 13 comprises:
[0117] The speed reduction processing unit 130 is used to reduce the speed of the vehicle to be tested if the accident type is a pothole accident or a collision accident;
[0118] The reminder processing unit 131 is used to obtain the user type of the logged-in user of the vehicle to be tested if the accident type is a vehicle moving accident, and output a vehicle moving reminder according to the user type.
[0119] In one embodiment, Figure 7 The speed reduction processing unit 130 includes:
[0120] An accident level determination subunit, used to determine the accident level of the vehicle to be tested according to the current environment image, the gravity acceleration and the tilt angle of the vehicle to be tested;
[0121] The rescue processing subunit is used to send rescue reminders to the operation and maintenance personnel based on the accident level, so that the operation and maintenance personnel can perform rescue processing on the vehicle under test.
[0122] In one embodiment, Figure 7 The reminder processing unit 131 in the embodiment includes:
[0123] The rental user subunit is used to output a default car moving reminder if the user type is a rental user;
[0124] The operation and maintenance user subunit is used to generate a target car moving reminder according to the historical number of reminder triggers and the default car moving reminder of the operation and maintenance user, and output the target car moving reminder if the user type is an operation and maintenance user.
[0125] Each module in the above vehicle accident handling device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0126] In one embodiment, a computer device is provided. The computer device may be a vehicle-mounted device, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a vehicle accident handling method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0127] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0128] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0129] Determine whether the vehicle under test has an accident according to the gravitational acceleration of the vehicle under test;
[0130] If it exists, obtain the current environment image of the vehicle to be tested;
[0131] Determine the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested;
[0132] The vehicle under test is processed according to the type of accident.
[0133] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0134] Performing feature extraction on the current environment image of the vehicle to be tested to obtain the current environment features of the vehicle to be tested; wherein the current environment features include at least one of pothole features, vehicle features, or human features;
[0135] The accident type of the vehicle to be tested is determined according to the current environmental characteristics of the vehicle to be tested.
[0136] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0137] The accident type of the vehicle under test is determined according to the current environmental characteristics of the vehicle under test and the motor starting state of the vehicle under test within a preset time period.
[0138] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0139] If the motor start state of the vehicle under test is not started within the preset time period, and the current environmental characteristics of the vehicle under test include human characteristics, then the accident type of the vehicle under test is determined to be a vehicle moving accident;
[0140] If the motor start state of the vehicle under test within the preset time period is start, and the current environmental characteristics of the vehicle under test include pothole characteristics, then determining that the accident type of the vehicle under test is a pothole accident;
[0141] If the motor starting state of the vehicle to be tested is started within the preset time period, and the current environmental characteristics of the vehicle to be tested only include vehicle characteristics and / or human characteristics, it is determined that the accident type of the vehicle to be tested is a collision accident.
[0142] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0143] If the accident type is a pothole accident or a collision accident, the speed of the vehicle to be tested will be reduced;
[0144] If the accident type is a car moving accident, the user type of the logged-in user of the vehicle to be tested is obtained, and a car moving reminder is output according to the user type.
[0145] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0146] Determine the accident level of the vehicle to be tested according to the current environment image, the gravity acceleration and the tilt angle of the vehicle to be tested;
[0147] Send rescue reminders to operation and maintenance personnel based on the accident level so that they can rescue the vehicle under test.
[0148] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0149] If the user type is a rental user, the default car moving reminder is output;
[0150] If the user type is an operation and maintenance user, a target car moving reminder is generated according to the historical number of reminder triggers of the operation and maintenance user and the default car moving reminder, and the target car moving reminder is output.
[0151] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0152] Determine whether the vehicle under test has an accident according to the gravitational acceleration of the vehicle under test;
[0153] If it exists, obtain the current environment image of the vehicle to be tested;
[0154] Determine the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested;
[0155] The vehicle under test is processed according to the type of accident.
[0156] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0157] Performing feature extraction on the current environment image of the vehicle to be tested to obtain the current environment features of the vehicle to be tested; wherein the current environment features include at least one of pothole features, vehicle features, or human features;
[0158] The accident type of the vehicle to be tested is determined according to the current environmental characteristics of the vehicle to be tested.
[0159] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0160] The accident type of the vehicle under test is determined according to the current environmental characteristics of the vehicle under test and the motor starting state of the vehicle under test within a preset time period.
[0161] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0162] If the motor start state of the vehicle under test is not started within the preset time period, and the current environmental characteristics of the vehicle under test include human characteristics, then the accident type of the vehicle under test is determined to be a vehicle moving accident;
[0163] If the motor start state of the vehicle under test within the preset time period is start, and the current environmental characteristics of the vehicle under test include pothole characteristics, then determining that the accident type of the vehicle under test is a pothole accident;
[0164] If the motor starting state of the vehicle to be tested is started within the preset time period, and the current environmental characteristics of the vehicle to be tested only include vehicle characteristics and / or human characteristics, it is determined that the accident type of the vehicle to be tested is a collision accident.
[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0166] If the accident type is a pothole accident or a collision accident, the speed of the vehicle to be tested will be reduced;
[0167] If the accident type is a car moving accident, the user type of the logged-in user of the vehicle to be tested is obtained, and a car moving reminder is output according to the user type.
[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0169] Determine the accident level of the vehicle to be tested according to the current environment image, the gravity acceleration and the tilt angle of the vehicle to be tested;
[0170] Send rescue reminders to operation and maintenance personnel based on the accident level so that they can rescue the vehicle under test.
[0171] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0172] If the user type is a rental user, the default car moving reminder is output;
[0173] If the user type is an operation and maintenance user, a target car moving reminder is generated according to the historical number of reminder triggers of the operation and maintenance user and the default car moving reminder, and the target car moving reminder is output.
[0174] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0175] Determine whether the vehicle under test has an accident according to the gravitational acceleration of the vehicle under test;
[0176] If it exists, obtain the current environment image of the vehicle to be tested;
[0177] Determine the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested;
[0178] The vehicle under test is processed according to the type of accident.
[0179] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0180] Performing feature extraction on the current environment image of the vehicle to be tested to obtain the current environment features of the vehicle to be tested; wherein the current environment features include at least one of pothole features, vehicle features, or human features;
[0181] The accident type of the vehicle to be tested is determined according to the current environmental characteristics of the vehicle to be tested.
[0182] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0183] The accident type of the vehicle under test is determined according to the current environmental characteristics of the vehicle under test and the motor starting state of the vehicle under test within a preset time period.
[0184] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0185] If the motor start state of the vehicle under test is not started within the preset time period, and the current environmental characteristics of the vehicle under test include human characteristics, then the accident type of the vehicle under test is determined to be a vehicle moving accident;
[0186] If the motor start state of the vehicle under test within the preset time period is start, and the current environmental characteristics of the vehicle under test include pothole characteristics, then determining that the accident type of the vehicle under test is a pothole accident;
[0187] If the motor starting state of the vehicle to be tested is started within the preset time period, and the current environmental characteristics of the vehicle to be tested only include vehicle characteristics and / or human characteristics, it is determined that the accident type of the vehicle to be tested is a collision accident.
[0188] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0189] If the accident type is a pothole accident or a collision accident, the speed of the vehicle to be tested will be reduced;
[0190] If the accident type is a car moving accident, the user type of the logged-in user of the vehicle to be tested is obtained, and a car moving reminder is output according to the user type.
[0191] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0192] Determine the accident level of the vehicle to be tested according to the current environment image, the gravity acceleration and the tilt angle of the vehicle to be tested;
[0193] Send rescue reminders to operation and maintenance personnel based on the accident level so that they can rescue the vehicle under test.
[0194] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0195] If the user type is a rental user, the default car moving reminder is output;
[0196] If the user type is an operation and maintenance user, a target car moving reminder is generated according to the historical number of reminder triggers of the operation and maintenance user and the default car moving reminder, and the target car moving reminder is output.
[0197] It should be noted that the user information data involved in this application (including but not limited to data used for analysis, storage, display, etc.) are all information and data authorized by the user or fully authorized by all parties.
[0198] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0199] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0200] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A vehicle accident handling method, characterized in that: The method comprises: Determining whether the vehicle to be tested has an accident according to the gravitational acceleration of the vehicle to be tested; If it exists, obtain the current environment image of the vehicle to be tested; Determining the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested; the accident type includes one of a pothole accident, a collision accident and a vehicle moving accident; In the case where the accident type is a car moving accident, the user type of the logged-in user of the vehicle to be tested is obtained; if the user type is a rental user, a default car moving reminder is output; if the user type is an operation and maintenance user, a target car moving reminder is generated according to the historical number of reminder triggers of the operation and maintenance user and the default car moving reminder, and the target car moving reminder is output; In the case where the accident type is a collision accident, the inclination angle between the vehicle to be tested and the ground, and the angle score corresponding to the angle interval to which the inclination angle belongs are determined by a posture sensor installed on the body of the vehicle to be tested; the accident score corresponding to the accident type is determined; the speed score corresponding to the speed interval to which the gravity acceleration belongs is determined; the angle score, speed score and accident score are summed to obtain a total accident score of the vehicle to be tested; the accident level corresponding to the accident interval to which the total accident score belongs is determined; and a rescue reminder is sent to the operation and maintenance personnel based on the accident level, so that the operation and maintenance personnel can perform rescue operations on the vehicle to be tested.
2. The method according to claim 1, characterized in that The step of determining the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested includes: Performing feature extraction on the current environment image of the vehicle to be tested to obtain the current environment features of the vehicle to be tested; wherein the current environment features include at least one of pothole features, vehicle features or human features; The accident type of the vehicle to be tested is determined according to the current environmental characteristics of the vehicle to be tested.
3. The method according to claim 2, characterized in that The step of determining the accident type of the vehicle to be tested according to the current environmental characteristics of the vehicle to be tested includes: The accident type of the vehicle to be tested is determined according to the current environmental characteristics of the vehicle to be tested and the motor starting state of the vehicle to be tested within a preset time period.
4. The method according to claim 3, characterized in that The determining the accident type of the vehicle to be tested according to the current environmental characteristics of the vehicle to be tested and the motor starting state of the vehicle to be tested within a preset time period includes: If the motor start state of the vehicle under test is not started within the preset time period, and the current environmental characteristics of the vehicle under test include human characteristics, then determining that the accident type of the vehicle under test is a vehicle moving accident; If the motor starting state of the vehicle to be tested within the preset time period is started, and the current environmental characteristics of the vehicle to be tested include pothole characteristics, then the accident type of the vehicle to be tested is determined to be a pothole accident; if the motor starting state of the vehicle to be tested within the preset time period is started, and the current environmental characteristics of the vehicle to be tested only include vehicle characteristics and / or human characteristics, then the accident type of the vehicle to be tested is determined to be a collision accident.
5. The method according to claim 1, characterized in that The method further comprises: If the accident type is a pothole accident or a collision accident, the speed of the vehicle to be tested is reduced.
6. The method according to claim 1, characterized in that The sending of a rescue reminder to the operation and maintenance personnel based on the accident level includes: When the accident level is low, the rescue reminder is that the rental user of the tested vehicle has a collision accident, please go to the rescue in time; When the accident level is high, the rescue reminder is that the rental user of the tested vehicle has a major traffic accident and please go to rescue immediately.
7. A vehicle accident handling device, characterized in that: The device comprises: An accident judgment module is used to determine whether the vehicle to be tested has an accident according to the gravity acceleration of the vehicle to be tested; An image acquisition module, used to acquire the current environment image of the vehicle to be tested, if any; A type determination module, used to determine the accident type of the vehicle to be tested according to the current environment image of the vehicle to be tested; the accident type includes one of a pothole accident, a collision accident and a vehicle moving accident; A vehicle processing module is used to obtain the user type of the logged-in user of the vehicle to be tested when the accident type is a vehicle moving accident; if the user type is a rental user, a default vehicle moving reminder is output; if the user type is an operation and maintenance user, a target vehicle moving reminder is generated according to the historical number of reminder triggers of the operation and maintenance user and the default vehicle moving reminder, and the target vehicle moving reminder is output; when the accident type is a collision accident, the inclination angle between the vehicle to be tested and the ground, and the angle score corresponding to the angle interval to which the inclination angle belongs are determined through a posture sensor installed on the body of the vehicle to be tested; the accident score corresponding to the accident type is determined; the speed score corresponding to the speed interval to which the gravity acceleration belongs is determined; the angle score, speed score and accident score are summed to obtain a total accident score of the vehicle to be tested; the accident level corresponding to the accident interval to which the total accident score belongs is determined; and a rescue reminder is sent to the operation and maintenance personnel based on the accident level so that the operation and maintenance personnel can perform rescue processing on the vehicle to be tested.
8. The device according to claim 7, characterized in that The type determination module comprises: A feature determination unit, used to extract features from the current environment image of the vehicle to be tested to obtain the current environment features of the vehicle to be tested; wherein the current environment features include at least one of pothole features, vehicle features or human features; The type determination unit is used to determine the accident type of the vehicle to be tested according to the current environmental characteristics of the vehicle to be tested.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Data processing method, device and system, vehicle-mounted equipment and server
CN112132995A
Electric bicycle collision detection processing method, electric bicycle and storage medium
CN114973187A