CN113259857A - Communication connection method and device for vehicle, electronic equipment and storage medium - Google Patents

Communication connection method and device for vehicle, electronic equipment and storage medium Download PDF

Info

Publication number
CN113259857A
CN113259857A CN202011183209.8A CN202011183209A CN113259857A CN 113259857 A CN113259857 A CN 113259857A CN 202011183209 A CN202011183209 A CN 202011183209A CN 113259857 A CN113259857 A CN 113259857A
Authority
CN
China
Prior art keywords
vehicle
terminal
wireless communication
communication connection
wake
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.)
Pending
Application number
CN202011183209.8A
Other languages
Chinese (zh)
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.)
Ninebot Beijing Technology Co Ltd
Original Assignee
Ninebot Beijing Technology 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 Ninebot Beijing Technology Co Ltd filed Critical Ninebot Beijing Technology Co Ltd
Priority to CN202011183209.8A priority Critical patent/CN113259857A/en
Publication of CN113259857A publication Critical patent/CN113259857A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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/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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication connection method and device of a vehicle, electronic equipment and a storage medium, wherein the method is applied to the vehicle and comprises the following steps: determining whether a first wireless communication connection with a terminal is disconnected; wherein the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle; transmitting a second wake-up signal in case it is determined that the first wireless communication with the terminal is disconnected; the second wake-up signal is used for triggering the terminal to establish a second wireless communication connection with the vehicle.

Description

