An image storage method, system, vehicle-mounted controller and vehicle

By monitoring communication and collision detection parameters in real time through the vehicle controller, the dashcam can collect and store image data, solving the problem of data loss caused by loose memory card connection or equipment failure, and realizing effective storage of image data.

CN117315814BActive Publication Date: 2026-06-19GREAT WALL MOTOR CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2023-09-27
Publication Date
2026-06-19

Smart Images

  • Figure CN117315814B_ABST
    Figure CN117315814B_ABST
Patent Text Reader

Abstract

This application discloses an image storage method, system, vehicle controller, and vehicle. The method involves obtaining communication parameters between the vehicle controller and a dashcam, and / or collision detection parameters of the vehicle. Based on these parameters, it determines whether control conditions for the dashcam are met. If the communication or collision detection parameters meet the control conditions, the method controls the image acquisition device in the dashcam to acquire and store image data. By obtaining these parameter information, the vehicle controller can acquire and store the image data acquired by the image acquisition device when the parameters meet the control conditions, ensuring that the image data acquired by the image acquisition device is effectively stored and preventing data loss due to dashcam malfunction or a faulty memory card connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicles, and more particularly to an image storage method, system, vehicle controller, and vehicle. Background Technology

[0002] Currently, most vehicles are equipped with dashcams, and the video files recorded by dashcams can provide video evidence in the event of an accident or dispute.

[0003] Dashcams typically store recorded video files on their memory cards. However, due to issues such as loose memory card connections or dashcam malfunctions, video data may not be stored in a timely manner. Summary of the Invention

[0004] In view of this, this application provides an image storage method, system, vehicle controller, and vehicle, the specific solutions of which are as follows:

[0005] An image storage method, applied to an in-vehicle controller, includes:

[0006] Obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, collision detection parameters of the vehicle;

[0007] Based on the communication parameters and / or collision detection parameters, determine whether the control conditions for the vehicle recording device have been met;

[0008] If the communication parameters or collision detection parameters are determined to meet the control conditions for the vehicle recording device, the image acquisition device in the vehicle recording device is controlled to acquire image data, and the image data is obtained and stored.

[0009] Furthermore, the obtained parameter information includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, vehicle collision detection parameters, including:

[0010] Obtain the communication signal for communication detection between the driving recorder and the vehicle controller;

[0011] The collision detection parameters output by the vehicle recording device are obtained based on the analysis of the current image acquired by the image acquisition device, or the collision detection parameters detected by the sensors on the vehicle are obtained.

[0012] Furthermore, determining whether the control conditions for the vehicle recording device are met based on the communication parameters and / or collision detection parameters includes:

[0013] Determine whether the communication parameters meet the communication data transmission conditions;

[0014] Determine whether the collision condition has been met based on the collision detection parameters;

[0015] If it is determined that the communication parameters do not meet the communication data transmission conditions, or if the collision conditions are currently met, then it is determined that the control conditions for the vehicle recording device have been met.

[0016] Furthermore, determining whether a collision condition has been met based on the collision detection parameters includes:

[0017] Upon receiving collision detection parameters, it is determined that the collision condition has been met.

[0018] or,

[0019] When the received collision detection parameters reach a preset threshold, it is determined that a collision condition has been met.

[0020] Furthermore, the communication signal includes at least: a handshake signal and a pulse width modulation signal, and determining whether the communication parameters meet the communication data transmission conditions includes:

[0021] If it is determined that the transmission period of the handshake signal between the driving recorder and the vehicle controller exceeds the first threshold range, and at the same time, the duty cycle of the pulse width modulation signal between the driving recorder and the vehicle controller exceeds the second threshold range, it is determined that the communication parameters do not meet the communication data transmission conditions.

[0022] Furthermore, if it is determined that the communication parameters meet the control conditions for the vehicle recording device, controlling the image acquisition device in the vehicle recording device to acquire image data, and obtaining and storing the image data, includes:

[0023] If it is determined that the communication parameters meet the control conditions for the vehicle recording device, a first control command is output to the image acquisition device in the vehicle recording device;

[0024] The image acquisition device of the vehicle recording device acquires and stores the image data acquired in real time based on the feedback of the first control command.

[0025] Furthermore, if it is determined that the collision detection parameters meet the control conditions for the vehicle recording device, controlling the image acquisition device in the vehicle recording device to acquire image data, and obtaining and storing the image data, includes:

[0026] If it is determined that the collision detection parameters meet the control conditions for the vehicle recording device, the image data within a preset time period before the current time is obtained from the image acquisition device of the vehicle recording device, and a second control command is output to the image acquisition device in the vehicle recording device.

[0027] The image acquisition device of the vehicle recording device acquires and stores the image data acquired in real time based on the feedback of the second control command.

[0028] An on-board controller, comprising:

[0029] The obtaining unit is used to obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or collision detection parameters of the vehicle;

[0030] A determining unit is configured to determine, based on the communication parameters and / or collision detection parameters, whether the control conditions for the vehicle recording device have been met.

