CN112261612B - Vehicle control method and device - Google Patents

Vehicle control method and device Download PDF

Info

Publication number
CN112261612B
CN112261612B CN202011096184.8A CN202011096184A CN112261612B CN 112261612 B CN112261612 B CN 112261612B CN 202011096184 A CN202011096184 A CN 202011096184A CN 112261612 B CN112261612 B CN 112261612B
Authority
CN
China
Prior art keywords
vehicle
bluetooth module
terminal
identification code
module
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.)
Active
Application number
CN202011096184.8A
Other languages
Chinese (zh)
Other versions
CN112261612A (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.)
Chery Automobile Co Ltd
Original Assignee
Chery Automobile 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 Chery Automobile Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN202011096184.8A priority Critical patent/CN112261612B/en
Publication of CN112261612A publication Critical patent/CN112261612A/en
Priority to PCT/CN2021/120732 priority patent/WO2022078193A1/en
Application granted granted Critical
Publication of CN112261612B publication Critical patent/CN112261612B/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]
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to the technical field of automobiles, and discloses a vehicle control method and a device, which are applied to a user terminal with a terminal Bluetooth module, and the method comprises the following steps: acquiring a vehicle identification code and a terminal identification code; connecting the terminal Bluetooth module and a vehicle-mounted Bluetooth module corresponding to the vehicle identification code based on the vehicle identification code and the terminal identification code; and sending control information to the vehicle-mounted Bluetooth module so that the vehicle executes a function corresponding to the control information. The vehicle control method and the vehicle control device can realize the authentication and the vehicle control of the Bluetooth key without a platform, are low in cost and high in response speed of the Bluetooth key.

Description

