Digital key test system on vehicle
By designing a digital key testing system on a vehicle, using vehicle simulation module, vehicle control module and vehicle communication module, the problems of high cost and low accuracy of UWB digital key performance testing in the prior art are solved, and efficient digital key testing and certification are achieved.
Patent Information
- Application Number
- CN202411826643.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, the performance testing of UWB digital keys mainly relies on real-vehicle testing methods, and there are problems such as high cost, low accuracy and strict requirements on vehicle and personnel conditions.
A digital key testing system on a vehicle is designed, including a vehicle simulation module, a vehicle control module and a vehicle communication module. A communication connection is established with the vehicle communication module through a mobile terminal, a vehicle control command is issued, a real vehicle status is simulated, and the command execution results are generated.
The performance test of digital keys is realized without real vehicle inspection, which improves testing efficiency and certification efficiency and reduces costs.
Smart Images

Figure CN119717760A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a digital key testing system for a vehicle. Background Art
[0002] Currently, smart cars from major brands are beginning to be equipped with ultra-wideband (UWB) function. Users can carry a mobile phone equipped with a UWB digital key and unlock, lock, and start the vehicle while approaching the vehicle.
[0003] The existing technology mainly uses the real vehicle test method to test the performance of UWB digital keys. Specifically, a real vehicle use scenario is directly built, and the user can carry a mobile phone equipped with a UWB digital key to unlock, lock and start the vehicle to verify the UWB digital key function in the vehicle.
[0004] However, this testing method has requirements for objective conditions such as vehicles and personnel, is costly, and the accuracy of the test results is low. Summary of the invention
[0005] The purpose of the present invention is to provide a vehicle digital key testing system to address the deficiencies in the prior art, so as to solve the technical problems existing in the prior art.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a digital key testing system on a vehicle, the system comprising: a vehicle simulation module, a vehicle control module and a vehicle communication module;
[0008] The vehicle simulation module is connected to the vehicle control module and the vehicle communication module respectively, and the vehicle control module is communicatively connected to the vehicle communication module;
[0009] The vehicle communication module establishes a communication connection with the mobile terminal via a short-range communication network;
[0010] The vehicle communication module is used to receive the vehicle control command sent by the mobile terminal via the short-distance communication network, and send the vehicle control command to the vehicle control module and the vehicle simulation module respectively;
[0011] The vehicle control module is used to receive the vehicle control command and authenticate the vehicle control command using at least one authentication protocol pre-stored on the vehicle control module, and if the authentication is successful, send the vehicle control command to the vehicle simulation module;
[0012] The vehicle simulation module is used to simulate the vehicle state of a real vehicle according to the vehicle control instruction, and generate an instruction execution result corresponding to the vehicle control instruction, and send the instruction execution result to the vehicle control module, so that the vehicle control module forwards the instruction execution result to the mobile terminal via the vehicle communication module and the short-range communication network.
[0013] Optionally, the vehicle simulation module includes: a simulation system unit and a control unit;
[0014] The input end of the simulation system unit is connected to the vehicle communication module;
[0015] The output end of the simulation system unit is connected to the input end of the control unit, and the control unit is connected to the vehicle control module;
[0016] The simulation system unit runs the vehicle simulation model, and is used to input the vehicle instruction forwarded from the vehicle communication module into the vehicle simulation model, obtain the simulation signal output by the vehicle simulation model, and send the simulation signal to the control unit;
[0017] The control unit is used to receive the vehicle control command sent from the vehicle control module, simulate the vehicle state of the real vehicle according to the vehicle control command and the simulation signal, generate an instruction execution result for the vehicle control command, and send the instruction execution result to the vehicle control module.
[0018] Optionally, the vehicle simulation module further comprises: a signal processing module, the input end of the signal processing module is connected to the output end of the simulation system unit, and the output end of the signal processing module is connected to the input end of the control unit;
[0019] The signal processing module is used to convert the simulation signal sent from the simulation system unit into a digital signal or an analog signal, and transmit the digital signal or the analog signal to the control unit.
[0020] Optionally, the vehicle simulation module further includes: a first display unit; an input end of the first display unit is connected to an output end of the simulation system unit;
[0021] The first display unit is used to display target operation information corresponding to the vehicle control command input into the simulation system unit.
[0022] Optionally, the vehicle simulation module further comprises: a second display unit;
[0023] The input end of the second display unit is connected to the output end of the vehicle control module;
[0024] The second display unit is used to display the simulated vehicle state of the real vehicle according to the execution result of the instruction received by the vehicle control module.
[0025] Optionally, the vehicle control module includes: a central domain controller and a vehicle terminal;
[0026] The central domain controller is connected to the control unit and the vehicle terminal, and the vehicle terminal is also connected to the vehicle communication module;
[0027] The vehicle-mounted terminal is used to receive the vehicle control command sent from the mobile terminal via the vehicle communication module, and authenticate the vehicle control command. If the authentication is successful, the vehicle control command is sent to the central domain controller;
[0028] The central domain controller is used to forward the vehicle control command to the control unit, receive the command execution result issued by the control unit, and send the command execution result to the vehicle terminal;
[0029] The vehicle-mounted terminal is also used to forward the instruction execution result to the vehicle communication module.
[0030] Optionally, the control unit is further used to perform two-way authentication with the vehicle-mounted terminal. If the authentication is successful, the control unit receives a vehicle control command sent from the vehicle-mounted terminal, and simulates the vehicle state of a real vehicle based on the vehicle control command and the simulation signal.
[0031] Optionally, the vehicle communication module includes: a door NFC unit;
[0032] The door NFC unit is used to receive a first vehicle control instruction sent by the mobile terminal via the short-range communication network when the mobile terminal simulates being located outside the simulated real vehicle and the current simulation distance meets a preset first distance. The first vehicle control instruction includes: an unlocking instruction or a locking instruction.
[0033] Optionally, the vehicle communication module further comprises: a wireless charging NFC unit;
[0034] The wireless charging NFC unit is used to receive a second vehicle control instruction sent by the mobile terminal via the short-range communication network when the mobile terminal simulates being located inside a simulated real vehicle, wherein the second vehicle control instruction includes: a digital key pairing instruction or a vehicle start instruction.
[0035] Optionally, the vehicle communication module further includes: a BLE-UWB unit;
[0036] The BLE-UWB unit is used to receive the first vehicle control instruction sent by the mobile terminal via the short-range communication network when the mobile terminal simulates being located outside the simulated real vehicle and the current simulation distance meets a preset second distance.
[0037] The beneficial effects of this application are:
[0038] The present application provides a digital key testing system on a vehicle, which includes: a vehicle simulation module, a vehicle control module and a vehicle communication module. After a mobile terminal establishes a communication connection with the vehicle communication module via a short-range communication network, a user can send a vehicle control instruction to the vehicle communication module via the mobile terminal, and the vehicle communication module sends the vehicle control instruction to the vehicle control module, and the vehicle control module authenticates the legitimacy of the vehicle control instruction. If the authentication is successful, the vehicle control instruction is sent to the vehicle simulation module, and the vehicle simulation module simulates the vehicle state of a real vehicle according to the vehicle control instruction, and after determining that the simulated vehicle state is successful, generates an instruction execution result corresponding to the vehicle control instruction; then, the instruction execution result is sent to the vehicle control module, and then the instruction execution result is returned to the mobile terminal via the vehicle control module and the vehicle communication module, so that the user can promptly understand whether the simulated vehicle state is successful, thereby achieving the purpose of simulating the vehicle state of a real vehicle and realizing the performance test of the digital key, that is, the entire test process does not require a real vehicle to be inspected and provided to the mobile phone manufacturer for certification, thereby improving the certification efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0040] Figure 1 A structural schematic diagram of a digital key testing system for a vehicle provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of the structure of another vehicle digital key testing system provided in an embodiment of the present application;
[0042] Figure 3 A structural schematic diagram of a digital key testing system for a vehicle provided in an embodiment of the present application;
[0043] Figure 4 A schematic diagram of the structure of another vehicle digital key testing system provided in an embodiment of the present application;
[0044] Figure 5A structural schematic diagram of a digital key testing system for a vehicle provided in an embodiment of the present application;
[0045] Figure 6 A schematic diagram of the structure of another vehicle digital key testing system provided in an embodiment of the present application;
[0046] Figure 7 A schematic diagram of the overall architecture of a digital key testing system for a vehicle provided in an embodiment of the present application;
[0047] Figure 8 A test interaction diagram of a digital key testing system on a vehicle provided in an embodiment of the present application.
[0048] Icons: 100-digital key test system on vehicle; 1-vehicle simulation module; 2-vehicle control module; 3-vehicle communication module; 11-simulation system unit; 12-control unit; 13-signal processing module; 14-first display unit; 15-second display unit; 21-central domain controller; 22-on-board terminal; 31-door NFC unit; 32-wireless charging NFC unit; 33-BLE-UWB unit. DETAILED DESCRIPTION
[0049] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0050] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0051] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0052] A vehicle digital key testing system 100 provided by the present application will be introduced in detail through the following embodiments.
[0053] Figure 1 A schematic diagram of a vehicle digital key testing system 100 provided in an embodiment of the present application, with reference to Figure 1 As shown, the vehicle digital key testing system 100 may include a vehicle simulation module 1, a vehicle control module 2 and a vehicle communication module 3. The vehicle communication module 3 establishes a communication connection with the mobile terminal carried by the user through a short-range communication network (such as Bluetooth, NFC, UWB, ZigBee, wireless local area network, etc.).
[0054] Exemplarily, for example, the mobile terminal can be an electronic device with operating and display functions such as a smart phone, a tablet computer, and a portable wearable device, that is, it can establish a communication connection with the digital key testing system 100 on the vehicle through a short-range communication network. Multiple digital keys are pre-stored on the mobile terminal. The mobile terminal generates a vehicle control instruction, such as an unlocking instruction, based on the current digital key and the vehicle control request input by the user, and sends the vehicle control instruction to the digital key testing system 100 on the vehicle via the short-range communication network. The digital key testing system 100 on the vehicle simulates the unlocking operation of the real vehicle according to the received vehicle control instruction, thereby realizing performance testing of the digital key, that is, there is no need for actual vehicle inspection and providing certification to mobile phone manufacturers, thereby improving certification efficiency and cost, and improving digital key testing efficiency.
[0055] Specifically, the vehicle simulation module 1 in the digital key test system 100 on the vehicle is connected to the vehicle control module 2 and the vehicle communication module 3 respectively, and the vehicle control module 2 is communicatively connected to the vehicle communication module 3. Exemplarily, for example, the vehicle control module 2 may be a processor having data processing and authentication functions, and the vehicle communication module 3 may be a module that can establish a communication connection with a mobile terminal via a short-range communication network, such as an NFC module, a UWB module, or a BLE33 module.
[0056] The vehicle communication module 3 establishes a communication connection with the mobile terminal via a short-range communication network, such as a Bluetooth connection between the mobile terminal and the vehicle communication module 3 .
[0057] The vehicle communication module 3 is used to receive the vehicle control instructions issued by the mobile terminal via the short-distance communication network, and send the vehicle control instructions to the vehicle control module 2 and the vehicle simulation module 1 respectively; illustratively, for example, the mobile terminal determines the target digital key based on multiple digital keys stored in advance, and uses the target digital key and the vehicle control request input by the user to generate a vehicle control instruction. If the vehicle control request is an unlock request, the generated vehicle control instruction is an unlock instruction accordingly, and the unlock instruction is sent to the vehicle communication module 3 via the short-distance communication network; then, the vehicle communication module 3 distributes the unlock instruction to the vehicle control module 2 and the vehicle simulation module 1.
[0058] The vehicle control module 2 is used to receive the vehicle control command and authenticate the vehicle control command using at least one authentication protocol pre-stored on the vehicle control module 2. If the authentication is successful, the vehicle control command is sent to the vehicle simulation module 1.
[0059] Exemplarily, for example, the authentication protocol may include: CarKey protocol and ICCOA protocol. It is understandable that different mobile terminals provided by different mobile phone manufacturers use different authentication protocols. For example, the authentication protocol used by the mobile terminal provided by Apple is the CarKey protocol, and the authentication protocol used by the mobile terminal provided by the MOV Alliance is the ICCOA protocol.
[0060] Optionally, in this solution, in order to improve the authenticity and safety of the on-vehicle digital key test system 100 in simulating real vehicle control, it is proposed that the vehicle control module 2 determines the target authentication protocol that matches the mobile terminal from a plurality of pre-stored authentication protocols, and uses the target authentication protocol to authenticate the legitimacy of the vehicle control command; if the authentication is passed, the vehicle control command is sent to the vehicle simulation module 1; if the authentication is not passed, the vehicle control command is discarded, that is, not forwarded to the vehicle simulation module 1. That is, the on-vehicle digital key test system 100 provided in this application can support the authentication protocols used by mobile terminals provided by different mobile phone manufacturers, without the need for actual vehicles to be inspected and provided to mobile phone manufacturers for authentication, thereby improving authentication efficiency.
[0061] Optionally, for different vehicle models, only the corresponding vehicle model information stored in the vehicle control module needs to be replaced to complete the corresponding vehicle model construction, reducing the construction cost of the digital key test system on the vehicle. Therefore, the vehicle digital key test system provided by this application also supports multi-vehicle reuse, improving authentication efficiency and cost.
[0062] Continue to refer Figure 1As shown, the vehicle simulation module 1 is used to simulate the vehicle state of a real vehicle according to the vehicle control command, and generate the command execution result for the vehicle control command, and send the command execution result to the vehicle control module 2, so that the vehicle control module 2 forwards the command execution result to the mobile terminal via the vehicle communication module 3 and the short-range communication network.
[0063] In this embodiment, for example, the vehicle control instruction is an unlocking instruction. The vehicle simulation module 1 can simulate the unlocking state of the real vehicle according to the received unlocking instruction, and after determining that the simulated unlocking is successful, generate an instruction execution result corresponding to the unlocking instruction; then, the instruction execution result is sent to the vehicle control module 2, and the vehicle control module 2 forwards the instruction execution result to the mobile terminal via the vehicle communication module 3 and the short-range communication network, so that the user can promptly understand whether the simulated unlocking is successful, thereby achieving the purpose of simulating the vehicle state of the real vehicle and realizing the performance test of the digital key.
[0064] In summary, the embodiment of the present application provides a digital key testing system on a vehicle, which includes: a vehicle simulation module, a vehicle control module and a vehicle communication module. After the mobile terminal establishes a communication connection with the vehicle communication module via a short-range communication network, the user can send a vehicle control instruction to the vehicle communication module through the mobile terminal, and the vehicle communication module sends the vehicle control instruction to the vehicle control module, and the vehicle control module authenticates the legitimacy of the vehicle control instruction. If the authentication is passed, the vehicle control instruction is sent to the vehicle simulation module, and the vehicle simulation module simulates the vehicle state of the real vehicle according to the vehicle control instruction, and after determining that the simulated vehicle state is successful, generates an instruction execution result corresponding to the vehicle control instruction; then, the instruction execution result is sent to the vehicle control module, and then the instruction execution result is returned to the mobile terminal via the vehicle control module and the vehicle communication module, so that the user can promptly understand whether the simulated vehicle state is successful, thereby achieving the purpose of simulating the vehicle state of the real vehicle and realizing the performance test of the digital key, that is, the entire test process does not require a real vehicle to be inspected and provided to the mobile phone manufacturer for certification, thereby improving the certification efficiency.
[0065] The above-mentioned will be specifically explained through the following examples. Figure 1 The specific structure of the vehicle simulation module 1.
[0066] Optionally, refer to Figure 2As shown, the vehicle simulation module 1 includes: a simulation system unit 11 and a control unit 12. Exemplarily, for example, the simulation system unit 11 can be a microcomputer (Raspberry Pi 4B) of a Linux system, running a self-developed simulation control system, and can generate simulation signals according to received vehicle control instructions, wherein the simulation signals can include: analog signals, digital signals, CAN signals; then, the simulation signals can simulate the vehicle state of a real vehicle, and the vehicle state can include: window switches, door switches, trunk switches, gear switches, vehicle server environment switches, etc.
[0067] The control unit 12 may include: a left domain control unit (LDCU) and a right domain control unit (RDCU). The left domain control unit is a controller for managing the electronic devices on the left side of the vehicle, and is usually located in the left area of the vehicle; the right domain control unit is a controller for managing the electronic devices on the right side of the vehicle, and is usually located in the right area of the vehicle. For example, the left domain control unit may simulate the unlocking state or locking state of the left door of a real vehicle according to the received vehicle control command.
[0068] In this embodiment, the control unit 12 can obtain the simulation signal issued by the simulation system unit 11 and receive the vehicle control instruction issued by the vehicle control module 2, and then convert the simulation signal into a signal recognizable by the control unit 12, such as a CAN signal and a vehicle Ethernet signal, and simulate the vehicle state of a real vehicle based on the vehicle control instruction and the recognizable signal. At the same time, it generates an instruction execution result and returns the instruction execution result to the vehicle control module 2.
[0069] Continue to refer Figure 2 As shown, the input end of the simulation system unit 11 is connected to the vehicle communication module 3 , that is, the vehicle control command forwarded by the vehicle communication module 3 , such as the unlocking command, can be directly received.
[0070] The output end of the simulation system unit 11 is connected to the input end of the control unit 12, and the control unit 12 is connected to the vehicle control module 2;
[0071] The simulation system unit 11 runs a vehicle simulation model, which is used to input the vehicle command forwarded from the vehicle communication module 3 into the vehicle simulation model, obtain the simulation signal output by the vehicle simulation model, and send the simulation signal to the control unit 12. Among them, the vehicle simulation model is used to process the received vehicle control command and generate a simulation signal that simulates the real vehicle in the target vehicle state. For example, if the received vehicle control command is a left door unlock command, then after the left door unlock command is input into the vehicle simulation model, an unlock simulation signal that simulates the left door in the unlocked state output by the vehicle simulation model can be obtained.
[0072] The control unit 12 is used to receive the vehicle control command sent from the vehicle control module 2, simulate the vehicle state of the real vehicle according to the vehicle control command and the simulation signal, generate the command execution result for the vehicle control command, and send the command execution result to the vehicle control module 2. For example, the control unit 12 simulates the left door of the real vehicle in the unlocked state according to the unlock command and the unlock simulation signal. After the simulation is successful, it generates the command execution success result for the unlock command, and sends the command execution success result to the vehicle control module 2, so that the command execution success result is transmitted to the mobile terminal carried by the user via the vehicle control module 2, the vehicle communication module 3 and the short-range communication network, so as to inform the user that the current vehicle state of the real vehicle simulated by the digital key test system 100 on the vehicle is the unlocked state, that is, the unlocking is successful, and the performance verification of the digital key is realized.
[0073] Optionally, for example, if the control unit 12 fails to simulate the unlocking state of the real vehicle according to the unlocking instruction and the unlocking simulation signal, it generates an instruction execution failure result for the unlocking instruction and sends the instruction execution failure result to the vehicle control module 2.
[0074] Optionally, refer to Figure 3 As shown, the vehicle simulation module 1 also includes: a signal processing module 13. Exemplarily, for example, the signal processing module 13 includes: a digital processing signal module and an analog signal processing module 13, wherein the digital processing signal module can select a general purpose input / output module (General Purpose Input / Output, referred to as GPIO), that is, the simulation signal output by the simulation system unit 11 can be digitally processed by the digital processing signal module to generate a digital signal; or, the simulation signal output by the simulation system unit 11 can be analog processed by the analog processing signal module to generate an analog signal.
[0075] An input end of the signal processing module 13 is connected to an output end of the simulation system unit 11 , and an output end of the signal processing module 13 is connected to an input end of the control unit 12 .
[0076] The signal processing module 13 is used to convert the simulation signal sent from the simulation system unit 11 into a digital voltage signal or an analog voltage signal, and transmit the digital signal or the analog signal to the control unit 12 .
[0077] In this embodiment, for example, the simulation signal S1 output by the simulation system unit 11 is used to simulate that the left side of a real vehicle is in an unlocked state, and the simulation signal S1 can be 0; therefore, the simulation signal S1 can be input into the digital processing signal module, and the digital processing signal module digitizes the simulation signal S1, such as converting it into binary, and the generated digital signal is 00.
[0078] For another example, the simulation signal S2 output by the simulation system unit 11 is used to simulate that the left window of a real vehicle is in an open state, and the opening height is half of the window height; therefore, the simulation signal S2 can be input into the simulation processing signal module, and the simulation processing signal module performs simulation processing on the simulation signal S2, such as generating a simulation voltage signal of 1.2V.
[0079] Optionally, refer to Figure 4 As shown, the vehicle simulation module 1 further includes: a first display unit 14; illustratively, for example, the first display unit 14 may be a display screen for displaying operation information corresponding to the vehicle control command.
[0080] An input terminal of the first display unit 14 is connected to an output terminal of the simulation system unit 11 .
[0081] The first display unit 14 is used to display target operation information corresponding to the vehicle control command input into the simulation system unit 11 .
[0082] In this embodiment, for example, the vehicle control command issued by the mobile terminal is a left door unlocking command, then the operation information displayed by the first display unit 14 in the simulation system unit 11 is the left door unlocking, so that the user can determine whether the vehicle control command issued by the mobile terminal is correct from the operation information displayed by the first display unit 14, thereby improving the test efficiency.
[0083] Optionally, continue to refer to Figure 4 As shown, the vehicle simulation module 1 also includes: a second display unit 15. The second display unit 15 can also be called a large screen display system (Central Display Unit, CDU for short), which obtains the command execution result received by the vehicle control module 2 and displays the vehicle status corresponding to the command execution result, so that the vehicle status of the vehicle can be timely understood through the second display unit 15 whether the vehicle is successfully simulated.
[0084] Wherein, the input end of the second display unit 15 is connected to the output end of the vehicle control module 2;
[0085] The second display unit 15 is used to display the simulated vehicle state of the real vehicle according to the execution result of the instruction received by the vehicle control module 2.
[0086] In one feasible manner, for example, after the vehicle control module 2 receives the instruction execution result issued by the control unit 12, it forwards the instruction execution result to the second display unit 15. The second display unit 15 determines that the vehicle state of the simulated real vehicle is unlocked based on the instruction execution result, and then displays the unlocked state on the second display unit 15, so that the user can also promptly obtain whether the vehicle state of the real vehicle is successfully simulated from the second display unit 15 in the vehicle simulation module 1, thereby improving the testing efficiency of the digital key.
[0087] The structure of the vehicle control module 2 will be specifically introduced through the following embodiments.
[0088] Optionally, refer to Figure 5 As shown, the vehicle control module 2 includes: a central domain controller 21 (Central Domain Control Unit, CDCU for short) and a vehicle terminal 22 .
[0089] The central domain controller 21 is used to manage and coordinate multiple subsystems and functions in the simulated real vehicle.
[0090] Continue to refer Figure 5 As shown, the central domain controller 21 is connected to the control unit 12 and the vehicle terminal 22 , and the vehicle terminal 22 is also connected to the vehicle communication module 3 .
[0091] The vehicle terminal 22 is used to receive the vehicle control command sent from the mobile terminal via the vehicle communication module 3, and authenticate the vehicle control command. If the authentication is successful, the vehicle control command is sent to the central domain controller 21;
[0092] The central domain controller 21 is used to forward the vehicle control command to the control unit 12, receive the command execution result issued by the control unit 12, and send the command execution result to the vehicle terminal 22;
[0093] The vehicle terminal 22 is also used to forward the command execution result to the vehicle communication module 3.
[0094] In this embodiment, for example, the digital key service is run on the vehicle terminal 22, that is, the vehicle terminal 22 can authenticate the legitimacy of the received unlocking instruction to authenticate the digital key of the mobile terminal, wherein the unlocking instruction is generated by the mobile terminal based on the digital key and the unlocking request. If the authentication is passed, the unlocking instruction is sent to the central domain controller 21; then, the central domain controller 21 forwards the unlocking instruction to the left domain controller, which simulates the unlocking state of the real vehicle according to the unlocking instruction and the unlocking simulation signal, and generates a successful instruction execution result, which is sent to the central domain controller 21, and the central domain controller 21 forwards the successful instruction execution result to the mobile terminal via the vehicle terminal 22 and the vehicle communication module.
[0095] Optionally, the control unit 12 is also used to perform two-way authentication with the vehicle terminal 22. If the authentication is successful, the control unit 12 receives the vehicle control command sent from the vehicle terminal 22, and simulates the vehicle state of the real vehicle according to the vehicle control command and the simulation signal.
[0096] In this solution, different car manufacturers and models may use different vehicle terminals 22 and control units 12. Therefore, the control unit 12 needs to authenticate the vehicle terminal 22. If the authentication is passed, the operation can be authorized. The authentication may include: functional safety, network security, electromagnetic compatibility (EMC), environmental adaptability and other aspects.
[0097] In one feasible method, for example, the control unit 12 uses the pre-stored software version information of the simulated real vehicle to perform two-way authentication on the vehicle terminal 22. If the authentication is successful, the vehicle control command sent from the vehicle terminal 22 is received, and the vehicle state of the real vehicle is simulated according to the vehicle control command and the simulation signal; if the authentication is not successful, any vehicle control command sent from the vehicle terminal 22 is directly rejected, thereby improving the reliability and security of the test results. Therefore, the digital key test system 100 provided in the present application can be used to quickly iterate and complete the authentication of multiple vehicle models, reduce the cost of setting up the test system, and improve the authentication efficiency.
[0098] The specific structure of the vehicle communication module 3 will be introduced through the following embodiments.
[0099] Optionally, refer to Figure 6 As shown, the vehicle communication module 3 includes: a door NFC unit 31. For example, the distance range of the short-distance communication supported by the door NFC unit 31 is within 5 cm, that is, the mobile terminal is located outside the simulated real vehicle and the distance from the simulated real vehicle is less than 5 cm.
[0100] The door NFC unit 31 is used to receive a first vehicle control instruction sent by the mobile terminal via a short-range communication network when the mobile terminal simulates being located outside the simulated vehicle and the current simulated distance meets a preset first distance. The first vehicle control instruction includes: an unlocking instruction or a locking instruction.
[0101] In this embodiment, for example, when the distance between the mobile terminal and the simulated real vehicle is less than 5 centimeters, an unlocking command can be sent to the door NFC unit 31 via the short-range network, and the door NFC unit 31 sends the unlocking command to the vehicle control module 2 and the vehicle simulation module 1, thereby simulating the unlocking state of the simulated real vehicle.
[0102] Optionally, referring to Figure 6 , the vehicle communication module 3 further includes: a wireless charging NFC unit 32;
[0103] The wireless charging NFC unit 32 is used to receive a second vehicle control instruction sent by the mobile terminal via a short-range communication network when the mobile terminal simulates being located inside a simulated real vehicle. The second vehicle control instruction includes: a digital key pairing instruction or a vehicle start instruction.
[0104] In this embodiment, for example, when it is necessary to simulate the startup state of a real vehicle through the digital key testing system 100 on the vehicle, and when the mobile terminal simulates being located inside the simulated real vehicle, the mobile terminal can select a target digital key from multiple pre-stored digital keys, and generate a startup instruction using the target digital key and a startup request; then, the startup instruction is sent to the wireless charging NFC unit 32 via the short-range communication network, and the wireless charging NFC unit 32 sends the startup instruction to the vehicle control module 2 and the vehicle simulation module 1, thereby simulating the startup state of the simulated real vehicle.
[0105] Optionally, continuing with reference to 6, the vehicle communication module 3 also includes: a BLE-UWB unit 33; for example, the distance range of the short-range communication supported by the BLE-UWB unit 33 is within 5 meters, that is, the mobile terminal is located outside the simulated real vehicle and the distance from the simulated real vehicle is less than 5 meters.
[0106] The BLE-UWB unit 33 is used to receive a first vehicle control instruction sent by the mobile terminal via a short-range communication network when the mobile terminal simulates being located outside the simulated real vehicle and the current simulation distance meets a preset second distance.
[0107] In this embodiment, for example, when the distance between the mobile terminal and the simulated real vehicle is less than 5 meters, an unlocking instruction can be sent to the BLE-UWB unit 33 via the short-range network, and the BLE-UWB unit 33 sends the unlocking instruction to the vehicle control module 2 and the vehicle simulation module 1, thereby simulating the unlocking state of the simulated real vehicle.
[0108] Optionally, refer to Figure 7 As shown in the figure, it is a schematic diagram of the overall architecture of the digital key test system on the vehicle. Figure 7 As shown in the figure, the vehicle digital key test system includes three modules, namely the vehicle simulation module, the vehicle control module and the vehicle communication module. That is, the vehicle digital key test system adopts a modular design and can quickly iterate to complete the certification of multiple models.
[0109] Among them, the vehicle simulation module includes: a simulation system controller (i.e., a simulation system unit), a left domain controller, a right domain controller, a GPIO (i.e., a digital signal processing unit), an analog voltage output (i.e., an analog signal processing unit), a first display unit, and a second display unit.
[0110] The vehicle control module includes: central domain controller and vehicle terminal.
[0111] The vehicle communication module includes: a door NFC unit, a wireless charging NFC unit and a BLE-UWB unit, among which the BLE-UWB unit includes: BLE-UWB-FL on the left front side of the vehicle, BLE-UWB-FR on the right front side of the vehicle, BLE-UWB-RL on the left rear side of the vehicle, and BLE-UWB-RR on the right rear side of the vehicle, which are respectively located at the left front position, left rear position, right front position, and right rear position of the vehicle.
[0112] Among them, the vehicle communication module and the vehicle control module constitute the minimum digital key system, and the vehicle simulation module is decoupled from the digital key system. According to the received vehicle control instructions, the vehicle state of the real vehicle is simulated, that is, the simulation of different vehicle states is realized.
[0113] Optionally, in order to ensure that the operation and response of the digital key test system on the vehicle are consistent with the actual vehicle, for other protocols, such as ICCOA / ICCE, it is only necessary to update the authentication program pre-stored in the vehicle terminal to complete the construction of the test system, greatly improving the authentication efficiency.
[0114] Optionally, the simulation system unit generates a simulation signal that simulates the hardware equipment of a real vehicle according to the received vehicle control instructions, and the simulation signal includes: an analog signal or a digital signal; the control unit simulates the hardware equipment such as doors, windows, brakes, accelerator pedal, trunk, etc. according to the simulation signal and the vehicle control instructions, so as to achieve full-link functional simulation, ensure the consistency between the authentication logic of the test system and the authentication logic of the real vehicle, and ensure the accuracy of the test results.
[0115] The simulation system unit can simulate the interaction process between the mobile terminal and the vehicle communication module through BLCAN to support the digital key service test of the vehicle terminal and improve the code quality.
[0116] Optionally, refer to Figure 8 As shown, it is a flow chart of the vehicle state of a real vehicle simulated by the digital key test system on the vehicle, such as Figure 8 As shown, the vehicle status of the real vehicle simulated by the digital key test system on the vehicle includes: key pairing, unlocking the vehicle, engaging the gear and starting, and locking the vehicle.
[0117] First, key pairing
[0118] Step 1: The user's mobile phone obtains the pairing code, and the mobile terminal initiates pairing via the short-distance network BLE. The vehicle terminal and the mobile terminal perform verification. If the verification passes and the pairing is completed, a short-distance network BLE connection is established;
[0119] Step 2: The mobile terminal communicates with the vehicle terminal through the short-range network BLE, completes the UWB parameter setting, and establishes a UWB connection;
[0120] Step 3: The mobile terminal establishes a distance measurement with the UWB device, and the left domain controller obtains the UWB positioning data through BLCAN, completes the positioning of the mobile terminal, and returns the location of the mobile terminal inside the simulated real vehicle;
[0121] Step 4: The mobile terminal and the vehicle terminal complete the standard transaction, the digital key is created successfully, and the key information is reported to the server. The mobile terminal displays the Carkey wallet key.
[0122] Second, unlock the vehicle
[0123] Step 1: The vehicle state of the real vehicle simulated by the simulation system unit is a locked and powered-off state, with the doors and the trunk both closed, and the vehicle state is returned to the vehicle terminal through TPCAN;
[0124] Step 2: The mobile terminal scans the BLE broadcast of the short-distance network and initiates a BLE connection. After the connection is successful, the vehicle terminal returns the vehicle status to BLCAN, and the vehicle status is transparently transmitted to the mobile terminal via the BLE short-distance network.
[0125] Step 3: The mobile terminal displays that the vehicle is in a locked state. At this time, the user clicks the unlock button in the control interface provided on the mobile terminal to generate an unlock request, and generates an unlock instruction based on the digital key and the unlock request. The mobile terminal sends the unlock instruction to the vehicle terminal via the short-range network BLE.
[0126] Step 4: The vehicle terminal verifies the legitimacy of the unlocking instruction. If the verification is passed, the unlocking instruction is sent to the left domain controller. The left domain controller simulates the vehicle state of the real vehicle as unlocking state according to the unlocking instruction and the unlocking simulation signal output by the simulation system unit, and generates the instruction execution result as unlocking success.
[0127] Step 5: Return the unlocking success to the central domain control unit, which sends the unlocking success to the mobile terminal via the vehicle terminal and the vehicle communication module.
[0128] Optionally, the central domain control unit sends the unlocking success to the second display unit, and the second display unit displays the vehicle state of the simulated real vehicle as an unlocked state.
[0129] Third, lock the vehicle
[0130] Step 1: The vehicle state of the real vehicle simulated by the simulation system unit is unlocked, that is, the simulated door is open, and the door and trunk are closed, and the vehicle state is returned to the vehicle terminal through TPCAN;
[0131] Step 2: The mobile terminal maintains connection with the short-distance network BLE, and the vehicle terminal returns the vehicle status to BLCAN, and transparently transmits the vehicle status to the mobile terminal via the short-distance network BLE;
[0132] Step 3: The mobile terminal displays that the vehicle status is unlocked. At this time, the user clicks the lock button in the control interface provided on the mobile terminal to generate a lock request, and generates a lock instruction based on the digital key and the lock request. The mobile terminal sends the lock instruction to the vehicle terminal via the short-range network BLE;
[0133] Step 4: The vehicle terminal verifies the legitimacy of the unlocking command. If the verification is passed, the locking command is sent to the left domain controller. The left domain controller simulates the vehicle state of the real vehicle as a locked state according to the locking command and the locking simulation signal output by the simulation system unit, and generates a command execution result as a successful locking.
[0134] Step 5: Return the locking success to the central domain control unit, and the central domain control unit sends the locking success to the mobile terminal via the vehicle terminal and the vehicle communication module.
[0135] Fourth, start the gear
[0136] Step 1: The vehicle state of the real vehicle simulated by the simulation system unit is unlocked, that is, the simulated door is opened, and the vehicle power mode jumps from the power-off state to the power-on state;
[0137] Step 2: The mobile terminal maintains connection with BLE, UWB starts ranging, and the vehicle simulation module is used to simulate that the key of a real vehicle is inside the vehicle;
[0138] Step 3, the vehicle state of the real vehicle is simulated by the vehicle simulation module to send a gear shifting signal, the vehicle terminal returns that the key is valid, the simulated vehicle gear shifting and starting is successful, and the second display unit displays that the vehicle state of the simulated real vehicle is the gear shifting state.
[0139] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0140] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0141] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0142] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
Claims
1. A vehicle digital key testing system, characterized in that: The system includes: a vehicle simulation module, a vehicle control module and a vehicle communication module; The vehicle simulation module is connected to the vehicle control module and the vehicle communication module respectively, and the vehicle control module is communicatively connected to the vehicle communication module; The vehicle communication module establishes a communication connection with the mobile terminal via a short-range communication network; The vehicle communication module is used to receive the vehicle control command sent by the mobile terminal via the short-distance communication network, and send the vehicle control command to the vehicle control module and the vehicle simulation module respectively; The vehicle control module is used to receive the vehicle control command and authenticate the vehicle control command using at least one authentication protocol pre-stored on the vehicle control module, and if the authentication is successful, send the vehicle control command to the vehicle simulation module; The vehicle simulation module is used to simulate the vehicle state of a real vehicle according to the vehicle control instruction, and generate an instruction execution result corresponding to the vehicle control instruction, and send the instruction execution result to the vehicle control module, so that the vehicle control module forwards the instruction execution result to the mobile terminal via the vehicle communication module and the short-range communication network.
2. The system according to claim 1, characterized in that The vehicle simulation module includes: a simulation system unit and a control unit; The input end of the simulation system unit is connected to the vehicle communication module; The output end of the simulation system unit is connected to the input end of the control unit, and the control unit is connected to the vehicle control module; The simulation system unit runs the vehicle simulation model, and is used to input the vehicle instruction forwarded from the vehicle communication module into the vehicle simulation model, obtain the simulation signal output by the vehicle simulation model, and send the simulation signal to the control unit; The control unit is used to receive the vehicle control command sent from the vehicle control module, simulate the vehicle state of the real vehicle according to the vehicle control command and the simulation signal, generate an instruction execution result for the vehicle control command, and send the instruction execution result to the vehicle control module.
3. The system according to claim 2, characterized in that The vehicle simulation module further comprises: a signal processing module, the input end of the signal processing module is connected to the output end of the simulation system unit, and the output end of the signal processing module is connected to the input end of the control unit; The signal processing module is used to convert the simulation signal sent from the simulation system unit into a digital signal or an analog signal, and transmit the digital signal or the analog signal to the control unit.
4. The system according to claim 3, characterized in that The vehicle simulation module further includes: a first display unit; an input end of the first display unit is connected to an output end of the simulation system unit; The first display unit is used to display target operation information corresponding to the vehicle control command input into the simulation system unit.
5. The system according to claim 4, characterized in that The vehicle simulation module further includes: a second display unit; The input end of the second display unit is connected to the output end of the vehicle control module; The second display unit is used to display the simulated vehicle state of the real vehicle according to the execution result of the instruction received by the vehicle control module.
6. The system according to claim 3, characterized in that The vehicle control module includes: a central domain controller and a vehicle terminal; The central domain controller is connected to the control unit and the vehicle terminal, and the vehicle terminal is also connected to the vehicle communication module; The vehicle-mounted terminal is used to receive the vehicle control command sent from the mobile terminal via the vehicle communication module, and authenticate the vehicle control command. If the authentication is successful, the vehicle control command is sent to the central domain controller; The central domain controller is used to forward the vehicle control command to the control unit, receive the command execution result issued by the control unit, and send the command execution result to the vehicle terminal; The vehicle-mounted terminal is also used to forward the instruction execution result to the vehicle communication module.
7. The system according to claim 6, characterized in that The control unit is also used to perform two-way authentication with the vehicle-mounted terminal. If the authentication is successful, the control unit receives a vehicle control command sent from the vehicle-mounted terminal, and simulates the vehicle state of a real vehicle based on the vehicle control command and the simulation signal.
8. The system according to claim 1, characterized in that The vehicle communication module includes: a door NFC unit; The door NFC unit is used to receive a first vehicle control instruction sent by the mobile terminal via the short-range communication network when the mobile terminal simulates being located outside the simulated real vehicle and the current simulation distance meets a preset first distance. The first vehicle control instruction includes: an unlocking instruction or a locking instruction.
9. The system according to claim 7, characterized in that: The vehicle communication module also includes: a wireless charging NFC unit; The wireless charging NFC unit is used to receive a second vehicle control instruction sent by the mobile terminal via the short-range communication network when the mobile terminal simulates being located inside a simulated real vehicle, wherein the second vehicle control instruction includes: a digital key pairing instruction or a vehicle start instruction.
10. The system according to claim 8, characterized in that: The vehicle communication module also includes: a BLE-UWB unit; The BLE-UWB unit is used to receive the first vehicle control instruction sent by the mobile terminal via the short-range communication network when the mobile terminal simulates being located outside the simulated real vehicle and the current simulation distance meets a preset second distance.
Citation Information
Patent Citations
Bluetooth digital key test method, device, equipment and medium
CN115391191A
Vehicle control method and vehicle-mounted key module
CN118269886A
Digital key test method, device and equipment and readable storage medium
CN119002453A
Method for operating vehicle
WO2024041630A1