[0031] The storage unit is used to control the image acquisition device in the vehicle recording device to acquire image data, obtain and store the image data, when the communication parameters or collision detection parameters are determined to meet the control conditions for the vehicle recording device.

[0032] An image storage system, comprising:

[0033] A vehicle recording device, the vehicle recording device including at least an image acquisition device, the image acquisition device being used to acquire image data, and the vehicle recording device being used to store the image data;

[0034] The vehicle controller is used to obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or collision detection parameters of the vehicle; based on the communication parameters and / or collision detection parameters, it determines whether the control conditions for the driving recorder are met; if it is determined that the communication parameters or collision detection parameters meet the control conditions for the driving recorder, it controls the image acquisition device in the driving recorder to acquire image data, and obtains and stores the image data.

[0035] A vehicle comprising:

[0036] A control device for performing the image storage method as described in any of the above.

[0037] As can be seen from the above technical solutions, the image storage method, system, vehicle controller, and vehicle disclosed in this application obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, collision detection parameters of the vehicle; determine whether the control conditions for the driving recorder are met based on the communication parameters and / or collision detection parameters; if it is determined that the communication parameters or collision detection parameters meet the control conditions for the driving recorder, control the image acquisition device in the driving recorder to acquire image data, obtain and store the image data. This solution obtains communication parameters and / or collision detection parameters so that when the communication parameters or collision detection parameters meet the control conditions for the driving recorder, the vehicle controller can control the image acquisition device in the driving recorder to acquire image data and store the image data acquired by the image acquisition device. This ensures that the image data acquired by the image acquisition device in the driving recorder can be effectively stored, avoiding situations where image data cannot be stored due to driving recorder malfunction or a loose connection of the memory card in the driving recorder. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is a flowchart of an image storage method disclosed in an embodiment of this application;

[0040] Figure 2 This is a flowchart of an image storage method disclosed in an embodiment of this application;

[0041] Figure 3 This is a flowchart of an image storage method disclosed in an embodiment of this application;

[0042] Figure 4 This is a flowchart of an image storage method disclosed in an embodiment of this application;

[0043] Figure 5 This is a schematic diagram of the structure of an on-board controller disclosed in an embodiment of this application;

[0044] Figure 6 This is a schematic diagram of the structure of an image storage system disclosed in an embodiment of this application;

[0045] Figure 7 This is a schematic diagram of the complete architecture of an image storage system disclosed in an embodiment of this application. Detailed Implementation

[0046] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0047] This application discloses an image storage method applied to an in-vehicle controller, the flowchart of which is shown below. Figure 1 As shown, it includes:

[0048] Step S11: Obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, collision detection parameters of the vehicle.

[0049] Step S12: Determine whether the control conditions for the vehicle recording device have been met based on communication parameters and / or collision detection parameters;

[0050] Step S13: If the communication parameters or collision detection parameters meet the control conditions for the vehicle recording device, control the image acquisition device in the vehicle recording device to acquire image data, obtain and store the image data.

[0051] The dashcam installed in a vehicle is mainly used to record video information during the vehicle's driving process, so as to provide video evidence in the event of an accident or dispute. The dashcam can be called a dashcam.

[0052] However, when a vehicle is involved in a collision, the memory card in the dashcam may experience a connection problem, which may prevent the image data captured by the dashcam's image acquisition device from being stored on the memory card, thus making it impossible to store and use the image data; or, when the dashcam malfunctions, it may be unable to transmit the captured image data to other devices.

[0053] Based on the above issues, the vehicle controller in this solution obtains parameter information in real time and determines whether to transfer the image data collected by the image acquisition device in the driving recorder to the vehicle controller based on the parameter information. When the image data needs to be transferred, the vehicle controller can obtain and store the image data collected by the image acquisition device, avoiding the situation where the image data cannot be stored due to the failure of the driving recorder or the loose connection of the memory card in the driving recorder.

[0054] Specifically, the vehicle controller involved in this embodiment can be a multimedia host controller.

[0055] Specifically, the vehicle controller obtains parameter information, which can be: communication parameters between the vehicle controller and the driving recorder, collision detection parameters of the vehicle, or a combination of communication parameters between the vehicle controller and the driving recorder and collision detection parameters of the vehicle.

[0056] The vehicle controller can obtain parameter information by actively outputting it to the vehicle controller from the dash cam or the sensor used to collect collision detection parameters, or by sending an acquisition request to the dash cam or the sensor, which then outputs the information to the vehicle controller based on the acquisition request.

[0057] Among them, the communication parameters can be: communication signals for communication detection between the driving recorder and the vehicle controller. Based on the communication signals, the vehicle controller can determine whether the driving recorder and the vehicle controller can communicate normally; the collision detection parameters are: parameters used to indicate whether the vehicle has collided. That is, based on the collision detection parameters, the vehicle controller or the driving recorder can determine whether the vehicle has collided.