Vehicle control method and device
Technical Field
The application relates to the technical field of vehicles, in particular to a vehicle control method and device.
Background
With the rapid development of automobile electronic appliances, the bluetooth technology is more and more applied to automobiles, and besides the functions of conventional bluetooth music, bluetooth telephone and the like, the bluetooth key is also rising.
In the related art, when functions of keyless entry, keyless starting, key unlocking, trunk unlocking and the like are realized through a Bluetooth key, the Bluetooth key needs to be associated with a platform of an automobile manufacturer, the legality of the Bluetooth key is identified through the platform, and the platform serves as a transfer to realize communication with a vehicle-mounted terminal. In order to establish the contact between the vehicle-mounted terminal and the platform, the vehicle-mounted terminal needs to access a network (such as a 4G network).
In the course of implementing the present application, the inventors found that the related art has at least the following problems:
the authentication and communication of the Bluetooth key are realized through the platform, the maintenance cost is high, and the response rate of the Bluetooth key is influenced.
Disclosure of Invention
In view of this, the present application provides a vehicle control method and apparatus, which implement authentication and vehicle control of a bluetooth key through near field communication between a bluetooth module of a user terminal and a vehicle-mounted bluetooth module, and have low cost and fast response rate of the bluetooth key. Specifically, the method comprises the following technical scheme:
the embodiment of the application provides a vehicle control method, which is applied to a user terminal with a terminal Bluetooth module, and comprises the following steps:
acquiring a vehicle identification code and a terminal identification code;
connecting the terminal Bluetooth module and a vehicle-mounted Bluetooth module corresponding to the vehicle identification code based on the vehicle identification code and the terminal identification code;
and sending control information to the vehicle-mounted Bluetooth module so that the vehicle executes a function corresponding to the control information.
In an implementation manner of the embodiment of the application, the connecting the terminal bluetooth module and the vehicle-mounted bluetooth module corresponding to the vehicle identification code based on the vehicle identification code and the terminal identification code includes:
generating a first pairing key based on the vehicle identification code and the terminal identification code;
sending the first pairing secret key to the vehicle-mounted Bluetooth module;
receiving a second pairing secret key sent by the vehicle-mounted Bluetooth module;
and when the first pairing secret key is matched with the second pairing secret key, connecting the terminal Bluetooth module with the vehicle-mounted Bluetooth module corresponding to the vehicle identification code.
In an implementation manner of the embodiment of the present application, before sending the control signal to the vehicle-mounted bluetooth module, the method further includes:
receiving and storing a first session key sent by the vehicle-mounted Bluetooth module;
and sending a second session key to the vehicle-mounted Bluetooth module, wherein the first session key is matched with the second session key.
In an implementation manner of the embodiment of the present application, the sending control information to the vehicle-mounted bluetooth module includes:
receiving positioning information sent by the vehicle-mounted Bluetooth module;
and responding the positioning information to send position information to the vehicle-mounted Bluetooth module.
In an implementation manner of the embodiment of the present application, the sending control information to the vehicle-mounted bluetooth module includes:
receiving an operation instruction triggered by a user on the user terminal;
and sending operation information to the vehicle-mounted Bluetooth module according to the operation instruction.
The embodiment of the present application further provides a vehicle control device, which is applied to a user terminal having a terminal bluetooth module, and the device includes:
an acquisition module configured to acquire a vehicle identification code and a terminal identification code;
the connection module is configured to connect the terminal Bluetooth module and the vehicle-mounted Bluetooth module corresponding to the vehicle identification code based on the vehicle identification code and the terminal identification code;
the control module is configured to send control information to the vehicle-mounted Bluetooth module so that the vehicle can execute a function corresponding to the control information.
In an implementation manner of the embodiment of the present application, the connection module includes:
a first generation module configured to generate a first pairing key based on the vehicle identification code and the terminal identification code;
a first transmitting module configured to transmit the first pairing key to the onboard Bluetooth module;
a first receiving module configured to receive a second pairing key sent by the vehicle-mounted Bluetooth module;
and the connection sub-module is configured to connect the terminal Bluetooth module and the vehicle-mounted Bluetooth module corresponding to the vehicle identification code when the first pairing key and the second pairing key are matched.
In an implementation manner of the embodiment of the present application, the apparatus further includes:
the second receiving module is configured to receive and store the first session key sent by the vehicle-mounted Bluetooth module;
the second sending module is configured to send a second session key to the onboard Bluetooth module, and the first session key is matched with the second session key.
In an implementation manner of the embodiment of the present application, the control module includes:
the third receiving module is configured to receive the positioning information sent by the vehicle-mounted Bluetooth module;
and the third sending module is configured to respond to the positioning information and send position information to the vehicle-mounted Bluetooth module.
In an implementation manner of the embodiment of the present application, the control module includes:
the fourth receiving module is configured to receive an operation instruction triggered by a user on the user terminal;
and the fourth sending module is configured to send operation information to the vehicle-mounted Bluetooth module according to the operation instruction.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
according to the vehicle control method and the vehicle control device, the user terminal directly obtains the vehicle identification code and the terminal identification code, so that the binding relationship between the user terminal and the vehicle-mounted terminal can be established without a platform of an automobile manufacturer, and the authentication of the Bluetooth key provided by the user terminal is realized; according to the vehicle identification code and the terminal identification code, the terminal Bluetooth module and the vehicle-mounted Bluetooth module are connected, control information is directly sent to the vehicle-mounted Bluetooth module through the terminal Bluetooth module, transfer through a platform is not needed, and therefore the response rate of the Bluetooth key can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a vehicle control method provided by an embodiment of the present application;
FIG. 2 is a flow chart illustrating another vehicle control method provided by an embodiment of the present application;
FIG. 3 is a flow chart illustrating another vehicle control method provided by an embodiment of the application;
fig. 4 is a schematic flowchart illustrating step S314 in fig. 3 according to an embodiment of the present application;
fig. 5 is a schematic flowchart illustrating another step S314 in fig. 3 according to an embodiment of the present application;
fig. 6 shows a schematic structural diagram of a vehicle control device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In order to make the technical solutions and advantages of the present application clearer, the vehicle control method and the like will be described in detail below with reference to the accompanying drawings.
The application provides a vehicle control method, and the implementation environment comprises a user terminal and a vehicle-mounted terminal. The user terminal is provided with a terminal Bluetooth module, and a user can trigger an operation instruction on the user terminal. The user terminal may be, for example, a smartphone, a computer, a multimedia player, an e-reader, a wearable device, or the like. The vehicle-mounted terminal is provided with a vehicle-mounted Bluetooth Module, and the vehicle-mounted Bluetooth Module can be in communication connection with a Body Control Module (BCM).
Fig. 1 is a flowchart illustrating a vehicle control method according to an exemplary embodiment, which may be applied to a user terminal having a terminal bluetooth module, as shown in fig. 1, the vehicle control method including:
s101, acquiring a vehicle identification code and a terminal identification code;
step S102, connecting a terminal Bluetooth module and a vehicle-mounted Bluetooth module corresponding to the vehicle identification code based on the vehicle identification code and the terminal identification code;
and step S103, sending control information to the vehicle-mounted Bluetooth module so that the vehicle can execute the function corresponding to the control information.
According to the vehicle control method and the vehicle control device, the user terminal directly obtains the vehicle identification code and the terminal identification code, so that the binding relationship between the user terminal and the vehicle-mounted terminal can be established without a platform of an automobile manufacturer, and the authentication of the Bluetooth key provided by the user terminal is realized; according to the vehicle identification code and the terminal identification code, the terminal Bluetooth module and the vehicle-mounted Bluetooth module are connected, control information is directly sent to the vehicle-mounted Bluetooth module through the terminal Bluetooth module, transfer through a platform is not needed, and therefore the response rate of the Bluetooth key can be improved.
Correspondingly, the embodiment of the application also provides a vehicle control method, which can be applied to a vehicle-mounted terminal with a vehicle-mounted Bluetooth module, and the vehicle control method comprises the following steps:
acquiring a vehicle identification code and a terminal identification code;
connecting the vehicle-mounted Bluetooth module and a terminal Bluetooth module corresponding to the terminal identification code based on the vehicle identification code and the terminal identification code;
and receiving the control information sent by the terminal Bluetooth module so that the vehicle executes the function corresponding to the control information.
Fig. 2 is a flowchart illustrating a vehicle control method, which may be applied to a user terminal, according to an exemplary embodiment, as shown in fig. 2, the vehicle control method including:
and step S201, acquiring a vehicle identification code and a terminal identification code.
In the embodiment of the application, an application program for realizing vehicle control can be downloaded in advance on the user terminal, and the functions of unlocking and locking, skylight control window control, tail gate control, engine starting and closing, air conditioner control and the like can be realized through the application program.
The user terminal may obtain a terminal identification code of the user terminal, where the terminal identification code may be an IMEI (International Mobile Equipment Identity) or a Mobile phone number. When the terminal identification code is the IMEI, the application program can be authorized on the user terminal, so that the application program can acquire the IMEI of the user terminal. When the terminal identification code is a mobile phone number, the user can register or log in the application program by using the mobile phone number, so that the application program can acquire the mobile phone number. The user inputs the Vehicle Identification Number (VIN) of the target Vehicle in the application program, so that the user terminal can establish a binding relationship between the terminal Identification Number and the Vehicle Identification Number, and realize the authentication of the bluetooth key provided by the user terminal.
Accordingly, the in-vehicle terminal also acquires the vehicle identification code and the terminal identification code. The user CAN input the terminal identification code of the user terminal in the HU (Head Unit) of the target vehicle, and the vehicle-mounted Bluetooth module CAN acquire the vehicle identification number and the terminal identification code of the target vehicle through the whole vehicle CAN network, so that the vehicle-mounted terminal CAN establish the binding relationship between the terminal identification code and the vehicle identification number.
Step S202, generating a first pairing secret key based on the vehicle identification code and the terminal identification code.
Optionally, before generating the first mating key, an authentication key is generated based on the vehicle identification code and the terminal identification code. In some embodiments of the present application, the vehicle identification code and the terminal identification code may be used as encryption factors, and the authentication key may be generated by a first encryption algorithm.
The first pairing key may be an encoded vehicle identification code, wherein the string at the fixed location is generated by a second encryption algorithm with the authentication key as an encryption factor. The second encryption algorithm may be the same as or different from the first encryption algorithm.
Correspondingly, the vehicle-mounted Bluetooth module of the vehicle-mounted terminal generates a second pairing key based on the vehicle identification code and the terminal identification code. Before the second pairing key, an authentication key is generated based on the vehicle identification code and the terminal identification code. The authentication keys generated in the user terminal and the in-vehicle terminal are the same.
Step S203, the first pairing secret key is sent to the vehicle-mounted Bluetooth module.
The user terminal initiatively initiates pairing and sends a pairing request to a nearby vehicle-mounted Bluetooth module, wherein the pairing request carries a first pairing secret key of the user terminal. Correspondingly, after receiving the pairing request sent by the user terminal, the vehicle-mounted Bluetooth module sends a second pairing key of the vehicle-mounted Bluetooth module to the terminal Bluetooth module as a response.
Step S204, receiving a second pairing secret key sent by the vehicle-mounted Bluetooth module.
The user terminal receives the second pairing secret key, and compares the second pairing secret key with the first pairing secret key to judge whether the first pairing secret key is matched with the second pairing secret key.
Step S205, when the first pairing key and the second pairing key are matched, connecting the terminal bluetooth module and the vehicle-mounted bluetooth module corresponding to the vehicle identification code.
Optionally, when the character strings at the fixed positions in the first pairing key and the second pairing key are the same, the first pairing key and the second pairing key are considered to be matched, and a connection relationship between the terminal bluetooth module corresponding to the terminal identification code and the vehicle-mounted bluetooth module corresponding to the vehicle identification code is established.
And step S206, receiving and storing the first session key sent by the vehicle-mounted Bluetooth module.
After the connection is successful, the vehicle-mounted Bluetooth module issues a first session key to the terminal Bluetooth module, and the first session key can be used for indicating an encryption mode of data transmission of the vehicle-mounted Bluetooth module.
Correspondingly, the user terminal may receive and store the first session key.
And step S207, sending the second session key to the vehicle-mounted Bluetooth module.
The user terminal can send a second session key to the vehicle-mounted Bluetooth module after receiving the first session key, and the second session key can be used for indicating an encryption mode of data transmission of the terminal Bluetooth module.
The first session key and the second session key are matched, that is, the vehicle-mounted bluetooth module and the terminal bluetooth module store the corresponding relationship between the first session key and the second session key, and at least in one data transmission process, the vehicle-mounted bluetooth module and the terminal bluetooth module use the corresponding first session key and the second session key to perform data transmission. The first session key and the second session key may be symmetric keys or asymmetric keys.
Different first and second session keys may be used during different data transmissions.
Optionally, after receiving the first session key, the terminal bluetooth module stores a correspondence between the first session key and the second session key, and activates all stored keys, including the authentication key, the first pairing key, the second pairing key, the first session key, and the second session key, so that the keys can be used in the terminal bluetooth module.
And step S208, sending control information to the vehicle-mounted Bluetooth module.
And after the terminal Bluetooth module and the vehicle-mounted Bluetooth module are successfully paired and the session key is negotiated, the user terminal and the vehicle-mounted terminal perform data interaction according to the first session key and the second session key. The user terminal sends control information through the terminal Bluetooth module, and the vehicle-mounted terminal receives the control information through the vehicle-mounted Bluetooth module and enables the vehicle to execute a function corresponding to the control information.
When the vehicle control is realized through the Bluetooth key, the vehicle can respond to an operation instruction triggered by a user so as to execute a corresponding function. The operation instruction triggered by the user can comprise two forms of triggering the operation instruction on the user terminal and triggering the operation instruction on the vehicle by the user. The control signal sent by the terminal Bluetooth module to the vehicle-mounted Bluetooth module can comprise position information and operation information.
Optionally, when the user triggers an operation instruction on the user terminal, sending control information to the vehicle-mounted bluetooth module, where the sending control information includes: receiving positioning information sent by a vehicle-mounted Bluetooth module; and responding the positioning information to send the position information to the vehicle-mounted Bluetooth module.
Optionally, when the user triggers an operation instruction on the vehicle, sending control information to the vehicle-mounted bluetooth module, including: receiving an operation instruction triggered by a user on a user terminal; and sending operation information to the vehicle-mounted Bluetooth module according to the operation instruction.
Fig. 3 is a flowchart illustrating another vehicle control method according to an exemplary embodiment, which may be applied to a control system including a user terminal and a vehicle-mounted terminal. It should be noted that, in this embodiment of the application, communication between the user terminal and the vehicle-mounted terminal is implemented through the terminal bluetooth module and the vehicle-mounted bluetooth module, so as to send (or receive) information between the user terminal and the vehicle-mounted terminal, which may also be considered as sending (or receiving) information between the terminal bluetooth module and the vehicle-mounted bluetooth module. As shown in fig. 3, the vehicle control method includes:
step S301, the user terminal acquires the vehicle identification code and the terminal identification code.
In the embodiment of the application, an application program for realizing vehicle control can be downloaded in advance on the user terminal, and the functions of unlocking and locking, skylight control window control, tail gate control, engine starting and closing, air conditioner control and the like can be realized through the application program.
The user terminal can obtain its own terminal identification code, which can be IMEI or mobile phone number. When the terminal identification code is the IMEI, the application program can be authorized on the user terminal, so that the application program can acquire the IMEI of the user terminal. When the terminal identification code is a mobile phone number, the user can register or log in the application program by using the mobile phone number, so that the application program can acquire the mobile phone number. The user inputs the vehicle identification number of the target vehicle in the application program, so that the user terminal can establish the binding relationship between the terminal identification number and the vehicle identification number, and the authentication of the Bluetooth key provided by the user terminal is realized.
And step S302, the vehicle-mounted terminal acquires the vehicle identification code and the terminal identification code.
The user CAN input user terminal's terminal identification code in target vehicle's HU, and vehicle-mounted bluetooth module CAN acquire target vehicle's vehicle identification number and terminal identification code through whole car CAN network to vehicle-mounted terminal CAN establish and the binding relation between terminal identification code and the vehicle identification number.
It should be noted that, before the user terminal executes the vehicle control method provided by the present application, the terminal bluetooth module needs to be turned on in advance. Correspondingly, before the vehicle-mounted terminal executes the vehicle control method provided by the application, the vehicle-mounted Bluetooth module needs to be opened in advance.
Step S303, the user terminal and the vehicle-mounted terminal respectively generate an authentication key based on the vehicle identification code and the terminal identification code.
In some embodiments of the present application, the vehicle identification code and the terminal identification code may be used as encryption factors, and the authentication key may be generated through a first encryption algorithm. The authentication keys generated in the user terminal and the in-vehicle terminal are the same.
Step S304, the user terminal generates a first pairing secret key based on the authentication secret key.
The first pairing key may be an encoded vehicle identification code, wherein the character string at the fixed location is generated by a second encryption algorithm with the authentication key as an encryption factor. The second encryption algorithm may be the same as or different from the first encryption algorithm.
For example, the first pairing key may be a 16-bit string, wherein the last 8 bits are a string generated by a second encryption algorithm using the authentication key as an encryption factor. The first 8 bits may be randomly generated or randomly selected from the vehicle identification code of the target vehicle.
Step S305, the vehicle-mounted terminal generates a second pairing secret key based on the authentication secret key.
The second pairing key may be an encoded vehicle identification code, wherein the character string at the fixed location is generated by a second encryption algorithm with the authentication key as an encryption factor, and the second encryption algorithm may be the same as or different from the first encryption algorithm. The first and second pairwise keys are generated in the same manner as a character string at a fixed position.
For example, the second pairing key may be a 16-bit string, wherein the last 8 bits are a string generated by a second encryption algorithm with the authentication key as an encryption factor. The first 8 bits may be randomly generated or randomly selected from the vehicle identification code of the target vehicle. The first 8 character strings in the first key pair and the second key pair may be different.
Step S306, the user terminal sends the first pairing secret key to the vehicle-mounted terminal.
The user terminal initiatively initiates pairing and sends a pairing request to a nearby vehicle-mounted Bluetooth module, wherein the pairing request carries a first pairing secret key of the user terminal.
Step S307, the vehicle-mounted terminal sends the second pairing secret key to the user terminal.
And after receiving the pairing request sent by the user terminal, the vehicle-mounted Bluetooth module replies a second pairing secret key of the vehicle-mounted Bluetooth module.
Step S308, the user terminal receives the second pairing secret key sent by the vehicle-mounted terminal.
The user terminal receives the second pairing secret key, and compares the second pairing secret key with the first pairing secret key to judge whether the first pairing secret key is matched with the second pairing secret key.
Step S309, when the first pairing key is matched with the second pairing key, the user terminal is connected with the terminal Bluetooth module and the vehicle-mounted Bluetooth module corresponding to the vehicle identification code.
Optionally, when the character strings at the fixed positions in the first pairing key and the second pairing key are the same, the first pairing key and the second pairing key are considered to be matched, and the user terminal establishes a connection relationship between the terminal bluetooth module corresponding to the terminal identification code and the vehicle-mounted bluetooth module corresponding to the vehicle identification code.
For example, the application of the user terminal may determine a second pairing key that is identical to the 8 th bit of the terminal identification code of the application, and automatically connect to the vehicle bluetooth module that sends the second pairing key. After successful connection, a prompt message can be displayed on the user terminal for indicating that the connection between the terminal Bluetooth module and the vehicle-mounted Bluetooth module is successful. The prompt message may include information such as a terminal identification code of the target vehicle (i.e., the vehicle that established the connection).
Step S310, the vehicle-mounted terminal sends the first session key to the user terminal.
After the connection is successful, the vehicle-mounted terminal can send a first session key to the user terminal through the vehicle-mounted Bluetooth module, and the first session key can be used for indicating an encryption mode of data transmission of the vehicle-mounted Bluetooth module.
In step S311, the ue receives and stores the first session key.
And the user terminal receives the first session key sent by the vehicle-mounted Bluetooth module through the terminal Bluetooth module and stores the first session key.
Step S312, the user terminal sends the second session key to the vehicle-mounted terminal.
The user terminal can send a second session key to the vehicle-mounted terminal after receiving the first session key, and the second session key can be used for indicating an encryption mode of data transmission of the terminal Bluetooth module.
The first session key is matched with the second session key, which means that the vehicle-mounted Bluetooth module and the terminal Bluetooth module store the corresponding relationship between the first session key and the second session key, and at least in one data transmission process, the vehicle-mounted Bluetooth module and the terminal Bluetooth module use the corresponding first session key and the second session key to perform data transmission. The first session key and the second session key may be symmetric keys or asymmetric keys.
Different first and second session keys may be used during different data transmissions.
Optionally, after receiving the first session key, the terminal bluetooth module stores a correspondence between the first session key and the second session key, and activates all stored keys, including the authentication key, the first pairing key, the second pairing key, the first session key, and the second session key, so that the keys can be used in the terminal bluetooth module.
In step S313, the in-vehicle terminal receives the second session key.
Optionally, after receiving the second session key, the vehicle-mounted bluetooth module stores a correspondence between the first session key and the second session key, and activates all stored keys, including the authentication key, the first pairing key, the second pairing key, the first session key, and the second session key, so that the keys can be used in the vehicle-mounted bluetooth module.
And step S314, the user terminal sends the control information to the vehicle-mounted terminal so that the vehicle can execute the function corresponding to the control information.
And after the terminal Bluetooth module and the vehicle-mounted Bluetooth module are successfully paired and the session key is negotiated, the user terminal and the vehicle-mounted terminal perform data interaction according to the first session key and the second session key. The user terminal sends control information through the terminal Bluetooth module, and the vehicle-mounted terminal receives the control information through the vehicle-mounted Bluetooth module and enables the vehicle to execute a function corresponding to the control information.
Fig. 4 is a flowchart illustrating a method for a user terminal to send control information to a vehicle-mounted terminal according to an exemplary embodiment, where the method may be applied to a control system including the user terminal and the vehicle-mounted terminal, and as shown in fig. 4, the step S314 may further include:
step S401, the vehicle-mounted terminal receives an operation instruction triggered by a user on the vehicle.
When the vehicle control is realized through the Bluetooth key, the vehicle can respond to an operation instruction triggered by a user so as to execute a corresponding function. The user-triggered operation instruction can comprise two forms of a user-triggered operation instruction on a user terminal and a vehicle-triggered operation instruction.
When a user triggers an operation instruction on the vehicle, a PEPS (Passive Entry Passive Start) system may be installed on the vehicle. The unlatch operation command may be triggered when a user presses a request switch on the door handle or touches a sensing area on the door handle. Or when a user presses an ignition switch on a vehicle console or touches an ignition switch induction area, an ignition starting operation instruction can be triggered.
And step S402, the vehicle-mounted terminal sends positioning information to the user terminal according to the operation instruction.
And after receiving the unlocking operation instruction or the ignition starting operation instruction, the PEPS system sends an inquiry message to the vehicle-mounted Bluetooth module to inquire the position of the Bluetooth key. After receiving the inquiry message, the vehicle-mounted Bluetooth module can send positioning information to the user terminal so as to request the position of the Bluetooth key. And the user terminal receives the positioning information through the terminal Bluetooth module.
In other embodiments of the present application, the terminal bluetooth module may periodically send its own location information to the vehicle bluetooth module, and the vehicle bluetooth module continuously stores and updates the received location information. After the vehicle-mounted Bluetooth module receives the inquiry message sent by the PEPS system, the latest position information can be directly sent to the PEPS system.
And S403, the user terminal responds to the positioning information and sends position information to the vehicle-mounted terminal.
After receiving the positioning information through the terminal Bluetooth module, the user terminal can send own position information to the vehicle-mounted terminal as a response.
The location information may be information directly indicating the location of the vehicle-mounted bluetooth module itself, or may be response information with a small data size, such as a first pairing key. The vehicle-mounted Bluetooth module determines the relative distance between the terminal Bluetooth module and the vehicle-mounted Bluetooth module according to the signal intensity of the received response information, so that the position information of the vehicle-mounted Bluetooth module is indirectly obtained.
And S404, the vehicle-mounted terminal receives the position information so as to enable the PEPS system to execute corresponding functions.
After the vehicle-mounted terminal receives the position information sent by the terminal Bluetooth module through the vehicle-mounted Bluetooth module, the vehicle-mounted Bluetooth module sends the positioning information to the PEPS system. And the PEPS system judges whether the terminal Bluetooth module is positioned in the effective area corresponding to the operation instruction or not according to the position information. Exemplarily, when the operation instruction is an unlocking operation instruction, the PEPS system determines whether the terminal bluetooth module is located in an effective area of a PE (Passive Entry); when the operation instruction is an ignition Start operation instruction, the PEPS system determines whether the terminal bluetooth module is located in an effective area of a PS (Passive Start).
And when the terminal Bluetooth module is positioned in the effective area corresponding to the operation instruction, the PEPS system controls the vehicle to execute the function corresponding to the operation instruction. When the terminal Bluetooth module is located in the effective area of the PE, the vehicle executes the unlocking and locking functions; when the terminal bluetooth module is located in the active area of the PS, the vehicle performs an ignition start function. When the terminal bluetooth module exceeds the effective area corresponding to the operation instruction, the vehicle executes an error reporting function, for example, a prompt message may be displayed on the HU to indicate that the bluetooth key provided by the user terminal is not in the effective area. The prompt may also display the location of the bluetooth key.
Fig. 5 is a flowchart illustrating another user terminal sending control information to a vehicle-mounted terminal according to an exemplary embodiment, where the method may be applied to a control system including the user terminal and the vehicle-mounted terminal, and as shown in fig. 5, the step S314 may further include:
step S501, the user terminal receives an operation instruction triggered by the user on the user terminal.
When a user triggers an operation instruction on the user terminal, the operation instruction can be triggered through operation on an application program, for example, the operation instruction such as unlocking, skylight control window control, tail gate control, engine starting and closing, air conditioner control and the like can be triggered by clicking a corresponding key.
And step S502, the user terminal sends operation information to the vehicle-mounted terminal according to the operation instruction.
After receiving an operation instruction triggered by a user, the user terminal sends operation information to the vehicle-mounted terminal through the terminal Bluetooth module, wherein the operation information can carry a first pairing secret key of the user terminal and instruction information corresponding to the operation instruction.
And step S503, the vehicle-mounted terminal receives the operation information so as to enable the PEPS system to execute corresponding functions.
After receiving the operation information through the vehicle-mounted bluetooth Module, the vehicle-mounted terminal CAN convert the operation information into a CAN message, and send the CAN message to a corresponding control system, such as a BCM (BCM), a CLM (client Module, air conditioner control Module), a PEPS system, a PLG (Power Lift Gate, back door open) system, and the like, through a vehicle-mounted CAN network. After receiving the CAN message, the control system CAN control each actuator of the vehicle to execute the corresponding function and return status information to the vehicle-mounted Bluetooth module, wherein the status information CAN be used for indicating that the function corresponding to the operation information is successfully executed.
The vehicle-mounted Bluetooth module sends the received state information to the vehicle-mounted terminal, and the user terminal can update the vehicle state displayed in the application program according to the state information after receiving the state information through the terminal Bluetooth module.
In the vehicle control method provided by the embodiment of the present application, the in-vehicle terminal may communicate with a plurality of user terminals. That is, the vehicle-mounted bluetooth module can be connected with a plurality of terminal bluetooth modules, and the first pairing key of each terminal bluetooth module is different. That is, the first pairing key may be an ID as a terminal bluetooth module. In other embodiments of the present application, the authentication key may also be used as the ID of each terminal bluetooth module.
After the vehicle-mounted Bluetooth module is connected with the plurality of terminal Bluetooth modules, priorities can be set for the user terminals corresponding to the plurality of terminal Bluetooth modules. For example, the user may set a priority for the user terminal corresponding to each terminal bluetooth module in the setting interface of the HU. After receiving the operation information from the plurality of user terminals, the vehicle-mounted bluetooth module may determine the priority of the user terminal corresponding to the operation information according to the first pairing key carried in the operation information. And determining the execution sequence of the plurality of operation information according to the priority of the user terminal. The operation information transmitted by the user terminal with higher priority may be executed first.
By setting the priority for the plurality of user terminals, the response rate of the Bluetooth key provided by the user terminal can be improved when the vehicle-mounted terminal receives a large amount of operation information or when the operation information is contradictory.
Fig. 6 is a schematic structural diagram illustrating a vehicle control apparatus 600 according to an exemplary embodiment, the apparatus is applied to a user terminal having a terminal bluetooth module as shown in fig. 6, and the vehicle control apparatus 600 may include:
an obtaining module 601 configured to obtain a vehicle identification code and a terminal identification code;
the connection module 602 is configured to connect the terminal bluetooth module and the vehicle-mounted bluetooth module corresponding to the vehicle identification code based on the vehicle identification code and the terminal identification code;
and a control module 603 configured to send control information to the vehicle-mounted bluetooth module so that the vehicle executes a function corresponding to the control information.
Optionally, the connection module comprises:
a first generation module configured to generate a first pairing key based on the vehicle identification code and the terminal identification code;
the first sending module is configured to send the first pairing secret key to the vehicle-mounted Bluetooth module;
the first receiving module is configured to receive the second pairing secret key sent by the vehicle-mounted Bluetooth module;
and the connection sub-module is configured to connect the terminal Bluetooth module and the vehicle-mounted Bluetooth module corresponding to the vehicle identification code when the first pairing key is matched with the second pairing key.
Optionally, the apparatus further comprises:
the second receiving module is configured to receive and store the first session key sent by the vehicle-mounted Bluetooth module;
and the second sending module is configured to send a second session key to the vehicle-mounted Bluetooth module, wherein the first session key is matched with the second session key.
Optionally, the control module comprises:
the third receiving module is configured to receive the positioning information sent by the vehicle-mounted Bluetooth module;
and the third sending module is configured to respond to the positioning information and send the position information to the vehicle-mounted Bluetooth module.
Optionally, the control module comprises:
the fourth receiving module is configured to receive an operation instruction triggered by a user on the user terminal;
and the fourth sending module is configured to send the operation information to the vehicle-mounted Bluetooth module according to the operation instruction.
In this application, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "plurality" means two or more unless expressly limited otherwise.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only.
It will be understood that the present application is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (6)

