Vehicle starting method, device and equipment based on near field communication and storage medium
By introducing secure random number generation and digital key status checking mechanisms into the vehicle control system, the problem of insufficient security detection of NFC digital keys in the existing technology is solved, the security of the vehicle starting process is improved, and the development time of mobile phone adaptation is reduced. workload.
Patent Information
- Application Number
- CN202411334483.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-09-24
AI Technical Summary
The existing NFC-based method of controlling vehicle startup has weak safety detection of NFC digital keys, resulting in lower safety in the vehicle startup process.
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 for security detection. If the detection passes, a digital key search request is generated, and after the digital key is found, a status check is performed, and the vehicle is finally controlled to start based on the status check results.
By introducing the security detection mechanism, the detection safety of the NFC key has been improved, and the safety of the vehicle based on the NFC function is enhanced, and a variety of security protocols that are compatible with the digital keys are logically adapted. Essence
Smart Images

Figure CN119342438A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile communication technology, and in particular to a vehicle starting method, device, equipment and storage medium based on near field communication. Background Art
[0002] With the rapid development of automotive electronic technology, car keys, as the products closest to users in the automotive field, are also constantly evolving, from the initial mechanical keys and remote control keys to digital keys. This new key technology will become the standard configuration 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 use NFC communication technology, allowing users to touch the NFC sensing area on the vehicle side with an NFC-enabled smart device or physical card, and quickly unlock, lock and start the vehicle after completing security authentication on the key side and the vehicle side.
[0003] However, in the existing NFC-based vehicle startup control method, the security detection of the NFC digital key is weak, resulting in low security of the NFC-based vehicle startup process. Summary of the invention
[0004] The present invention provides a vehicle starting method, device, equipment and storage medium based on near field communication, so as to improve the safety of starting a vehicle based on NFC technology.
[0005] According to one aspect of the present invention, a vehicle starting method based on near field communication is provided, the method being applied to a vehicle controller in a vehicle control system, the vehicle control system comprising a vehicle controller, a digital key control module and a near field communication NFC module; the digital key control module being communicatively connected with the vehicle controller and the NFC module respectively, comprising:
[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 the secure random number is sent to the digital key control module, so that the digital key control module generates and feeds back a first response value based on the secure random number;
[0007] Performing a security check on the vehicle startup request according to the security random number and the first response value;
[0008] If the security detection result passes, a digital key search request is generated, and the digital key search request is sent to the NFC module through the digital key control module, so that the NFC module interacts with the user terminal based on the digital key search request, and after finding the digital key, a status check request is generated and sent 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 a status check result, and sends the status check result to the vehicle controller;
[0009] The vehicle is controlled to start according to the status check result.
[0010] According to one aspect of the present invention, a vehicle starting method based on near field communication is provided, which is applied to a digital key control module in a vehicle control system, wherein the vehicle control system includes a vehicle controller, a digital key control module and a near field communication NFC module; the digital key control module is respectively connected to the vehicle controller and the NFC module in communication, and includes:
[0011] Obtaining a secure random number generated by the vehicle controller when monitoring a vehicle start request initiated by a user terminal based on an NFC function;
[0012] Based on the 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 startup request according to the secure random number and the first response value, and generate and feed back a digital key search request when the security check result passes;
[0013] Sending the digital key search request to the NFC module, so that the NFC module interacts with the user terminal based on the digital key search request, and after finding the digital key, generating and feeding back a status check request;
[0014] Based on the status check request, a status check is performed on the digital key to obtain a status check result, and the status check result is 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, which is configured in a vehicle controller in a vehicle control system, wherein the vehicle control system includes a vehicle controller, a digital key control module and a near field communication NFC module; the digital key control module is respectively connected to the vehicle controller and the NFC module in communication, and includes:
[0016] A secure random number generation module, configured to generate a secure random number when a vehicle startup request initiated by a user terminal based on an NFC function is detected, and send the secure random number to the digital key control module, so that the digital key control module generates and feeds back a first response value based on the secure random number;
[0017] A security detection module, configured to perform a security detection on the vehicle startup request according to the security random number and the first response value;
[0018] a request generation module, configured to generate a digital key search request if the security detection result passes, and send the digital key search 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 search request, and after finding the digital key, generate and send 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 a status check result, and sends the status check result to the vehicle controller;
[0019] The vehicle startup control module is used to control the vehicle startup according to the status check result.
[0020] According to another aspect of the present invention, a vehicle starting device based on near field communication is provided, which is a digital key control module configured in a vehicle control system, wherein the vehicle control system includes a vehicle controller, a digital key control module and a near field communication NFC module; the digital key control module is respectively connected to the vehicle controller and the NFC module in communication, and includes:
[0021] A secure random number acquisition module, used to acquire a secure random number generated by the vehicle controller when monitoring a vehicle start request initiated by a user terminal based on an NFC function;
[0022] A first response value generating module, configured to generate and feed back a first response value to the vehicle controller based on the secure random number, so that the vehicle controller can perform a security check on the vehicle startup request according to the secure random number and the first response value, and generate and feed back a digital key search request when the security check result passes;
[0023] A check request generating module, used to send the digital key search request to the NFC module, so that the NFC module interacts with the user terminal based on the digital key search request, and generates and feeds back a status check request after finding the digital key;
[0024] The inspection result generating module is used to perform a status inspection on the digital key based on the status inspection request, obtain a status inspection result, and send the status inspection result to the vehicle controller so that the vehicle controller can control the vehicle start according to the status inspection 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, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle starting method based on near field communication described in any embodiment of the present invention.
[0029] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle starting method based on near field communication described in any embodiment of the present invention when executed.
[0030] The technical solution of the embodiment of the present invention generates a secure random number when monitoring the vehicle start request initiated by the user terminal based on the NFC function, and sends the secure random number to the digital key control module, so that the digital key control module generates and feeds back a first response value based on the secure random number; performs a security check on the vehicle start request according to the secure random number and the first response value; if the security check result passes, a digital key search request is generated, and the digital key search request is sent to the NFC module, so that after the NFC module finds the digital key, it 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 a status check result, and sends the status check result to the vehicle controller; according to the status check result, the vehicle is controlled to start. The above technical solution introduces a security detection method to perform a request detection on the vehicle start request initiated based on the NFC function, thereby improving the detection security of the NFC key and improving the security of starting the vehicle based on the NFC function. The NFC module only participates in data exchange, and the digital key control module performs data authentication such as status check, so as to achieve logical adaptation and compatibility with multiple security protocols of the digital key, and reduce the workload of mobile phone adaptation development.
[0031] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0033] Figure 1A is a flow chart of a vehicle starting method based on near field communication provided according to Embodiment 1 of the present invention;
[0034] Figure 1B is a structural schematic diagram of a vehicle control system provided according to Embodiment 1 of the present invention;
[0035] Figure 2 is a flow chart of a vehicle starting method based on near field communication provided according to Embodiment 2 of the present invention;
[0036] Figure 3 is a structural schematic diagram of a vehicle starting device based on near field communication provided according to Embodiment 3 of the present invention;
[0037] Figure 4 is a structural schematic diagram of a vehicle starting device based on near field communication provided according to a fourth embodiment of the present invention;
[0038] Figure 5 It is a structural schematic diagram of an electronic device for implementing a vehicle starting method based on near field communication according to an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work 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 and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0041] Embodiment 1
[0042] Figure 1A A flowchart of a vehicle starting method based on near field communication is provided in Embodiment 1 of the present invention. This embodiment is applicable to the case where a vehicle is started based on the near field communication NFC function of the vehicle. The method can be executed by a vehicle starting device based on near field communication. The vehicle starting device based on near field communication can be implemented in the form of hardware and / or software. The vehicle starting device based on near field communication can be configured in an electronic device, for example, can be configured in a vehicle controller in a vehicle control system.
[0043] Figure 1B This is a schematic diagram of the structure of a vehicle control system provided in the first embodiment 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 respectively connected to the vehicle controller 11 and the NFC module 13 for communication.
[0044] It should be noted that in order to reduce costs, reduce the number of chips, and improve the flexibility of vehicle layout, the NFC module can be configured in the wireless charging module in the vehicle, and the independent NFC function and wireless charging function can be merged to support two functional scenarios on the same chip. The chip of the NFC module is integrated on the wireless charging PCB (Printed Circuit Board), and the NFC antenna coil and the circuit for wireless charging temperature collection are integrated on the same filter board PCB. This architectural design reduces the number of chips in the controller, reduces costs, and reduces the layout of the entire vehicle. In terms of functional implementation, a security chip is reused with the existing digital key control module on the vehicle for security authentication of the vehicle and mobile phone ends. The digital key control module rather than wireless charging provides the authentication result. The wireless charging controller and NFC module only transparently transmit the data exchange between the two ends and do not participate in the calculation. This implementation logic can adapt to and be compatible with multiple security protocols of digital keys, which to a certain extent reduces the workload of adaptation and development with mobile phone manufacturers.
[0045] like Figure 1A As shown, the method is executed by a vehicle controller in a vehicle control system, and includes:
[0046] S110. When a vehicle startup request initiated by a user terminal based on the NFC function is monitored, a secure random number is generated, and the secure random number is sent to a digital key control module, so that the digital key control module generates and feeds back a first response value based on the secure random number.
[0047] The user can initiate a vehicle start request through the NFC function provided in the user terminal. The user terminal can be a mobile phone or a tablet. When the vehicle controller monitors the vehicle start request, it performs security verification on the vehicle start request. The security verification can include anti-theft security verification and authority security verification.
[0048] The vehicle-side controller randomly generates a secure random number and sends the secure random number 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 feeds the 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, and can be the same as the encryption algorithm key in the vehicle-side controller, or can be a symmetric encryption algorithm or key, which is not limited in this embodiment.
[0049] S120: Perform a security check on the vehicle startup request according to the security random number and the first response value.
[0050] The vehicle-side controller can compare the response value generated based on the secure random number with the response value fed back by the digital key control module, and thus perform security verification on the vehicle startup request based on the comparison result.
[0051] In an optional embodiment, a security check is performed on a vehicle startup request based on a security random number and a first response value, including: generating a second response value based on the security random number; performing an authority security check on the vehicle startup request based on the first response value and the second response value to obtain an authority security check result; obtaining user location information of the user terminal and obtaining 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 the vehicle location information to obtain an anti-theft security check result; performing a security check on the vehicle startup request based on the authority security check result and the anti-theft security check result.
[0052] The vehicle-side controller encrypts and calculates the secure random number based on the same or corresponding encryption algorithm or key deployed by the digital key control module to obtain a second response value. The first response value and the second response value are compared for consistency. If they are consistent, the authority security verification of the vehicle startup request has passed; if they are inconsistent, the authority security verification of the vehicle startup request has failed.
[0053] The user location information of the user terminal is obtained, and the vehicle location information of the vehicle itself is obtained; if the distance between the user location and the vehicle location is less than a preset distance threshold, the anti-theft safety detection of the vehicle start request is passed; if the distance between the user location and the vehicle location is not less than the preset distance threshold, the anti-theft safety detection of the vehicle start request is not passed. The distance threshold can be preset by relevant technical personnel, for example, the distance threshold can be set to 2m.
[0054] If the authority security test result passes and the anti-theft security test result passes, the security test for the vehicle startup request passes; if the authority security test result fails or the anti-theft security test result fails, the security test for the vehicle startup request fails.
[0055] In order to further ensure that the results of the authority security detection have a certain degree of fault tolerance, thereby improving the accuracy of the authority security detection results and avoiding sudden anomalies in the vehicle controller and the digital key control module in a certain calculation cycle that may cause deviations in the calculation results in the calculation cycle, this embodiment also provides a method for accurately determining the results of the authority security detection.
[0056] In an optional embodiment, a permission security check is performed on a vehicle startup request based on a first response value and a second response value to obtain a permission security check result, including: numerically comparing the first response value and the second response value, and if the comparison results are inconsistent, generating at least two reference random numbers in a current iteration cycle, and sending each reference random number to a digital key control module, so that the digital key control module generates 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 a comparison result of each reference random number in the current iteration cycle; performing a permission security check on the vehicle startup request based on the comparison result of each reference random number in each iteration cycle to obtain a permission security check result.
[0057] If the comparison results of the first response value and the second response value are inconsistent, a preset iteration cycle may be pre-set, for example, the preset iteration cycle may be 5 cycles.
[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. At the same time, the vehicle controller calculates each reference random number based on the same or 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 compares each first reference response value with the corresponding second reference response value for consistency, and obtains the comparison results of each reference random number. If a preset number of comparison results are consistent among the comparison results, it is determined that the permission security detection result in the current iteration cycle has passed. Based on the permission security detection results in each iteration cycle, the permission security detection result of the vehicle startup request is determined. Specifically, if the permission security detection results of more than 90% of the iteration cycles pass, it can be considered that the permission security detection result of the vehicle startup request has passed.
[0060] S130. If the security test result passes, a digital key search request is generated, and the digital key search request is sent 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 search request, and after finding the digital key, 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 a status check result, and sends the status check result to the vehicle controller.
[0061] If the security result of the vehicle startup request is passed, the vehicle controller generates a digital key search request; if the security result of the vehicle startup request is not passed, a failure prompt message is generated and fed back to the user terminal.
[0062] 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 digital key search request, determines the user terminal, and interacts with the user terminal to find whether the digital key exists. After being able to query the corresponding digital key, it generates a status check request and sends the status check request to the digital key control module. Based on the status check request, the digital key control module performs a status check on the digital key, obtains the status check result, and sends the status check result to the vehicle controller.
[0063] In an optional embodiment, the digital key control module performs a status check on the digital key based on a status check request to obtain a status check result, including: according to the status check request, based on a preset shared key, performing a signature verification on the digital signature of the digital key to obtain a legitimacy verification result; if the legitimacy verification result passes, performing a permission verification on the access rights of the digital key to obtain a permission verification result; if the permission verification result passes, performing a status verification on the current status of the vehicle to obtain a status check result.
[0064] After receiving the status check request, the digital key control module can parse the status check request, obtain the digital key, and verify the validity of the digital key. Specifically, it can perform signature verification on the digital signature of the parsed digital key to verify whether the signature is legal and obtain the legality verification result. If the legality verification passes, the access rights of the digital key are verified; if the legality verification fails, a failure prompt message is generated and sent to the user terminal.
[0065] The access rights verification of the digital key may specifically include checking the expiration time of the digital key, verifying the identity of the user to which the digital key belongs, etc. If the access rights verification of the digital key passes, the status check result is check passed; if the access rights verification of the digital key fails, the status check result is check failed.
[0066] S140: Control the vehicle to start according to the status check result.
[0067] When the vehicle controller determines that the status check result is passed, it controls the vehicle to start.
[0068] In an optional embodiment, after the digital key search request is sent to the NFC module through the digital key control module, it also includes: if the status check result sent by the digital key control module is not received within a preset time period, the digital key search request is sent to the NFC module again through the digital key control module; if the number of times the digital key search request is sent to the NFC module reaches a preset sending threshold, a preset prompt message is generated and the prompt message is sent to the instrument display.
[0069] The preset time period and the threshold of the number of transmissions can be preset by relevant technical personnel. For example, the threshold of the number of transmissions can be 3 times.
[0070] If the status check result sent by the digital key control module is not received within the preset sending number threshold, a preset prompt message is generated and sent to the instrument display. The prompt message may be, for example, "There is no valid key in the car, please restart in the NFC start area."
[0071] The technical solution of the embodiment of the present invention generates a secure random number when monitoring the vehicle start request initiated by the user terminal based on the NFC function, and sends the secure random number to the digital key control module, so that the digital key control module generates and feeds back a first response value based on the secure random number; performs a security check on the vehicle start request according to the secure random number and the first response value; if the security check result passes, a digital key search request is generated, and the digital key search request is sent to the NFC module, so that after the NFC module finds the digital key, it 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 a status check result, and sends the status check result to the vehicle controller; according to the status check result, the vehicle is controlled to start. The above technical solution introduces a security detection method to perform a request detection on the vehicle start request initiated based on the NFC function, thereby improving the detection security of the NFC key and improving the security of starting the vehicle based on the NFC function. The NFC module only participates in data exchange, and the digital key control module performs data authentication such as status check, so as to achieve logical adaptation and compatibility with multiple security protocols of the digital key, and reduce the workload of mobile phone adaptation development.
[0072] Embodiment 2
[0073] Figure 2 A flowchart of a vehicle starting method based on near field communication is provided for embodiment 2 of the present invention. This embodiment is applicable to the situation where a vehicle is started based on the near field communication NFC function of the vehicle. The method can be executed by a vehicle starting device based on near field communication. The vehicle starting device based on near field communication can be implemented in the form of hardware and / or software. The vehicle starting device based on near field communication can be configured in an electronic device, for example, a digital key control module in a vehicle control system.
[0074] like Figure 2 As shown, the method is executed by a digital key control module in a vehicle control system, and includes:
[0075] S210: Obtain a secure random number generated by the vehicle controller when monitoring a vehicle start request initiated by a user terminal based on an NFC function.
[0076] The user can initiate a vehicle start request through the NFC function provided in the user terminal. The user terminal can be a mobile phone or a tablet. When the vehicle controller monitors the vehicle start request, it performs security verification on the vehicle start request. The security verification can include anti-theft security verification and authority security verification.
[0077] The vehicle-side controller randomly generates a secure random number and sends the secure random number 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 feeds the 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, and can be the same as the encryption algorithm key in the vehicle-side controller, or can be a symmetric encryption algorithm or key, which is not limited in this embodiment.
[0078] S220. Based on the security 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 startup request according to the security random number and the first response value, and generate and feed back a digital key search request when the security check result passes.
[0079] The vehicle-side controller can compare the response value generated based on the secure random number with the response value fed back by the digital key control module, and thus perform security verification on the vehicle startup request based on the comparison result.
[0080] In an optional embodiment, a security check is performed on a vehicle startup request based on a security random number and a first response value, including: generating a second response value based on the security random number; performing an authority security check on the vehicle startup request based on the first response value and the second response value to obtain an authority security check result; obtaining user location information of the user terminal and obtaining 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 the vehicle location information to obtain an anti-theft security check result; performing a security check on the vehicle startup request based on the authority security check result and the anti-theft security check result.
[0081] The vehicle-side controller encrypts and calculates the secure random number based on the same or corresponding encryption algorithm or key deployed by the digital key control module to obtain a second response value. The first response value and the second response value are compared for consistency. If they are consistent, the authority security verification of the vehicle startup request has passed; if they are inconsistent, the authority security verification of the vehicle startup request has failed.
[0082] The user location information of the user terminal is obtained, and the vehicle location information of the vehicle itself is obtained; if the distance between the user location and the vehicle location is less than a preset distance threshold, the anti-theft safety detection of the vehicle start request is passed; if the distance between the user location and the vehicle location is not less than the preset distance threshold, the anti-theft safety detection of the vehicle start request is not passed. The distance threshold can be preset by relevant technical personnel, for example, the distance threshold can be set to 2m.
[0083] If the authority security test result passes and the anti-theft security test result passes, the security test for the vehicle startup request passes; if the authority security test result fails or the anti-theft security test result fails, the security test for the vehicle startup request fails.
[0084] S230: Send a digital key search request to the NFC module, so that the NFC module interacts with the user terminal based on the digital key search request, and generates and feeds back a status check request after finding the digital key.
[0085] If the security result of the vehicle startup request is passed, the vehicle controller generates a digital key search request; if the security result of the vehicle startup request is not passed, a failure prompt message is generated and fed back 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 digital key search request, determines the user terminal, and interacts with the user terminal to find out whether the digital key exists. After the corresponding digital key can be queried, a status check request is generated and sent to the digital key control module.
[0087] S240: Based on the status check request, perform a status check on the digital key, 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.
[0088] If the digital key control module determines that the status check result is that the status monitoring is passed, the vehicle controller controls the vehicle to start.
[0089] In an optional embodiment, based on a status check request, a status check is performed on the digital key to obtain a status check result, including: according to the status check request, based on a preset shared key, a signature verification is performed on the digital signature of the digital key to obtain a legitimacy verification result; if the legitimacy verification result passes, a permission verification is performed on the access rights of the digital key to obtain a permission verification result; if the permission verification result passes, a status verification is performed on the current status of the vehicle to obtain a status check result.
[0090] After receiving the status check request, the digital key control module can parse the status check request, obtain the digital key, and verify the validity of the digital key. Specifically, it can perform signature verification on the digital signature of the parsed digital key to verify whether the signature is legal and obtain the legality verification result. If the legality verification passes, the access rights of the digital key are verified; if the legality verification fails, a failure prompt message is generated and sent to the user terminal.
[0091] The access rights verification of the digital key may specifically include checking the expiration time of the digital key, verifying the identity of the user to which the digital key belongs, etc. If the access rights verification of the digital key passes, the status check result is check passed; if the access rights verification of the digital key fails, the status check result is check failed.
[0092] In another vehicle startup scenario, the user touches the NFC startup area with the terminal device. When NFC receives the request signal from the user terminal, it generates a standard authentication request and sends the standard authentication request to the digital key control module to execute the authentication process. The authentication process can specifically include verifying the identity validity of the digital key, specifically checking whether the digital key has the right to perform the currently requested operation, and checking the authorization information of the digital key, such as the access time window, the authority of specific functions, etc.
[0093] The technical solution of this embodiment obtains the security random number generated by the vehicle controller when monitoring the vehicle start request initiated by the user terminal based on the NFC function, and generates and feeds back the first response value 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 the digital key search request when the security detection result passes; 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 the status check request after finding the digital key; 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 start according to the status check result. The above technical solution introduces a security detection method to perform a request detection on the vehicle start request initiated based on the NFC function, thereby improving the detection security of the NFC key and improving the security of starting the vehicle based on the NFC function. The NFC module only participates in data exchange, and the digital key control module performs data authentication such as status check, so as to achieve logical adaptation and compatibility with multiple security protocols of the digital key, and reduce the workload of mobile phone adaptation development.
[0094] Embodiment 3
[0095] Figure 3 The schematic diagram of the structure of a vehicle starting device based on near field communication provided in the third embodiment of the present invention. The vehicle starting device based on near field communication provided in the embodiment of the present invention can be applied to the case of starting a vehicle based on the near field communication NFC function of the vehicle. The vehicle starting device based on near field communication can be implemented in the form of hardware and / or software, such as Figure 3As shown, the device can be configured in a vehicle controller in a vehicle control system, specifically comprising: a secure random number generation module 301, a security detection module 302, a request generation module 303 and a vehicle startup control module 304. Among them,
[0096] A secure random number generation module 301 is used to generate a secure random number when a vehicle startup 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 generates and feeds back a first response value based on the secure random number;
[0097] A security detection module 302, configured to perform a security detection on the vehicle startup request according to the security random number and the first response value;
[0098] The request generation module 303 is used to generate a digital key search request if the security detection result passes, and send the digital key search 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 search request, and after finding the digital key, generate and send 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 a 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 start according to the status check result.
[0100] The technical solution of the embodiment of the present invention generates a secure random number when monitoring the vehicle start request initiated by the user terminal based on the NFC function, and sends the secure random number to the digital key control module, so that the digital key control module generates and feeds back a first response value based on the secure random number; performs a security check on the vehicle start request according to the secure random number and the first response value; if the security check result passes, a digital key search request is generated, and the digital key search request is sent to the NFC module, so that after the NFC module finds the digital key, it 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 a status check result, and sends the status check result to the vehicle controller; according to the status check result, the vehicle is controlled to start. The above technical solution introduces a security detection method to perform a request detection on the vehicle start request initiated based on the NFC function, thereby improving the detection security of the NFC key and improving the security of starting the vehicle based on the NFC function. The NFC module only participates in data exchange, and the digital key control module performs data authentication such as status check, so as to achieve logical adaptation and compatibility with multiple security protocols of the digital key, and reduce the workload of mobile phone adaptation development.
[0101] Optionally, the security detection module 302 includes:
[0102] A second response value generating unit, configured to generate a second response value according to the secure random number;
[0103] an authority security result determining unit, configured to perform an authority security detection on the vehicle start request according to the first response value and the second response value, and obtain an authority security detection result;
[0104] A location information acquisition unit, used to acquire user location information of the user terminal and vehicle location information of the vehicle itself;
[0105] an anti-theft safety detection unit, configured to perform an anti-theft safety detection on the vehicle start request according to the user location information and the vehicle location information, and obtain an anti-theft safety detection result;
[0106] A security detection unit is used to perform a security detection on the vehicle startup request according to the authority 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, configured to compare the first response value with the second response value, and if the comparison results are inconsistent, generate at least two reference random numbers in the current iteration cycle, and send each of the reference random numbers to the digital key control module, so that the digital key control module generates a first reference response value corresponding to each of the reference random numbers;
[0109] A second reference response value generating subunit, configured to generate a second reference response value of each reference random number according to each reference random number;
[0110] A comparison subunit, used for comparing each of the first reference response values with the corresponding second reference response value, to obtain a comparison result of each of the reference random numbers in the current iteration cycle;
[0111] The authority security detection subunit is used to perform an authority security detection on the vehicle startup request according to the comparison result of each reference random number in each iteration cycle to obtain an authority security detection result.
[0112] Optionally, the device further comprises:
[0113] a search request sending module, configured to send a digital key search 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 search request is sent to the NFC module through the digital key control module;
[0114] The prompt information generating module is used to generate preset prompt information if the number of times the digital key search request is sent to the NFC module reaches a preset sending number threshold, and send the prompt information to the instrument display.
[0115] The vehicle starting device based on near field communication provided in the embodiment 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 execution method.
[0116] Embodiment 4
[0117] Figure 4 A schematic diagram of the structure of a vehicle starting device based on near field communication provided in the fourth embodiment of the present invention. A vehicle starting device based on near field communication provided in the embodiment of the present invention can be applied to the case of starting a vehicle based on the near field communication NFC function of the vehicle. The vehicle starting device based on near field communication can be implemented in the form of hardware and / or software, such as Figure 4 As shown, the device can be configured in a digital key control module in a vehicle control system, specifically including:
[0118] A secure random number acquisition module 401 is used to acquire a secure random number generated by the vehicle controller when monitoring a vehicle start request initiated by a user terminal based on an NFC function;
[0119] A first response value generating module 402 is used to generate and feed back a first response value to the vehicle controller based on the secure random number, so that the vehicle controller can perform a security check on the vehicle startup request according to the secure random number and the first response value, and generate and feed back a digital key search request when the security check result passes;
[0120] A check request generating module 403 is used to send the digital key search request to the NFC module, so that the NFC module interacts with the user terminal based on the digital key search request, and generates and feeds back a status check request after finding the digital key;
[0121] The inspection result generation module 404 is used to perform a status inspection on the digital key based on the status inspection request, obtain a status inspection result, and send the status inspection result to the vehicle controller so that the vehicle controller can control the vehicle start-up according to the status inspection result.
[0122] The technical solution of this embodiment obtains the security random number generated by the vehicle controller when monitoring the vehicle start request initiated by the user terminal based on the NFC function, and generates and feeds back the first response value 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 the digital key search request when the security detection result passes; 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 the status check request after finding the digital key; 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 start according to the status check result. The above technical solution introduces a security detection method to perform a request detection on the vehicle start request initiated based on the NFC function, thereby improving the detection security of the NFC key and improving the security of starting the vehicle based on the NFC function. The NFC module only participates in data exchange, and the digital key control module performs data authentication such as status check, so as to achieve logical adaptation and compatibility with multiple security protocols of the digital key, and reduce the workload of mobile phone adaptation development.
[0123] Optionally, the inspection result generating module 404 includes:
[0124] A legitimacy verification unit, configured to perform signature verification on the digital signature of the digital key based on the status check request and a preset shared key to obtain a legitimacy verification result;
[0125] An authority verification unit, configured to verify the access rights of the digital key and obtain an authority verification result if the legitimacy verification result is passed;
[0126] The status verification unit is used to verify the current status of the vehicle if the authority verification result is passed to obtain a status check result.
[0127] The vehicle starting device based on near field communication provided in the embodiment 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 execution method.
[0128] Embodiment 5
[0129] Figure 5 A schematic diagram of the structure of an electronic device 50 that can be used to implement an embodiment 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 processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0130] like Figure 5 As shown, the electronic device 50 includes at least one processor 51, and a memory connected to the at least one processor 51 in communication, such as a read-only memory (ROM) 52, a random access memory (RAM) 53, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 51 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 52 or the computer program loaded from the storage unit 58 to the random access memory (RAM) 53. In the RAM 53, various programs and data required for the operation of the electronic device 50 can also be stored. The processor 51, the ROM 52, and the RAM 53 are connected to each other via a bus 54. An input / output (I / O) interface 55 is also connected to the bus 54.
[0131] A number of components in the electronic device 50 are connected to the I / O interface 55, including: an input unit 56, such as a keyboard, a mouse, etc.; an output unit 57, such as various types of displays, speakers, etc.; a storage unit 58, such as a disk, an optical disk, etc.; and a communication unit 59, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 59 allows the electronic device 50 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0132] The processor 51 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 51 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 51 executes the various methods and processes described above, such as a vehicle startup method based on near field communication.
[0133] In some embodiments, the vehicle startup method based on near field communication can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 58. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 50 via the ROM 52 and / or the communication unit 59. When the computer program is loaded into the RAM 53 and executed by the processor 51, one or more steps of the vehicle startup method based on near field communication described above can be performed. Alternatively, in other embodiments, the processor 51 can be configured to execute the vehicle startup method based on near field communication in any other appropriate manner (for example, by means of firmware).
[0134] Various implementations 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 chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0135] Computer programs for implementing 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, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0136] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0137] To provide interaction with a user, the systems and techniques described herein may 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 a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0138] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0139] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0140] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0141] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A vehicle starting method based on near field communication, characterized in that: A vehicle controller applied to a vehicle control system, the vehicle control system comprising a vehicle controller, a digital key control module and a near field communication NFC module; The digital key control module is respectively connected to the vehicle controller and the NFC module in communication, 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 the secure random number is sent to the digital key control module, so that the digital key control module generates and feeds back a first response value based on the secure random number; Performing a security check on the vehicle startup request according to the security random number and the first response value; If the security detection result passes, a digital key search request is generated, and the digital key search request is sent to the NFC module through the digital key control module, so that the NFC module interacts with the user terminal based on the digital key search request, and after finding the digital key, a status check request is generated and sent 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 a status check result, and sends the status check result to the vehicle controller; The vehicle is controlled to start according to the status check result.
2. The method according to claim 1, characterized in that The performing security detection on the vehicle startup request according to the security random number and the first response value includes: Generate a second response value according to the secure random number; Performing an authority security check on the vehicle start request according to the first response value and the second response value to obtain an authority security check result; Acquiring user location information of the user terminal and acquiring vehicle location information of the vehicle itself; Performing an anti-theft safety detection on the vehicle startup request according to the user location information and the vehicle location information to obtain an anti-theft safety detection result; A security check is performed on the vehicle start request according to the authority security check result and the anti-theft security check result.
3. The method according to claim 2, characterized in that The performing, according to the first response value and the second response value, a permission security detection on the vehicle startup request to obtain a permission security detection result includes: Performing a numerical comparison between the first response value and the second response value, if the comparison results are inconsistent, generating at least two reference random numbers in the current iteration cycle, and sending each of the reference random numbers to the digital key control module, so that the digital key control module generates a first reference response value corresponding to each of the reference random numbers; Generating a second reference response value of each reference random number according to each reference random number; Comparing each of the first reference response values with the corresponding second reference response value to obtain a comparison result of each of the reference random numbers in the current iteration cycle; According to the comparison results of the reference random numbers in each iteration cycle, the vehicle startup request is subjected to an authority security check to obtain an authority security check result.
4. The method according to claim 1, characterized in that: After sending the digital key search request to the NFC module through the digital key control module, the method further includes: If the status check result sent by the digital key control module is not received within the preset time period, the digital key control module sends a digital key search request to the NFC module again; If the number of times the digital key search request is sent to the NFC module reaches a preset sending number 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 applied to a vehicle control system, the vehicle control system comprising a vehicle controller, a digital key control module and a near field communication NFC module; the digital key control module is communicatively connected with the vehicle controller and the NFC module respectively, comprising: Obtaining a secure random number generated by the vehicle controller when monitoring a vehicle start request initiated by a user terminal based on an NFC function; Based on the security random number, generate and feed back a first response value to the vehicle controller, so that the vehicle controller performs a security check on the vehicle start request according to the security random number and the first response value, and generates and feeds back a digital key search request when the security check result passes; Sending the digital key search request to the NFC module, so that the NFC module interacts with the user terminal based on the digital key search request, and after finding the digital key, generating and feeding back a status check request; Based on the status check request, a status check is performed on the digital key to obtain a status check result, and the status check result is 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 step of performing a status check on the digital key based on the status check request to obtain a status check result includes: According to the status check request, based on a preset shared key, the digital signature of the digital key is verified to obtain a legitimacy verification result; If the legitimacy verification result is passed, then the access rights of the digital key are verified to obtain a verification result; If the authority verification result is passed, the current state of the vehicle is verified to obtain a 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 comprising a vehicle controller, a digital key control module and a near field communication NFC module; the digital key control module is communicatively connected with the vehicle controller and the NFC module respectively, comprising: A secure random number generation module, configured to generate a secure random number when a vehicle startup request initiated by a user terminal based on an NFC function is detected, and send the secure random number to the digital key control module, so that the digital key control module generates and feeds back a first response value based on the secure random number; A security detection module, configured to perform a security detection on the vehicle startup request according to the security random number and the first response value; a request generation module, configured to generate a digital key search request if the security detection result passes, and send the digital key search 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 search request, and after finding the digital key, generate and send 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 a status check result, and sends the status check result to the vehicle controller; The vehicle startup control module is used to control the vehicle startup according to the status check result.
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 comprising a vehicle controller, a digital key control module and a near field communication NFC module; the digital key control module is communicatively connected with the vehicle controller and the NFC module respectively, comprising: A secure random number acquisition module, used to acquire a secure random number generated by the vehicle controller when monitoring a vehicle start request initiated by a user terminal based on an NFC function; A first response value generating module, configured to generate and feed back a first response value to the vehicle controller based on the secure random number, so that the vehicle controller can perform a security check on the vehicle startup request according to the secure random number and the first response value, and generate and feed back a digital key search request when the security check result passes; A check request generating module, used to send the digital key search request to the NFC module, so that the NFC module interacts with the user terminal based on the digital key search request, and generates and feeds back a status check request after finding the digital key; The inspection result generating module is used to perform a status inspection on the digital key based on the status inspection request, obtain a status inspection result, and send the status inspection result to the vehicle controller so that the vehicle controller can control the vehicle start according to the status inspection result.
9. An electronic device, characterized in that: The electronic device comprises: 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, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle starting method based on near field communication according to any one of claims 1 to 4 and / or claims 5 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle starting method based on near field communication as described in any one of claims 1-4 and / or claims 5-6 when executed.
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
Internet of vehicles digital key generation method based on virtual equipment
CN116939564A
Method and device for starting vehicle, vehicle-mounted terminal and vehicle
CN117068097A
Digital key authentication method, mobile terminal, and computer storage medium
WO2022104592A1