[0058] By analyzing the parameter information, it is determined whether the control conditions for the vehicle recording device have been met. If the control conditions have been met, it indicates that the vehicle recording device is currently unable to store image data, or there is a possibility that the vehicle recording device is currently unable to store image data. Therefore, based on the communication parameters and / or collision detection parameters in the parameter information, it is determined whether the vehicle recording device is currently unable to store image data, or whether there is a possibility that the vehicle recording device is currently unable to store image data. This determines whether the control conditions for the vehicle recording device have been met, and the vehicle controller then controls the image acquisition device in the vehicle recording device.

[0059] When it is determined that the control conditions for the vehicle recording device have been met, the vehicle controller controls the image acquisition device in the vehicle recording device to collect image data, so that the image acquisition device can send the collected image data to the vehicle controller. The vehicle controller obtains the image data and stores it. At this time, the image acquisition device in the vehicle recording device can still collect image data normally and send the collected image data directly or indirectly to the vehicle controller for storage.

[0060] In one scenario, the image acquisition device sends the acquired image data directly to the vehicle controller, bypassing the controller within the dashcam. Instead, the image acquisition device communicates directly with the vehicle controller. In this case, the dashcam may be operating normally or may be unable to communicate. Alternatively, the image acquisition device can send the acquired image data indirectly to the vehicle controller. In this case, the image acquisition device sends the acquired image data to the dashcam's controller, which then sends the image data to the vehicle controller. In this scenario, the dashcam is still operating normally, and the memory card in the dashcam can continue to store image data. However, to ensure effective storage and transmission of the image data, the image data is backed up and stored in the vehicle controller.

[0061] The image storage method disclosed in this embodiment obtains parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or collision detection parameters of the vehicle; determines whether the control conditions for the driving recorder are met based on the communication parameters and / or collision detection parameters; if it is determined that the communication parameters or collision detection parameters meet the control conditions for the driving recorder, controls the image acquisition device in the driving recorder to acquire image data, and obtains and stores the image data. This solution obtains communication parameters and / or collision detection parameters so that when the communication parameters or collision detection parameters meet the control conditions for the driving recorder, the vehicle controller can control the image acquisition device in the driving recorder to acquire image data and store the image data acquired by the image acquisition device. This ensures that the image data acquired by the image acquisition device in the driving recorder can be effectively stored, avoiding situations where image data cannot be stored due to driving recorder malfunction or a loose connection of the memory card in the driving recorder.

[0062] This embodiment discloses an image storage method applied to an in-vehicle controller, the flowchart of which is shown below. Figure 2 As shown, it includes:

[0063] Step S21: Obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, collision detection parameters of the vehicle.

[0064] Step S22: Determine whether the communication parameters meet the communication data transmission conditions; determine whether the collision conditions have been met based on the collision detection parameters.

[0065] Step S23: If it is determined that the communication parameters do not meet the communication data transmission conditions, or the collision conditions are currently met, then it is determined that the control conditions for the vehicle recording device have been met.

[0066] Step S24: Control the image acquisition device in the vehicle recording device to acquire image data, obtain and store image data.

[0067] Based on communication parameters and / or collision detection parameters, it can be determined whether the control conditions for the vehicle recording device have been met. Specifically, it can be determined whether the communication parameters meet the communication data transmission conditions and whether the collision detection parameters meet the collision conditions, thereby determining whether the control conditions for the vehicle recording device have been met.

[0068] Since the communication parameters are actually the parameters of the communication signals used for communication detection between the dashcam and the vehicle controller, determining whether the communication parameters meet the conditions for communication data transmission is actually determining whether the dashcam controller and the vehicle controller can transmit image data if communication transmission is currently in progress. In other words, based on the current communication status between the dashcam and the vehicle controller, it is possible to transmit the image data stored in the dashcam's memory card to the vehicle controller.

[0069] Therefore, if the current communication status between the dashcam and the vehicle controller, determined based on communication parameters, indicates that the image data stored on the dashcam's memory card cannot be transferred to the vehicle controller, it means that when an accident or dispute occurs and it is necessary to transfer the video recordings stored on the dashcam's memory card, the data cannot be transferred through the communication network between the dashcam and the vehicle controller. This prevents the transfer of the video recordings from the memory card. Therefore, it can be determined that the control conditions for the dashcam have been met, and the images captured by the dashcam's image acquisition device need to be transferred in a timely manner.

[0070] Collision detection parameters can be obtained from the analysis of the current image captured by the image acquisition device, or they can be based on the detection by the sensors.

[0071] Specifically, the process could be as follows: the image acquisition device in the dashcam acquires images, analyzes the acquired images, generates collision detection parameters based on the analysis results, and sends the collision detection parameters to the vehicle controller so that the vehicle controller can determine whether a collision has occurred; or, the process could be as follows: the image acquisition device in the dashcam acquires images, sends the acquired images to the vehicle controller, the vehicle controller analyzes them, determines the collision detection parameters, and determines whether a collision has occurred based on the collision detection parameters.