1. A vehicle control method is applied to a user terminal with a terminal Bluetooth module, and comprises the following steps:
acquiring a vehicle identification code and a terminal identification code;
generating a first pairing key based on the vehicle identification code and the terminal identification code;
sending the first pairing secret key to a vehicle-mounted Bluetooth module through a first pairing request;
receiving a second pairing secret key sent by the vehicle-mounted Bluetooth module in response to the first pairing request;
when the first pairing secret key is matched with the second pairing secret key, connecting a terminal Bluetooth module corresponding to the terminal identification code and a vehicle-mounted Bluetooth module corresponding to the vehicle identification code;
sending control information to the vehicle-mounted Bluetooth module so that the vehicle can execute a function corresponding to the control information;
wherein the sending of the control information to the vehicle-mounted bluetooth module to enable the vehicle to execute the function corresponding to the control information includes:
receiving positioning information sent by the vehicle-mounted Bluetooth module, wherein the positioning information is generated according to a first operation instruction triggered by a user on a vehicle; and responding to the positioning information to send position information to the vehicle-mounted Bluetooth module, so that the vehicle executes a function corresponding to the first operation instruction when the position information is located in an effective area corresponding to the first operation instruction.
2. The method of claim 1, wherein before sending the control signal to the onboard Bluetooth module, the method further comprises:
receiving and storing a first session key sent by the vehicle-mounted Bluetooth module;
and sending a second session key to the vehicle-mounted Bluetooth module, wherein the first session key is matched with the second session key.
3. The method of claim 1, wherein the sending control information to the onboard Bluetooth module to enable the vehicle to execute a function corresponding to the control information further comprises:
receiving a second operation instruction triggered by the user on the user terminal;
and sending operation information to the vehicle-mounted Bluetooth module according to the second operation instruction so as to enable the vehicle to execute a function corresponding to the second operation instruction.
4. A vehicle control device is applied to a user terminal with a terminal Bluetooth module, and the device comprises:
an acquisition module configured to acquire a vehicle identification code and a terminal identification code;
a first generation module configured to generate a first pairing key based on the vehicle identification code and the terminal identification code;
the first sending module is configured to send the first pairing secret key to the vehicle-mounted Bluetooth module through a first pairing request;
a first receiving module configured to receive a second pairing key sent by the vehicle-mounted Bluetooth module in response to the first pairing request;
the connection sub-module is configured to connect a terminal Bluetooth module corresponding to the terminal identification code and a vehicle-mounted Bluetooth module corresponding to the vehicle identification code when the first pairing key and the second pairing key are matched;
the control module is configured to send control information to the vehicle-mounted Bluetooth module so as to enable the vehicle to execute a function corresponding to the control information;
wherein the control module comprises:
the third receiving module is configured to receive positioning information sent by the vehicle-mounted Bluetooth module, and the positioning information is generated according to a first operation instruction triggered by a user on a vehicle;
the third sending module is configured to send position information to the vehicle-mounted Bluetooth module in response to the positioning information, so that the vehicle executes a function corresponding to the first operation instruction when the position information is located in an effective area corresponding to the first operation instruction.
5. The apparatus of claim 4, further comprising:
the second receiving module is configured to receive and store the first session key sent by the vehicle-mounted Bluetooth module;
the second sending module is configured to send a second session key to the onboard Bluetooth module, and the first session key is matched with the second session key.
6. The apparatus of claim 4, wherein the control module further comprises:
a fourth receiving module, configured to receive a second operation instruction triggered by the user on the user terminal;
and the fourth sending module is configured to send operation information to the vehicle-mounted Bluetooth module according to the second operation instruction so as to enable the vehicle to execute a function corresponding to the second operation instruction.
CN202011096184.8A 2020-10-14 2020-10-14 Vehicle control method and device Active CN112261612B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011096184.8A CN112261612B (en) 2020-10-14 2020-10-14 Vehicle control method and device
PCT/CN2021/120732 WO2022078193A1 (en) 2020-10-14 2021-09-26 Vehicle control method and apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011096184.8A CN112261612B (en) 2020-10-14 2020-10-14 Vehicle control method and device

Publications (2)

Publication Number Publication Date
CN112261612A CN112261612A (en) 2021-01-22
CN112261612B true CN112261612B (en) 2022-07-12

Family

ID=74243579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011096184.8A Active CN112261612B (en) 2020-10-14 2020-10-14 Vehicle control method and device

Country Status (2)

Country Link
CN (1) CN112261612B (en)
WO (1) WO2022078193A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261612B (en) * 2020-10-14 2022-07-12 奇瑞汽车股份有限公司 Vehicle control method and device
CN112986699A (en) * 2021-03-29 2021-06-18 一汽奔腾轿车有限公司 Automobile Bluetooth key electromagnetic compatibility test system and control method thereof
CN113993135A (en) * 2021-10-20 2022-01-28 南京铭泫科技信息有限公司 Network security communication equipment based on Internet of things security and system thereof
CN115250435B (en) * 2022-07-27 2024-05-14 浙江极氪智能科技有限公司 Vehicle-mounted wireless control system, method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835279A (en) * 2009-12-29 2010-09-15 闻泰集团有限公司 Method for simplifying mobile terminal connecting bluetooth equipment
CN102780513A (en) * 2011-05-13 2012-11-14 希姆通信息技术(上海)有限公司 Mobile terminal and method for realizing Bluetooth communication between mobile terminals
CN104378145A (en) * 2014-11-27 2015-02-25 北京深思数盾科技有限公司 Pairing method and system of Bluetooth device
CN104637125A (en) * 2013-11-11 2015-05-20 比亚迪股份有限公司 System and method for controlling vehicle through mobile terminal
CN108418845A (en) * 2018-07-13 2018-08-17 上海银基信息安全技术股份有限公司 Bluetooth pairing code matches Preparation Method, system, terminal, server and mobile unit

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808276A (en) * 2010-03-19 2010-08-18 王从敏 Vehicle communication terminal and vehicle communication system
FR3015820B1 (en) * 2013-12-20 2017-06-09 Valeo Securite Habitacle MOBILE TELEPHONE FIT TO AUTOMATICALLY APPARE WITH A MOTOR VEHICLE AND AUTOMATIC PAIRING METHOD
WO2016026106A1 (en) * 2014-08-20 2016-02-25 华为技术有限公司 Data processing method and terminal device
CN105430605B (en) * 2015-12-10 2018-09-25 飞天诚信科技股份有限公司 A kind of method that bluetooth master-slave equipment and the two establish escape way
CN105459956A (en) * 2015-12-24 2016-04-06 北京新能源汽车股份有限公司 Vehicle door unlocking control device and method and vehicle
CN109484351B (en) * 2018-11-16 2021-02-19 北京车和家信息技术有限公司 Vehicle control method, device, vehicle and computer readable storage medium
CN112261612B (en) * 2020-10-14 2022-07-12 奇瑞汽车股份有限公司 Vehicle control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835279A (en) * 2009-12-29 2010-09-15 闻泰集团有限公司 Method for simplifying mobile terminal connecting bluetooth equipment
CN102780513A (en) * 2011-05-13 2012-11-14 希姆通信息技术(上海)有限公司 Mobile terminal and method for realizing Bluetooth communication between mobile terminals
CN104637125A (en) * 2013-11-11 2015-05-20 比亚迪股份有限公司 System and method for controlling vehicle through mobile terminal
CN104378145A (en) * 2014-11-27 2015-02-25 北京深思数盾科技有限公司 Pairing method and system of Bluetooth device
CN108418845A (en) * 2018-07-13 2018-08-17 上海银基信息安全技术股份有限公司 Bluetooth pairing code matches Preparation Method, system, terminal, server and mobile unit