Communication connection method and device for vehicle, electronic equipment and storage medium
Technical Field
The present application relates to the field of vehicle technologies, and in particular, to a communication connection method and apparatus for a vehicle, an electronic device, and a storage medium.
Background
When a mobile phone is used as a key of a vehicle to control the vehicle, a communication connection is usually required to be established between the mobile phone and the vehicle, so that the mobile phone and the vehicle can perform information interaction through the communication connection between the mobile phone and the vehicle, and the control of the mobile phone on the vehicle is realized. However, in practical applications, communication connection between the mobile phone and the vehicle is usually disconnected due to some abnormal conditions, and in such a case, since the mobile phone cannot perform information interaction based on the communication connection with the vehicle any more, a user cannot continue to control the vehicle by using the mobile phone, which reduces user experience.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present application provide a communication connection method and apparatus for a vehicle, an electronic device, and a storage medium.
The embodiment of the application provides a communication connection method of a vehicle, which is applied to the vehicle and comprises the following steps:
determining whether a first wireless communication connection with a terminal is disconnected; wherein the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
transmitting a second wake-up signal in case it is determined that the first wireless communication with the terminal is disconnected; the second wake-up signal is used for triggering the terminal to establish a second wireless communication connection with the vehicle.
In an optional implementation manner of this application, the determining whether the first wireless communication connection with the terminal is disconnected includes:
determining electronic equipment which establishes wireless communication connection with the vehicle within a target range, and if the electronic equipment does not comprise a terminal, determining that the first wireless communication connection with the terminal is disconnected; alternatively, the first and second electrodes may be,
determining whether a set time length after the first physical operation of the user is acquired receives a control instruction sent by a terminal and used for controlling the state of a target controllable component of the vehicle; and if the control instruction is not received within the set time length after the first physical operation of the user is obtained, determining that the first wireless communication connection with the terminal is disconnected.
In an optional implementation manner of this application, before the first wireless communication connection is established between the vehicle and the terminal, the method further includes:
establishing a third wireless communication connection with the terminal;
performing a first authentication operation with the terminal based on a third wireless communication connection with the terminal;
after the vehicle completes the first authentication operation with the terminal, the terminal can record the wireless communication address and the identification information of the vehicle based on a third wireless communication connection with the vehicle; the wireless communication address is used for the terminal to establish wireless communication connection with the vehicle based on the wireless communication address; the identification information is used for the terminal to establish wireless communication connection with the terminal based on the identification information carried in the first wake-up signal or the second wake-up signal.
In an optional embodiment of the present application, the performing a first authentication operation with the terminal based on a third wireless communication connection with the terminal includes:
performing a first authentication operation with the terminal based on the first key information and a second physical operation of the user in a case where a third wireless communication connection is established with the terminal; the first key information is input by a user at the vehicle side, or the first key information is sent to the vehicle by the terminal after being input by the user at the terminal side; after the first authentication operation is completed, the first key information is recorded on the terminal side and the vehicle side.
In an optional implementation manner of this application, after the second wireless communication connection is established between the vehicle and the terminal, the method further includes:
and performing a second authentication operation with the terminal based on the first key information.
In an optional implementation manner of this application, after performing the second authentication operation with the terminal based on the first key information, the method further includes:
transmitting a notification signal to the terminal based on a third physical operation of a user, wherein the notification signal is used for triggering the terminal to transmit a state control instruction for controlling a target controllable component of the vehicle to the vehicle based on a second wireless communication connection with the vehicle under the condition that the terminal determines that the distance between the terminal and the vehicle is smaller than or equal to a distance threshold value;
and receiving the control instruction, and controlling the state of the target controllable component based on the control instruction.
In an optional embodiment of the present application, the control instruction carries second key information, where the second key information is key information associated with the vehicle;
the controlling the state of the target controllable component based on the control instruction includes:
and decrypting the control instruction based on the second key information, and controlling the state of the target controllable component based on a decryption result.
The embodiment of the application also provides a communication connection method of a vehicle, which is applied to a terminal and comprises the following steps:
receiving a second wake-up signal sent by the vehicle; wherein the second wake-up signal is transmitted by the vehicle upon determining that the first wireless communication connection with the terminal is broken; the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
and responding to the second wake-up signal, and establishing a second wireless communication connection with the vehicle.
The embodiment of the application also provides a communication connection device of a vehicle, the device is applied to the vehicle, the device includes:
a determination unit configured to determine whether a first wireless communication connection with a terminal is disconnected; wherein the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
a first sending unit, configured to send a second wake-up signal when it is determined that the first wireless communication with the terminal is disconnected; the second wake-up signal is used for triggering the terminal to establish a second wireless communication connection with the vehicle.
In an optional embodiment of the present application, the determining unit is specifically configured to: determining electronic equipment which establishes wireless communication connection with the vehicle within a target range, and if the electronic equipment does not comprise a terminal, determining that the first wireless communication connection with the terminal is disconnected; or determining whether a set time length after the first physical operation of the user is acquired receives a control instruction which is sent by a terminal and used for controlling the state of a target controllable component of the vehicle; and if the control instruction is not received within the set time length after the first physical operation of the user is obtained, determining that the first wireless communication connection with the terminal is disconnected.
In an optional implementation manner of this application, before the first wireless communication connection is established between the vehicle and the terminal, the apparatus further includes:
the connection unit is used for establishing a third wireless communication connection with the terminal;
a first authentication unit configured to perform a first authentication operation with the terminal based on a third wireless communication connection with the terminal;
after the vehicle completes the first authentication operation with the terminal, the terminal can record the wireless communication address and the identification information of the vehicle based on a third wireless communication connection with the vehicle; the wireless communication address is used for the terminal to establish wireless communication connection with the vehicle based on the wireless communication address; the identification information is used for the terminal to establish wireless communication connection with the terminal based on the identification information carried in the first wake-up signal or the second wake-up signal.
In an optional embodiment of the present application, the first authentication unit is specifically configured to: performing a first authentication operation with the terminal based on the first key information and a second physical operation of the user in a case where a third wireless communication connection is established with the terminal; the first key information is input by a user at the vehicle side, or the first key information is sent to the vehicle by the terminal after being input by the user at the terminal side; after the first authentication operation is completed, the first key information is recorded on the terminal side and the vehicle side.
In an optional implementation manner of this application, after the second wireless communication connection is established between the vehicle and the terminal, the apparatus further includes:
a second authentication unit for performing a second authentication operation with the terminal based on the first key information.
In an optional implementation manner of this application, after performing a second authentication operation with the terminal based on the first key information, the apparatus further includes:
a second sending unit, configured to send, to the terminal, a notification signal based on a third physical operation by a user, where the notification signal is used to trigger the terminal to send, to the vehicle, a state control instruction for controlling a target controllable component of the vehicle based on a second wireless communication connection with the vehicle when it is determined that a distance between the terminal and the vehicle is equal to or less than a distance threshold;
and the receiving unit is used for receiving the control instruction and controlling the state of the target controllable component based on the control instruction.
In an optional embodiment of the present application, the control instruction carries second key information, where the second key information is key information associated with the vehicle; the receiving unit is specifically configured to: and decrypting the control instruction based on the second key information, and controlling the state of the target controllable component based on a decryption result.
The embodiment of the present application further provides a communication connection device for a vehicle, where the device is applied to a terminal, and the device includes:
the first receiving unit is used for receiving a second wake-up signal sent by the vehicle; wherein the second wake-up signal is transmitted by the vehicle upon determining that the first wireless communication connection with the terminal is broken; the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
and the response unit is used for responding to the second wake-up signal and establishing second wireless communication connection with the vehicle.
An embodiment of the present application further provides an electronic device, including: the communication connection method of the vehicle comprises a processor and a memory, wherein the memory is used for storing a computer program, and the processor is used for calling and running the computer program stored in the memory and executing the communication connection method of the vehicle according to the embodiment.
The embodiment of the present application further provides a computer-readable storage medium for storing a computer program, where the computer program enables a computer to execute the communication connection method of the vehicle according to the above embodiment.
According to the technical scheme of the embodiment of the application, whether the first wireless communication connection with the terminal is disconnected or not is determined by the vehicle; wherein the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle; transmitting a second wake-up signal in case it is determined that the first wireless communication with the terminal is disconnected; the second wake-up signal is used for triggering the terminal to establish a second wireless communication connection with the vehicle. In this way, when the communication connection between the terminal and the vehicle is disconnected due to some abnormal conditions, the vehicle sends the wake-up signal to the terminal again, so that the terminal establishes wireless communication connection with the vehicle again, and the mobile phone controls the vehicle based on the wireless communication connection established again.
Drawings
Fig. 1 is a first flowchart illustrating a communication connection method for a vehicle according to an embodiment of the present disclosure;
fig. 2 is a second flowchart illustrating a communication connection method for a vehicle according to an embodiment of the present disclosure;
FIG. 3 is a first schematic structural diagram of a communication connection device of a vehicle according to an embodiment of the present disclosure;
fig. 4 is a structural schematic diagram of a vehicle communication connection device according to an embodiment of the present application.
Detailed Description
So that the manner in which the features and aspects of the present application can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
In the embodiment of the application, the terminal can be various types of electronic equipment such as a mobile phone, a tablet personal computer and an intelligent wearable device, and the vehicle can be various types of vehicles such as an automobile, an electric scooter, an electric bicycle, an electric motorcycle and a balance car.
Fig. 1 is a first flowchart illustrating a communication connection method for a vehicle according to an embodiment of the present application, where the method is applied to a vehicle, and as shown in fig. 1, the method includes the following steps:
step 101: determining whether a first wireless communication connection with a terminal is disconnected; wherein the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal transmitted by the vehicle.
In the embodiment of the application, in an implementation mode, the vehicle side is configured with an iBeacon communication module, iBeacon is an accurate little location technology based on bluetooth low energy, iBeacon communication module can outwards broadcast beacon (beacon) signal, wherein, general Unique Identifier (UUID, universal Unique Identifier) information in the beacon signal is generated based on the identification information of vehicle, this identification information can be the serial number of vehicle, the uniqueness of beacon signal that the vehicle broadcast can be guaranteed to the identification information generation beacon signal of utilization vehicle.
Except the iBeacon communication module, the vehicle side still disposes wireless communication module, and simultaneously, the terminal side also disposes wireless communication module, and the wireless communication module of vehicle side and terminal side all can be bluetooth module, and based on terminal side's bluetooth module and the bluetooth module's of vehicle side connection, can realize the information interaction between terminal and the vehicle, reach and utilize the terminal to control the purpose (for example carrying out the unblock to the vehicle) to the controllable part of target of vehicle.
In the embodiment of the application, the terminal is provided with an application program for establishing wireless communication connection between the terminal and the vehicle and controlling the vehicle by using the terminal. Under the condition that the terminal is located in the target area range of the vehicle, the geo-fence function of the iBeacon communication module configured on the vehicle side awakens the application program in the terminal, namely after the terminal enters the target area range of the vehicle, the application program on the terminal can be awakened through the beacon signal broadcast by the iBeacon communication module configured on the vehicle side, wherein the beacon signal broadcast by the iBeacon communication module is the awakening signal sent by the vehicle. After the application program in the terminal is awakened, the operation of establishing the wireless communication connection between the terminal and the vehicle is executed.
In one embodiment, after the vehicle transmits the first wake-up signal, if it is determined that the terminal has established the first wireless communication connection with the terminal based on the received first wake-up signal, the vehicle stops broadcasting the first wake-up signal.
In an optional embodiment of the present application, the vehicle may determine whether the wireless communication connection with the terminal is disconnected by:
determining electronic equipment which establishes wireless communication connection with the vehicle within a target range, and if the electronic equipment does not comprise a terminal, determining that the first wireless communication connection with the terminal is disconnected; alternatively, the first and second electrodes may be,
determining whether a set time length after the first physical operation of the user is acquired receives a control instruction sent by a terminal and used for controlling the state of a target controllable component of the vehicle; and if the control instruction is not received within the set time length after the first physical operation of the user is obtained, determining that the first wireless communication connection with the terminal is disconnected.
Specifically, in the embodiment of the present application, the vehicle may determine whether the first wireless communication connection with the terminal is disconnected in the following manner.
1. The vehicle determines that the first wireless communication connection with the terminal is disconnected if the electronic device which is located within the target range of the vehicle and establishes wireless communication connection with the vehicle is not queried, or specifically, the electronic device which is located within the target range of the vehicle, establishes wireless communication connection with the vehicle and has control authority over the vehicle is not queried. Here, the terminal is specifically an electronic device having a control authority over the vehicle.
2. If the vehicle acquires physical operation of the user on the vehicle (if the user clicks a relevant key on the vehicle), whether a control instruction sent by the terminal is received or not is judged, and if the control instruction sent by the terminal is not received within a set time length, for example, within 5 seconds, it is determined that the first wireless communication connection between the vehicle and the terminal is disconnected.
In practical applications, in addition to the above two modes, if the vehicle acquires a physical operation of the vehicle by the user (for example, the user clicks a relevant key on the vehicle), it may also be directly considered that the first wireless communication connection between the vehicle and the terminal is disconnected.
Step 102: transmitting a second wake-up signal in case it is determined that the first wireless communication with the terminal is disconnected; the second wake-up signal is used for triggering the terminal to establish a second wireless communication connection with the vehicle.
In the embodiment of the application, after the vehicle determines that the first wireless communication connection with the terminal is disconnected, the beacon signal, that is, the second wake-up signal, is broadcasted again, and the second wake-up signal is also generated based on the identification information of the vehicle. The second wake-up signal can wake up the application on the terminal again and perform the operation of establishing the wireless communication connection between the terminal and the vehicle again, i.e., establishing the second wireless communication connection.
In one embodiment, after the vehicle transmits the second wake-up signal, if it is determined that the terminal has established the second wireless communication connection with the vehicle based on the second wake-up signal, the vehicle stops broadcasting the second wake-up signal.
In the embodiment of the application, the first wake-up signal and the second wake-up signal are both generated based on identification information of a vehicle, and in one implementation, information contained in the two wake-up signals may be identical; in another embodiment, in addition to the identification information of the vehicle, further identification information, such as time information or number information, may be provided for the two wake-up signals, so as to distinguish the two wake-up signals. In addition, the first wake-up signal and the second wake-up signal may both be wake-up signals including one or more beacon signals, for example, the second wake-up signal may be a wake-up signal including two or more beacon signals, and the specific manner of the vehicle broadcasting the second wake-up signal is as follows: if the second wake-up signal only comprises a beacon signal, broadcasting the beacon signal by the vehicle under the condition of determining that the first wireless communication connection between the vehicle and the terminal is disconnected; if the second wake-up signal comprises two beacon signals, the vehicle alternately broadcasts the two beacon signals under the condition that the first wireless communication connection between the vehicle and the terminal is disconnected; if the second wake-up signal comprises N beacon signals, wherein N is larger than 2, the vehicle broadcasts the N beacon signals in a circulating mode according to a set sequence under the condition that the first wireless communication connection between the vehicle and the terminal is disconnected.
In an optional embodiment of the present application, the vehicle may further broadcast the first wake-up signal and the second wake-up signal alternately, so that the wireless communication connection between the terminal and the vehicle can be reestablished after the communication connection between the terminal and the vehicle is disconnected due to some abnormal conditions.
It should be noted that, in the embodiment of the present application, after determining that the first wireless communication connection with the vehicle is disconnected, the terminal may actively attempt to establish a wireless communication connection with the vehicle again within the set number limit or the set time duration, and if the terminal still cannot establish a wireless communication connection with the vehicle after exceeding the set number limit or the set time duration, the terminal does not actively establish a wireless communication connection with the vehicle any more.
In an optional embodiment of the present application, before the first wireless communication connection is established between the vehicle and the terminal, the following operations are further performed:
establishing a third wireless communication connection with the terminal;
performing a first authentication operation with the terminal based on a third wireless communication connection with the terminal;
after the vehicle completes the first authentication operation with the terminal, the terminal can record the wireless communication address and the identification information of the vehicle based on a third wireless communication connection with the vehicle; the wireless communication address is used for the terminal to establish wireless communication connection with the vehicle based on the wireless communication address; the identification information is used for the terminal to establish wireless communication connection with the terminal based on the identification information carried in the first wake-up signal or the second wake-up signal.
In order to achieve the purpose that after the terminal enters the target area range of the vehicle, the geo-fence function of the iBeacon communication module configured on the vehicle side can wake up the application program on the terminal, when the vehicle is used for the first time or the previous time, the terminal firstly actively searches and connects the vehicle, namely, a third wireless communication connection between the terminal and the vehicle is established, and a first authentication operation between the vehicle and the terminal is carried out based on the wireless communication connection, wherein the first authentication operation is the initial authentication between the vehicle and the terminal, and the first authentication operation between the terminal and the vehicle can be realized by carrying out related operations on the vehicle side and the terminal side. Here, the manner in which the first authentication operation is performed between the terminal and the vehicle is not particularly limited.
After the first authentication operation is completed between the vehicle and the terminal, the terminal records the wireless communication address (such as the Bluetooth address) and the identification information (such as the serial number of the vehicle) of the vehicle. By recording the wireless communication address of the vehicle, the terminal can establish wireless communication connection with the vehicle directly based on the recorded wireless communication address of the vehicle after receiving the wake-up signal of the vehicle. As for the wireless communication address recorded by the terminal, if the wireless communication mode is a bluetooth connection mode, a Media Access Control (MAC) address of bluetooth of the vehicle may be recorded, and identifier (identifier) information of the vehicle may be recorded in an apple Operating System (iOS). Through recording vehicle identification information, like the vehicle serial number, can make the terminal receive the beacon signal of this vehicle of the broadcast of the iBeacon communication module of vehicle side configuration, because UUID information in the beacon signal of this vehicle of the broadcast of the iBeacon communication module of this vehicle side configuration is based on the serial number generation of this vehicle, and the serial number of every vehicle is all inequality, consequently, the beacon signal of the broadcast of the iBeacon communication module of every vehicle configuration is all inequality, so, can guarantee the uniqueness of the beacon signal of this vehicle broadcast.
In an optional embodiment of the present application, the performing, by the vehicle, the first authentication operation with the terminal based on the third wireless communication connection with the terminal may specifically be implemented by:
performing a first authentication operation with the terminal based on the first key information and a second physical operation of the user in a case where a third wireless communication connection is established with the terminal; the first key information is input by a user at the vehicle side, or the first key information is sent to the vehicle by the terminal after being input by the user at the terminal side; after the first authentication operation is completed, the first key information is recorded on the terminal side and the vehicle side.
For example, the first key information may be set by clicking a P key on the vehicle side, specifically, the P key is clicked on the vehicle side first, at this time, a setting interface of the first key information appears on the terminal, the user inputs the first key on the setting interface of the first key information, and the first key information input by the user on the terminal is received by clicking the P key again, so that the confirmation of the first key information input by the user on the vehicle side can be completed, and the first authentication operation between the terminal and the vehicle is realized. After the first authentication operation is completed, the terminal and the vehicle record the first key information. Here, the first authentication operation is initial authentication between the terminal and the vehicle, and in order to complete the initial authentication process, a relevant physical operation needs to be performed on the vehicle so that the first key information set by the vehicle terminal is confirmed.
Here, the setting of the first key information in the first authentication operation process may also be completed on the vehicle side, and after the user completes the setting of the first key information on the vehicle side, the vehicle sends the acquired first key information set by the user to the vehicle, so that the key information set by the user can be finally acquired and stored between the vehicle and the terminal.
The P key on the vehicle is an operation key on the vehicle, and can be used for setting multiple purposes, such as password setting, startup and shutdown and the like.
In the embodiment of the application, the first key information is mainly used for encrypting the wireless communication between the terminal and the vehicle, so that the security of the wireless communication connection between the terminal and the vehicle is improved.
As an optional implementation manner, after the first authentication operation is completed between the terminal and the vehicle, the terminal further requests a network interface from the server side, acquires second key information from the server side through the network interface, and stores the second key information in the terminal, where the second key information is key information associated with the vehicle, and is used to enable the terminal to include information associated with the second key information in a control instruction when the terminal sends the control instruction to the vehicle, so that the vehicle end verifies the control instruction including the second key information based on a preset rule.
In an optional implementation manner of this application, after the second wireless communication connection is established between the vehicle and the terminal, the method further includes:
and performing a second authentication operation with the terminal based on the first key information.
When a user uses a vehicle for the first time or the first time, after a first authentication operation between the terminal and the vehicle is completed based on a third wireless communication connection between the terminal and the vehicle, when the vehicle is used again subsequently, if the terminal enters a target area range of the vehicle, a geo-fence function of an iBeacon communication module configured on the vehicle side awakens an application program in the terminal, so that the terminal directly establishes a wireless communication connection with the vehicle under the condition that the user does not perform any operation on the terminal based on a wireless communication address of the vehicle recorded when the terminal is used for the first time or the first time, for example, a second wireless communication connection is directly established with the vehicle, and authentication between the vehicle and the terminal is automatically completed based on first key information recorded when the first authentication operation is performed.
Specifically, after the wireless communication connection is established between the vehicle and the terminal, the vehicle needs to complete the second authentication operation with the terminal again, but the second authentication operation is executed without performing related operations on the vehicle side and the terminal side by the user, and the second authentication operation between the terminal and the vehicle is automatically completed based on the first key information recorded on the terminal side and the vehicle side, that is, the first key information recorded on the terminal side and the vehicle side when the first authentication operation is completed.
In the embodiment of the application, the terminal wakes up the application program of the terminal after entering the target area range of the vehicle through the wake-up signal sent by the vehicle, so that the terminal can directly realize wireless communication connection with the vehicle based on the wireless communication address of the vehicle recorded when the third wireless communication connection is established. And then, a second authentication operation between the terminal and the vehicle can be executed based on the first key information recorded during the first authentication operation between the vehicle and the terminal, and the process of the second authentication operation is executed, so that the user does not need to execute any operation again on the vehicle side and the terminal side, the wireless communication connection process and the authentication process between the terminal and the vehicle are simplified, the user is prevented from executing complicated operation again, and the user experience can be obviously improved.
In an optional implementation manner of this application, after performing the second authentication operation with the terminal based on the first key information, the method further includes:
transmitting a notification signal to the terminal based on a third physical operation of a user, wherein the notification signal is used for triggering the terminal to transmit a state control instruction for controlling a target controllable component of the vehicle to the vehicle based on a second wireless communication connection with the vehicle under the condition that the terminal determines that the distance between the terminal and the vehicle is smaller than or equal to a distance threshold value;
and receiving the control instruction, and controlling the state of the target controllable component based on the control instruction.
In this embodiment, after the second wireless communication connection is established between the vehicle and the terminal and the second authentication operation is performed, if the vehicle acquires the third physical operation (for example, clicking a relevant key) performed by the user on the vehicle, the vehicle may send notification information to the terminal based on the second wireless communication connection with the terminal, where the notification signal is used to notify the terminal that the vehicle has acquired the third physical operation performed by the user on the vehicle, and when the terminal receives the notification signal, the terminal may detect a distance between itself and the vehicle, and send a control instruction to the vehicle if the distance between itself and the vehicle is less than or equal to a set distance threshold (for example, 50 centimeters), and after receiving the control instruction sent by the terminal, the vehicle controls a state of a target controllable component of the vehicle according to specific instruction information included in the control instruction, so as to achieve a purpose of controlling the state of the target controllable component of the vehicle by the terminal (for example, unlocking or unlocking the vehicle) In (1).
The distance threshold in the embodiment of the present application may be a default distance set by a manufacturer of the vehicle when the vehicle is produced, or may be a distance set by a user at a terminal. Here, if the terminal determines that the distance between the terminal and the vehicle is greater than the distance threshold after receiving the notification information, no operation is performed or the related prompt information that is not in the target range is displayed on the interface.
In an optional embodiment of the present application, there is a certain correspondence between a distance between the terminal and the vehicle and a signal strength of a wireless communication connection between the terminal and the vehicle. The determination of the distance between the terminal and the vehicle may be determined by the strength of the signal of the wireless communication connection between the terminal and the vehicle.
In one embodiment, the distance between the terminal and the vehicle can be determined by the terminal based on the strength of the wireless signal between the terminal and the vehicle, or after the distance between the terminal and the vehicle is determined by the vehicle based on the strength of the wireless signal between the terminal and the vehicle, the distance information can be sent to the terminal based on the second wireless communication connection between the terminal and the terminal, so that the terminal can obtain the distance between the terminal and the vehicle.
In an optional embodiment of the present application, the control instruction carries second key information, where the second key information is key information associated with the vehicle;
the controlling the state of the target controllable component based on the control instruction includes:
and decrypting the control instruction based on the second key information, and controlling the state of the target controllable component based on a decryption result.
In the embodiment of the application, the second key information is key information associated with vehicles, and different vehicles have different second key information. In one embodiment, after the terminal completes the first authentication operation with the vehicle, the terminal requests a network interface from the server side, and the second key information associated with the vehicle is acquired from the server side and stored through the network interface. Here, the second key information may be generated based on the identification information of the vehicle and the key value information set by the server-side storage platform, and therefore, the second key information of different vehicles is different, and uniqueness of the second key information when the terminal is used to control different vehicles is ensured.
After the vehicle receives the control instruction, the unlocking instruction containing the second key information is verified based on the preset rule, and after the unlocking instruction containing the second key is successfully verified on the vehicle side, the state of the target controllable component of the vehicle can be controlled. The preset rule is a check rule which is stored in the vehicle end in advance and is used for a second secret key in the control command, and the vehicle can check the control command sent by the terminal based on the check rule.
According to the technical scheme of the embodiment of the application, under the condition that the communication connection between the terminal and the vehicle is disconnected due to some abnormal conditions, the vehicle sends the wake-up signal to the terminal again, so that the terminal and the vehicle automatically establish wireless communication connection again, authentication between the mobile phone and the vehicle is automatically completed based on the wireless communication connection established again, and the purpose that a user can control the vehicle by using the terminal is achieved.
Fig. 2 is a schematic flowchart of a second communication connection method for a vehicle according to an embodiment of the present application, where the method is applied to a vehicle, and as shown in fig. 2, the method includes the following steps:
step 201: receiving a second wake-up signal sent by the vehicle; wherein the second wake-up signal is transmitted by the vehicle upon determining that the first wireless communication connection with the terminal is broken; the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle.
In the embodiment of the application, in an implementation mode, the vehicle side is configured with an iBeacon communication module, iBeacon is an accurate little location technology based on bluetooth low energy, iBeacon communication module can outwards broadcast beacon (beacon) signal, wherein, general Unique Identifier (UUID, universal Unique Identifier) information in the beacon signal is generated based on the identification information of vehicle, this identification information can be the serial number of vehicle, the uniqueness of beacon signal that the vehicle broadcast can be guaranteed to the identification information generation beacon signal of utilization vehicle.
Except the iBeacon communication module, the vehicle side still disposes wireless communication module, and simultaneously, the terminal side also disposes wireless communication module, and the wireless communication module of vehicle side and terminal side all can be bluetooth module, and based on terminal side's bluetooth module and the bluetooth module's of vehicle side connection, can realize the information interaction between terminal and the vehicle, reach and utilize the terminal to control the purpose (for example carrying out the unblock to the vehicle) to the controllable part of target of vehicle.
In the embodiment of the application, the terminal is provided with an application program for establishing wireless communication connection between the terminal and the vehicle and controlling the vehicle by using the terminal. Under the condition that the terminal is located in the target area range of the vehicle, the geo-fence function of the iBeacon communication module configured on the vehicle side awakens the application program in the terminal, namely after the terminal enters the target area range of the vehicle, the application program on the terminal can be awakened through the beacon signal broadcast by the iBeacon communication module configured on the vehicle side, wherein the beacon signal broadcast by the iBeacon communication module is the awakening signal sent by the vehicle. After the application program in the terminal is awakened, the operation of establishing the wireless communication connection between the terminal and the vehicle is executed.
In an optional embodiment of the present application, the vehicle may determine whether the wireless communication connection with the terminal is disconnected by:
determining electronic equipment which establishes wireless communication connection with the vehicle within a target range, and if the electronic equipment does not comprise a terminal, determining that the first wireless communication connection with the terminal is disconnected; alternatively, the first and second electrodes may be,
determining whether a set time length after the first physical operation of the user is acquired receives a control instruction sent by a terminal and used for controlling the state of a target controllable component of the vehicle; and if the control instruction is not received within the set time length after the first physical operation of the user is obtained, determining that the first wireless communication connection with the terminal is disconnected.
Specifically, in the embodiment of the present application, the vehicle may determine whether the first wireless communication connection with the terminal is disconnected in the following manner.
1. The vehicle determines that the first wireless communication connection with the terminal is disconnected if the electronic device which is located within the target range of the vehicle and establishes wireless communication connection with the vehicle is not queried, or specifically, the electronic device which is located within the target range of the vehicle, establishes wireless communication connection with the vehicle and has control authority over the vehicle is not queried. Here, the terminal is specifically an electronic device having a control authority over the vehicle.
2. If the vehicle acquires physical operation of the user on the vehicle (if the user clicks a relevant key on the vehicle), whether a control instruction sent by the terminal is received or not is judged, and if the control instruction sent by the terminal is not received within a set time length, for example, within 5 seconds, it is determined that the first wireless communication connection between the vehicle and the terminal is disconnected.
In practical applications, in addition to the above two modes, if the vehicle acquires a physical operation of the vehicle by the user (for example, the user clicks a relevant key on the vehicle), it may also be directly considered that the first wireless communication connection between the vehicle and the terminal is disconnected.
In the embodiment of the application, after the vehicle determines that the first wireless communication connection with the terminal is disconnected, the beacon signal, that is, the second wake-up signal, is broadcasted again, and the second wake-up signal is also generated based on the identification information of the vehicle. The second wake-up signal can wake up the application on the terminal again and perform the operation of establishing the wireless communication connection between the terminal and the vehicle again, i.e., establishing the second wireless communication connection.
In an optional embodiment of the present application, after the communication connection between the terminal and the vehicle is disconnected due to some abnormal conditions, the wireless communication connection between the terminal and the vehicle can be reestablished by alternately broadcasting the first wake-up signal and the second wake-up signal.
In this embodiment, after determining that the first wireless communication connection with the vehicle is disconnected, the terminal may actively attempt to establish a wireless communication connection with the vehicle again within the set time limit or the set time duration, and if the wireless communication connection with the vehicle cannot be established even after the set time limit or the set time duration is exceeded, the terminal may not actively establish a wireless communication connection with the vehicle.
In one embodiment, after the vehicle sends the first wake-up signal, if it is determined that the terminal has established the first wireless communication connection with the terminal based on the received first wake-up signal, the vehicle stops broadcasting the first wake-up signal; similarly, after the vehicle sends the second wake-up signal, if it is determined that the terminal has established the second wireless communication connection with the terminal based on the received second wake-up signal, the vehicle stops broadcasting the second wake-up signal.
In the embodiment of the application, the first wake-up signal and the second wake-up signal are both generated based on identification information of a vehicle, and in one implementation, information contained in the two wake-up signals may be identical; in another embodiment, in addition to the identification information of the vehicle, further identification information, such as time information or number information, may be provided for the two wake-up signals, so as to distinguish the two wake-up signals. In addition, the first wake-up signal and the second wake-up signal may both be wake-up signals including one or more beacon signals, for example, the second wake-up signal may be a wake-up signal including two or more beacon signals, and the specific manner of the vehicle broadcasting the second wake-up signal is as follows: if the second wake-up signal only comprises a beacon signal, broadcasting the beacon signal by the vehicle under the condition of determining that the first wireless communication connection between the vehicle and the terminal is disconnected; if the second wake-up signal comprises two beacon signals, the vehicle alternately broadcasts the two beacon signals under the condition that the first wireless communication connection between the vehicle and the terminal is disconnected; if the second wake-up signal comprises N beacon signals, wherein N is larger than 2, the vehicle broadcasts the N beacon signals in a circulating mode according to a set sequence under the condition that the first wireless communication connection between the vehicle and the terminal is disconnected.
In an optional embodiment of the present application, the vehicle may further broadcast the first wake-up signal and the second wake-up signal alternately, so that the wireless communication connection between the terminal and the vehicle can be reestablished after the communication connection between the terminal and the vehicle is disconnected due to some abnormal conditions.
In an optional embodiment of the present application, before the terminal establishes the first wireless communication connection with the vehicle based on the first wake-up signal sent by the vehicle, the terminal further needs to perform the following operations:
establishing a third wireless communication connection with the vehicle;
performing a first authentication operation with the vehicle based on a third wireless communication connection with the vehicle, and recording a wireless communication address and identification information of the vehicle after the first authentication operation with the vehicle is completed;
wherein the wireless communication address is used for the terminal to establish a wireless communication connection with the vehicle based on the wireless communication address; the identification information is used for the terminal to establish wireless communication connection with the terminal based on the identification information carried in the first wake-up signal or the second wake-up signal.
In order to achieve the purpose that after the terminal enters the target area range of the vehicle, the geo-fence function of the iBeacon communication module configured on the vehicle side can wake up the application program on the terminal, when the vehicle is used for the first time or the previous time, the terminal firstly actively searches and connects the vehicle, namely, a third wireless communication connection between the terminal and the vehicle is established, and a first authentication operation between the vehicle and the terminal is carried out based on the wireless communication connection, wherein the first authentication operation is the initial authentication between the vehicle and the terminal, and the first authentication operation between the terminal and the vehicle can be realized by carrying out related operations on the vehicle side and the terminal side. Here, the manner in which the first authentication operation is performed between the terminal and the vehicle is not particularly limited.
After the first authentication operation is completed between the vehicle and the terminal, the terminal records the wireless communication address (such as the Bluetooth address) and the identification information (such as the serial number of the vehicle) of the vehicle. By recording the wireless communication address of the vehicle, the terminal can establish wireless communication connection with the vehicle directly based on the recorded wireless communication address of the vehicle after receiving the wake-up signal of the vehicle. As for the wireless communication address recorded by the terminal, if the wireless communication mode is a bluetooth connection mode, a Media Access Control (MAC) address of bluetooth of the vehicle may be recorded, and identifier (identifier) information of the vehicle may be recorded in an apple Operating System (iOS). Through recording vehicle identification information, like the vehicle serial number, can make the terminal receive the beacon signal of this vehicle of the broadcast of the iBeacon communication module of vehicle side configuration, because UUID information in the beacon signal of this vehicle of the broadcast of the iBeacon communication module of this vehicle side configuration is based on the serial number generation of this vehicle, and the serial number of every vehicle is all inequality, consequently, the beacon signal of the broadcast of the iBeacon communication module of every vehicle configuration is all inequality, so, can guarantee the uniqueness of the beacon signal of this vehicle broadcast.
When the vehicle is used for the first time or the last time, after the third wireless communication connection is established between the vehicle and the terminal, the first authentication operation between the terminal and the vehicle is required to be realized through relevant physical operations on the vehicle side and the terminal side. Here, the manner in which the first authentication operation is performed between the terminal and the vehicle is not particularly limited.
In an optional embodiment of the present application, the step of the vehicle performing the first authentication operation with the vehicle based on the third wireless communication connection with the vehicle may be implemented as follows:
performing a first authentication operation with the vehicle based on first key information in a case where a third wireless communication connection is established with the vehicle; the first key information is input by a user at the terminal side, or the first key information is sent to the terminal by the vehicle after being input by the user at the vehicle side; after the first authentication operation is completed, the first key information is recorded on the terminal side and the vehicle side.
For example, the first key information may be set by clicking a P key on the vehicle side, specifically, the P key is clicked on the vehicle side first, at this time, a setting interface of the first key information appears on the terminal, the user inputs the first key on the setting interface of the first key information, and the first key information input by the user on the terminal is received by clicking the P key again, so that the confirmation of the first key information input by the user on the vehicle side can be completed, and the first authentication operation between the terminal and the vehicle is realized. After the first authentication operation is completed, the terminal and the vehicle record the first key information. Here, the first authentication operation is initial authentication between the terminal and the vehicle, and in order to complete the initial authentication process, a relevant physical operation needs to be performed on the vehicle so that the first key information set by the vehicle terminal is confirmed.
Here, the setting of the first key information in the first authentication operation process may also be completed on the vehicle side, and after the user completes the setting of the first key information on the vehicle side, the vehicle sends the acquired first key information set by the user to the vehicle, so that the key information set by the user can be finally acquired and stored between the vehicle and the terminal.
The P key on the vehicle is an operation key on the vehicle, and can be used for setting multiple purposes, such as password setting, startup and shutdown and the like.
In the embodiment of the application, the first key information is mainly used for encrypting the wireless communication between the terminal and the vehicle, so that the security of the wireless communication connection between the terminal and the vehicle is improved.
As an optional implementation manner, after the first authentication operation is completed between the terminal and the vehicle, the terminal further requests a network interface from the server side, acquires second key information from the server side through the network interface, and stores the second key information in the terminal, where the second key information is key information associated with the vehicle, and is used to enable the terminal to include information associated with the second key information in a control instruction when the terminal sends the control instruction to the vehicle, so that the vehicle end verifies the control instruction including the second key information based on a preset rule.
Step 202: and responding to the second wake-up signal, and establishing a second wireless communication connection with the vehicle.
When a user uses a vehicle for the first time or the first time, after a first authentication operation between the terminal and the vehicle is completed based on a third wireless communication connection between the terminal and the vehicle, when the vehicle is used again subsequently, if the terminal enters a target area range of the vehicle, a geo-fence function of an iBeacon communication module configured on the vehicle side awakens an application program in the terminal, so that the terminal directly establishes a wireless communication connection with the vehicle under the condition that the user does not perform any operation on the terminal based on a wireless communication address of the vehicle recorded when the terminal is used for the first time or the first time, for example, a second wireless communication connection is directly established with the vehicle, and authentication between the vehicle and the terminal is automatically completed based on first key information recorded when the first authentication operation is performed.
In an optional embodiment of the present application, after the terminal establishes the second wireless communication connection with the vehicle, the following operations need to be performed:
performing a second authentication operation with the vehicle based on the first key information.
After the wireless communication connection is established between the terminal and the vehicle, the terminal needs to complete the second authentication operation with the terminal again, but the second authentication operation is executed without the need of performing related operations on the vehicle side and the terminal side by the user, and the second authentication operation between the terminal and the vehicle is automatically completed based on the first key information recorded on the terminal side and the vehicle side, namely the first key information recorded on the terminal side and the vehicle side when the first authentication operation is completed.
In the embodiment of the application, the terminal wakes up the application program of the terminal after entering the target area range of the vehicle through the wake-up signal sent by the vehicle, so that the terminal can directly realize wireless communication connection with the vehicle based on the wireless communication address of the vehicle recorded when the third wireless communication connection is established. And then, a second authentication operation between the terminal and the vehicle can be executed based on the first key information recorded during the first authentication operation between the terminal and the vehicle, and the process of the second authentication operation is executed, so that the user does not need to execute any operation again on the vehicle side and the terminal side, the wireless communication connection process and the authentication process between the terminal and the vehicle are simplified, the user is prevented from executing complicated operation again, and the user experience can be obviously improved.
In an optional embodiment of the present application, after the terminal performs the second authentication operation with the vehicle based on the first key information, the following operation is further performed:
receiving a notification signal sent by the vehicle based on a third physical operation of the user;
determining whether a distance to the vehicle is less than or equal to a distance threshold; and in the case that the distance between the vehicle and the vehicle is determined to be smaller than or equal to the distance threshold value, sending a state control instruction for controlling a target controllable component of the vehicle to the vehicle based on a second wireless communication connection between the vehicle and the vehicle.
In the embodiment of the application, after the second wireless communication connection is established between the vehicle and the terminal and the second authentication operation is performed, if the vehicle acquires a third physical operation (for example, clicking a relevant key) performed by the user on the vehicle, the vehicle sends notification information to the terminal based on the second wireless communication connection with the terminal, the notification signal is used for notifying the terminal that the vehicle has acquired the third physical operation performed by the user on the vehicle, after the terminal receives the notification signal, the terminal detects the distance between the terminal and the vehicle, and sends a control instruction to the vehicle when the distance between the terminal and the vehicle is smaller than or equal to a set distance threshold (for example, 50 centimeters), and after the vehicle receives the control instruction sent by the terminal, the vehicle controls the state of a target controllable component of the vehicle according to specific instruction information contained in the control instruction, so as to achieve the purpose of controlling the state of the target controllable component of the vehicle by the terminal (for example, unlocking or unlocking the vehicle) .
The distance threshold in the embodiment of the present application may be a default distance set by a manufacturer of the vehicle when the vehicle is produced, or may be a distance set by a user at a terminal. Here, if the terminal determines that the distance between the terminal and the vehicle is greater than the distance threshold after receiving the notification information, no operation is performed or the related prompt information that is not in the target range is displayed on the interface.
In one embodiment, there is a certain correspondence between the distance between the terminal and the vehicle and the signal strength of the wireless communication connection between the terminal and the vehicle. The determination of the distance between the terminal and the vehicle may be determined by the strength of the signal of the wireless communication connection between the terminal and the vehicle.
In one embodiment, the distance between the terminal and the vehicle can be determined by the terminal based on the strength of the wireless signal between the terminal and the vehicle, or after the distance between the terminal and the vehicle is determined by the vehicle based on the strength of the wireless signal between the terminal and the vehicle, the distance information can be sent to the terminal based on the second wireless communication connection between the terminal and the terminal, so that the terminal can obtain the distance between the terminal and the vehicle.
According to the technical scheme of the embodiment of the application, under the condition that the communication connection between the terminal and the vehicle is disconnected due to some abnormal conditions, the vehicle sends the wake-up signal to the terminal again, so that the terminal and the vehicle automatically establish wireless communication connection again, authentication between the mobile phone and the vehicle is automatically completed based on the wireless communication connection established again, and the purpose that a user can control the vehicle by using the terminal is achieved.
The embodiment of the present application further provides a communication connection device for a vehicle, where the device is applied to a vehicle, as shown in fig. 3, and the device includes:
a determination unit 301 configured to determine whether a first wireless communication connection with a terminal is disconnected; wherein the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
a first sending unit 302, configured to send a second wake-up signal if it is determined that the first wireless communication with the terminal is disconnected; the second wake-up signal is used for triggering the terminal to establish a second wireless communication connection with the vehicle.
In an optional embodiment of the present application, the determining unit 301 is specifically configured to: determining electronic equipment which establishes wireless communication connection with the vehicle within a target range, and if the electronic equipment does not comprise a terminal, determining that the first wireless communication connection with the terminal is disconnected; or determining whether a set time length after the first physical operation of the user is acquired receives a control instruction which is sent by a terminal and used for controlling the state of a target controllable component of the vehicle; and if the control instruction is not received within the set time length after the first physical operation of the user is obtained, determining that the first wireless communication connection with the terminal is disconnected.
In an optional implementation manner of this application, before the first wireless communication connection is established between the vehicle and the terminal, the apparatus further includes:
a connection unit 303, configured to establish a third wireless communication connection with the terminal;
a first authentication unit 304 for performing a first authentication operation with the terminal based on a third wireless communication connection with the terminal;
after the vehicle completes the first authentication operation with the terminal, the terminal can record the wireless communication address and the identification information of the vehicle based on a third wireless communication connection with the vehicle; the wireless communication address is used for the terminal to establish wireless communication connection with the vehicle based on the wireless communication address; the identification information is used for the terminal to establish wireless communication connection with the terminal based on the identification information carried in the first wake-up signal or the second wake-up signal.
In an optional embodiment of the present application, the first authentication unit 304 is specifically configured to: performing a first authentication operation with the terminal based on the first key information and a second physical operation of the user in a case where a third wireless communication connection is established with the terminal; the first key information is input by a user at the vehicle side, or the first key information is sent to the vehicle by the terminal after being input by the user at the terminal side; after the first authentication operation is completed, the first key information is recorded on the terminal side and the vehicle side.
In an optional implementation manner of this application, after the second wireless communication connection is established between the vehicle and the terminal, the apparatus further includes:
a second authentication unit 305 for performing a second authentication operation with the terminal based on the first key information.
In an optional implementation manner of this application, after performing a second authentication operation with the terminal based on the first key information, the apparatus further includes:
a second sending unit 306, configured to send, to the terminal, a notification signal based on a third physical operation of the user, where the notification signal is used to trigger the terminal to send, to the vehicle, a state control instruction for controlling a target controllable component of the vehicle based on a second wireless communication connection with the vehicle when it is determined that the distance to the vehicle is smaller than or equal to the distance threshold;
a receiving unit 307, configured to receive the control instruction, and control a state of the target controllable component based on the control instruction.
In an optional embodiment of the present application, the control instruction carries second key information, where the second key information is key information associated with the vehicle; the receiving unit 307 is specifically configured to: and decrypting the control instruction based on the second key information, and controlling the state of the target controllable component based on a decryption result.
Those skilled in the art will appreciate that the functions implemented by the units in the communication connection device of the vehicle shown in fig. 3 can be understood by referring to the related description of the communication connection method of the vehicle described above. The functions of the respective units in the communication connection device of the vehicle shown in fig. 3 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
The embodiment of the present application further provides a communication connection device for a vehicle, where the device is applied to a terminal, as shown in fig. 4, and the device includes:
a first receiving unit 401, configured to receive a second wake-up signal sent by a vehicle; wherein the second wake-up signal is transmitted by the vehicle upon determining that the first wireless communication connection with the terminal is broken; the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
a response unit 402, configured to establish a second wireless communication connection with the vehicle in response to the second wake-up signal.
In an optional embodiment of the present application, before the terminal establishes the first wireless communication connection with the vehicle based on the first wake-up signal sent by the vehicle, the apparatus further includes:
a connection unit 403, configured to establish a third wireless communication connection with the vehicle;
a first authentication unit 404 configured to perform a first authentication operation with the vehicle based on a third wireless communication connection with the vehicle, and record a wireless communication address and identification information of the vehicle after completion of the first authentication operation with the vehicle;
wherein the wireless communication address is used for the terminal to establish a wireless communication connection with the vehicle based on the wireless communication address; the identification information is used for the terminal to establish wireless communication connection with the terminal based on the identification information carried in the first wake-up signal or the second wake-up signal.
In an optional embodiment of the present application, the first authentication unit 404 is specifically configured to: performing a first authentication operation with the vehicle based on first key information in a case where a third wireless communication connection is established with the vehicle; the first key information is input by a user at the terminal side, or the first key information is sent to the terminal by the vehicle after being input by the user at the vehicle side; after the first authentication operation is completed, the first key information is recorded on the terminal side and the vehicle side.
In an optional implementation manner of this application, after the second wireless communication connection with the vehicle is established, the apparatus further includes:
a second authentication unit 405 for performing a second authentication operation with the vehicle based on the first key information.
In an optional embodiment of the present application, after performing the second authentication operation with the vehicle based on the first key information, the apparatus further includes:
a second receiving unit 406 for receiving a notification signal transmitted by the vehicle based on a third physical operation of the user;
a transmitting unit 407 configured to determine whether a distance to the vehicle is equal to or less than a distance threshold; and in the case that the distance between the vehicle and the vehicle is determined to be smaller than or equal to the distance threshold value, sending a state control instruction for controlling a target controllable component of the vehicle to the vehicle based on a second wireless communication connection between the vehicle and the vehicle.
Those skilled in the art will appreciate that the functions implemented by the units in the communication connection device of the vehicle shown in fig. 4 can be understood by referring to the related description of the communication connection method of the vehicle described above. The functions of the respective units in the communication connection device of the vehicle shown in fig. 4 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
An embodiment of the present application further provides an electronic device, including: the communication connection method of the vehicle comprises a processor and a memory, wherein the memory is used for storing a computer program, and the processor is used for calling and running the computer program stored in the memory and executing the communication connection method of the vehicle according to the embodiment.
The embodiment of the present application further provides a computer-readable storage medium for storing a computer program, where the computer program enables a computer to execute the communication connection method of the vehicle according to the above embodiment.
The technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
In the several embodiments provided in the present application, it should be understood that the disclosed method and intelligent device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one second processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (12)