[0072] Alternatively, the collision detection parameters can be obtained by the vehicle's sensors and sent to the vehicle controller. Or, the vehicle's sensors can obtain sensor data and send it to the dashcam. The dashcam can then analyze the sensor data to determine if it is actually a collision detection parameter, and then send the collision detection parameter to the vehicle controller, which will determine whether the collision detection parameter meets the collision conditions.

[0073] If the vehicle controller obtains the communication parameters, it is considered that the control conditions for the driving recorder have been met if the communication parameters do not meet the communication data transmission conditions. In this case, the vehicle controller needs to control the image acquisition device in the driving recorder to collect image data, and the vehicle controller will obtain and store the image data. If it is determined that the communication parameters meet the communication data transmission conditions, it can be determined that the image data can still be transmitted to the vehicle controller through the controller of the driving recorder. Therefore, the vehicle controller does not need to directly obtain the image data collected by the image acquisition device in the driving recorder.

[0074] If the vehicle controller obtains collision detection parameters, then as long as the collision detection parameters meet the collision conditions, it is considered that the control conditions for the dashcam have been met. The vehicle controller needs to control the image acquisition device in the dashcam to collect image data, and the vehicle controller will obtain and store the image data to avoid the problem of the memory card in the dashcam being loosely connected due to the collision, thus preventing the storage of image data. If it is determined that the collision detection parameters have not met the collision conditions, then no collision has occurred, or even if a collision occurs, it will not cause the memory card to be loosely connected. In this case, the original solution of storing the image data collected by the image acquisition device in the dashcam using the memory card in the dashcam can still be used.

[0075] Furthermore, if the vehicle controller obtains communication parameters and collision detection parameters, and if the communication parameters meet the communication data transmission conditions and the collision detection parameters do not meet the collision conditions, then the vehicle controller does not need to store the image data collected by the image acquisition device in the dashcam, nor does it need to control the image acquisition device in the dashcam. If the communication parameters do not meet the communication data transmission conditions, then regardless of whether the collision detection parameters meet the collision conditions, the vehicle controller needs to control the image acquisition device in the dashcam to collect image data, and the vehicle controller will obtain and store the image data. If the collision detection parameters meet the collision conditions, then regardless of whether the communication parameters meet the communication data transmission conditions, the vehicle controller needs to control the image acquisition device in the dashcam to collect image data, and the vehicle controller will obtain and store the image data.

[0076] The image storage method disclosed in this embodiment obtains parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or collision detection parameters of the vehicle; determines whether the communication parameters meet the communication data transmission conditions; determines whether a collision condition has been met based on the collision detection parameters; if it is determined that the communication parameters do not meet the communication data transmission conditions, or if a collision condition has been met, then it is determined that the control conditions for the driving recorder have been met; if it is determined that the communication parameters or collision detection parameters meet the control conditions for the driving recorder, the image acquisition device in the driving recorder is controlled to acquire image data, and the image data is obtained and stored. This solution obtains the communication parameters between the vehicle controller and the driving recorder and / or the vehicle's collision detection parameters in real time, so that when the communication parameters do not meet the communication data transmission conditions, or when the collision detection parameters meet the collision conditions, it can determine that the control conditions for the driving recorder have been met, and can obtain and store the image data acquired by the image acquisition device in the driving recorder. This ensures that the image data acquired by the image acquisition device in the driving recorder can be effectively stored, avoiding situations where image data cannot be stored due to driving recorder malfunction or a loose connection of the memory card in the driving recorder.

[0077] This embodiment discloses an image storage method applied to an in-vehicle controller, the flowchart of which is shown below. Figure 3 As shown, it includes:

[0078] Step S31: Obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, collision detection parameters of the vehicle.

[0079] Step S32: Determine whether the control conditions for the vehicle recording device have been met based on communication parameters and / or collision detection parameters;

[0080] Step S33: If it is determined that the communication parameters meet the control conditions for the vehicle recording device, output the first control command to the image acquisition device in the vehicle recording device;

[0081] Step S34: Obtain and store the image data acquired in real time by the image acquisition device of the vehicle recording device based on the feedback of the first control command.

[0082] The vehicle controller obtains parameter information including at least the communication parameters between the vehicle controller and the dash cam or the collision detection parameters of the vehicle. If it is determined that the communication parameters meet the control conditions for the dash cam, the vehicle controller needs to control the image acquisition device in the dash cam and store the image data acquired by the image acquisition device in the dash cam into the vehicle controller. This is to avoid the inability to transfer the images stored in the memory card of the dash cam to the vehicle controller due to dash cam malfunction or communication failure between the dash cam and the vehicle controller.

[0083] Specifically, the dash cam includes a controller, a memory card, and an image acquisition device. When the dash cam is running normally, the image acquisition device acquires images and stores them on the memory card. When the vehicle controller or other controllers need to obtain the images stored on the memory card in the dash cam, the dash cam controller outputs the images stored on the memory card to realize the output of the image data recorded in the dash cam.