Also Published As

Publication number Publication date
WO2022078193A1 (en) 2022-04-21
CN112261612A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN112261612B (en) Vehicle control method and device
CN110798795B (en) Virtual key vehicle control system, method and device based on Bluetooth and computer equipment
CN107085870B (en) Regulating vehicle access using encryption methods
US10249123B2 (en) Systems and methods for mobile phone key fob management
US10384644B2 (en) Virtual keyfob for vehicle sharing
CN105376293B (en) Method and system for remote vehicle access enabled key fob base station
US10377346B2 (en) Anticipatory vehicle state management
JP5999108B2 (en) Vehicle remote operation information providing device, in-vehicle remote operation information acquisition device, and vehicle remote operation system including these devices
US20160150407A1 (en) Method And System For Connecting A Mobile Communication Device To An Automobile
JP5803724B2 (en) Authentication system and authentication device
US9984561B1 (en) Method and system for remote modification of information for an appliance activation transmission
CN109649332B (en) Vehicle sharing system
US20080066186A1 (en) Method and Service Control Center for Updating Authorization Data in an Access Arrangement
CN106686022A (en) Control method and device for vehicle
CN109649330B (en) Vehicle sharing system
CN111033503A (en) Vehicle security system and vehicle security method
CN106154997B (en) Vehicle-mounted control device, terminal device, and vehicle control program updating method and system
CN109041263B (en) TBox Bluetooth connection method and device
US20180368030A1 (en) Wireless device connection management
CN108737090B (en) Method and apparatus for dynamic vehicle key generation and processing
CN107094169B (en) Apparatus and method for enhancing telematics security through a supplemental channel
KR101392571B1 (en) Near Field Communication Interface Control
CN113039747B (en) Authentication system and authentication method
CN104200624A (en) Car door remote control device based on internet of vehicles
CN111071204A (en) Mobile body control system, mobile body control device, and mobile body control method

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