1. A communication connection method of a vehicle, the method being applied to the vehicle, the method comprising:
determining whether a first wireless communication connection with a terminal is disconnected; wherein the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
transmitting a second wake-up signal in case it is determined that the first wireless communication with the terminal is disconnected; the second wake-up signal is used for triggering the terminal to establish a second wireless communication connection with the vehicle.
2. The method of claim 1, wherein the determining whether the first wireless communication connection with the terminal is broken comprises:
determining electronic equipment which establishes wireless communication connection with the vehicle within a target range, and if the electronic equipment does not comprise a terminal, determining that the first wireless communication connection with the terminal is disconnected; alternatively, the first and second electrodes may be,
determining whether a set time length after the first physical operation of the user is acquired receives a control instruction sent by a terminal and used for controlling the state of a target controllable component of the vehicle; and if the control instruction is not received within the set time length after the first physical operation of the user is obtained, determining that the first wireless communication connection with the terminal is disconnected.
3. The method of claim 1, wherein prior to establishing the first wireless communication connection between the vehicle and the terminal, the method further comprises:
establishing a third wireless communication connection with the terminal;
performing a first authentication operation with the terminal based on a third wireless communication connection with the terminal;
after the vehicle completes the first authentication operation with the terminal, the terminal can record the wireless communication address and the identification information of the vehicle based on a third wireless communication connection with the vehicle; the wireless communication address is used for the terminal to establish wireless communication connection with the vehicle based on the wireless communication address; the identification information is used for the terminal to establish wireless communication connection with the terminal based on the identification information carried in the first wake-up signal or the second wake-up signal.
4. The method of claim 3, wherein performing the first authentication operation with the terminal based on the third wireless communication connection with the terminal comprises:
performing a first authentication operation with the terminal based on the first key information and a second physical operation of the user in a case where a third wireless communication connection is established with the terminal; the first key information is input by a user at the vehicle side, or the first key information is sent to the vehicle by the terminal after being input by the user at the terminal side; after the first authentication operation is completed, the first key information is recorded on the terminal side and the vehicle side.
5. The method of any of claims 1-4, wherein after establishing the second wireless communication connection between the vehicle and the terminal, the method further comprises:
and performing a second authentication operation with the terminal based on the first key information.
6. The method according to claim 5, wherein after performing the second authentication operation with the terminal based on the first key information, the method further comprises:
transmitting a notification signal to the terminal based on a third physical operation of a user, wherein the notification signal is used for triggering the terminal to transmit a state control instruction for controlling a target controllable component of the vehicle to the vehicle based on a second wireless communication connection with the vehicle under the condition that the terminal determines that the distance between the terminal and the vehicle is smaller than or equal to a distance threshold value;
and receiving the control instruction, and controlling the state of the target controllable component based on the control instruction.
7. The method of claim 6, wherein the control command carries second key information, wherein the second key information is key information associated with the vehicle;
the controlling the state of the target controllable component based on the control instruction includes:
and decrypting the control instruction based on the second key information, and controlling the state of the target controllable component based on a decryption result.
8. A communication connection method of a vehicle is characterized in that the method is applied to a terminal and comprises the following steps:
receiving a second wake-up signal sent by the vehicle; wherein the second wake-up signal is transmitted by the vehicle upon determining that the first wireless communication connection with the terminal is broken; the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
and responding to the second wake-up signal, and establishing a second wireless communication connection with the vehicle.
9. A communication connection device for a vehicle, characterized in that the device is applied to a vehicle, the device comprising:
a determination unit configured to determine whether a first wireless communication connection with a terminal is disconnected; wherein the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
a first sending unit, configured to send a second wake-up signal when it is determined that the first wireless communication with the terminal is disconnected; the second wake-up signal is used for triggering the terminal to establish a second wireless communication connection with the vehicle.
10. A communication connection apparatus for a vehicle, the apparatus being applied to a terminal, the apparatus comprising:
the first receiving unit is used for receiving a second wake-up signal sent by the vehicle; wherein the second wake-up signal is transmitted by the vehicle upon determining that the first wireless communication connection with the terminal is broken; the first wireless communication connection is a wireless communication connection established between the terminal and the vehicle based on a first wake-up signal sent by the vehicle;
and the response unit is used for responding to the second wake-up signal and establishing second wireless communication connection with the vehicle.
11. An electronic device, comprising: a processor and a memory for storing a computer program, the processor being adapted to invoke and execute the computer program stored in the memory, to perform the method of any of claims 1 to 7, or to perform the method of claim 8.
12. A computer-readable storage medium for storing a computer program which causes a computer to perform the method of any one of claims 1 to 7 or the method of claim 8.
CN202011183209.8A 2020-10-29 2020-10-29 Communication connection method and device for vehicle, electronic equipment and storage medium Pending CN113259857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011183209.8A CN113259857A (en) 2020-10-29 2020-10-29 Communication connection method and device for vehicle, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011183209.8A CN113259857A (en) 2020-10-29 2020-10-29 Communication connection method and device for vehicle, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113259857A true CN113259857A (en) 2021-08-13