[0084] In this embodiment, determining that the communication parameters between the driving recorder and the vehicle controller are abnormal actually means determining that the communication link between the controller of the driving recorder and the vehicle controller is abnormal. In this case, the image acquisition device in the driving recorder can directly send the acquired image to the vehicle controller. That is, the image acquisition device in the driving recorder is directly connected to the vehicle controller without going through the controller of the driving recorder.

[0085] When the vehicle controller determines that the communication parameters between the dashcam's controller and the vehicle controller do not meet the data transmission requirements, the vehicle controller directly outputs a first control command to the dashcam's image acquisition device. The vehicle controller then directly controls the image acquisition device to prevent data transmission failure due to controller malfunction. Upon receiving the first control command, the dashcam's image acquisition device responds directly, sending the real-time acquired image data to the vehicle controller. This ensures the vehicle controller receives the real-time image data promptly, preventing data loss due to controller malfunction.

[0086] If it is determined that the communication parameters between the dashcam controller and the vehicle controller do not meet the communication data transmission conditions, the vehicle controller will output a first controller command to the dashcam's image acquisition device, so that the image acquisition device can directly send the image data it has acquired in real time to the vehicle controller for storage. This continues until the vehicle controller detects that the communication parameters between the dashcam controller and the vehicle controller meet the communication data transmission conditions. At this point, the vehicle controller will no longer directly receive the image data output by the dashcam's image acquisition device, but will instead use the dashcam's original image storage process: the dashcam's image acquisition device acquires images, the dashcam's memory card stores the images, and when other devices need to obtain images from the dashcam, the dashcam controller will output the images stored in the memory card.

[0087] Furthermore, the communication parameters between the controller of the dash cam and the vehicle controller are actually determined based on the communication signals used for communication detection between the dash cam and the vehicle controller. These communication signals can include at least: handshake signals and pulse width modulation signals.

[0088] To determine whether the communication parameters meet the communication data transmission conditions, the following can be used: If the transmission period of the handshake signal between the driving recorder and the vehicle controller exceeds the first threshold range, and at the same time, the duty cycle of the pulse width modulation signal between the driving recorder and the vehicle controller exceeds the second threshold range, then it can be determined that the communication parameters do not meet the communication data transmission conditions.

[0089] The handshake signal is specifically the CAN handshake signal, which has a certain signal transmission period, such as 100ms±10ms. As long as the period of the handshake signal is detected to be within 100ms±10ms, the CAN handshake signal is considered to be transmitting normally. If it exceeds this range, the CAN handshake signal is considered to be abnormal.

[0090] Pulse Width Modulation (PWM) signals, also known as square wave signals, have a specific duty cycle, such as 50%. When the duty cycle of a PWM signal falls within a certain range of this specific duty cycle, it is considered a valid signal; otherwise, it is considered abnormal. For example, with a specific duty cycle of 50% and a second threshold range of 40%-60%, the PWM signal is considered valid as long as its duty cycle is between 40% and 60%.

[0091] Only when both the handshake signal and the pulse width modulation signal are abnormal will it be determined that the communication parameters do not meet the communication data transmission conditions, in order to avoid misjudgment.

[0092] The image storage method disclosed in this embodiment obtains parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder and / or collision detection parameters of the vehicle; determines whether the control conditions for the driving recorder are met based on the communication parameters and / or collision detection parameters; if it is determined that the communication parameters meet the control conditions for the driving recorder, outputs a first control command to the image acquisition device in the driving recorder; and obtains and stores the image data acquired in real time by the image acquisition device of the driving recorder based on the first control command. This solution obtains communication parameters and / or collision detection parameters in real time. When these parameters meet the control conditions for the dashcam, it can acquire and store the image data captured by the image acquisition device in the dashcam. This ensures the effective storage of image data from the image acquisition device and prevents data loss due to dashcam malfunction or a faulty memory card connection. Furthermore, when the communication parameters meet the control conditions for the dashcam, the vehicle controller actively acquires image data from the image acquisition device to prevent the image data from failing to output due to controller malfunction.

[0093] This embodiment discloses an image storage method applied to an in-vehicle controller, the flowchart of which is shown below. Figure 4 As shown, it includes:

[0094] Step S41: Obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, collision detection parameters of the vehicle.

[0095] Step S42: Determine whether the control conditions for the vehicle recording device have been met based on communication parameters and / or collision detection parameters;

[0096] Step S43: If it is determined that the collision detection parameters meet the control conditions for the vehicle recording device, obtain the image data within a preset time period before the current time collected by the image acquisition device of the vehicle recording device, and output the second control command to the image acquisition device in the vehicle recording device.

[0097] Step S44: Obtain and store the real-time image data acquired by the image acquisition device of the vehicle recording device based on the feedback of the second control command.

[0098] The vehicle controller obtains parameter information including at least the communication parameters between the vehicle controller and the dash cam or the collision detection parameters of the vehicle. If it is determined that the collision detection parameters meet the control conditions for the dash cam, it can be determined that a collision has occurred. When a collision occurs, it is usually necessary to retrieve the video recordings stored by the dash cam within a certain period before and after the collision. However, a vehicle collision may cause a loose connection in the memory card of the dash cam, which may prevent the memory card from storing the data collected in real time by the image acquisition device. In other words, it may be unable to store the image data after the collision. In addition, it may also cause the data stored on the memory card before the collision to be unable to be output in a timely manner.

