CN113141593A - Detection method and detection system for vehicle virtual key and upper computer - Google Patents

Detection method and detection system for vehicle virtual key and upper computer Download PDF

Info

Publication number
CN113141593A
CN113141593A CN202010047808.0A CN202010047808A CN113141593A CN 113141593 A CN113141593 A CN 113141593A CN 202010047808 A CN202010047808 A CN 202010047808A CN 113141593 A CN113141593 A CN 113141593A
Authority
CN
China
Prior art keywords
vehicle
virtual key
authentication
bluetooth module
cipher machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010047808.0A
Other languages
Chinese (zh)
Other versions
CN113141593B (en
Inventor
杨庆敏
郭卫君
韩钊明
高斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN202010047808.0A priority Critical patent/CN113141593B/en
Publication of CN113141593A publication Critical patent/CN113141593A/en
Application granted granted Critical
Publication of CN113141593B publication Critical patent/CN113141593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • B60R25/24Means to switch the anti-theft system on or off using electronic identifiers containing a code not memorised by the user
    • B60R25/248Electronic key extraction prevention
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mechanical Engineering (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention relates to a detection method of a vehicle virtual key, a system and an upper computer thereof, wherein the method comprises the steps that when a vehicle arrives at a virtual key detection station, the upper computer is in communication connection with a vehicle Bluetooth module of the vehicle; the upper computer sends a virtual key authentication request to the cipher machine and receives an authentication message sent by the cipher machine; the upper computer sends the authentication message to the vehicle Bluetooth module and receives an authentication result message sent by the vehicle Bluetooth module; the upper computer sends an authentication result message to the cipher machine, receives a first analysis result sent by the cipher machine and displays the first analysis result, wherein the first analysis result is authentication passing or authentication failure; and the first analysis result is obtained by analyzing the authentication result message by the cipher machine according to a preset cipher protocol. The method and the device can solve the technical problem that the normal beat of a production line is interfered by network instability factors when the virtual key is obtained from a remote platform.

Description

Detection method and detection system for vehicle virtual key and upper computer
Technical Field
The invention relates to the technical field of automobile electronic offline detection, in particular to a detection method and a detection system for a vehicle virtual key and an upper computer.
Background
The automobile electronic offline detection mainly comprises offline configuration, anti-theft matching, function detection and the like, wherein the traditional anti-theft matching is to match an intelligent key module, an engine control module or a vehicle controller, a remote control module and a steering shaft lock. The novel anti-theft mode of adopting the virtual key of bluetooth unblock has then increased the theftproof matching to bluetooth module, need increase in function testing part simultaneously and detect virtual key unblock, and the key of testing process is the generation of virtual key, and normal customer uses the scene to pass through internet access to remote platform with the cell-phone, acquires the virtual key from remote platform. If the method is still adopted in the production line detection link, the network instability factor can interfere the normal beat of the production line.
Disclosure of Invention
The invention aims to provide a detection method and a detection system for a vehicle virtual key and an upper computer, and at least solves the technical problem that normal beat of a production line is disturbed due to network instability factors when the virtual key is obtained from a remote platform.
In a first aspect, an embodiment of the present invention provides a method for detecting a virtual key of a vehicle, including:
when a vehicle arrives at a virtual key detection station, the upper computer establishes communication connection with a vehicle Bluetooth module of the vehicle;
the upper computer sends a virtual key authentication request to the cipher machine and receives an authentication message sent by the cipher machine; the authentication message is obtained by the cipher machine generating a virtual key for testing according to a vehicle identification code, vehicle Bluetooth module information, preset mobile terminal information, test vehicle owner account information and a preset virtual key generation algorithm and converting the virtual key for testing according to a preset authentication protocol;
the upper computer sends the authentication message to the vehicle Bluetooth module and receives an authentication result message sent by the vehicle Bluetooth module; the authentication result message is a result obtained by analyzing the authentication message by the vehicle Bluetooth module according to a preset authentication protocol and determining whether the authentication message is correct or not;
the upper computer sends the authentication result message to the cipher machine, receives a first analysis result sent by the cipher machine and displays the first analysis result, wherein the first analysis result is authentication passing or authentication failure; and the first analysis result is obtained by analyzing the authentication result message by the cipher machine according to a preset cipher protocol.
Preferably, the step of establishing communication connection between the upper computer and the vehicle bluetooth module of the vehicle specifically includes:
the upper computer acquires a vehicle identification code of the vehicle and acquires vehicle Bluetooth module information according to the vehicle identification code;
the upper computer sends the Bluetooth module information to the cipher machine and receives a Bluetooth pairing code sent by the cipher machine; the Bluetooth pairing code is obtained by the cipher machine according to the Bluetooth module information and a preset algorithm;
and the upper computer establishes communication connection with a vehicle Bluetooth module of the vehicle according to the Bluetooth pairing code.
Preferably, generating the virtual key for testing according to the vehicle identification code, the vehicle bluetooth module information, the preset mobile terminal information, the vehicle owner account information for testing, and the preset virtual key generation algorithm specifically includes:
the upper computer sends the vehicle identification code and the Bluetooth module information to the cipher machine;
after receiving the vehicle identification code and the Bluetooth module information, the cipher machine acquires preset mobile terminal information and test vehicle owner account information which are preset;
and the cipher machine generates a virtual key for testing according to the vehicle identification code, the Bluetooth module information, the preset mobile terminal information, the test vehicle owner account information and the preset virtual key generation algorithm.
Preferably, the method further comprises:
if the first analysis result is that the authentication is passed, the upper computer sends a flashing light detection instruction to the cipher machine and receives an encrypted flashing light detection instruction sent by the cipher machine; the encrypted flashing light detection instruction is obtained by encrypting the flashing light detection instruction by the cipher machine according to a preset cipher protocol;
the upper computer sends the encrypted flashing light detection instruction to the vehicle Bluetooth module and receives an encrypted instruction execution result sent by the vehicle Bluetooth module; the encrypted instruction execution result is obtained by decrypting the encrypted flashing light detection instruction by the vehicle Bluetooth module, executing the decrypted encrypted flashing light detection instruction to obtain an instruction execution result and encrypting the instruction execution result according to a preset password protocol;
the upper computer sends the execution result of the encryption instruction to the cipher machine, receives a second analysis result sent by the cipher machine and displays the second analysis result, wherein the second analysis result is qualified or unqualified; and the second analysis result is obtained by analyzing the execution result of the encryption instruction by the cipher machine according to a preset cipher protocol.
Preferably, the method further comprises:
and if the second analysis result is qualified, binding the vehicle identification code, the Bluetooth module information and the engine information of the vehicle and uploading the information to a virtual key network platform.
In a second aspect, an embodiment of the present invention provides a host computer, including a memory and a processor, where the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, cause the processor to execute the steps of the method for detecting a virtual key of a vehicle according to the embodiment of the first aspect.
In a third aspect, the embodiment of the invention provides a detection system for a virtual key of a vehicle, which comprises an upper computer and a cipher machine, wherein the upper computer and the cipher machine are arranged at a virtual key detection station;
the host computer includes:
the communication connection unit is used for establishing communication connection with a vehicle Bluetooth module of a vehicle when the vehicle reaches a virtual key detection station;
an authentication request unit for generating a virtual key authentication request;
sending a virtual key authentication request to the cipher machine, and receiving an authentication message sent by the cipher machine;
the system comprises an information receiving and sending unit, a cipher machine and a communication unit, wherein the information receiving and sending unit is used for sending a virtual key authentication request to the cipher machine, receiving an authentication message sent by the cipher machine, sending the authentication message to a vehicle Bluetooth module, receiving an authentication result message sent by the vehicle Bluetooth module, sending the authentication result message to the cipher machine and receiving a first analysis result sent by the cipher machine; and
the display unit is used for displaying the first analysis result; the first analysis result is authentication passing or authentication failure;
the cipher machine includes:
the authentication message generation unit is used for converting the virtual key for test into an authentication message according to a preset authentication protocol after receiving the virtual key authentication request; the authentication message is obtained by the authentication message generation unit generating a virtual key for testing according to a vehicle identification code, vehicle Bluetooth module information, preset mobile terminal information, test vehicle owner account information and a preset virtual key generation algorithm, and converting the virtual key for testing according to a preset authentication protocol; and
the analysis unit is used for analyzing the authentication result message according to a preset password protocol to obtain a first analysis result;
the authentication result message is a result obtained by analyzing the authentication message by the vehicle Bluetooth module according to a preset authentication protocol and determining whether the authentication message is correct or not.
Preferably, the communication connection unit specifically includes an information acquisition unit and a communication unit, the information acquisition unit acquires a vehicle identification code of the vehicle and acquires bluetooth module information according to the vehicle identification code, and the communication unit is configured to establish communication connection with a vehicle bluetooth module of the vehicle according to the bluetooth pairing code;
the information receiving and transmitting unit is also used for transmitting the Bluetooth module information to the cipher machine and receiving the Bluetooth pairing code transmitted by the cipher machine;
the cipher machine comprises a first computing unit, and the first computing unit is used for computing a Bluetooth pairing code according to the Bluetooth module information and a preset algorithm.
Preferably, the information transceiver unit is further configured to send the vehicle identification code and the bluetooth module information to a cryptographic machine;
the authentication message generating unit comprises a second calculating unit and a message converting unit, wherein the second calculating unit is used for acquiring preset mobile terminal information and test vehicle owner account information after receiving the vehicle identification code and the Bluetooth module information, and generating a virtual key for test according to the vehicle identification code, the vehicle Bluetooth module information, the preset mobile terminal information, the test vehicle owner account information and a preset virtual key generating algorithm; the message conversion unit is used for converting the virtual key for testing into an authentication message according to a preset authentication protocol.
Preferably, the upper computer further comprises a flashing light instruction generating unit, and the flashing light instruction generating unit is used for generating a flashing light detection instruction if the first analysis result is that the authentication is passed;
the information receiving and sending unit is further used for sending a flashing light detection instruction to the cipher machine, receiving an encrypted flashing light detection instruction sent by the cipher machine, sending the encrypted flashing light detection instruction to the vehicle Bluetooth module, receiving an encrypted instruction execution result sent by the vehicle Bluetooth module, sending the encrypted instruction execution result to the cipher machine, and receiving a second analysis result sent by the cipher machine;
the display unit is also used for displaying the second analysis result, and the second analysis result is qualified or unqualified;
the cipher machine further comprises an encryption unit, wherein the encryption unit is used for encrypting the flashing light detection instruction according to a preset cipher protocol to obtain an encrypted flashing light detection instruction;
the analysis unit is also used for analyzing the execution result of the encryption instruction according to a preset password protocol to obtain a second analysis result;
the encrypted instruction execution result is obtained by decrypting and executing the encrypted flashing light detection instruction by the vehicle Bluetooth module to obtain an instruction execution result and encrypting the instruction execution result according to a preset password protocol.
The technical scheme at least has the following advantages: when the vehicle arrives at the virtual key detection station, the upper computer and the cipher machine which are arranged at the virtual key detection station complete matching detection of the virtual key of the vehicle, wherein the upper computer initiates a virtual key authentication request, and the cipher machine and the vehicle Bluetooth module perform message authentication and analysis according to a preset authentication protocol and a preset cipher protocol to obtain a matching detection result of the virtual key. In the detection process, the virtual key for testing is provided by the cipher machine, the mode of acquiring the virtual key from the remote platform in the prior art is replaced, and the technical problem that the normal beat of a production line is disturbed due to network instability factors when the virtual key is acquired from the remote platform is solved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for detecting a virtual key of a vehicle according to an embodiment of the present invention.
Fig. 2 is a block diagram of a system for detecting a virtual key of a vehicle according to a second embodiment of the present invention.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
In addition, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, well known means have not been described in detail so as not to obscure the present invention.
Example one
An embodiment of the present invention provides a method for detecting a virtual key of a vehicle, and fig. 1 is a flowchart of the method, referring to fig. 1, the method includes the following steps S101 to S105.
S101, when a vehicle reaches a virtual key detection station, an upper computer is in communication connection with a vehicle Bluetooth module of the vehicle;
step S102, the upper computer sends a virtual key authentication request to the cipher machine and receives an authentication message sent by the cipher machine; the authentication message is obtained by the cipher machine generating a virtual key for testing according to a vehicle identification code, vehicle Bluetooth module information, preset mobile terminal information, test vehicle owner account information and a preset virtual key generation algorithm and converting the virtual key for testing according to a preset authentication protocol;
step S103, the upper computer sends the authentication message to a vehicle Bluetooth module and receives an authentication result message sent by the vehicle Bluetooth module; the authentication result message is a result obtained by analyzing the authentication message by the vehicle Bluetooth module according to a preset authentication protocol and determining whether the authentication message is correct or not;
step S104, the upper computer sends the authentication result message to the cipher machine, receives a first analysis result sent by the cipher machine and displays the first analysis result, wherein the first analysis result is authentication passing or authentication failure; and the first analysis result is obtained by analyzing the authentication result message by the cipher machine according to a preset cipher protocol.
Further, the first analysis result obtained in step S104 is also stored in the production management system.
Specifically, in this embodiment, when the vehicle reaches the virtual key detection station, the upper computer and the crypto engine that are arranged in the virtual key detection station complete matching detection of the virtual key of the vehicle, wherein the upper computer initiates a virtual key authentication request, and the crypto engine and the vehicle bluetooth module perform authentication and analysis of a message according to a preset authentication protocol and a preset cryptographic protocol to obtain a matching detection result of the virtual key. In the detection process, the virtual key for testing is provided by the cipher machine, the mode of acquiring the virtual key from the remote platform in the prior art is replaced, and the technical problem that the normal beat of a production line is interfered by network instability factors when the virtual key is acquired from the remote platform is solved.
Wherein, the vehicle bluetooth module production installation as follows:
the upper computer of the Bluetooth module production line acquires information of a vehicle factory number, a Bluetooth module supplier number, a Bluetooth module serial number, an MAC address, an SEID, a part number, a software version number and the like of the Bluetooth module, and transmits the information to the virtual key network platform through the Internet. The whole vehicle factory production management system acquires relevant data of the vehicle Bluetooth module from the virtual key network platform through the Internet; the vehicle Bluetooth module subpackaging station obtains a product sequence number and a vehicle factory number by scanning a bar code on the Bluetooth module, and inquires whether the product sequence number and the vehicle factory number exist in a production management system, and if the product sequence number and the vehicle factory number do not exist, the vehicle Bluetooth module subpackaging station does not allow installation; and scanning the vehicle identification code, forming a binding relationship with the Bluetooth module information, and storing the binding relationship in a production management system. And (3) binding process: the product serial number is obtained as A through scanning the bar code of the Bluetooth module at the subpackaging station (subpackaging the Bluetooth module at the auxiliary instrument desk) of the Bluetooth module of the automobile factory, then the vehicle identification code of the automobile is scanned as B, and a group of data A is obtained at the moment: and B, uploading the data to the production management system, namely finishing the binding. The Bluetooth module is initialized offline, relevant configuration information, namely configuration codes and anti-theft codes generated by initialization equipment are written into the Bluetooth key module, the configuration codes are derived (such as high, medium and low configuration) according to different vehicle configurations and maintained in the initialization equipment before vehicle type volume production, and when the configuration codes need to be written into the Bluetooth module, the initialization equipment can automatically call the corresponding configuration codes according to the current vehicle configuration.
In a specific embodiment, the step S101 specifically includes the following sub-steps:
step S201, when a vehicle reaches a virtual key detection station, an upper computer identifies and acquires a vehicle identification code of the vehicle in a scanning mode, and acquires Bluetooth module information corresponding to the vehicle identification code from a production management system according to the vehicle identification code; as mentioned above, the production management system stores the binding data of the vehicle identification code and the bluetooth module information;
step S202, the upper computer sends the Bluetooth module information to the cipher machine and receives a Bluetooth pairing code sent by the cipher machine; the Bluetooth pairing code is obtained by a cipher machine according to the Bluetooth module information and a preset algorithm; it can be understood that one piece of bluetooth module information corresponds to only one bluetooth pairing code, wherein the cryptographic machine is specifically obtained by calculation according to the MAC address and the SEID of the bluetooth module, and the algorithm for calculation is not limited to a certain algorithm as long as the only bluetooth pairing code can be obtained by calculation, so the embodiment is not specifically limited;
and S203, the upper computer establishes communication connection with a vehicle Bluetooth module of the vehicle according to the Bluetooth pairing code. Specifically, the upper computer acquires the bluetooth module information (the MAC address, the SEID and the bluetooth pairing code) of the detected vehicle from the production management system through the vehicle identification code, so that the upper computer can be directionally connected to the bluetooth module of the detected vehicle.
In a specific embodiment, the subsidizing S101 includes:
the upper computer sends the vehicle identification code and the Bluetooth module information to the cipher machine;
after receiving the vehicle identification code and the Bluetooth module information, the cipher machine acquires preset mobile terminal information and test vehicle owner account information which are preset;
and the cipher machine generates a virtual key for testing according to the vehicle identification code, the Bluetooth module information, the preset mobile terminal information, the test vehicle owner account information and the preset virtual key generation algorithm.
It should be noted that the virtual key generation algorithm may be any algorithm of the existing virtual key, and is not specifically limited in this embodiment. The key point of the embodiment is that in the detection process, the virtual key for testing is generated by the cipher machine, the mode of acquiring the virtual key from the remote platform in the prior art is replaced, and the technical problem that the normal beat of a production line is interfered by network instability factors when the virtual key is acquired from the remote platform is solved.
In a specific embodiment, the method further comprises the steps of:
step S301, if the first analysis result is that the authentication is passed, the upper computer sends a flash lamp detection instruction to the cipher machine and receives an encrypted flash lamp detection instruction sent by the cipher machine; the encrypted flashing light detection instruction is obtained by encrypting the flashing light detection instruction by the cipher machine according to a preset cipher protocol;
step S302, the upper computer sends the encrypted flashing light detection instruction to a vehicle Bluetooth module and receives an encrypted instruction execution result sent by the vehicle Bluetooth module; the encrypted instruction execution result is obtained by decrypting the encrypted flashing light detection instruction by the vehicle Bluetooth module, executing the decrypted encrypted flashing light detection instruction to obtain an instruction execution result and encrypting the instruction execution result according to a preset password protocol;
step S303, the upper computer sends the execution result of the encryption instruction to the cipher machine, receives a second analysis result sent by the cipher machine and displays the second analysis result, wherein the second analysis result is qualified or unqualified; and the second analysis result is obtained by analyzing the execution result of the encryption instruction by the cipher machine according to a preset cipher protocol. Specifically, in this embodiment, the execution result fed back to the upper computer by the bluetooth module is in the form of an encrypted message, so that the crypto engine parses the message according to the preset cryptographic protocol to obtain a parsing result.
It should be noted that the realization of flashing light instruction needs the cooperation of other modules on the car, can examine with this whether bluetooth module can with the mutual between other modules of car, and then reach the purpose of examining bluetooth module safety chip to detect virtual key function more complete.
Based on the description of the embodiment, the anti-theft matching and the function detection of the virtual key are separated into two stations, and the process rhythm is further ensured.
In a specific embodiment, the method further comprises:
and if the second analysis result is qualified, binding the vehicle identification code, the Bluetooth module information and the engine information of the vehicle and uploading the information to a virtual key network platform.
Specifically, in the vehicle offline detection link, the virtual key function detection result in the production management system is inquired by scanning the vehicle identification code, and if the result is unqualified or no record is recorded, the virtual key function detection result is required to return to the previous station for redetection or repair.
The method can ensure that the whole process test of the function is carried out on each vehicle with the virtual key function under the condition of meeting the beat requirement of a production line, unqualified vehicles are prevented from leaking through multi-station confirmation, qualified data are uploaded to a virtual key network platform in real time, and a client is ensured to smoothly complete function opening.
Example two
The second embodiment of the present invention provides a host computer, which includes a memory and a processor, where the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, cause the processor to execute the steps of the method for detecting a virtual key of a vehicle according to the first embodiment.
Of course, the computer device may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the computer device may also include other components for implementing the functions of the device, which are not described herein again.
Illustratively, the computer program may be divided into one or more units, which are stored in the memory and executed by the processor to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the computer device.
The processor may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is the control center for the computer device and that connects the various parts of the overall computer device using various interfaces and lines.
The memory may be used for storing the computer program and/or unit, and the processor may implement various functions of the computer device by executing or executing the computer program and/or unit stored in the memory and calling data stored in the memory. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card (FlashCard), at least one magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
EXAMPLE III
The third embodiment of the invention provides a detection system of a virtual key of a vehicle, which can be used for realizing the detection method of the virtual key of the vehicle in the first embodiment of the invention, and fig. 2 is a frame diagram of the detection system of the virtual key of the vehicle, and refers to fig. 2, wherein the system comprises an upper computer 1 and a cipher machine 2 which are arranged at a virtual key detection station;
the upper computer 1 includes:
the communication connection unit 11 is used for establishing communication connection with a vehicle Bluetooth module of a vehicle when the vehicle reaches a virtual key detection station;
an authentication request unit 12 for generating a virtual key authentication request;
sending a virtual key authentication request to the cipher machine 2, and receiving an authentication message sent by the cipher machine 2;
the information receiving and sending unit 13 is configured to send a virtual key authentication request to the crypto-machine 2, receive an authentication message sent by the crypto-machine 2, send the authentication message to the vehicle bluetooth module, receive an authentication result message sent by the vehicle bluetooth module, send the authentication result message to the crypto-machine 2, and receive a first analysis result sent by the crypto-machine 2; and
a display unit 14, configured to display the first analysis result; the first analysis result is authentication passing or authentication failure;
the cryptographic engine 2 comprises:
an authentication message generating unit 21, configured to convert the virtual key for testing into an authentication message according to a preset authentication protocol after receiving the virtual key authentication request; the authentication message is obtained by generating a virtual key for testing by an authentication message generating unit according to a vehicle identification code, vehicle Bluetooth module information, preset mobile terminal information, test vehicle owner account information and a preset virtual key generating algorithm and converting the virtual key for testing according to a preset authentication protocol; and
the analysis unit 22 is configured to analyze the authentication result message according to a preset cryptographic protocol to obtain a first analysis result;
the authentication result message is a result obtained by analyzing the authentication message by the vehicle Bluetooth module according to a preset authentication protocol and determining whether the authentication message is correct or not.
In a specific embodiment, the communication connection unit 11 specifically includes an information obtaining unit 111 and a communication unit 112, the information obtaining unit 111 obtains a vehicle identification code of the vehicle and obtains bluetooth module information according to the vehicle identification code, and the communication unit 112 is configured to establish a communication connection with a vehicle bluetooth module of the vehicle according to the bluetooth pairing code;
the information receiving and sending unit 13 is further configured to send the bluetooth module information to the crypto-engine 2 and receive a bluetooth pairing code sent by the crypto-engine 2;
the cipher machine 2 comprises a first calculating unit 23, and the first calculating unit 23 is configured to calculate a bluetooth pairing code according to the bluetooth module information and a preset algorithm.
In a specific embodiment, the information transceiver unit 13 is further configured to send the vehicle identification code and the bluetooth module information to the cryptographic machine 2;
the authentication message generating unit 21 includes a second calculating unit and a message converting unit, and the second calculating unit is configured to obtain preset mobile terminal information and test vehicle owner account information after receiving the vehicle identification code and the bluetooth module information, and generate a virtual key for testing according to the vehicle identification code, the vehicle bluetooth module information, the preset mobile terminal information, the test vehicle owner account information, and a preset virtual key generating algorithm; the message conversion unit is used for converting the virtual key for testing into an authentication message according to a preset authentication protocol.
In a specific embodiment, the upper computer 1 further includes a flashing light instruction generating unit, and the flashing light instruction generating unit is configured to generate a flashing light detection instruction if the first analysis result is that the authentication is passed;
the information receiving and sending unit 13 is further configured to send a flashing light detection instruction to the crypto-machine 2, receive an encrypted flashing light detection instruction sent by the crypto-machine 2, send the encrypted flashing light detection instruction to the vehicle bluetooth module, receive an encryption instruction execution result sent by the vehicle bluetooth module, send the encryption instruction execution result to the crypto-machine 2, and receive a second analysis result sent by the crypto-machine 2;
the display unit 14 is further configured to display the second analysis result, where the second analysis result is qualified or unqualified;
the cipher machine 2 further comprises an encryption unit 24, wherein the encryption unit 24 is used for encrypting the flashing light detection instruction according to a preset cipher protocol to obtain an encrypted flashing light detection instruction;
the analysis unit 22 is further configured to analyze the execution result of the encryption instruction according to a preset password protocol to obtain a second analysis result;
the encrypted instruction execution result is obtained by decrypting and executing the encrypted flashing light detection instruction by the vehicle Bluetooth module to obtain an instruction execution result and encrypting the instruction execution result according to a preset password protocol.
The above-described system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
It should be noted that the system described in the third embodiment corresponds to the method described in the first embodiment, and therefore, a part of the system described in the third embodiment that is not described in detail can be obtained by referring to the content of the method described in the first embodiment, and is not described again here.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A method for detecting a virtual key of a vehicle, comprising:
when a vehicle arrives at a virtual key detection station, the upper computer establishes communication connection with a vehicle Bluetooth module of the vehicle;
the upper computer sends a virtual key authentication request to the cipher machine and receives an authentication message sent by the cipher machine; the authentication message is obtained by the cipher machine generating a virtual key for testing according to a vehicle identification code, vehicle Bluetooth module information, preset mobile terminal information, test vehicle owner account information and a preset virtual key generation algorithm and converting the virtual key for testing according to a preset authentication protocol;
the upper computer sends the authentication message to the vehicle Bluetooth module and receives an authentication result message sent by the vehicle Bluetooth module; the authentication result message is a result obtained by analyzing the authentication message by the vehicle Bluetooth module according to a preset authentication protocol and determining whether the authentication message is correct or not;
the upper computer sends the authentication result message to the cipher machine, receives a first analysis result sent by the cipher machine and displays the first analysis result, wherein the first analysis result is authentication passing or authentication failure; and the first analysis result is obtained by analyzing the authentication result message by the cipher machine according to a preset cipher protocol.
2. The method for detecting the virtual key of the vehicle according to claim 1, wherein the step of establishing the communication connection between the upper computer and the vehicle bluetooth module of the vehicle specifically comprises the steps of:
the upper computer acquires a vehicle identification code of the vehicle and acquires vehicle Bluetooth module information according to the vehicle identification code;
the upper computer sends the Bluetooth module information to the cipher machine and receives a Bluetooth pairing code sent by the cipher machine; the Bluetooth pairing code is obtained by the cipher machine according to the Bluetooth module information and a preset algorithm;
and the upper computer establishes communication connection with a vehicle Bluetooth module of the vehicle according to the Bluetooth pairing code.
3. The method for detecting the virtual key of the vehicle according to claim 2, wherein the generating of the virtual key for the test according to the vehicle identification code, the vehicle bluetooth module information, the preset mobile terminal information, the test owner account information, and the preset virtual key generation algorithm specifically comprises:
the upper computer sends the vehicle identification code and the Bluetooth module information to the cipher machine;
after receiving the vehicle identification code and the Bluetooth module information, the cipher machine acquires preset mobile terminal information and test vehicle owner account information which are preset;
and the cipher machine generates a virtual key for testing according to the vehicle identification code, the Bluetooth module information, the preset mobile terminal information, the test vehicle owner account information and the preset virtual key generation algorithm.
4. The method for detecting a virtual key of a vehicle according to claim 1, further comprising:
if the first analysis result is that the authentication is passed, the upper computer sends a flashing light detection instruction to the cipher machine and receives an encrypted flashing light detection instruction sent by the cipher machine; the encrypted flashing light detection instruction is obtained by encrypting the flashing light detection instruction by the cipher machine according to a preset cipher protocol;
the upper computer sends the encrypted flashing light detection instruction to the vehicle Bluetooth module and receives an encrypted instruction execution result sent by the vehicle Bluetooth module; the encrypted instruction execution result is obtained by decrypting the encrypted flashing light detection instruction by the vehicle Bluetooth module, executing the decrypted encrypted flashing light detection instruction to obtain an instruction execution result and encrypting the instruction execution result according to a preset password protocol;
the upper computer sends the execution result of the encryption instruction to the cipher machine, receives a second analysis result sent by the cipher machine and displays the second analysis result, wherein the second analysis result is qualified or unqualified; and the second analysis result is obtained by analyzing the execution result of the encryption instruction by the cipher machine according to a preset cipher protocol.
5. The method for detecting a virtual key of a vehicle according to claim 2, further comprising:
and if the second analysis result is qualified, binding the vehicle identification code, the Bluetooth module information and the engine information of the vehicle and uploading the information to a virtual key network platform.
6. A host computer comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the method of detecting a vehicle virtual key according to any one of claims 1-5.
7. A detection system of a vehicle virtual key is characterized by comprising an upper computer and a cipher machine which are arranged at a virtual key detection station;
the host computer includes:
the communication connection unit is used for establishing communication connection with a vehicle Bluetooth module of a vehicle when the vehicle reaches a virtual key detection station;
an authentication request unit for generating a virtual key authentication request;
sending a virtual key authentication request to the cipher machine, and receiving an authentication message sent by the cipher machine;
the system comprises an information transceiving unit, a cipher machine and a control unit, wherein the information transceiving unit is used for sending a virtual key authentication request to the cipher machine, receiving an authentication message sent by the cipher machine, sending the authentication message to a vehicle Bluetooth module, receiving an authentication result message sent by the vehicle Bluetooth module, sending the authentication result message to the cipher machine and receiving a first analysis result sent by the cipher machine; and
the display unit is used for displaying the first analysis result; the first analysis result is authentication passing or authentication failure;
the cipher machine includes: the authentication message generating unit is used for converting the virtual key for testing into an authentication message according to a preset authentication protocol after receiving the virtual key authentication request; the authentication message is obtained by generating a virtual key for testing by an authentication message generating unit according to a vehicle identification code, vehicle Bluetooth module information, preset mobile terminal information, test vehicle owner account information and a preset virtual key generating algorithm and converting the virtual key for testing according to a preset authentication protocol; and
the analysis unit is used for analyzing the authentication result message according to a preset password protocol to obtain a first analysis result;
the authentication result message is a result obtained by analyzing the authentication message by the vehicle Bluetooth module according to a preset authentication protocol and determining whether the authentication message is correct or not.
8. The system for detecting the virtual key of the vehicle as claimed in claim 7, wherein the communication connection unit specifically comprises an information acquisition unit and a communication unit, the information acquisition unit acquires a vehicle identification code of the vehicle and acquires the bluetooth module information according to the vehicle identification code, and the communication unit is configured to establish communication connection with a vehicle bluetooth module of the vehicle according to the bluetooth pairing code;
the information receiving and transmitting unit is also used for sending the Bluetooth module information to the cipher machine and receiving a Bluetooth pairing code sent by the cipher machine;
the cipher machine comprises a first computing unit, and the first computing unit is used for computing a Bluetooth pairing code according to the Bluetooth module information and a preset algorithm.
9. The system for detecting the virtual key of the vehicle as claimed in claim 8, wherein the information transceiver unit is further configured to send the vehicle identification code and the bluetooth module information to a cryptographic machine;
the authentication message generating unit comprises a second calculating unit and a message converting unit, wherein the second calculating unit is used for acquiring preset mobile terminal information and test vehicle owner account information after receiving the vehicle identification code and the Bluetooth module information, and generating a virtual key for test according to the vehicle identification code, the vehicle Bluetooth module information, the preset mobile terminal information, the test vehicle owner account information and a preset virtual key generating algorithm; the message conversion unit is used for converting the virtual key for testing into an authentication message according to a preset authentication protocol.
10. The system for detecting the virtual key of the vehicle according to claim 7, wherein the upper computer further comprises a flashing light instruction generating unit, and the flashing light instruction generating unit is used for generating a flashing light detection instruction if the first analysis result is that the authentication is passed;
the information receiving and sending unit is further used for sending a flashing light detection instruction to the cipher machine, receiving an encrypted flashing light detection instruction sent by the cipher machine, sending the encrypted flashing light detection instruction to the vehicle Bluetooth module, receiving an encrypted instruction execution result sent by the vehicle Bluetooth module, sending the encrypted instruction execution result to the cipher machine, and receiving a second analysis result sent by the cipher machine;
the display unit is also used for displaying the second analysis result, and the second analysis result is qualified or unqualified;
the cipher machine further comprises an encryption unit, wherein the encryption unit is used for encrypting the flashing light detection instruction according to a preset cipher protocol to obtain an encrypted flashing light detection instruction;
the analysis unit is also used for analyzing the execution result of the encryption instruction according to a preset password protocol to obtain a second analysis result;
the encrypted instruction execution result is obtained by decrypting and executing the encrypted flashing light detection instruction by the vehicle Bluetooth module to obtain an instruction execution result and encrypting the instruction execution result according to a preset password protocol.
CN202010047808.0A 2020-01-16 2020-01-16 Detection method and detection system for vehicle virtual key and upper computer Active CN113141593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010047808.0A CN113141593B (en) 2020-01-16 2020-01-16 Detection method and detection system for vehicle virtual key and upper computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010047808.0A CN113141593B (en) 2020-01-16 2020-01-16 Detection method and detection system for vehicle virtual key and upper computer

Publications (2)

Publication Number Publication Date
CN113141593A true CN113141593A (en) 2021-07-20
CN113141593B CN113141593B (en) 2022-09-23

Family

ID=76808202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010047808.0A Active CN113141593B (en) 2020-01-16 2020-01-16 Detection method and detection system for vehicle virtual key and upper computer

Country Status (1)

Country Link
CN (1) CN113141593B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115019423A (en) * 2022-06-27 2022-09-06 无锡融卡科技有限公司 Bluetooth vehicle key distribution system and implementation method thereof
CN115278592A (en) * 2022-06-06 2022-11-01 重庆长安汽车股份有限公司 Vehicle offline self-checking system and method for detecting Bluetooth key function
CN115675361A (en) * 2022-11-30 2023-02-03 成都赛力斯科技有限公司 Cabin state adjusting method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516365A (en) * 2017-09-28 2017-12-26 北京新能源汽车股份有限公司 A kind of virtual key management method, apparatus and system
CN109936833A (en) * 2017-12-15 2019-06-25 蔚来汽车有限公司 Vehicle virtual key generates application method and its system and user terminal
CN109979106A (en) * 2017-12-28 2019-07-05 丰田自动车株式会社 Car sharing system, the information processing unit for Car sharing and method and the storage medium for being stored with Car sharing program
US20190359173A1 (en) * 2015-01-14 2019-11-28 GM Global Technology Operations LLC Virtual keyfob for vehicle sharing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190359173A1 (en) * 2015-01-14 2019-11-28 GM Global Technology Operations LLC Virtual keyfob for vehicle sharing
CN107516365A (en) * 2017-09-28 2017-12-26 北京新能源汽车股份有限公司 A kind of virtual key management method, apparatus and system
CN109936833A (en) * 2017-12-15 2019-06-25 蔚来汽车有限公司 Vehicle virtual key generates application method and its system and user terminal
CN109979106A (en) * 2017-12-28 2019-07-05 丰田自动车株式会社 Car sharing system, the information processing unit for Car sharing and method and the storage medium for being stored with Car sharing program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278592A (en) * 2022-06-06 2022-11-01 重庆长安汽车股份有限公司 Vehicle offline self-checking system and method for detecting Bluetooth key function
CN115278592B (en) * 2022-06-06 2024-03-15 重庆长安汽车股份有限公司 Vehicle offline self-checking system and method for detecting Bluetooth key function
CN115019423A (en) * 2022-06-27 2022-09-06 无锡融卡科技有限公司 Bluetooth vehicle key distribution system and implementation method thereof
CN115019423B (en) * 2022-06-27 2023-10-24 无锡融卡科技有限公司 Bluetooth car key distribution system and implementation method thereof
CN115675361A (en) * 2022-11-30 2023-02-03 成都赛力斯科技有限公司 Cabin state adjusting method and system

Also Published As

Publication number Publication date
CN113141593B (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN113141593B (en) Detection method and detection system for vehicle virtual key and upper computer
CN107743067B (en) Method, system, terminal and storage medium for issuing digital certificate
CN104158819A (en) Safety authentication method of vehicle-mounted information entertainment terminal
CN104333576A (en) ECU (Electronic Control Unit) upgrading device and method
CN103974250A (en) Configuration method and equipment
CN111882008A (en) Method and system for binding vehicle with Internet of vehicles account
CN110381075B (en) Block chain-based equipment identity authentication method and device
CN105471874A (en) Data transmission method and device
CN107733652B (en) Unlocking method and system for shared vehicle and vehicle lock
EP4068834A1 (en) Initial security configuration method, security module, and terminal
US12005861B2 (en) Method for connecting bluetooth key to vehicle, vehicle bluetooth system, and bluetooth key
CN103401844A (en) Operation request processing method and system
CN105376059A (en) Method and system for performing application signature based on electronic key
CN113452517A (en) Key updating method, device, system, storage medium and terminal
US9626504B2 (en) Information processing device and information processing method
CN110659899B (en) Offline payment method, device and equipment
CN111510448A (en) Communication encryption method, device and system in OTA (over the air) upgrade of automobile
CN108932619B (en) Terminal offline charging service method and system
CN102801527B (en) Distributed general anti-counterfeiting system based on NFC and mobile communication
CN106685931B (en) Smart card application management method and system, terminal and smart card
CN115696500A (en) Service platform switching method, device and system, terminal equipment and service platform
CN114390478A (en) Equipment authentication system, method and terminal equipment
CN114520730B (en) Data transmission method, device, system, computer equipment and storage medium
CN114726505B (en) Vehicle remote security authentication method and device, storage medium and terminal equipment
EP4155992A1 (en) Counterfeit hardware detection techniques

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant