Vehicle unlocking function test method, electronic equipment, storage medium and product
By simulating the collision scenario on the test bench and cutting off the main power, the reliability of the vehicle unlocking function is detected, and the problem of high testing costs is solved, and testing in multiple extreme environments without damaging the vehicle is achieved.
Patent Information
- Application Number
- CN202510743003.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-05
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2045-06-05
AI Technical Summary
In the prior art, the testing cost of vehicle unlocking function is high, and the test vehicle is damaged through real-vehicle collision, making it impossible to effectively simulate multiple extreme environments.
By fixing the test vehicle on the test bench, simulating the collision scenario using the target impact parameters, and cutting off the main power supply while the test vehicle is in collision mode, detecting the unlocking results of the vehicle in the main power supply cut state, including image data recognition and motor current analysis.
Without damaging the test vehicle, the reliability of the unlocking function in extreme environments can be accurately verified, the testing cost can be reduced, and simulated testing in multiple extreme environments can be achieved.
Smart Images

Figure CN120253276A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicles, and in particular, to a test method for a vehicle unlocking function, an electronic device, a storage medium, and a computer program product. Background Art
[0002] With the continuous development of the automotive industry, new energy vehicles have become the preferred means of transportation for more and more users in their daily travel. The reliability of the unlocking function of new energy vehicles has become the top priority for ensuring user safety. In order to verify the reliability of the unlocking function of new energy vehicles in extreme environments, in related technologies, technicians usually use the method of real vehicle collision to simulate the collision environment that the vehicle may suffer, so as to verify the reliability of the unlocking function in extreme environments.
[0003] However, since the method of real vehicle collision requires actual damage to the test vehicle, the test vehicle can only test a single extreme environment, which leads to a significant increase in the test cost of the unlocking function. Summary of the Invention
[0004] The main purpose of the present application is to provide a test method for a vehicle unlocking function, an electronic device, a storage medium, and a computer program product, aiming to solve the technical problem of high test cost of the vehicle unlocking function in related technologies.
[0005] To achieve the above object, the present application proposes a test method for a vehicle unlocking function, the method comprising: Determine target impact parameters, so that a test bench on which a test vehicle is fixed performs a target action based on the target impact parameters; Control the test vehicle to enter a collision mode; Control the test vehicle to enter a main power cut-off state according to a preset first power cut-off time point, and detect the vehicle unlocking result of the test vehicle in the main power cut-off state.
[0006] In one embodiment, the detecting the vehicle unlocking result of the test vehicle in the main power cut-off state specifically includes: Collect and identify the image data of the test vehicle, and when it is identified that the door of the test vehicle is in an open state, it is determined that the test vehicle is unlocked successfully; when it is identified that the door of the test vehicle is in a closed state, it is determined that the test vehicle is unlocked failed.
[0007] In one embodiment, the detecting the vehicle unlocking result of the test vehicle in the main power cut-off state specifically includes: Detect the current of the door lock motor corresponding to the test vehicle; When it is detected that the current of the door lock motor generates a first mutation window at the first power-off time point, it is determined that the test vehicle is successfully unlocked; When it is detected that the current of the door lock motor does not generate a first mutation window at the first power-off time point, it is determined that the unlocking of the test vehicle fails.
[0008] In one embodiment, the controlling the test vehicle to enter the collision mode specifically includes: Injecting a preset simulated collision message into the test vehicle at a preset first signal injection time point for the test vehicle to enter the collision mode based on the simulated collision message.
[0009] In one embodiment, after the step of controlling the test vehicle to enter the collision mode, the method further includes: Obtaining a first test data stream of the test vehicle and searching for a preset collision mode data identifier; When it is detected that the first test data stream does not contain the collision mode data identifier, determining a preset time adjustment parameter; Updating the first signal injection time point to a second signal injection time according to the time adjustment parameter, where the second signal injection time point is earlier than the first signal injection time point.
[0010] In one embodiment, after the step of detecting the vehicle unlocking result of the test vehicle in the main power-off state, the method further includes: When it is detected that the unlocking of the test vehicle fails, obtaining a second test data stream of the test vehicle and searching for a preset response unlocking data identifier; When it is detected that the second test data stream does not contain the response unlocking data identifier, updating the first power-off time point to a second power-off time point, where the second power-off time point is later than the first power-off time point.
[0011] In one embodiment, the step of updating the first power-off time point to a second power-off time point includes: Determining the mechanism unlocking stage corresponding to the test vehicle according to the current of the door lock motor; Based on the mechanism unlocking stage, determining each unexecuted unlocking stage and determining the unlocking duration corresponding to each unexecuted unlocking stage; Determining the remaining unlocking duration according to each unlocking duration and updating the first power-off time point to the second power-off time point based on the remaining unlocking duration.
[0012] In one embodiment, the step of determining the target impact parameter matched by the test vehicle includes: Determine the preset collision scenario parameters, collision road parameters, and vehicle type parameters; Query the preset impact parameter mapping relationship based on the collision scenario parameters, the collision road parameters, and the vehicle type parameters to determine the target impact parameter.
[0013] In addition, to achieve the above object, the present application also proposes an electronic device, the device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program is configured to implement the steps of the vehicle unlocking function test method as described above.
[0014] In addition, to achieve the above object, the present application also proposes a storage medium, the storage medium is a computer-readable storage medium, a computer program is stored on the storage medium, and the computer program implements the steps of the vehicle unlocking function test method as described above when executed by a processor.
[0015] In addition, to achieve the above object, the present application also provides a computer program product, the computer program product includes a computer program, and the computer program implements the steps of the vehicle unlocking function test method as described above when executed by a processor.
[0016] The vehicle unlocking function test method provided by the embodiments of the present application determines the target impact parameter, so that the test bench on which the test vehicle is fixed performs the target action based on the target impact parameter; controls the test vehicle to enter the collision mode; controls the test vehicle to enter the main power cut-off state according to the preset first power cut-off time point, and detects the vehicle unlocking result of the test vehicle in the main power cut-off state.
[0017] In this embodiment, the electronic device first determines the target impact parameter for controlling the test bench on which the test vehicle is fixed, and controls the test bench to run according to the target impact parameter to perform the target action. After that, the electronic device controls the test vehicle to enter the collision mode. Finally, the electronic device performs a power-off operation on the test vehicle at the preset first power cut-off time point to make the test vehicle enter the main power cut-off state, and the electronic device then detects the test vehicle in the main power cut-off state to obtain the vehicle unlocking result of the test vehicle in the main power cut-off state as unlocking success or unlocking failure.
[0018] Thus, the present application solves the technical problem of the high test cost of the vehicle unlocking function in the related art. That is, the present application fixes the test vehicle on the test bench, controls the test bench to operate according to the impact parameters to simulate the collision scenario, and cuts off the main power supply when the test vehicle is in the collision mode, so as to detect whether the test vehicle can normally trigger the unlocking operation in the collision scenario, and detect whether the test vehicle can normally trigger the unlocking operation when the main power supply is cut off. Furthermore, without causing actual damage to the test vehicle, the reliability of the unlocking function in extreme environments is verified, so as to obtain accurate test results, and a single test vehicle can test multiple extreme environments, greatly reducing the test cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0021] Figure 1 It is a schematic flowchart provided for the first embodiment of the test method for the vehicle unlocking function of the present application; Figure 2 It is a schematic diagram of the test scenario involved in one embodiment of the test method for the vehicle unlocking function of the present application; Figure 3 It is a schematic diagram of the image acquisition module involved in one embodiment of the test method for the vehicle unlocking function of the present application; Figure 4 It is a schematic diagram of the module structure of the test device for the vehicle unlocking function in the embodiment of the present application; Figure 5 It is a schematic diagram of the device structure of the hardware operating environment involved in the test method for the vehicle unlocking function in the embodiment of the present application.
[0022] The implementation, functional features, and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0023] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0024] In order to better understand the technical solutions of the present application, the following will be described in detail with reference to the accompanying drawings of the specification and the specific implementation manners.
[0025] In this embodiment, for the convenience of description, the following takes an electronic device capable of communicating with a preset test bench and internally configured with a PLC (Programmable Logic Controller), or a mobile terminal, a data storage control terminal, a PC (Personal Computer), etc. connected to an electronic control unit supporting the electronic device as the execution subject for elaboration.
[0026] Based on the above-mentioned electronic device, the overall concept of the test method for the vehicle unlocking function of this application is proposed herein.
[0027] With the continuous development of the automotive industry, new energy vehicles have become the preferred means of transportation for more and more users in their daily travels. The reliability of the unlocking function of new energy vehicles has become the top priority for ensuring user safety. To verify the reliability of the unlocking function of new energy vehicles in extreme environments, in related technologies, technicians usually use the method of real vehicle collision to simulate the collision environment that the vehicle may encounter, so as to verify the reliability of the unlocking function in extreme environments. However, since the method of real vehicle collision requires actual damage to the test vehicle, the test vehicle can only test a single extreme environment, which leads to a significant increase in the test cost of the unlocking function.
[0028] In view of the above phenomenon, this application provides a test method for the vehicle unlocking function. The method includes: determining target impact parameters so that the test bench with the test vehicle fixed thereon performs a target action based on the target impact parameters; controlling the test vehicle to enter a collision mode; controlling the test vehicle to enter a main power cut-off state according to a preset first power cut-off time point, and detecting the vehicle unlocking result of the test vehicle in the main power cut-off state.
[0029] In this way, this application solves the technical problem of the relatively high test cost of the vehicle unlocking function in related technologies, that is, this application fixes the test vehicle on the test bench, controls the test bench to run according to the impact parameters to simulate a collision scenario, and cuts off the main power when the test vehicle is in the collision mode, so as to detect whether the test vehicle can normally trigger the unlocking operation in the collision scenario, and detect whether the test vehicle can normally trigger the unlocking operation when the main power is cut off, thereby verifying the reliability of the unlocking function in extreme environments without causing actual damage to the test vehicle, so as to obtain accurate test results, and enabling a single test vehicle to test multiple extreme environments, greatly reducing the test cost.
[0030] Based on the overall concept of the test method for the vehicle unlocking function of this application, an embodiment of this application provides a test method for the vehicle unlocking function. Referring to Figure 1 , Figure 1Schematic flowchart of the first embodiment of the test method for the vehicle unlocking function of the present application. In this embodiment, the test method for the vehicle unlocking function is applied to an electronic device, and the electronic device is communicatively connected to a preset test bench. A test vehicle is fixed on the test bench. The test method for the vehicle unlocking function includes steps S10 to S30: Step S10: Determine target impact parameters so that the test bench with the test vehicle fixed thereon performs a target action based on the target impact parameters; It should be noted that the target impact parameter is the impact waveform frequency output by the test bench when simulating a collision environment during dynamic testing. It can be understood that the target impact parameter is used to reproduce the acceleration impact environment suffered by the vehicle in a real collision accident.
[0031] In this embodiment, the electronic device first accesses the test bench communicatively connected to itself, thereby determining the vehicle type parameters of the test vehicle fixed on the test bench, the collision scenarios to be simulated, and the collision roads to be simulated. Then, based on the vehicle type parameters, collision scenarios, and collision roads, the electronic device determines the target impact parameters for controlling the test bench to vibrate and simulate a real collision environment. The electronic device controls the test bench to operate according to the target impact parameters to perform corresponding target actions, thereby simulating an actual collision scenario.
[0032] Exemplarily, for example, please refer to Figure 2 , Figure 2 Schematic diagram of the test scenario involved in an embodiment of the test method for the vehicle unlocking function of the present application. As shown in Figure 2 , when detecting the test vehicle to determine whether the unlocking function of the test vehicle is normal, the test vehicle can be first fixed on the test bench preset in the experiment. At this time, the electronic device accesses the test bench communicatively connected to itself, thereby determining the vehicle type parameters of the test vehicle. At the same time, the electronic device determines the collision scenarios to be simulated and the collision roads to be simulated. Then, based on the vehicle type parameters, collision scenarios, and collision roads, the electronic device determines the target impact parameters for controlling the test bench to vibrate and simulate a real collision environment. The electronic device then controls the test bench to perform a target action according to the target impact parameters, simulating an actual collision scenario of the vehicle to determine the state of the test vehicle when it is collided at a preset vehicle speed and in a preset road environment.
[0033] In this way, the electronic device can calibrate and match the target impact parameters through the collision scenarios to be simulated, so as to accurately simulate the acceleration impact suffered by the test vehicle in a real collision, the road environment where the test vehicle is located, the collision mode suffered, etc., avoiding the situation of distorted detection results due to the inability to simulate a real collision scenario in static testing in the prior art. At the same time, the electronic device can also adapt to the test requirements of new energy vehicles of different brands by calibrating and matching the target impact parameters.
[0034] It should be noted that in this embodiment and another embodiment, before fixing the test vehicle on the test bench, the high-voltage battery pack, engine assembly, motor, transmission, drive system, front and rear suspensions, braking system, tire system, cooling system, seat system, sunroof system, roof system, mounting system, front and rear bumper assemblies, front and rear anti-collision beam assemblies, front-end engineering module, carpet assembly, vehicle tools, lamp assembly, airbag assembly and other assembly systems of the test vehicle can be removed first to simplify the test vehicle, so that only the four-door assembly (including door locks and door handles), vehicle main controller, vehicle wiring harness, vehicle head unit, vehicle low-voltage power supply system, backup power supply system, hazard warning lights, etc. are left in the test vehicle to ensure that the test vehicle can be powered on successfully at low voltage and can perform operations such as unlocking and locking, turning on the hazard lights, and waking up the head unit screen, thus simplifying the accessories of the test vehicle and improving the test efficiency.
[0035] In addition, in this embodiment and another embodiment, before fixing the test vehicle on the test bench, when the test vehicle is in a stationary state, simulated collision messages can be injected through the OBD (On-Board Diagnostics, vehicle diagnostic interface) configured on the test vehicle to make the test vehicle enter the collision mode first, so as to detect whether functions such as the hazard lights, unlocking, E-call function, and head unit are normal in the collision mode. Then, when it is detected that each emergency function is normal, the low-voltage power supply circuit in the test vehicle is controlled to be disconnected through a preset PLC program to implement the operation of cutting off the vehicle's low-voltage power supply, and then to detect whether the vehicle can normally perform the unlocking operation in the state of the main power supply being cut off. In this way, the electronic device can fix the test vehicle on the test bench after determining that the detection process is effective, so as to avoid the situation of detection distortion of the test vehicle on the test bench, further reducing the test cost and improving the test efficiency.
[0036] In addition, in this embodiment and another embodiment, after the simulated test signal is injected into the test vehicle, if it is detected that the communication of the model controller in the test vehicle is not online or the vehicle network signal transmission is affected, a terminal resistor is added in the test vehicle to ensure the integrity and smoothness of the communication loop.
[0037] In a feasible implementation manner, the above step S10 may specifically include steps S101 to S102: Step S101: Determine the preset collision scenario parameters, collision road parameters, and vehicle model parameters; Step S102: Query the preset impact parameter mapping relationship based on the collision scenario parameters, the collision road parameters, and the vehicle model parameters to determine the target impact parameters.
[0038] It should be noted that the collision scenario parameters are a set of collision conditions for real traffic accidents to be simulated, including but not limited to: collision direction (such as frontal, side, offset, etc.), collision speed, obstacle type, collision mode (such as pole collision, head-on collision, etc.). In addition, the collision road parameters are the object conditions of the road where the test vehicle to be simulated is located, including but not limited to: road surface slope, road surface friction, etc. In addition, the vehicle type parameters are data on the electrical and physical characteristics of the test vehicle, including but not limited to vehicle body mass, collision calibration acceleration threshold, door controller response time, electrical architecture topology diagram, etc. It can be understood that the present application does not limit the specific contents of the collision scenario parameters, collision road parameters and vehicle type parameters.
[0039] In this embodiment, the electronic device first accesses the test bench communicatively connected to itself, so as to determine the vehicle type parameters corresponding to the test vehicle fixed on the test bench. At the same time, the electronic device determines the collision scenario parameters and collision road parameters to be simulated. Then, the electronic device reads the above storage module to obtain an impact parameter mapping relationship including a preset condition parameter group composed of a plurality of preset vehicle type parameters, a plurality of preset collision scenario parameters, and a plurality of preset collision road parameters, and preset impact parameters corresponding to each of the plurality of preset condition parameter groups. The electronic device then queries the impact parameter mapping relationship based on the vehicle type parameters, collision scenario parameters and collision road parameters to determine the target impact parameter for controlling the test bench.
[0040] Exemplarily, for example, when the electronic device is running, it first accesses the test bench communicatively connected to itself, so as to determine the vehicle type parameters of the test vehicle. At the same time, the electronic device determines the collision scenario to be simulated to determine collision scenario parameters such as the collision direction, collision speed, obstacle type, collision mode, etc., and determines collision road parameters such as the road surface slope and road surface friction to be simulated. The electronic device then combines parameters such as vehicle type parameters, collision direction, collision speed, obstacle type, collision mode, road surface slope, and road surface friction to obtain a simulated collision parameter group. Then, the electronic device reads the above storage module to obtain an impact parameter mapping relationship including a plurality of preset collision parameter groups and preset target impact parameters corresponding to each of the plurality of preset collision parameter groups. The electronic device queries the impact parameter mapping relationship based on the simulated collision parameter group to determine the target impact parameter that matches the vehicle type parameters, collision direction, collision speed, obstacle type, collision mode, road surface slope, and road surface friction in the simulated collision parameter group.
[0041] It can be understood that the impact parameter mapping relationship can be set in advance by technicians according to the collision scenarios, collision roads, and test vehicle models to be simulated. This application places no restrictions on the specific content of the impact parameter mapping relationship. Similarly, after being set by technicians, the impact parameter mapping relationship can be pre-stored in the storage module of the electronic device for the electronic device to read the storage module to obtain the impact parameter mapping relationship when needed.
[0042] In addition, in this embodiment and another embodiment, in addition to being able to determine the target impact parameter based on the above-mentioned impact parameter mapping relationship and the simulated collision parameter group, the electronic device can also receive the target impact parameter directly input by the technician through a preset operation interface, and then control the test bench according to the target impact parameter.
[0043] In this way, the electronic device can calibrate and match the target impact parameter through the collision scenario to be simulated, so as to accurately simulate the acceleration impact suffered by the test vehicle in a real collision, the road environment where the test vehicle is located, the collision mode suffered, etc., avoiding the situation of distorted detection results due to the inability to simulate the real collision scenario in static testing in the prior art. At the same time, the electronic device can also adapt to the test requirements of new energy vehicles of different brands by calibrating and matching the target impact parameter.
[0044] Step S20: Control the test vehicle to enter the collision mode; In this embodiment, after the electronic device controls the test bench to execute the target action, it determines a preset first signal injection time point, and at the first signal injection time point, controls the test vehicle to enter the collision mode.
[0045] In this way, the electronic device can control the test vehicle to switch to the collision mode to detect whether the test vehicle can normally trigger the unlocking operation in the collision mode.
[0046] In a feasible implementation manner, the step of "control the test vehicle to enter the collision mode" in the above step S20 may specifically include step S201: Step S201: Inject a preset simulated collision message into the test vehicle at a preset first signal injection time point for the test vehicle to enter the collision mode based on the simulated collision message.
[0047] It should be noted that the simulated collision message is a hard-wired PWM (Pulse Width Modulation) signal or a CAN (Controller Area Network) signal generated by a general trigger device in the electronic device, which is used to trigger the test vehicle to enter the collision mode.
[0048] In this embodiment, while the electronic device controls the test bench to vibrate according to the target impact parameters, it determines a preset first delay interval, calculates a first signal injection time point based on the start time of the test bench and the first delay interval, and at the first signal injection time point, the electronic device sends a preset simulated collision message to the test measurement, so that the test vehicle switches to the collision mode after receiving the simulated collision message.
[0049] Exemplarily, for example, the electronic device obtains a preset first delay interval of X ms, and calculates a first injection time point T1 based on the first delay interval of X ms and the start time point T0 of the test bench: T1 = T0 + X; The electronic device then, at the first injection time point T1, sends the generated PWM signal to the test vehicle through the communication device configured by itself, so that after the test vehicle receives the simulated collision message at the first injection time point T1, it switches to the collision mode at a first response time point T2 that is at a second delay interval of Y ms from the start time point T0 of the sliding table.
[0050] In this way, the electronic device can control the vibration of the test bench through the preset target impact parameters to simulate the real collision environment suffered by the test vehicle. At the same time, the electronic device can also control the test vehicle to switch to the collision mode to detect whether the test vehicle can normally trigger the unlocking operation in the collision mode.
[0051] Step S30: Control the test vehicle to enter the main power cut-off state according to a preset first power cut-off time point, and detect the vehicle unlocking result of the test vehicle in the main power cut-off state; It should be noted that this main power cut-off state is the state where only the backup power supply is retained after the low-voltage main power supply circuit in the test vehicle is disconnected, so as to ensure the unlocking of the hidden door handle through the backup power supply.
[0052] In this embodiment, when the electronic device injects a simulated collision message into the test vehicle to make the test vehicle enter the collision mode at the above first response time point, it further determines a preset redundant delay, calculates a first power cut-off time point according to the redundant delay and the first response time point, and then when it reaches the first power cut-off time point, the electronic device controls the disconnection of the low-voltage power supply of the test vehicle through the communication device configured by itself, so that the test vehicle enters the main power cut-off state at the preset power cut-off time point. Then the electronic device detects the test vehicle to determine whether the vehicle unlocking result of the test vehicle in the main power cut-off state is successful unlocking or failed unlocking.
[0053] Exemplarily, for example, after the electronic device controls the test vehicle to switch to the collision mode at the first response time point T2, it further determines the unlocking response duration t corresponding to the vehicle model parameter of the test vehicle. The electronic device determines the first power-off time point T3 corresponding to the test vehicle based on the first response time point T2, the unlocking response duration t, and a preset redundant duration Δt: T3 = T2 + t + Δt; The electronic device then controls the PLC configured in itself to send a disconnection instruction to the low-voltage relay of the test vehicle at the first power-off time point T3 to cut off the main power supply circuit of the test vehicle, so that the backup power supply in the test vehicle is started and enters the main power supply cut-off state where the main power supply is cut off. Finally, after the electronic device controls the test vehicle to enter the main power supply cut-off state, it detects the test vehicle to determine whether the vehicle unlocking result of the test vehicle is unlocking success or unlocking failure based on the detection result.
[0054] In this way, the electronic device can simulate the complex working condition of "main power interruption + backup power supply takeover" in a real accident, so as to further verify the reliability of the vehicle unlocking function.
[0055] In a feasible implementation manner, the electronic device includes an image acquisition module. The step of "detecting the vehicle unlocking result of the test vehicle in the main power supply cut-off state" in the above step S30 may specifically include step S301: Step S301: Collect and identify the image data of the test vehicle. When it is identified that the door of the test vehicle is in the open state, it is determined that the test vehicle is unlocked successfully; when it is identified that the door of the test vehicle is in the closed state, it is determined that the test vehicle is unlocked failed.
[0056] It should be noted that the image data is the image information collected and including the side door area of the test vehicle, which may include static image data and dynamic image data. Among them, the static image data is a single-frame independent image collected by the image acquisition module configured on the electronic device, and the dynamic image data is a sequential image sequence (such as a video stream) collected by the image acquisition module.
[0057] In this embodiment, after the electronic device controls the test vehicle to enter the main power supply cut-off state, it first calls multiple image acquisition modules configured in itself to take pictures of the test vehicle to capture the image data including the door of the test vehicle. The electronic device then inputs the image data into the image processing module configured in itself. The image processing module determines whether the door of the test vehicle is in the open state according to the image data. Furthermore, when it is identified that the door is in the open state, the vehicle unlocking result is determined to be unlocking success. Similarly, when the image processing module identifies that the door is in the closed state, the vehicle unlocking result is determined to be unlocking failure.
[0058] Exemplarily, for example, please refer to Figure 3 , Figure 3 which is a schematic diagram of an image acquisition module involved in an embodiment of a test method for the vehicle unlocking function of the present application. As Figure 3 shown, after the electronic device controls the test vehicle to enter the main power cut-off state, it calls the cameras around the test bench at positions 1-11 configured in itself to take pictures of the test vehicle, so as to capture a plurality of static image data including the doors of the vehicle to be tested, and inputs each static image data into the image processing module configured in itself. The image processing module locates the door areas included in each static image data. After that, the image processing module reads the above storage module to obtain the preset standard image data when the door is in the closed state, and compares each static image data with the preset standard image data respectively. Thus, when it is detected that each static image data is consistent with the preset standard image data, it is determined that the door is in the closed state, and further it is determined that the test vehicle unlocking fails. Similarly, when the image processing module detects that each static image data is inconsistent with the preset standard image data, it is determined that the door is in the open state, and further it is determined that the test vehicle unlocking succeeds.
[0059] Similarly, in this embodiment and another embodiment, the electronic device can also take pictures of the test vehicle through the cameras at positions 1-11 to capture a plurality of dynamic image data including the doors of the vehicle to be tested, and extract each image feature within the door areas included in each dynamic image data. Thus, the optical flow method is used to calculate each image feature to determine whether the door gap width has changed. When the image processing module further recognizes that the door gap width has changed, it determines that the vehicle unlocking result of the test vehicle is unlocking success. Similarly, when the image processing module further recognizes that the door gap width has not changed, it determines that the vehicle unlocking result of the test vehicle is unlocking failure.
[0060] In addition, in this embodiment and another embodiment, the image processing module can also detect whether the hidden door handle configured on the door has a displacement through each dynamic image data. Further, when it is detected that the hidden door handle has a displacement change, it is determined that the hidden door handle has fully popped out, and thus it is determined that the vehicle unlocking result of the test vehicle is unlocking success. Similarly, when the image processing module further recognizes that the hidden door handle has no displacement change, it is determined that the hidden door handle has not popped out, and further it is determined that the vehicle unlocking result of the test vehicle is unlocking failure.
[0061] In this way, the electronic device can simulate the complex working conditions of "main power interruption + backup power supply takeover" in a real accident, so as to further verify the reliability of the vehicle unlocking function.
[0062] In a feasible implementation manner, step S30 above may further include steps S302 to S304: Step S302: Detect the current of the door lock motor corresponding to the test vehicle; Step S303: When it is detected that the current of the door lock motor generates a first mutation window at the first power-off time point, determine that the test vehicle is successfully unlocked; Step S304: When it is detected that the current of the door lock motor does not generate a first mutation window at the first power-off time point, determine that the test vehicle fails to be unlocked.
[0063] In this embodiment, after the electronic device controls the test vehicle to enter the main power cut-off state, it can also collect the current of the door lock motor used to control the hidden door handle inside the test vehicle. Then, the electronic device interprets the current of the door lock motor and detects whether a mutation window is generated at the above-mentioned first power-off time point. Furthermore, when the electronic device detects that a mutation window is generated at the first power-off time point, it determines that the vehicle unlocking result is successful. Similarly, when the electronic device detects that no mutation window is generated at the first power-off time point, it determines that the vehicle unlocking result is failed.
[0064] Exemplarily, for example, after the electronic device controls the test vehicle to enter the main power cut-off state, it can also call the current sensor configured by itself to collect the motor current signal of the door lock motor configured on the test vehicle and used to control the hidden door handle in real time. Then, the electronic device determines whether there is a mutation window in the motor current signal at the above-mentioned first power-off time point T3. Furthermore, when it is recognized that there is a mutation window at the first power-off time point T3, it is determined that the door can normally respond to the unlocking instruction, and then the vehicle unlocking result is determined to be successful; similarly, when it is recognized that there is no mutation window at the first power-off time point T3, it is determined that the door cannot normally respond to the unlocking instruction, and then the vehicle unlocking result is determined to be failed.
[0065] In this way, the electronic device can simulate the complex working condition of "main power interruption + backup power supply takeover" in a real accident, so as to further verify the reliability of the vehicle unlocking function.
[0066] In this embodiment, the electronic device first accesses the test bench that is communicatively connected to itself, thereby determining the vehicle model parameters of the test vehicle fixed on the test bench, the collision scenario to be simulated, and the collision road to be simulated. Then, based on the vehicle model parameters, collision scenario, and collision road, the electronic device determines the target impact parameters for controlling the test bench to vibrate and simulate a real collision environment. The electronic device controls the test bench to operate according to the target impact parameters to perform the corresponding target actions, thereby simulating the actual collision scenario. After that, the electronic device determines the preset first signal injection time point, and at the first signal injection time point, controls the test vehicle to enter the collision mode. Finally, the electronic device determines the preset redundancy delay, calculates the first power-off time point based on the redundancy delay and the first response time point. Then, when the first power-off time point is reached, the electronic device controls the disconnection of the low-voltage power supply of the test vehicle through the communication device configured in itself, so that the test vehicle enters the main power cut-off state at the preset power-off time point. The electronic device then detects the test vehicle to determine whether the vehicle unlocking result of the test vehicle in the main power cut-off state is successful or failed.
[0067] In this way, the present application solves the technical problem of the high test cost of the vehicle unlocking function in the related art. That is, the present application fixes the test vehicle on the test bench, controls the test bench to operate according to the impact parameters to simulate the collision scenario, and cuts off the main power when the test vehicle is in the collision mode, so as to detect whether the test vehicle can normally trigger the unlocking operation in the collision scenario, and detect whether the test vehicle normally triggers the unlocking operation when the main power is cut off. Furthermore, without causing actual damage to the test vehicle, the reliability of the unlocking function in extreme environments is verified, so as to obtain accurate test results, and a single test vehicle can test multiple extreme environments, greatly reducing the test cost.
[0068] Based on the first embodiment of the present application, the second embodiment of the present application is proposed here. In the second embodiment of the present application, the same or similar content as in the above embodiments can be referred to the above introduction and will not be repeated hereinafter. On this basis, after the above step S20, the test method for the vehicle unlocking function of the present application may further include steps A10 to A30: Step A10: Obtain the first test data stream of the test vehicle and search for the preset collision mode data identifier; Step A20: When it is detected that the first test data stream does not include the collision mode data identifier, determine the preset time adjustment parameter; Step A30: Update the first signal injection time point to the second signal injection time according to the time adjustment parameter, where the second signal injection time point is earlier than the first signal injection time point.
[0069] It should be noted that the test data stream is a message sequence obtained by the electronic device through the CAN bus on the test vehicle, including key information nodes such as controller response information and power supply turntable, and the corresponding timestamp information. It can be understood that the starting point of the timestamp of the first test data stream is the time point when the test bench starts to run according to the above target impact parameters, and the ending point of the timestamp of the first test data stream is the preset first response time point T2. It can be understood that the first response time point T2 should be later than the above first signal injection time point T1.
[0070] In this embodiment, after the electronic device controls the test vehicle to enter the collision mode, it can also read the data bus in the test vehicle to access and obtain the first test data stream. At the same time, the electronic device reads the configured storage module to obtain the preset collision mode data identifier that can represent the test vehicle entering the collision mode. Then, the electronic device filters the first test data stream according to the collision mode data identifier. Thus, when it is detected that the first test data stream contains test data carrying the collision mode data identifier, the preset time adjustment parameter is determined. Finally, the electronic device modifies the above first signal injection time point based on the time adjustment parameter to adjust the first signal injection time point to an earlier second injection time point.
[0071] Exemplarily, for example, after the electronic device controls the test vehicle to enter the collision mode, it accesses the CAN bus in the test vehicle at the preset first response time point T2 to obtain the first CAN bus data stream generated from the start of the test bench executing the target action to the first response time point. At the same time, the electronic device reads the above storage module to obtain the preset mode switch data ID that can characterize the test vehicle entering the collision mode. Then, the electronic device filters the first CAN bus data stream based on the preset mode switch data ID. Thus, when it is detected that the first CAN data bus data stream does not contain CAN data carrying the preset mode switch data ID, it is determined that the test vehicle has switched to the collision mode due to information transmission delay at this time and cannot perform the unlocking operation in the collision mode. The electronic device then calculates and obtains the preset time adjustment parameter, and adjusts the first injection time point T1 according to the time adjustment parameter, advancing the first injection time point T1 to the second injection time point T1_new.
[0072] In addition, in this embodiment and another embodiment, in addition to detecting whether the test vehicle enters the collision mode through the first CAN bus data stream, the electronic device can also collect the current signal generated inside the test vehicle through the sensors configured therein, and detect whether there is a mutation in the current signal at the first injection time point T1. Then, when it is detected that there is no mutation in the current signal at the first injection time point T1, it is determined that at this time, the test vehicle switches to the collision mode due to information transmission delay and cannot perform the unlocking operation in the collision mode. The electronic device then adjusts the first injection time point T1 according to the above time adjustment parameters, and advances the first injection time point T1 to the second injection time point T1_new.
[0073] In this way, the electronic device can make the test vehicle enter the collision mode earlier, thereby avoiding the situation that the test vehicle cannot enter the collision mode due to signal transmission delay.
[0074] Based on the first embodiment and / or the second embodiment of the present application, the third embodiment of the present application is hereby proposed. In the third embodiment of the present application, the same or similar content as in the above embodiments can be referred to the above introduction and will not be repeated hereinafter. On this basis, after the above step S30, the test method for the vehicle unlocking function of the present application may further include steps B10 to B20: Step B10: When it is detected that the unlocking of the test vehicle fails, obtain the second test data stream of the test vehicle and search for a preset response unlocking data identifier; Step B20: When it is detected that the second test data stream does not contain the response unlocking data identifier, update the first power-off time point to the second power-off time point, where the second power-off time point is later than the first power-off time point.
[0075] It should be noted that the time stamp start point of the second test data stream is the time point when the test bench starts to run according to the above target impact parameters, and the time stamp end point of the second test data stream is later than the above first power-off time point T3. The present application does not limit the time stamp end point of the second test data stream.
[0076] In this embodiment, after the electronic device determines the vehicle unlocking result, it further accesses the data bus configured in the test vehicle to obtain a second test data stream generated during the dynamic test of the test vehicle. At the same time, the electronic device reads the above storage module to obtain a preset response unlocking data identifier that can represent the test vehicle performing the unlocking operation. Then, the electronic device analyzes the second test data stream to identify whether the test data in the second test data stream contains the response unlocking data identifier. When the electronic device detects that the test data in the second test data stream does not carry the response unlocking data identifier, it delays the first power-off time point to a later second power-off time point based on a preset rule.
[0077] Exemplarily, for example, after the electronic device determines the vehicle unlocking result, it further accesses the CAN bus configured in the test vehicle at a preset second response time point T4 to obtain a second CAN bus data stream generated from the start of the test bench performing the target action to the second detection time point. At the same time, the electronic device reads the above storage module to obtain a response unlocking data ID that can characterize the test vehicle performing the unlocking operation. Then, the electronic device filters the second CAN bus data stream based on the response unlocking data ID. Thus, when it detects that the CAN data in the second CAN data bus data stream does not contain the CAN data carrying the response unlocking data ID, it determines that the test vehicle did not perform the unlocking operation at the first power-off time point T3, that is, the electronic device determines that the cut-off time of the main power supply is too early, so it is impossible to determine whether the unlocking operation can be triggered under power-off conditions. At this time, the electronic device updates the first power-off time point T3 to delay the first power-off time point T3 to the second power-off time point T5.
[0078] In addition, in this embodiment and another embodiment, in addition to determining whether the test vehicle responds to the unlocking operation through the second CAN bus data stream, the electronic device can also collect the motor current signal of the door lock motor used to control the door handle inside the test vehicle through the sensors configured on itself. Then, the electronic device determines whether there is a mutation in the motor current information at the first power-off time point T3. If the electronic device detects that there is no mutation in the motor current information at the first power-off time point T3, it determines that the test vehicle did not perform the unlocking operation at the first power-off time point T3, that is, the electronic device determines that the cut-off time of the main power supply is too early, so it is impossible to determine whether the unlocking operation can be triggered under power-off conditions. At this time, the electronic device updates the first power-off time point T3 to delay the first power-off time point T3 to the second power-off time point T5.
[0079] In this way, in the case where the electronic device cannot determine whether the vehicle can trigger the unlocking operation under power-off conditions, it delays the first power-off duration to ensure the accuracy of the detection result.
[0080] In addition, in this embodiment and another embodiment, the electronic device can also simultaneously obtain the third CAN bus data stream and the motor current information in the test vehicle. Thus, when it is detected that the CAN data in the third CAN bus data stream contains the response unlocking data ID that can characterize the test vehicle's response to the unlocking operation, the actual unlocking time point corresponding to the CAN data stream is determined, and the mutation time window corresponding to the motor current information is determined. Then, the actual unlocking time point and the mutation time window are compared. Furthermore, when it is determined that the comparison result shows that the actual unlocking time point is consistent with the actual mutation time point of the existing mutation window, it is determined that the unlocking result of the vehicle is unlocking success. In this way, the electronic device uses the CAN data and the current signal for double detection, and can obtain a more accurate detection result.
[0081] In a feasible implementation manner, the step of "updating the first power-off time point to the second power-off time point" in step B20 above may specifically include steps B201 to B203: Step B201: Determine the mechanism unlocking stage corresponding to the test vehicle according to the door lock motor current; Step B202: Based on the mechanism unlocking stage, determine each unexecuted unlocking stage, and determine the unlocking duration corresponding to each unexecuted unlocking stage; Step B203: Based on each unlocking duration, determine the remaining unlocking duration, and update the first power-off time point to the second power-off time point based on the remaining unlocking duration.
[0082] In this embodiment, when the electronic device determines that the test vehicle has not performed an unlocking operation at the first power-off time point, it first determines the mechanism unlocking stage of the test vehicle at the first power-off time point according to the test data stream. Then, the electronic device determines each unexecuted unlocking stage required for the door handle to complete the unlocking operation according to the mechanism unlocking stage, and determines the unlocking duration corresponding to each unexecuted unlocking stage. Finally, the electronic device adds up each unlocking duration to calculate the remaining unlocking duration required to complete the door unlocking, and delays the first power-off time point based on the remaining unlocking duration to obtain the second power-off time point.
[0083] Exemplarily, for example, when the electronic device detects the first power-off time point T3 and there is no mutation in the motor current information, the electronic device accesses the CAN test data to determine the mechanism unlocking stage of the hidden door handle at the first power-off time point T3. Then, the electronic device reads the storage module to determine all the unlocking stages required for the hidden door handle according to the vehicle model parameters of the test vehicle, and determines the unexecuted unlocking stages of the hidden door handle and the unlocking duration required for each unexecuted unlocking stage based on the current mechanism unlocking stage and all the unlocking stages. Finally, the electronic device sums up the unlocking durations to determine the remaining unlocking duration required for the hidden door handle to complete the unlocking operation, and the electronic device updates the first power-off time point T2 according to the remaining unlocking duration to delay the power-off to a later second power-off time point T5.
[0084] In this way, the electronic device can postpone the first power-off duration to ensure the accuracy of the detection result in the case where it is impossible to determine whether the vehicle can trigger the unlocking operation during power-off.
[0085] This application also provides a test device for a vehicle unlocking function. The device includes: A test bench control module 10, configured to determine target impact parameters so that the test bench on which the test vehicle is fixed performs a target action based on the target impact parameters; A simulated collision module 20, configured to control the test vehicle to enter a collision mode; A function detection module 30, configured to control the test vehicle to enter the main power cut-off state according to a preset first power-off time point and detect the vehicle unlocking result of the test vehicle in the main power cut-off state.
[0086] In an embodiment, the above function detection module 30 is further configured to: Collect and identify the image data of the test vehicle, and when it is identified that the door of the test vehicle is in an open state, it is determined that the test vehicle unlocks successfully; when it is identified that the door of the test vehicle is in a closed state, it is determined that the test vehicle unlocks failed.
[0087] In an embodiment, the above function detection module 30 is further configured to: Detect the door lock motor current corresponding to the test vehicle; When it is detected that the door lock motor current generates a first mutation window at the first power-off time point, it is determined that the test vehicle unlocks successfully; When it is detected that the door lock motor current does not generate a first mutation window at the first power-off time point, it is determined that the test vehicle unlocks failed.
[0088] In an embodiment, the above simulated collision module 20 is further configured to: Inject a preset simulated collision message into the test vehicle at a preset first signal injection time point, so that the test vehicle enters a collision mode based on the simulated collision message.
[0089] In one embodiment, the above-mentioned simulated collision module 20 is further configured to: Obtain a first test data stream of the test vehicle and search for a preset collision mode data identifier; When it is detected that the first test data stream does not contain the collision mode data identifier, determine a preset time adjustment parameter; Update the first signal injection time point to a second signal injection time according to the time adjustment parameter, wherein the second signal injection time point is earlier than the first signal injection time point.
[0090] In one embodiment, the above-mentioned function detection module 30 is further configured to: When it is detected that the test vehicle fails to unlock, obtain a second test data stream of the test vehicle and search for a preset response unlock data identifier; When it is detected that the second test data stream does not contain the response unlock data identifier, update the first power-off time point to a second power-off time point, wherein the second power-off time point is later than the first power-off time point.
[0091] In one embodiment, the above-mentioned function detection module 30 is further configured to: Determine the mechanism unlocking stage corresponding to the test vehicle according to the door lock motor current; Based on the mechanism unlocking stage, determine each unexecuted unlocking stage and determine the unlocking duration corresponding to each unexecuted unlocking stage; Determine the remaining unlocking duration according to each unlocking duration, and update the first power-off time point to a second power-off time point based on the remaining unlocking duration.
[0092] In one embodiment, the above-mentioned test bench control module 10 is further configured to: Determine preset collision scenario parameters, collision road parameters, and vehicle type parameters; Query a preset impact parameter mapping relationship based on the collision scenario parameters, the collision road parameters, and the vehicle type parameters to determine a target impact parameter.
[0093] The test device for the vehicle unlocking function provided by this application adopts the test method for the vehicle unlocking function in the above-mentioned embodiment, and can solve the technical problem of high test cost for the vehicle unlocking function in the related art. Compared with the prior art, the beneficial effects of the test device for the vehicle unlocking function provided by this application are the same as those of the test method for the vehicle unlocking function provided by the above-mentioned embodiment, and other technical features in the test device for the vehicle unlocking function are the same as the features disclosed in the method of the above-mentioned embodiment, which will not be elaborated herein.
[0094] This application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the test method for the vehicle unlocking function in the first embodiment above.
[0095] Refer to the following Figure 5 , which shows a schematic structural diagram of an electronic device suitable for implementing the embodiments of this application. The electronic device in the embodiments of this application may include, but is not limited to, an electronic device that can communicate with a preset test bench and is internally configured with a PLC (Programmable Logic Controller), or a mobile terminal, a data storage control terminal, a PC (Personal Computer), etc. that are connected to an electronic control unit supporting the electronic device. Figure 5 The electronic device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.
[0096] As shown in Figure 5As shown, the electronic device may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which may perform various appropriate actions and processes according to a program stored in the read-only memory 1002 or a program loaded from the storage device 1003 into the random access memory 1004. In the random access memory 1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other through a bus 1005. The input / output interface 1006 is also connected to the bus. Generally, the following systems may be connected to the input / output interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows an electronic device having various systems, it should be understood that it is not required to implement or have all the shown systems. Instead, more or fewer systems may be implemented or had.
[0097] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device, or installed from the storage device 1003, or installed from the read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of the embodiments disclosed in the present application are executed.
[0098] The electronic device provided by the present application adopts the test method for the vehicle unlocking function in the above embodiments, and can solve the technical problem of relatively high test cost for the vehicle unlocking function in the related art. Compared with the prior art, the beneficial effects of the electronic device provided by the present application are the same as those of the test method for the vehicle unlocking function provided by the above embodiments, and other technical features in the electronic device are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.
[0099] It should be understood that the various parts disclosed in the present application may be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in a suitable manner in any one or more embodiments or examples.
[0100] As described above, it is only the specific implementation manner of the present application. However, the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, and all should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claimed rights.
[0101] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the test method for the vehicle unlocking function in the above embodiments.
[0102] The computer-readable storage medium provided by the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0103] The above computer-readable storage medium may be included in an electronic device; or it may exist separately without being assembled into the electronic device.
[0104] The above computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device is caused to: determine target impact parameters so that a test bench on which a test vehicle is fixed performs a target action based on the target impact parameters; control the test vehicle to enter a collision mode; control the test vehicle to enter a main power cut-off state according to a preset first power cut-off time point, and detect the vehicle unlocking result of the test vehicle in the main power cut-off state.
[0105] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN: Local Area Network) or a wide area network (WAN: Wide Area Network), or it can be connected to an external computer (for example, by connecting through an Internet service provider using the Internet).
[0106] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of the code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks can occur in a different order than that marked in the accompanying drawings. For example, two consecutively represented blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0107] The modules described in the embodiments of this application can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation to the unit itself in some cases.
[0108] The readable storage medium provided by this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., computer programs) for performing the above-mentioned test method for the vehicle unlocking function, and can solve the technical problem of the relatively high test cost of the vehicle unlocking function in the related art. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by this application are the same as those of the test method for the vehicle unlocking function provided in the above embodiments, and will not be elaborated here.
[0109] The present application also provides a computer program product, including a computer program which, when executed by a processor, implements the steps of the test method for the vehicle unlocking function as described above.
[0110] The computer program product provided by the present application can solve the technical problem of relatively high test cost for the vehicle unlocking function in the related art. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the test method for the vehicle unlocking function provided in the above embodiments, and will not be elaborated here.
[0111] The above are only partial embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structural transformation made under the technical concept of the present application by using the content of the specification and drawings of the present application, or any direct / indirect application in other related technical fields, is included in the patent protection scope of the present application.
Claims
1. A test method for a vehicle unlocking function, characterized in that, The method includes: Determining a target impact parameter, so that a test bench with a test vehicle fixed thereon performs a target action based on the target impact parameter; Controlling the test vehicle to enter a collision mode; Controlling the test vehicle to enter a main power cut-off state according to a preset first power cut-off time point, and detecting a vehicle unlocking result of the test vehicle in the main power cut-off state.
2. The test method for the vehicle unlocking function according to claim 1, wherein The detecting the vehicle unlocking result of the test vehicle in the main power cut-off state specifically includes: Collecting and identifying image data of the test vehicle, and when it is identified that the vehicle door of the test vehicle is in an open state, determining that the test vehicle is successfully unlocked; when it is identified that the vehicle door of the test vehicle is in a closed state, determining that the test vehicle fails to unlock.
3. The test method for the vehicle unlocking function according to any one of claims 1 or 2, characterized in that The detecting the vehicle unlocking result of the test vehicle in the main power cut-off state specifically includes: Detecting a door lock motor current corresponding to the test vehicle; When it is detected that the door lock motor current generates a first mutation window at the first power cut-off time point, determining that the test vehicle is successfully unlocked; When it is detected that the door lock motor current does not generate a first mutation window at the first power cut-off time point, determining that the test vehicle fails to unlock.
4. The test method for the vehicle unlocking function according to claim 1, characterized in that, The controlling the test vehicle to enter a collision mode specifically includes: Injecting a preset simulated collision message into the test vehicle at a preset first signal injection time point, so that the test vehicle enters a collision mode based on the simulated collision message.
5. The test method for the vehicle unlocking function according to claim 4, characterized in that, After the step of controlling the test vehicle to enter a collision mode, the method further includes: Obtaining a first test data stream of the test vehicle, and searching for a preset collision mode data identifier; When it is detected that the first test data stream does not include the collision mode data identifier, determining a preset time adjustment parameter; Updating the first signal injection time point to a second signal injection time according to the time adjustment parameter, where the second signal injection time point is earlier than the first signal injection time point.
6. The test method for the vehicle unlocking function according to claim 1, wherein, After the step of detecting the vehicle unlocking result of the test vehicle in the main power cut-off state, the method further includes: When it is detected that the test vehicle fails to unlock, obtaining a second test data stream of the test vehicle, and searching for a preset response unlocking data identifier; When it is detected that the second test data stream does not include the response unlocking data identifier, updating the first power cut-off time point to a second power cut-off time point, where the second power cut-off time point is later than the first power cut-off time point.
7. The test method for the vehicle unlocking function according to claim 6, characterized in that, The step of updating the first power cut-off time point to a second power cut-off time point includes: Determining an unlocking stage corresponding to the test vehicle according to the door lock motor current; Determining each unexecuted unlocking stage based on the unlocking stage, and determining an unlocking duration corresponding to each unexecuted unlocking stage; Determining a remaining unlocking duration according to each unlocking duration, and updating the first power cut-off time point to a second power cut-off time point based on the remaining unlocking duration.
8. The test method for the vehicle unlocking function according to claim 1, characterized in that, The step of determining a target impact parameter matched by the test vehicle includes: Determine preset collision scenario parameters, collision road parameters, and vehicle type parameters; Query a preset impact parameter mapping relationship based on the collision scenario parameters, the collision road parameters, and the vehicle type parameters to determine target impact parameters.
9. An electronic device, characterized in that, The device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the test method for the vehicle unlocking function according to any one of claims 1 to 8.
10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the test method for the vehicle unlocking function according to any one of claims 1 to 8 are implemented.
11. A computer program product, characterized in that, The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the test method for the vehicle unlocking function according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Vehicle collision simulation test method and device
CN109001576A
Vehicle collision unlocking control method, device and system
CN118881258A
Automobile collision unlocking method, device and equipment, storage medium and program product
CN119329455A
Collision simulation test method and device, electronic equipment and storage medium
CN119738116A
Door unlocking system for vehicle
JP2003097123A
Cited By
Vehicle door handle power-off unlocking test method and device, medium and equipment
CN121878360A