Vehicle starting method, device, equipment and storage medium based on near-field communication
By introducing secure random number detection and status checks into the NFC vehicle start system, the problem of insufficient security in NFC vehicle start-up is solved, starting security is improved, and the workload of mobile phone adaptation development is reduced.
Patent Information
- Application Number
- CN202411334483.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-09-24
AI Technical Summary
Existing NFC-based vehicle start-up control methods have weak security detection, resulting in low security during the vehicle start-up process.
When a vehicle start request initiated by a user terminal is detected, a secure random number is generated and a security check is performed through the digital key control module, including permission and anti-theft checks. If the check passes, a digital key search request is generated and a status check is performed. Finally, the vehicle is started based on the status check result.
It improves the security of NFC key detection, enhances the security of starting vehicles based on NFC functionality, and reduces the workload of mobile phone adaptation development.
Smart Images

Figure CN119342438B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive communication technology, and in particular to a vehicle starting method, apparatus, device, and storage medium based on near-field communication. Background Technology
[0002] With the rapid development of automotive electronics technology, car keys, as the product closest to users in the automotive field, are also constantly evolving, iterating from the initial mechanical keys and remote control keys to digital keys. This new key technology will become a standard feature of the next generation of cars. Among them, NFC (Near Field Communication) digital keys are a product form of digital car keys. NFC is a short-range, high-frequency wireless communication technology that allows contactless point-to-point data transmission and exchange between electronic devices. NFC digital keys mainly utilize NFC communication technology, allowing users to quickly unlock, lock, and start the vehicle by tapping an NFC-enabled smart device or physical card against the NFC sensing area on the vehicle. After security authentication is completed between the key and the vehicle, the user can quickly unlock, lock, and start the vehicle.
[0003] However, existing NFC-based vehicle start-up methods have weak security checks on NFC digital keys, resulting in low security for the NFC-based vehicle start-up process. Summary of the Invention
[0004] This invention provides a vehicle starting method, apparatus, device, and storage medium based on near-field communication (NFC) to improve the security of starting vehicles using NFC technology.
[0005] According to one aspect of the present invention, a vehicle starting method based on near-field communication is provided. The method is applied to a vehicle controller in a vehicle control system, the vehicle control system including a vehicle controller, a digital key control module, and a near-field communication (NFC) module; the digital key control module is communicatively connected to both the vehicle controller and the NFC module, and includes:
[0006] When a vehicle start request initiated by a user terminal based on the NFC function is detected, a secure random number is generated and sent to the digital key control module, so that the digital key control module can generate and feed back a first response value based on the secure random number.
[0007] The vehicle start request is subjected to security detection based on the security random number and the first response value;
[0008] If the security test result is passed, a digital key retrieval request is generated and sent to the NFC module through the digital key control module. The NFC module then interacts with the user terminal based on the digital key retrieval request. After the digital key is found, a status check request is generated and sent to the digital key control module. The digital key control module performs a status check on the digital key based on the status check request, obtains the status check result, and sends the status check result to the vehicle controller.
[0009] Based on the status check results, control the vehicle to start.
[0010] According to one aspect of the present invention, a vehicle starting method based on near-field communication is provided, applied to a digital key control module in a vehicle control system, the vehicle control system including a vehicle controller, a digital key control module, and a near-field communication (NFC) module; the digital key control module is communicatively connected to both the vehicle controller and the NFC module, and includes:
[0011] Obtain the secure random number generated by the vehicle controller when it detects a vehicle start request initiated by the user terminal based on the NFC function;
[0012] Based on the security random number, a first response value is generated and fed back to the vehicle controller, so that the vehicle controller can perform security detection on the vehicle start request according to the security random number and the first response value, and generate and feed back a digital key retrieval request when the security detection result is passed;
[0013] The digital key search request is sent to the NFC module so that the NFC module can interact with the user terminal based on the digital key search request, and generate and send back a status check request after the digital key is found.
[0014] Based on the status check request, a status check is performed on the digital key to obtain the status check result. The status check result is then sent to the vehicle controller so that the vehicle controller can control the vehicle to start according to the status check result.
[0015] According to another aspect of the present invention, a vehicle starting device based on near-field communication is provided, comprising a vehicle controller configured in a vehicle control system, the vehicle control system including a vehicle controller, a digital key control module, and a near-field communication (NFC) module; the digital key control module is communicatively connected to both the vehicle controller and the NFC module, and includes:
[0016] A secure random number generation module is used to generate a secure random number when a vehicle start request initiated by a user terminal based on the NFC function is detected, and send the secure random number to the digital key control module so that the digital key control module can generate and feed back a first response value based on the secure random number.
[0017] The safety detection module is used to perform safety detection on the vehicle start request based on the safety random number and the first response value;
[0018] The request generation module is used to generate a digital key retrieval request if the security detection result is passed, and send the digital key retrieval request to the NFC module through the digital key control module, so that the NFC module can interact with the user terminal based on the digital key retrieval request. After the digital key is found, the module generates and sends a status check request to the digital key control module, which performs a status check on the digital key based on the status check request, obtains the status check result, and sends the status check result to the vehicle controller.
[0019] The vehicle start control module is used to control the vehicle to start based on the status check results.
[0020] According to another aspect of the present invention, a vehicle starting device based on near-field communication is provided, comprising a digital key control module configured in a vehicle control system, the vehicle control system including a vehicle controller, a digital key control module, and a near-field communication (NFC) module; the digital key control module is communicatively connected to both the vehicle controller and the NFC module, and includes:
[0021] A secure random number acquisition module is used to acquire a secure random number generated by the vehicle controller when it detects a vehicle start request initiated by the user terminal based on the NFC function;
[0022] The first response value generation module is used to generate and feed back a first response value to the vehicle controller based on the security random number, so that the vehicle controller can perform security detection on the vehicle start request according to the security random number and the first response value, and generate and feed back a digital key retrieval request when the security detection result is passed.
[0023] The check request generation module is used to send the digital key search request to the NFC module, so that the NFC module can interact with the user terminal based on the digital key search request, and generate and feed back a status check request after the digital key is found.
[0024] The inspection result generation module is used to perform a status check on the digital key based on the status check request, obtain the status check result, and send the status check result to the vehicle controller so that the vehicle controller can control the vehicle to start according to the status check result.
[0025] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0026] At least one processor; and
[0027] A memory communicatively connected to the at least one processor; wherein,
[0028] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the vehicle starting method based on near-field communication as described in any embodiment of the present invention.
[0029] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the vehicle starting method based on near-field communication as described in any embodiment of the present invention.
[0030] This invention's technical solution, upon detecting a vehicle start request initiated by a user terminal using NFC, generates a secure random number and sends it to the digital key control module. The digital key control module then generates and sends back a first response value based on this secure random number. Based on the secure random number and the first response value, it performs a security check on the vehicle start request. If the security check passes, it generates a digital key search request and sends it to the NFC module. After finding the digital key, the NFC module generates and sends a status check request to the digital key control module. The digital key control module then performs a status check on the digital key based on the status check request, obtains the status check result, and sends the result to the vehicle controller. Based on the status check result, it controls the vehicle to start. This technical solution improves the security of NFC key detection and vehicle start-up security by introducing a security detection method to detect vehicle start requests initiated using NFC. The NFC module only participates in data exchange; instead, the digital key control module performs status checks and other data authentication. This achieves logical adaptation and compatibility with multiple security protocols of digital keys, reducing the workload of mobile phone adaptation development.
[0031] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1A This is a flowchart of a vehicle starting method based on near-field communication according to Embodiment 1 of the present invention;
[0034] Figure 1B This is a schematic diagram of a vehicle control system according to Embodiment 1 of the present invention;
[0035] Figure 2 This is a flowchart of a vehicle starting method based on near-field communication according to Embodiment 2 of the present invention;
[0036] Figure 3 This is a schematic diagram of a vehicle starting device based on near-field communication according to Embodiment 3 of the present invention;
[0037] Figure 4 This is a schematic diagram of a vehicle starting device based on near-field communication according to Embodiment 4 of the present invention;
[0038] Figure 5 This is a schematic diagram of the structure of an electronic device that implements the vehicle starting method based on near-field communication according to an embodiment of the present invention. Detailed Implementation
[0039] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0040] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0041] Example 1
[0042] Figure 1A This is a flowchart of a vehicle starting method based on near-field communication provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of starting a vehicle based on the vehicle's near-field communication (NFC) function. The method can be executed by a vehicle starting device based on near-field communication, which can be implemented in hardware and / or software. The vehicle starting device based on near-field communication can be configured in an electronic device, for example, in the vehicle controller of a vehicle control system.
[0043] Figure 1B This is a schematic diagram of a vehicle control system according to Embodiment 1 of the present invention. The vehicle control system 10 includes a vehicle controller 11, a digital key control module 12, and a near-field communication (NFC) module 13. The digital key control module 12 is communicatively connected to both the vehicle controller 11 and the NFC module 13.
[0044] It's worth noting that, to reduce costs, decrease the number of chips, and improve vehicle layout flexibility, the NFC module can be integrated into the vehicle's wireless charging module. This combines the independent NFC and wireless charging functions, supporting both functionalities on a single chip. The NFC module chip is integrated onto the wireless charging PCB (Printed Circuit Board), and the NFC antenna coil and the wireless charging temperature acquisition circuitry are integrated onto the same filter board PCB. This architectural design reduces the number of chips within the controller, lowers costs, and simplifies vehicle layout. Functionally, it reuses a single security chip with the existing digital key control module for vehicle-to-mobile security authentication. The authentication result is provided by the digital key control module, not the wireless charging module. The wireless charging controller and NFC module only transmit data between the two ends without participating in calculations. This implementation logic is compatible with various digital key security protocols, reducing the workload of development and adaptation with mobile phone manufacturers to some extent.
[0045] like Figure 1A As shown, this method is executed by the vehicle controller in the vehicle control system and includes:
[0046] S110. When a vehicle start request initiated by the user terminal based on the NFC function is detected, a secure random number is generated and sent to the digital key control module so that the digital key control module can generate and feed back a first response value based on the secure random number.
[0047] Users can initiate a vehicle start request via the NFC function provided on their user terminal, which can be a mobile phone or tablet. When the vehicle controller detects the vehicle start request, it performs a security verification. This security verification may include anti-theft security verification and access control security verification.
[0048] The vehicle-side controller randomly generates a secure random number and sends it to the digital key control module. The digital key control module calculates the secure random number based on a preset encryption algorithm or key, such as a hash algorithm, to obtain a first response value, and then feeds this first response value back to the vehicle-side controller. The encryption algorithm or key in the digital key control module can be pre-configured by relevant technical personnel. Specifically, it can be the same as the encryption algorithm or key in the vehicle-side controller, or it can be a symmetric encryption algorithm or key; this embodiment does not impose any restrictions on this.
[0049] S120. Perform a security check on the vehicle start request based on the security random number and the first response value.
[0050] The vehicle controller can compare the response value generated by the security random number with the response value fed back by the digital key control module, and then perform security verification on the vehicle start request based on the comparison result.
[0051] In one optional embodiment, a security check is performed on the vehicle startup request based on a secure random number and a first response value, including: generating a second response value based on the secure random number; performing an access security check on the vehicle startup request based on the first and second response values to obtain an access security check result; obtaining user location information of the user terminal and vehicle location information of the vehicle itself; performing an anti-theft security check on the vehicle startup request based on the user location information and vehicle location information to obtain an anti-theft security check result; and performing a security check on the vehicle startup request based on the access security check result and the anti-theft security check result.
[0052] The vehicle controller uses the same or corresponding encryption algorithm or key deployed with the digital key control module to encrypt and calculate a secure random number, obtaining a second response value. The first and second response values are compared for consistency. If they match, the security verification of the vehicle start request's permissions passes; otherwise, the security verification of the vehicle start request's permissions fails.
[0053] The system acquires the user's location information from the user terminal and the vehicle's location information. If the distance between the user's location and the vehicle's location is less than a preset distance threshold, the anti-theft security check for the vehicle startup request passes; if the distance between the user's location and the vehicle's location is not less than the preset distance threshold, the anti-theft security check for the vehicle startup request fails. The distance threshold can be preset by relevant technical personnel; for example, the distance threshold can be set to 2 meters.
[0054] If both the access security check and the anti-theft security check pass, the security check for the vehicle startup request passes; if either the access security check or the anti-theft security check fails, the security check for the vehicle startup request fails.
[0055] To further ensure that the access security detection results have a certain degree of fault tolerance, thereby improving the accuracy of the access security detection results and avoiding deviations in the calculation results of the vehicle controller and digital key control module in a certain calculation cycle due to sudden anomalies, this embodiment also provides a method for accurately determining the access security detection results.
[0056] In one optional embodiment, the vehicle start request is subjected to permission security detection based on the first response value and the second response value to obtain the permission security detection result. This includes: comparing the first response value and the second response value; if the comparison result is inconsistent, at least two reference random numbers are generated in the current iteration cycle, and each reference random number is sent to the digital key control module so that the digital key control module can generate a first reference response value corresponding to each reference random number; generating a second reference response value for each reference random number based on each reference random number; comparing each first reference response value with the corresponding second reference response value to obtain the comparison result of each reference random number in the current iteration cycle; and performing permission security detection on the vehicle start request based on the comparison result of each reference random number in each iteration cycle to obtain the permission security detection result.
[0057] If the comparison results of the first response value and the second response value are inconsistent, a preset iteration period can be set. For example, the preset iteration period can be 5 periods.
[0058] For any preset iteration cycle, in the current iteration cycle, the vehicle controller generates at least two reference random numbers and sends each reference random number to the digital key control module. The digital key control module calculates each reference random number based on a pre-configured encryption algorithm or key to obtain a first reference response value corresponding to each reference random number. Simultaneously, the vehicle controller calculates each reference random number based on the same or a corresponding encryption algorithm or key as the digital key control module to obtain a second reference response value corresponding to each reference random number.
[0059] The vehicle controller performs a consistency comparison between each first reference response value and its corresponding second reference response value to obtain the comparison results for each reference random number. If a preset number of comparison results show consistency, the permission security check result for the current iteration cycle is considered passed. Based on the permission security check results for each iteration cycle, the permission security check result for the vehicle startup request is determined. Specifically, if the permission security check results for more than 90% of iteration cycles pass, the permission security check result for the vehicle startup request can be considered passed.
[0060] S130. If the security test result is passed, a digital key search request is generated and sent to the NFC module through the digital key control module. The NFC module interacts with the user terminal based on the digital key search request. After the digital key is found, a status check request is generated and sent to the digital key control module. The digital key control module performs a status check on the digital key based on the status check request, obtains the status check result, and sends the status check result to the vehicle controller.
[0061] If the vehicle controller verifies the security of the vehicle start request, it generates a digital key retrieval request; if the security of the vehicle start request fails, it generates a failure message and sends it to the user terminal.
[0062] The vehicle controller sends a digital key retrieval request to the NFC module via the digital key control module. Upon receiving the request, the NFC module parses it, identifies the user terminal, and interacts with the terminal to search for the existence of a digital key. If the corresponding digital key is found, it generates a status check request and sends it to the digital key control module. The digital key control module performs a status check on the digital key based on the status check request, obtains the status check result, and sends the result to the vehicle controller.
[0063] In one optional embodiment, the digital key control module performs a status check on the digital key based on a status check request and obtains a status check result, including: verifying the digital signature of the digital key based on a preset shared key according to the status check request to obtain a legality verification result; if the legality verification result passes, verifying the access permissions of the digital key to obtain an access permission verification result; if the access permission verification result passes, verifying the current status of the vehicle to obtain a status check result.
[0064] Upon receiving a status check request, the digital key control module can parse the request to obtain the digital key and verify its validity. Specifically, it can perform signature verification on the digital signature of the parsed digital key to determine its legality and obtain a validity verification result. If the validity verification passes, it will verify the access permissions of the digital key; if the validity verification fails, it will generate a failure message and send it to the user terminal.
[0065] Access control verification for digital keys can specifically include checking the expiration time of the digital key and verifying the identity of the user who owns the digital key. If the access control verification for the digital key passes, the status check result is "verification passed"; if the access control verification for the digital key fails, the status check result is "verification failed".
[0066] S140. Based on the status check results, control the vehicle to start.
[0067] The vehicle controller starts the vehicle when the status check result is passed.
[0068] In an optional embodiment, after sending the digital key retrieval request to the NFC module through the digital key control module, the method further includes: if no status check result is received from the digital key control module within a preset time period, then sending the digital key retrieval request to the NFC module again through the digital key control module; if the number of times the digital key retrieval request is sent to the NFC module reaches a preset number of times threshold, then generating a preset prompt message and sending the prompt message to the instrument display.
[0069] The preset time period and the threshold for the number of transmissions can be pre-set by relevant technical personnel. For example, the threshold for the number of transmissions can be 3.
[0070] If no status check result is received from the digital key control module within a preset number of transmissions, a preset prompt message is generated and sent to the instrument panel display. The prompt message could be, for example, "No valid key in the vehicle. Please restart within the NFC start area."
[0071] This invention's technical solution, upon detecting a vehicle start request initiated by a user terminal using NFC, generates a secure random number and sends it to the digital key control module. The digital key control module then generates and sends back a first response value based on this secure random number. Based on the secure random number and the first response value, it performs a security check on the vehicle start request. If the security check passes, it generates a digital key search request and sends it to the NFC module. After finding the digital key, the NFC module generates and sends a status check request to the digital key control module. The digital key control module then performs a status check on the digital key based on the status check request, obtains the status check result, and sends the result to the vehicle controller. Based on the status check result, it controls the vehicle to start. This technical solution improves the security of NFC key detection and vehicle start-up security by introducing a security detection method to detect vehicle start requests initiated using NFC. The NFC module only participates in data exchange; instead, the digital key control module performs status checks and other data authentication. This achieves logical adaptation and compatibility with multiple security protocols of digital keys, reducing the workload of mobile phone adaptation development.
[0072] Example 2
[0073] Figure 2 This is a flowchart of a vehicle starting method based on near-field communication provided in Embodiment 2 of the present invention. This embodiment is applicable to the case of starting a vehicle based on the vehicle's near-field communication (NFC) function. The method can be executed by a vehicle starting device based on near-field communication, which can be implemented in hardware and / or software. The vehicle starting device based on near-field communication can be configured in an electronic device, for example, in a digital key control module in a vehicle control system.
[0074] like Figure 2 As shown, this method is executed by the digital key control module in the vehicle control system, and includes:
[0075] S210. Obtain a secure random number generated by the vehicle controller when it detects a vehicle start request initiated by the user terminal based on the NFC function.
[0076] Users can initiate a vehicle start request via the NFC function provided on their user terminal, which can be a mobile phone or tablet. When the vehicle controller detects the vehicle start request, it performs a security verification. This security verification may include anti-theft security verification and access control security verification.
[0077] The vehicle-side controller randomly generates a secure random number and sends it to the digital key control module. The digital key control module calculates the secure random number based on a preset encryption algorithm or key, such as a hash algorithm, to obtain a first response value, and then feeds this first response value back to the vehicle-side controller. The encryption algorithm or key in the digital key control module can be pre-configured by relevant technical personnel. Specifically, it can be the same as the encryption algorithm or key in the vehicle-side controller, or it can be a symmetric encryption algorithm or key; this embodiment does not impose any restrictions on this.
[0078] S220. Based on a secure random number, generate and feed back a first response value to the vehicle controller, so that the vehicle controller can perform a security check on the vehicle start request based on the secure random number and the first response value, and generate and feed back a digital key search request when the security check result is passed.
[0079] The vehicle controller can compare the response value generated by the security random number with the response value fed back by the digital key control module, and then perform security verification on the vehicle start request based on the comparison result.
[0080] In one optional embodiment, a security check is performed on the vehicle startup request based on a secure random number and a first response value, including: generating a second response value based on the secure random number; performing an access security check on the vehicle startup request based on the first and second response values to obtain an access security check result; obtaining user location information of the user terminal and vehicle location information of the vehicle itself; performing an anti-theft security check on the vehicle startup request based on the user location information and vehicle location information to obtain an anti-theft security check result; and performing a security check on the vehicle startup request based on the access security check result and the anti-theft security check result.
[0081] The vehicle controller uses the same or corresponding encryption algorithm or key deployed with the digital key control module to encrypt and calculate a secure random number, obtaining a second response value. The first and second response values are compared for consistency. If they match, the security verification of the vehicle start request's permissions passes; otherwise, the security verification of the vehicle start request's permissions fails.
[0082] The system acquires the user's location information from the user terminal and the vehicle's location information. If the distance between the user's location and the vehicle's location is less than a preset distance threshold, the anti-theft security check for the vehicle startup request passes; if the distance between the user's location and the vehicle's location is not less than the preset distance threshold, the anti-theft security check for the vehicle startup request fails. The distance threshold can be preset by relevant technical personnel; for example, the distance threshold can be set to 2 meters.
[0083] If both the access security check and the anti-theft security check pass, the security check for the vehicle startup request passes; if either the access security check or the anti-theft security check fails, the security check for the vehicle startup request fails.
[0084] S230. Send the digital key search request to the NFC module so that the NFC module can interact with the user terminal based on the digital key search request, and generate and send back a status check request after the digital key is found.
[0085] If the vehicle controller verifies the security of the vehicle start request, it generates a digital key retrieval request; if the security of the vehicle start request fails, it generates a failure message and sends it to the user terminal.
[0086] The vehicle controller sends the digital key search request to the NFC module through the digital key control module. After receiving the digital key search request, the NFC module parses the request, identifies the user terminal, and interacts with the user terminal to search for the existence of the digital key. Once the corresponding digital key is found, the NFC module generates a status check request and sends the status check request to the digital key control module.
[0087] S240. Based on the status check request, perform a status check on the digital key, obtain the status check result, and send the status check result to the vehicle controller so that the vehicle controller can control the vehicle to start according to the status check result.
[0088] If the digital key control module determines that the status check result is passed, the vehicle controller will start the vehicle.
[0089] In one optional embodiment, a status check is performed on the digital key based on a status check request to obtain a status check result, including: according to the status check request, performing signature verification on the digital signature of the digital key based on a preset shared key to obtain a legality verification result; if the legality verification result passes, then performing permission verification on the access rights of the digital key to obtain a permission verification result; if the permission verification result passes, then performing status verification on the current status of the vehicle to obtain a status check result.
[0090] Upon receiving a status check request, the digital key control module can parse the request to obtain the digital key and verify its validity. Specifically, it can perform signature verification on the digital signature of the parsed digital key to determine its legality and obtain a validity verification result. If the validity verification passes, it will verify the access permissions of the digital key; if the validity verification fails, it will generate a failure message and send it to the user terminal.
[0091] Access control verification for digital keys can specifically include checking the expiration time of the digital key and verifying the identity of the user who owns the digital key. If the access control verification for the digital key passes, the status check result is "verification passed"; if the access control verification for the digital key fails, the status check result is "verification failed".
[0092] In another vehicle start-up scenario, when a user touches the NFC start area with their terminal device, the NFC receives the request signal from the user's terminal, generates a standard authentication request, and sends it to the digital key control module to execute the authentication process. The authentication process can specifically include verifying the identity and validity of the digital key, specifically checking whether the digital key is authorized to perform the currently requested operation, and checking the digital key's authorization information, such as access time windows and permissions for specific functions.
[0093] This embodiment's technical solution obtains a secure random number generated by the vehicle controller when it detects a vehicle start request initiated by a user terminal based on the NFC function. Based on this secure random number, a first response value is generated and fed back to the vehicle controller. The vehicle controller then uses the secure random number and the first response value to perform a security check on the vehicle start request. If the security check passes, a digital key retrieval request is generated and fed back. The digital key retrieval request is sent to the NFC module, allowing the NFC module to interact with the user terminal based on the request. After finding the digital key, the NFC module generates and feeds back a status check request. Based on the status check request, a status check is performed on the digital key, and the status check result is sent to the vehicle controller. The vehicle controller then controls the vehicle to start based on the status check result. This technical solution improves the security of NFC key detection and vehicle start-up by introducing a security detection method to detect vehicle start requests initiated based on the NFC function. The NFC module only participates in data exchange; the digital key control module performs status checks and other data authentication. This achieves logical adaptation and compatibility with multiple security protocols of digital keys, reducing the workload of mobile phone adaptation development.
[0094] Example 3
[0095] Figure 3 This is a schematic diagram of a vehicle starting device based on near-field communication (NFC) according to Embodiment 3 of the present invention. The vehicle starting device based on NFC provided in this embodiment is applicable to situations where vehicle starting is performed using the vehicle's NFC function. This NFC-based vehicle starting device can be implemented in hardware and / or software, such as... Figure 3As shown, this device can be configured in the vehicle controller of a vehicle control system, specifically including: a safety random number generation module 301, a safety detection module 302, a request generation module 303, and a vehicle start control module 304. Among them,
[0096] The secure random number generation module 301 is used to generate a secure random number when a vehicle start request initiated by a user terminal based on the NFC function is detected, and send the secure random number to the digital key control module so that the digital key control module can generate and feed back a first response value based on the secure random number.
[0097] The safety detection module 302 is used to perform safety detection on the vehicle start request based on the safety random number and the first response value;
[0098] The request generation module 303 is used to generate a digital key retrieval request if the security detection result is passed, and send the digital key retrieval request to the NFC module through the digital key control module, so that the NFC module can interact with the user terminal based on the digital key retrieval request. After the digital key is found, the module generates and sends a status check request to the digital key control module, and the digital key control module performs a status check on the digital key based on the status check request, obtains the status check result, and sends the status check result to the vehicle controller.
[0099] The vehicle start control module 304 is used to control the vehicle to start based on the status check result.
[0100] This invention's technical solution, upon detecting a vehicle start request initiated by a user terminal using NFC, generates a secure random number and sends it to the digital key control module. The digital key control module then generates and sends back a first response value based on this secure random number. Based on the secure random number and the first response value, it performs a security check on the vehicle start request. If the security check passes, it generates a digital key search request and sends it to the NFC module. After finding the digital key, the NFC module generates and sends a status check request to the digital key control module. The digital key control module then performs a status check on the digital key based on the status check request, obtains the status check result, and sends the result to the vehicle controller. Based on the status check result, it controls the vehicle to start. This technical solution improves the security of NFC key detection and vehicle start-up security by introducing a security detection method to detect vehicle start requests initiated using NFC. The NFC module only participates in data exchange; instead, the digital key control module performs status checks and other data authentication. This achieves logical adaptation and compatibility with multiple security protocols of digital keys, reducing the workload of mobile phone adaptation development.
[0101] Optionally, the security detection module 302 includes:
[0102] The second response value generation unit is used to generate a second response value based on the secure random number.
[0103] The permission security result determination unit is used to perform permission security detection on the vehicle start request based on the first response value and the second response value, and obtain the permission security detection result;
[0104] The location information acquisition unit is used to acquire the user location information of the user terminal and the vehicle location information of the vehicle itself.
[0105] The anti-theft security detection unit is used to perform anti-theft security detection on the vehicle start request based on the user location information and the vehicle location information, and obtain the anti-theft security detection result;
[0106] The security detection unit is used to perform security detection on the vehicle start request based on the permission security detection result and the anti-theft security detection result.
[0107] Optionally, the permission security result determination unit includes:
[0108] A reference random number generation subunit is used to compare the first response value and the second response value. If the comparison results are inconsistent, at least two reference random numbers are generated in the current iteration cycle, and each reference random number is sent to the digital key control module so that the digital key control module can generate a first reference response value corresponding to each reference random number.
[0109] The second reference response value generation subunit is used to generate a second reference response value for each of the reference random numbers based on each of the reference random numbers.
[0110] The comparison subunit is used to compare each of the first reference response values with the corresponding second reference response values to obtain the comparison results of each of the reference random numbers in the current iteration period;
[0111] The permission security detection subunit is used to perform permission security detection on the vehicle start request based on the comparison results of the reference random numbers in each iteration period, and obtain the permission security detection result.
[0112] Optionally, the device further includes:
[0113] The retrieval request sending module is used to send the digital key retrieval request to the NFC module again through the digital key control module if the status check result sent by the digital key control module is not received within a preset time period after the digital key retrieval request is sent to the NFC module through the digital key control module.
[0114] The prompt message generation module is used to generate a preset prompt message and send the prompt message to the instrument display if the number of times the digital key search request is sent to the NFC module reaches a preset number of times threshold.
[0115] The vehicle starting device based on near-field communication provided in the embodiments of the present invention can execute the vehicle starting method based on near-field communication provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method execution.
[0116] Example 4
[0117] Figure 4 This is a schematic diagram of a vehicle starting device based on near-field communication (NFC) according to Embodiment 4 of the present invention. The vehicle starting device based on NFC provided in this embodiment is applicable to situations where vehicle starting is performed using the vehicle's NFC function. This NFC-based vehicle starting device can be implemented in hardware and / or software, such as... Figure 4 As shown, the device can be configured into the digital key control module of a vehicle control system, specifically including:
[0118] The secure random number acquisition module 401 is used to acquire a secure random number generated by the vehicle controller when it detects a vehicle start request initiated by the user terminal based on the NFC function.
[0119] The first response value generation module 402 is used to generate and feed back a first response value to the vehicle controller based on the security random number, so that the vehicle controller can perform security detection on the vehicle start request according to the security random number and the first response value, and generate and feed back a digital key retrieval request when the security detection result is passed.
[0120] The check request generation module 403 is used to send the digital key search request to the NFC module so that the NFC module can interact with the user terminal based on the digital key search request, and generate and feed back a status check request after the digital key is found.
[0121] The inspection result generation module 404 is used to perform a status check on the digital key based on the status check request, obtain a status check result, and send the status check result to the vehicle controller so that the vehicle controller can control the vehicle to start according to the status check result.
[0122] This embodiment's technical solution obtains a secure random number generated by the vehicle controller when it detects a vehicle start request initiated by a user terminal based on the NFC function. Based on this secure random number, a first response value is generated and fed back to the vehicle controller. The vehicle controller then uses the secure random number and the first response value to perform a security check on the vehicle start request. If the security check passes, a digital key retrieval request is generated and fed back. The digital key retrieval request is sent to the NFC module, allowing the NFC module to interact with the user terminal based on the request. After finding the digital key, the NFC module generates and feeds back a status check request. Based on the status check request, a status check is performed on the digital key, and the status check result is sent to the vehicle controller. The vehicle controller then controls the vehicle to start based on the status check result. This technical solution improves the security of NFC key detection and vehicle start-up by introducing a security detection method to detect vehicle start requests initiated based on the NFC function. The NFC module only participates in data exchange; the digital key control module performs status checks and other data authentication. This achieves logical adaptation and compatibility with multiple security protocols of digital keys, reducing the workload of mobile phone adaptation development.
[0123] Optionally, the inspection result generation module 404 includes:
[0124] The legitimacy verification unit is used to perform signature verification on the digital signature of the digital key based on a preset shared key according to the status check request, and obtain a legitimacy verification result;
[0125] The permission verification unit is used to verify the access permissions of the digital key if the legality verification result is passed, and to obtain the permission verification result.
[0126] The status verification unit is used to verify the current status of the vehicle and obtain the status check result if the permission verification result is passed.
[0127] The vehicle starting device based on near-field communication provided in the embodiments of the present invention can execute the vehicle starting method based on near-field communication provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method execution.
[0128] Example 5
[0129] Figure 5 A schematic diagram of an electronic device 50 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0130] like Figure 5 As shown, the electronic device 50 includes at least one processor 51 and a memory, such as a read-only memory (ROM) 52 and a random access memory (RAM) 53, communicatively connected to the at least one processor 51. The memory stores computer programs executable by the at least one processor. The processor 51 can perform various appropriate actions and processes based on the computer program stored in the ROM 52 or loaded into the RAM 53 from storage unit 58. The RAM 53 can also store various programs and data required for the operation of the electronic device 50. The processor 51, ROM 52, and RAM 53 are interconnected via a bus 54. An input / output (I / O) interface 55 is also connected to the bus 54.
[0131] Multiple components in electronic device 50 are connected to I / O interface 55, including: input unit 56, such as keyboard, mouse, etc.; output unit 57, such as various types of monitors, speakers, etc.; storage unit 58, such as disk, optical disk, etc.; and communication unit 59, such as network card, modem, wireless transceiver, etc. Communication unit 59 allows electronic device 50 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0132] Processor 51 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 51 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 51 performs the various methods and processes described above, such as a vehicle starting method based on near-field communication.
[0133] In some embodiments, the near-field communication-based vehicle starting method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 58. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 50 via ROM 52 and / or communication unit 59. When the computer program is loaded into RAM 53 and executed by processor 51, one or more steps of the near-field communication-based vehicle starting method described above may be performed. Alternatively, in other embodiments, processor 51 may be configured to perform the near-field communication-based vehicle starting method by any other suitable means (e.g., by means of firmware).
[0134] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0135] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0136] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on 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 thereof.
[0137] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0138] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0139] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0140] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0141] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A vehicle starting method based on near-field communication, characterized in that, A vehicle controller used in a vehicle control system, the vehicle control system including a vehicle controller, a digital key control module and a near-field communication (NFC) module; The digital key control module is communicatively connected to both the vehicle controller and the NFC module, and includes: When a vehicle start request initiated by a user terminal based on the NFC function is detected, a secure random number is generated and sent to the digital key control module, so that the digital key control module can generate and feed back a first response value based on the secure random number. The vehicle start request is subjected to security detection based on the security random number and the first response value; If the security test result is passed, a digital key retrieval request is generated and sent to the NFC module through the digital key control module. The NFC module then interacts with the user terminal based on the digital key retrieval request. After the digital key is found, a status check request is generated and sent to the digital key control module. The digital key control module performs a status check on the digital key based on the status check request, obtains the status check result, and sends the status check result to the vehicle controller. Based on the status check results, control the vehicle to start.
2. The method according to claim 1, characterized in that, The step of performing security detection on the vehicle start request based on the secure random number and the first response value includes: Generate a second response value based on the secure random number; Based on the first response value and the second response value, the vehicle start request is subjected to permission security detection to obtain the permission security detection result; Obtain the user location information of the user terminal and the vehicle location information of the vehicle itself; Based on the user location information and the vehicle location information, an anti-theft security test is performed on the vehicle start request to obtain the anti-theft security test result; Based on the permission security detection results and the anti-theft security detection results, a security detection is performed on the vehicle startup request.
3. The method according to claim 2, characterized in that, The step of performing a security check on the vehicle start request based on the first response value and the second response value to obtain a security check result includes: The first response value and the second response value are compared numerically. If the comparison results are inconsistent, at least two reference random numbers are generated in the current iteration cycle, and each of the reference random numbers is sent to the digital key control module so that the digital key control module can generate the first reference response value corresponding to each of the reference random numbers. Generate a second reference response value for each of the aforementioned reference random numbers; Each of the first reference response values is compared with the corresponding second reference response value to obtain the comparison result of each of the reference random numbers in the current iteration period; Based on the comparison results of the reference random numbers in each iteration period, the vehicle start request is subjected to permission security detection to obtain the permission security detection result.
4. The method according to claim 1, characterized in that, After sending the digital key locator request to the NFC module via the digital key control module, the method further includes: If the status check result is not received from the digital key control module within the preset time period, the digital key control module will send a digital key search request to the NFC module again. If the number of times a digital key search request is sent to the NFC module reaches a preset threshold, a preset prompt message is generated and sent to the instrument display.
5. A vehicle starting method based on near-field communication, characterized in that, A digital key control module for use in a vehicle control system, the vehicle control system including a vehicle controller, a digital key control module, and a near-field communication (NFC) module; the digital key control module is communicatively connected to both the vehicle controller and the NFC module, including: Obtain the secure random number generated by the vehicle controller when it detects a vehicle start request initiated by the user terminal based on the NFC function; Based on the security random number, a first response value is generated and fed back to the vehicle controller, so that the vehicle controller can perform security detection on the vehicle start request according to the security random number and the first response value, and generate and feed back a digital key retrieval request when the security detection result is passed; The digital key search request is sent to the NFC module so that the NFC module can interact with the user terminal based on the digital key search request, and generate and send back a status check request after the digital key is found. Based on the status check request, a status check is performed on the digital key to obtain the status check result. The status check result is then sent to the vehicle controller so that the vehicle controller can control the vehicle to start according to the status check result.
6. The method according to claim 5, characterized in that, The process of performing a status check on the digital key based on the status check request and obtaining the status check result includes: Based on the status check request, the digital signature of the digital key is verified using a preset shared key to obtain a legality verification result. If the legality verification result is passed, then the access rights of the digital key are verified to obtain the access verification result; If the permission verification result passes, the current state of the vehicle is verified to obtain the state check result.
7. A vehicle starting device based on near-field communication, characterized in that, A vehicle controller configured in a vehicle control system, the vehicle control system including a vehicle controller, a digital key control module, and a near-field communication (NFC) module; the digital key control module is communicatively connected to both the vehicle controller and the NFC module, including: A secure random number generation module is used to generate a secure random number when a vehicle start request initiated by a user terminal based on the NFC function is detected, and send the secure random number to the digital key control module so that the digital key control module can generate and feed back a first response value based on the secure random number. The safety detection module is used to perform safety detection on the vehicle start request based on the safety random number and the first response value; The request generation module is used to generate a digital key retrieval request if the security detection result is passed, and send the digital key retrieval request to the NFC module through the digital key control module, so that the NFC module can interact with the user terminal based on the digital key retrieval request. After the digital key is found, the module generates and sends a status check request to the digital key control module, which performs a status check on the digital key based on the status check request, obtains the status check result, and sends the status check result to the vehicle controller. The vehicle start control module is used to control the vehicle to start based on the status check results.
8. A vehicle starting device based on near-field communication, characterized in that, A digital key control module configured in a vehicle control system, the vehicle control system including a vehicle controller, a digital key control module, and a near-field communication (NFC) module; the digital key control module is communicatively connected to both the vehicle controller and the NFC module, including: A secure random number acquisition module is used to acquire a secure random number generated by the vehicle controller when it detects a vehicle start request initiated by the user terminal based on the NFC function; The first response value generation module is used to generate and feed back a first response value to the vehicle controller based on the security random number, so that the vehicle controller can perform security detection on the vehicle start request according to the security random number and the first response value, and generate and feed back a digital key retrieval request when the security detection result is passed. The check request generation module is used to send the digital key search request to the NFC module, so that the NFC module can interact with the user terminal based on the digital key search request, and generate and feed back a status check request after the digital key is found. The inspection result generation module is used to perform a status check on the digital key based on the status check request, obtain the status check result, and send the status check result to the vehicle controller so that the vehicle controller can control the vehicle to start according to the status check result.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, which enables the at least one processor to perform the vehicle starting method based on near-field communication as described in any one of claims 1-4 and / or claims 5-6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the vehicle starting method based on near-field communication as described in any one of claims 1-4 and / or claims 5-6.
Citation Information
Patent Citations
Vehicle starting method, device, equipment and medium
CN115882903A
NFC key verification method, device and system and computer readable storage medium
CN115909550A