Family

ID=77180765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011183209.8A Pending CN113259857A (en) 2020-10-29 2020-10-29 Communication connection method and device for vehicle, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113259857A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374765A (en) * 2021-12-16 2022-04-19 浙江零跑科技股份有限公司 Method for realizing mobile phone schedule information reminding of intelligent cabin

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231099A (en) * 2016-07-29 2016-12-14 北京车和家信息技术有限责任公司 Control the method for vehicle, control device and vehicle
CN106973361A (en) * 2017-04-11 2017-07-21 成都步共享科技有限公司 A kind of method for managing power supply of shared bicycle intelligent bicycle lock
CN108256033A (en) * 2018-01-11 2018-07-06 北京新能源汽车股份有限公司 A kind of control method of vehicle, device, terminal and vehicle
CN109109817A (en) * 2018-07-27 2019-01-01 奇瑞汽车股份有限公司 Automobile control method, device and automobile based on intelligence entrance and activation system
CN110386105A (en) * 2018-04-20 2019-10-29 比亚迪股份有限公司 Unlocking method of vehicle, system, mobile terminal and key controller
CN111107516A (en) * 2019-12-27 2020-05-05 深圳市几米物联有限公司 Vehicle fortification method, system and storage medium
CN111583460A (en) * 2020-04-30 2020-08-25 上海银基信息安全技术股份有限公司 Authentication method and device and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231099A (en) * 2016-07-29 2016-12-14 北京车和家信息技术有限责任公司 Control the method for vehicle, control device and vehicle
CN106973361A (en) * 2017-04-11 2017-07-21 成都步共享科技有限公司 A kind of method for managing power supply of shared bicycle intelligent bicycle lock
CN108256033A (en) * 2018-01-11 2018-07-06 北京新能源汽车股份有限公司 A kind of control method of vehicle, device, terminal and vehicle
CN110386105A (en) * 2018-04-20 2019-10-29 比亚迪股份有限公司 Unlocking method of vehicle, system, mobile terminal and key controller
CN109109817A (en) * 2018-07-27 2019-01-01 奇瑞汽车股份有限公司 Automobile control method, device and automobile based on intelligence entrance and activation system
CN111107516A (en) * 2019-12-27 2020-05-05 深圳市几米物联有限公司 Vehicle fortification method, system and storage medium
CN111583460A (en) * 2020-04-30 2020-08-25 上海银基信息安全技术股份有限公司 Authentication method and device and computer equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374765A (en) * 2021-12-16 2022-04-19 浙江零跑科技股份有限公司 Method for realizing mobile phone schedule information reminding of intelligent cabin
CN114374765B (en) * 2021-12-16 2024-04-19 浙江零跑科技股份有限公司 Method for realizing mobile phone schedule information reminding by intelligent cabin