[0099] Therefore, when the collision detection parameters meet the control conditions for the dashcam, the vehicle controller needs to obtain the data collected by the dashcam within a certain period before and after the collision. If the collision does not cause a loose connection in the dashcam's memory card, the method disclosed in this embodiment can be directly adopted. For data before the collision, the data is directly obtained and stored from the dashcam's memory card. For data after the collision, the vehicle controller directly outputs a second control command to the dashcam's image acquisition device, so that the second control command can send the real-time collected data directly to the vehicle controller based on the second control command, without going through the dashcam's controller and memory card. It should be noted that after a collision, as long as the dashcam's memory card does not have a loose connection, it still needs to obtain and store the image data collected in real time by the dashcam's image acquisition device. That is, at this time, the dashcam's memory card and the vehicle controller simultaneously store the image data after the collision.

[0100] In addition, if the collision causes a loose connection of the memory card in the dashcam, the image data after the collision can be obtained using the above example. That is, the vehicle controller actively outputs a second control command to the image acquisition device of the dashcam, so that the image acquisition device can directly send the real-time acquired image data to the vehicle controller for storage. As for the image data before the collision, the memory card can be removed from the dashcam to obtain the image data recorded on the memory card before the collision.

[0101] If the collision detection parameters meet the control conditions for the dashcam, allowing the vehicle controller to directly obtain the image data collected in real time by the dashcam's image acquisition device, then only image data for a preset duration after the collision can be acquired, such as only 15 seconds or 1 minute after the collision. Alternatively, the vehicle controller can always directly obtain the image data collected in real time by the dashcam's image acquisition device until the vehicle controller outputs a termination command, or detects a signal that the dashcam's memory card is connected. After that, the dashcam's memory card normally receives and stores the image data collected in real time by the image acquisition device.

[0102] Furthermore, determining whether a collision condition has been met based on collision detection parameters can be done as follows: when collision detection parameters are received, it is determined that the collision condition has been met. That is, as long as the vehicle controller receives collision detection parameters, the vehicle controller considers that a collision has occurred and the collision condition has been met. In other words, when no collision has occurred, neither the dashcam nor other sensors will output collision detection parameters.

[0103] Alternatively, the system could be configured such that when the received collision detection parameters reach a preset threshold, a collision condition is determined to have been met. That is, when the vehicle controller receives collision detection parameters, it considers a collision to have occurred, but this does not necessarily mean that the collision condition has been met. Only when the collision detection parameters reach a certain threshold is the collision condition considered met, and only then will the vehicle controller acquire image data from the dashcam's image acquisition device. If the collision detection parameters do not reach this threshold, even if a collision has occurred, the collision condition has not been met, and the vehicle controller does not need to actively acquire image data from the dashcam's image acquisition device.

[0104] The image storage method disclosed in this embodiment obtains parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder and / or collision detection parameters of the vehicle; determines whether the control conditions for the driving recorder are met based on the communication parameters and / or collision detection parameters; if it is determined that the collision detection parameters meet the control conditions for the driving recorder, obtains image data within a preset time period before the current moment collected by the image acquisition device of the driving recorder, and outputs a second control command to the image acquisition device in the driving recorder; and obtains and stores the real-time image data collected by the image acquisition device of the driving recorder based on the second control command. This solution obtains the communication parameters between the vehicle controller and the dashcam and / or the vehicle's collision detection parameters in real time. This ensures that when the communication or collision detection parameters meet the control conditions for the dashcam, the system can acquire and store the image data captured by the image acquisition device in the dashcam. This guarantees that the image data acquired by the image acquisition device in the dashcam can be effectively stored, avoiding situations where image data cannot be stored due to dashcam malfunction or a faulty memory card connection. Furthermore, when the collision detection parameters meet the control conditions for the dashcam, the vehicle controller not only needs to obtain the image data acquired by the image acquisition device within a preset time period prior to the current moment, but also needs to actively acquire the real-time image data from the image acquisition device. This prevents situations where the image data acquired by the image acquisition device in the dashcam cannot be stored due to the memory card being unable to store image data.

[0105] This embodiment discloses an on-board controller, the structural schematic diagram of which is shown below. Figure 5 As shown, it includes:

[0106] The acquisition unit 51, the determination unit 52, and the storage unit 53 are used.

[0107] The obtaining unit 51 is used to obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, collision detection parameters of the vehicle.

[0108] The determining unit 52 is used to determine whether the control conditions for the vehicle recording device have been met based on communication parameters and / or collision detection parameters;

[0109] The storage unit 53 is used to control the image acquisition device in the vehicle recording device to acquire image data, obtain and store the image data when the communication parameters or collision detection parameters meet the control conditions for the vehicle recording device.

[0110] Furthermore, the obtaining unit is used for:

[0111] The system obtains communication signals for communication detection between the dashcam and the vehicle controller; it also obtains collision detection parameters output by the dashcam based on the analysis of the current image acquired by the image acquisition device, or obtains collision detection parameters detected by sensors on the vehicle.

[0112] Furthermore, the determining unit is used for:

[0113] Determine whether the communication parameters meet the communication data transmission conditions; determine whether the collision conditions have been met based on the collision detection parameters; if it is determined that the communication parameters do not meet the communication data transmission conditions, or if the collision conditions have been met, then determine that the control conditions for the vehicle recording device have been met.

[0114] Furthermore, the determining unit is used for:

[0115] When collision detection parameters are received, it is determined that the current collision condition has been met; or, when the received collision detection parameters reach a preset threshold, it is determined that the current collision condition has been met.

[0116] Furthermore, the communication signals include at least: handshake signals and pulse width modulation signals, and the determining unit is used for:

[0117] If it is determined that the period of the handshake signal between the driving recorder and the vehicle controller exceeds the first threshold range, and at the same time, the duty cycle of the pulse width modulation signal between the driving recorder and the vehicle controller exceeds the second threshold range, it is determined that the communication parameters do not meet the communication data transmission conditions.

[0118] Furthermore, the storage unit is used for:

[0119] If the communication parameters are determined to meet the control conditions for the vehicle recording device, a first control command is output to the image acquisition device in the vehicle recording device; the image data acquired in real time by the image acquisition device of the vehicle recording device based on the feedback of the first control command is obtained and stored.

[0120] Furthermore, the storage unit is used for:

[0121] If the collision detection parameters are determined to meet the control conditions for the vehicle recording device, the image data within a preset time period before the current moment is obtained from the image acquisition device of the vehicle recording device, and a second control command is output to the image acquisition device in the vehicle recording device; the image data collected in real time by the image acquisition device of the vehicle recording device based on the feedback of the second control command is obtained and stored.

[0122] The vehicle controller disclosed in this embodiment is implemented based on the image storage method disclosed in the above embodiment, and will not be described again here.

[0123] The vehicle controller disclosed in this embodiment obtains parameter information, which includes at least: communication parameters between the vehicle controller and the dashcam and / or collision detection parameters of the vehicle; it determines whether the control conditions for the dashcam are met based on the communication parameters and / or collision detection parameters; if the communication parameters or collision detection parameters meet the control conditions for the dashcam, it controls the image acquisition device in the dashcam to acquire image data, and obtains and stores the image data. This solution obtains communication parameters and / or collision detection parameters so that when the communication parameters or collision detection parameters meet the control conditions for the dashcam, the vehicle controller can control the image acquisition device in the dashcam to acquire image data, and the vehicle controller can obtain and store the image data. This ensures that the image data acquired by the image acquisition device in the dashcam can be effectively stored, avoiding situations where image data cannot be stored due to dashcam malfunction or a loose connection of the memory card in the dashcam.

[0124] This embodiment discloses an image storage system, the structural schematic diagram of which is shown below. Figure 6 As shown, it includes:

[0125] Driving recorder 61 and vehicle controller 62.

[0126] Among them, the vehicle recording device 61 includes at least an image acquisition device, which is used to acquire image data and the vehicle recording device is used to store image data.

[0127] The vehicle controller 62 is used to obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder and / or collision detection parameters of the vehicle; determine whether the control conditions for the driving recorder are met based on the communication parameters and / or collision detection parameters; if it is determined that the communication parameters or collision detection parameters meet the control conditions for the driving recorder, control the image acquisition device in the driving recorder to acquire image data, obtain and store the image data.

[0128] In addition, the vehicle may also include components such as body control, alarm devices, and on-board instruments.

[0129] The alarm device is used to output alarm information when the control conditions for the driving recorder are met, so as to prompt the user to perform maintenance. The alarm device can be controlled by the vehicle controller or the body controller to output alarm information.

[0130] Specifically, the complete architecture diagram of the image storage system disclosed in this embodiment can be as follows: Figure 7 As shown, it includes:

[0131] 71. Driving recorder, 72. Vehicle controller, 73. Vehicle wireless terminal, 74. Body controller, 75. External camera or sensor, and 76. Alarm device.

[0132] The dashcam and the vehicle controller communicate wirelessly via a vehicle wireless terminal, using CAN handshake signals and PWM square wave signals as communication parameters between them. The alarm device can display information on the vehicle instrument panel or provide audible alerts. External cameras or sensors can detect collision signals.

[0133] The image storage system disclosed in this embodiment is implemented based on the image storage method disclosed in the above embodiments, and will not be described again here.

[0134] The image storage system disclosed in this embodiment obtains parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder and / or collision detection parameters of the vehicle; determines whether the control conditions for the driving recorder are met based on the communication parameters and / or collision detection parameters; if it is determined that the communication parameters or collision detection parameters meet the control conditions for the driving recorder, controls the image acquisition device in the driving recorder to acquire image data, and obtains and stores the image data. This solution obtains communication parameters and / or collision detection parameters so that when the communication parameters or collision detection parameters meet the control conditions for the driving recorder, the vehicle controller can control the image acquisition device in the driving recorder to acquire image data, and the vehicle controller can obtain and store the image data. This ensures that the image data acquired by the image acquisition device in the driving recorder can be effectively stored, avoiding situations where image data cannot be stored due to driving recorder malfunction or a loose connection of the memory card in the driving recorder.