Similar Documents

Publication Publication Date Title
WO2021115459A1 (en) Vehicle unlocking method and device
CN109600223B (en) Verification method, activation method, device, equipment and storage medium
CN108833122B (en) Wake-up method and device for vehicle-mounted communication controller and storage medium
CN108476060B (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device
WO2019222412A1 (en) Bluetooth mesh network provisioning authentication
US20170352090A1 (en) Method, apparatus, and system for processing order information
CN106776124B (en) Data backup method and device
EP4099733A1 (en) Security authentication method and apparatus, and electronic device
CN107154935B (en) Service request method and device
US20230192034A1 (en) Method for connecting bluetooth key to vehicle, vehicle bluetooth system, and bluetooth key
CN115002168A (en) Safety detection method for vehicle remote control and vehicle-mounted system
CN113259857A (en) Communication connection method and device for vehicle, electronic equipment and storage medium
CN113162928B (en) Communication method, communication device, ECU, vehicle and storage medium
CN108702705B (en) Information transmission method and equipment
CN114999029A (en) Vehicle unlocking method and system
US20220377068A1 (en) Vehicle control device, vehicle, vehicle control method, and non-transitory recording medium
CN113923005B (en) Method and system for writing data
US20190037612A1 (en) Connecting method to an information capture device
CN115915062A (en) Vehicle unlocking method and related device, unlocking system and storage medium
CN112214753A (en) Authentication method and device, electronic equipment and storage medium
EP3163488B1 (en) Message sender authentication
JP2005267637A (en) Automobile telecommunication system, radio message transmitting method, electronic control device, and computer program product
CN115348604A (en) Method and device for detecting synchronous state of terminal and network
CN117835369A (en) Network connection method, related device and computer readable storage medium
CN117640148A (en) Vehicle-mounted function connection optimization method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210813