[0135] This embodiment discloses a vehicle, which includes at least a control device for executing the image storage method described above.

[0136] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0137] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0138] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0139] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An image storage method applied to an in-vehicle controller, characterized in that, include: Obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, collision detection parameters of the vehicle; Based on the communication parameters and / or collision detection parameters, determine whether the control conditions for the vehicle recording device have been met; If the communication parameters or collision detection parameters are determined to meet the control conditions for the vehicle recording device, the image acquisition device in the vehicle recording device is controlled to acquire image data, and the image data directly sent by the image acquisition device to the vehicle controller is obtained and stored.

2. The method according to claim 1, characterized in that, The obtained parameter information includes at least: communication parameters between the vehicle controller and the driving recorder, and / or, vehicle collision detection parameters, including: Obtain the communication signal for communication detection between the driving recorder and the vehicle controller; The collision detection parameters output by the vehicle recording device are obtained based on the analysis of the current image acquired by the image acquisition device, or the collision detection parameters detected by the sensors on the vehicle are obtained.

3. The method according to claim 2, characterized in that, The step of determining whether the control conditions for the vehicle recording device have been met based on the communication parameters and / or collision detection parameters includes: Determine whether the communication parameters meet the communication data transmission conditions; Determine whether the collision condition has been met based on the collision detection parameters; If it is determined that the communication parameters do not meet the communication data transmission conditions, or if the collision conditions are currently met, then it is determined that the control conditions for the vehicle recording device have been met.

4. The method according to claim 3, characterized in that, Determining whether a collision condition has been met based on the collision detection parameters includes: Upon receiving collision detection parameters, it is determined that the collision condition has been met. or, When the received collision detection parameters reach a preset threshold, it is determined that a collision condition has been met.

5. The method according to claim 3, characterized in that, The communication signal includes at least: a handshake signal and a pulse width modulation signal, and determining whether the communication parameters meet the communication data transmission conditions includes: If it is determined that the transmission period of the handshake signal between the driving recorder and the vehicle controller exceeds the first threshold range, and at the same time, the duty cycle of the pulse width modulation signal between the driving recorder and the vehicle controller exceeds the second threshold range, it is determined that the communication parameters do not meet the communication data transmission conditions.

6. The method according to claim 1, characterized in that, If it is determined that the communication parameters meet the control conditions for the vehicle recording device, the step of controlling the image acquisition device in the vehicle recording device to acquire image data, and obtaining and storing the image data includes: If it is determined that the communication parameters meet the control conditions for the vehicle recording device, a first control command is output to the image acquisition device in the vehicle recording device; The image acquisition device of the vehicle recording device acquires and stores the image data acquired in real time based on the feedback of the first control command.

7. The method according to claim 1, characterized in that, If it is determined that the collision detection parameters meet the control conditions for the vehicle recording device, the image acquisition device in the vehicle recording device is controlled to acquire image data, and the image data is obtained and stored, including: If it is determined that the collision detection parameters meet the control conditions for the vehicle recording device, the image data within a preset time period before the current time is obtained from the image acquisition device of the vehicle recording device, and a second control command is output to the image acquisition device in the vehicle recording device. The image acquisition device of the vehicle recording device acquires and stores the image data acquired in real time based on the feedback of the second control command.

8. A vehicle-mounted controller, characterized in that, include: The obtaining unit is used to obtain parameter information, which includes at least: communication parameters between the vehicle controller and the driving recorder, and / or collision detection parameters of the vehicle; A determining unit is configured to determine, based on the communication parameters and / or collision detection parameters, whether the control conditions for the vehicle recording device have been met. The storage unit is used to control the image acquisition device in the driving recorder to acquire image data when the communication parameters or collision detection parameters meet the control conditions for the driving recorder, obtain the image data directly sent by the image acquisition device to the vehicle controller, and store the image data.

9. An image storage system, characterized in that, include: A vehicle recording device, the vehicle recording device including at least a controller, a memory card and an image acquisition device, the image acquisition device being used to acquire image data, and the memory card of the vehicle recording device being used to store the image data; An on-board controller is used to obtain parameter information, which includes at least: communication parameters between the on-board controller and the driving recorder, and / or collision detection parameters of the vehicle; based on the communication parameters and / or collision detection parameters, it determines whether the control conditions for the driving recorder are met; if it is determined that the communication parameters or collision detection parameters meet the control conditions for the driving recorder, it controls the image acquisition device in the driving recorder to acquire image data, obtains the image data directly sent by the image acquisition device to the on-board controller, and stores the image data.

10. A vehicle, characterized in that, include: A control device for performing the image storage method as described in any one of claims 1-7.