Nothing Special   »   [go: up one dir, main page]

CN110636473A - Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium - Google Patents

Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110636473A
CN110636473A CN201910908415.1A CN201910908415A CN110636473A CN 110636473 A CN110636473 A CN 110636473A CN 201910908415 A CN201910908415 A CN 201910908415A CN 110636473 A CN110636473 A CN 110636473A
Authority
CN
China
Prior art keywords
vehicle
bluetooth
password
central control
generating
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
CN201910908415.1A
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.)
Ningbo Small Walk Share Mdt Infotech Ltd
Original Assignee
Ningbo Small Walk Share Mdt Infotech 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 Ningbo Small Walk Share Mdt Infotech Ltd filed Critical Ningbo Small Walk Share Mdt Infotech Ltd
Priority to CN201910908415.1A priority Critical patent/CN110636473A/en
Publication of CN110636473A publication Critical patent/CN110636473A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

The application provides a vehicle Bluetooth communication method, a vehicle Bluetooth communication device, an electronic device and a readable storage medium. Therefore, the user terminal can send the instruction to the central control device in a Bluetooth transmission mode, and the problem that communication is unstable or delay exists in the related technology is solved. Meanwhile, the verification of the Bluetooth password is realized by generating the verification password in the embodiment of the application, and the Bluetooth communication is established after the verification is passed, so that the communication safety is improved.

Description

Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium
Technical Field
The application relates to the technical field of vehicle networking, in particular to a vehicle Bluetooth communication method and device, electronic equipment and a readable storage medium.
Background
Currently, it is becoming common to use a mobile phone app (Application program) to issue commands to a vehicle central control (for example, to control the vehicle central control to unlock a vehicle door). However, at present, there are two main ways for implementing the issuance of the command of the app to the vehicle central control: 1. when the app scans the code and sends the instruction, the instruction is sent to the vehicle central control in the form of short message through the short message channel of the operator. 2. When the app scans the code and sends the instruction, the instruction is sent to the central Control of the vehicle through a General Packet Radio Service (GPRS) network channel of an operator and a Transmission Control Protocol (TCP) Protocol. For the first mode, the short message needs to be sent through the operator platform, and the delay is long. For the second mode, the network environment is heavily dependent, and now most of the car networking central controllers use 2G networks, when there are many surrounding 2G devices, the situation of unstable communication may be caused, and the problem of disconnecting the communication with the server often occurs.
Disclosure of Invention
An embodiment of the present application provides a vehicle bluetooth communication method, an apparatus, an electronic device, and a readable storage medium, so as to solve the problem of delay or unstable communication in the related art.
The embodiment of the application provides a vehicle Bluetooth communication method, which is applied to vehicle central control equipment with a Bluetooth module; the vehicle Bluetooth communication method comprises the following steps: receiving a Bluetooth password sent by a user terminal; generating a verification password; and when the Bluetooth password is matched with the verification password, establishing Bluetooth communication with the user terminal.
In the implementation process, the vehicle central control device generates the check password when receiving the bluetooth password sent by the user terminal, and establishes bluetooth communication with the user terminal when the bluetooth password is matched with the check password. Therefore, the user terminal can send the instruction to the central control device in a Bluetooth transmission mode, and the problem that communication is unstable or delay exists in the related technology is solved. Meanwhile, the verification of the Bluetooth password is realized by generating the verification password in the embodiment of the application, and the Bluetooth communication is established after the verification is passed, so that the communication safety is improved.
Further, before the receiving the bluetooth password sent by the user terminal, the method further includes: and generating a Bluetooth name and broadcasting.
In the implementation process, the Bluetooth name is generated in advance and broadcasted, so that the user terminal can search the Bluetooth module of the vehicle central control equipment, and further, an implementation basis is provided for receiving the Bluetooth password sent by the user terminal at the back and establishing Bluetooth communication with the user terminal.
Further, the generating and broadcasting bluetooth names comprises: and generating a Bluetooth name according to a preset appkey and the international mobile equipment identification code of the vehicle central control equipment and broadcasting.
It should be noted that the appkey has uniqueness, and the international mobile equipment identification code of the vehicle central control equipment can uniquely identify one vehicle central control equipment, and also has uniqueness, so that the probability that the bluetooth name has uniqueness can be effectively improved by the bluetooth name generated by the appkey and the international mobile equipment identification code of the vehicle central control equipment, thereby avoiding the situation that different vehicles have the same bluetooth name, and improving the reliability of the scheme.
Further, the bluetooth password sent by the user terminal is: generating a Bluetooth password according to an operation number corresponding to the vehicle central control equipment, which is pre-stored in the Internet of vehicles platform; before the generating of the verification password, the vehicle bluetooth communication method further includes: acquiring an operation number corresponding to the vehicle central control equipment from the vehicle networking platform; the generating of the verification password comprises: generating the check password according to the operation number; and the generation mode of the verification password is consistent with that of the Bluetooth password.
In the implementation process, the vehicle networking platform and the vehicle central control equipment respectively generate the Bluetooth password and the check password in the same generation mode according to the operation number, and the generated Bluetooth password and the check password have consistency, so that the check reliability of the vehicle central control equipment on the Bluetooth password can be ensured. Simultaneously, the operation number is corresponding with vehicle central control equipment, therefore the bluetooth password based on operation number generation can avoid appearing the condition the same with the bluetooth password that other vehicle central control equipment correspond to a certain extent to the reliability of the scheme of this application embodiment has been promoted to a certain extent.
Further, the bluetooth password sent by the user terminal is: generating a Bluetooth password according to the world standard time; the generating of the verification password comprises: generating the check password according to the current world standard time; and the generation mode of the verification password is consistent with that of the Bluetooth password.
In the implementation process, the vehicle networking platform and the vehicle central control equipment respectively generate the Bluetooth password and the check password in the same generation mode according to the world standard time, and the generated Bluetooth password and the check password have consistency, so that the check reliability of the vehicle central control equipment on the Bluetooth password can be ensured. Because the world standard time is constantly changing, consequently the bluetooth password based on world standard time generates has the ageing, can effectively reduce the condition that appears being used by other people after the password reveals to the security of the scheme of this application embodiment has been promoted to a certain extent.
Further, the bluetooth password sent by the user terminal is: generating a Bluetooth password according to the appkey of the vehicle central control equipment; the generating of the verification password comprises: generating the verification password according to the appkey of the vehicle central control equipment; and the generation mode of the verification password is consistent with that of the Bluetooth password.
In the implementation process, the vehicle networking platform and the vehicle central control equipment respectively generate the Bluetooth password and the check password in the same generation mode according to the appkey, and the generated Bluetooth password and the check password have consistency, so that the check reliability of the vehicle central control equipment on the Bluetooth password can be ensured. Meanwhile, because the appkey in the vehicle central control equipment has uniqueness, the Bluetooth password generated based on the operation number can avoid the situation that the Bluetooth passwords corresponding to the rest of vehicle central control equipment are the same to a certain extent, thereby improving the reliability of the scheme of the embodiment of the application to a certain extent.
Further, the bluetooth password sent by the user terminal is: the Bluetooth password is generated according to the operation number corresponding to the vehicle central control equipment, the appkey of the vehicle central control equipment and the universal standard time; before the generating of the verification password, the vehicle bluetooth communication method further includes: acquiring an operation number corresponding to the vehicle central control equipment from the vehicle networking platform; the generating of the verification password comprises: generating the verification password according to the operation number, the appkey of the vehicle central control equipment and the current world standard time; and the generation mode of the verification password is consistent with that of the Bluetooth password.
In the implementation process, the vehicle networking platform and the vehicle central control device respectively generate the Bluetooth password and the check password in the same generation mode according to the operation number corresponding to the vehicle central control device, the appkey of the vehicle central control device and the world standard time, so that the generated Bluetooth password and the check password have consistency, and the check reliability of the vehicle central control device on the Bluetooth password can be ensured. Meanwhile, because the operation number corresponding to the vehicle central control device and the appkey in the vehicle central control device are unique, the situation that the Bluetooth passwords generated based on the operation number and the appkey are the same as the Bluetooth passwords corresponding to the other vehicle central control devices can be avoided to a certain extent; and because the world standard time is constantly changed, the Bluetooth password generated based on the world standard time has timeliness, and the condition that the password is used by other people after being leaked can be effectively reduced. Therefore, the reliability and the safety of the scheme of the embodiment of the application can be improved to a certain extent by adopting the mode.
Further, the generating the verification password according to the operation number, the appkey of the vehicle central control device, and the current universal time includes: obtaining N time values N minutes before the current world standard time according to the current world standard time; encrypting the operation number and the appkey respectively with the N time values and the current world standard time according to a preset algorithm to obtain N +1 verification passwords; and when the Bluetooth password is the same as any one of the N +1 verification passwords, representing that the Bluetooth password is matched with the verification password.
It should be understood that the generated password is time-efficient under the influence of the world standard time, i.e., the password generated by the current time lock and the password generated at the next time are different. Then, the vehicle central control device may generate a total of N +1 check codes N minutes before the current universal standard time and at the current time, and if the bluetooth code is the same as any one of the N +1 check codes, the bluetooth code and the check codes are considered to be matched. Therefore, the user is given a certain time for other operations before password input, and the user experience is improved.
The embodiment of the application also provides a vehicle Bluetooth communication method, which is applied to a user terminal and comprises the following steps: acquiring a vehicle number of a vehicle to be connected; sending a vehicle use request to the Internet of vehicles platform; the vehicle use request comprises a vehicle number of the vehicle to be connected; receiving the Bluetooth name and the Bluetooth password of the vehicle to be connected, which are returned by the Internet of vehicles platform; sending a Bluetooth connection request to the vehicle central control equipment with the Bluetooth name to request the establishment of Bluetooth communication; the Bluetooth connection request comprises the Bluetooth password.
In the implementation process, the user terminal can acquire the vehicle number of the vehicle to be connected, and then sends the vehicle use request containing the vehicle number to the vehicle networking platform, and then receives the Bluetooth name and the Bluetooth password of the vehicle to be connected returned by the vehicle networking platform, so that the Bluetooth connection request containing the Bluetooth password is sent to the vehicle central control equipment with the Bluetooth name, and Bluetooth communication is established according to the request. Therefore, the user terminal can establish Bluetooth communication connection with the vehicle central control equipment, so that the instruction can be sent to the central control equipment in a Bluetooth transmission mode, and the problem that communication is unstable or delay exists in the related technology is solved.
The embodiment of the application also provides a vehicle Bluetooth communication method which is applied to the Internet of vehicles platform; the vehicle Bluetooth communication method comprises the following steps: when a vehicle using request of a user terminal is received, searching vehicle parameters corresponding to a vehicle number according to the vehicle number in the vehicle using request; generating a Bluetooth name and a Bluetooth password based on the vehicle parameters; and sending the Bluetooth name and the Bluetooth password to the user terminal.
In the implementation process, when the vehicle networking platform receives a vehicle use request of the user terminal, the vehicle networking platform can find out vehicle parameters corresponding to the vehicle number according to the vehicle number in the vehicle use request, then generate a Bluetooth name and a Bluetooth password based on the vehicle parameters, and send the Bluetooth name and the Bluetooth password to the user terminal, so that the user terminal can use the Bluetooth name and the Bluetooth password to perform Bluetooth connection with the vehicle central control device. By adopting the mode, the user terminal can establish the Bluetooth communication connection with the vehicle central control equipment, so that the instruction can be sent to the central control equipment in a Bluetooth transmission mode, and the problem that the communication is unstable or has delay in the related technology is solved. Meanwhile, the generation of the Bluetooth name and the Bluetooth password is realized through the Internet of vehicles platform, the generation safety of the Bluetooth name and the Bluetooth password can be improved, the risk that the generation rule of the Bluetooth name and the Bluetooth password is decoded is reduced, and therefore the reliability of the scheme of the embodiment of the application is improved.
Further, the vehicle parameters include: the operation number, the appkey and the international mobile equipment identification code; the generating a Bluetooth name and a Bluetooth password based on the vehicle parameters comprises: and generating a Bluetooth name based on the appkey and the international mobile equipment identification code, and generating a Bluetooth password based on the operation number, the appkey and the current world standard time.
In the implementation process, the appkey has uniqueness, and the international mobile equipment identification code of the vehicle central control equipment can uniquely identify one vehicle central control equipment and also has uniqueness, so that the probability that the Bluetooth name has the uniqueness can be effectively improved through the Bluetooth name generated by the appkey and the international mobile equipment identification code of the vehicle central control equipment, thereby avoiding the situation that different vehicles have the same Bluetooth name, and improving the reliability of the scheme. In addition, because the operation number corresponding to the vehicle central control device and the appkey in the vehicle central control device are unique, the situation that the Bluetooth passwords corresponding to the other vehicle central control devices are the same as the Bluetooth passwords generated based on the operation number and the appkey can be avoided to a certain extent; and because the world standard time is constantly changed, the Bluetooth password generated based on the world standard time has timeliness, and the condition that the password is used by other people after being leaked can be effectively reduced. Therefore, the reliability and the safety of the scheme of the embodiment of the application can be improved to a certain extent by adopting the mode.
Further, before the finding out the vehicle parameter corresponding to the vehicle number according to the vehicle number in the vehicle use request, the method further includes: receiving a login request of a vehicle; verifying the login request; and when the vehicle passes the verification, correspondingly storing the vehicle number of the vehicle, the appkey and the international mobile equipment identification code carried in the login request, and feeding back an operation number corresponding to the vehicle.
In the implementation process, after the vehicle successfully logs in, the operation number is allocated to the vehicle central control device, so that the vehicle central control device can generate the verification password according to the operation number, and the feasibility of the scheme is ensured. After the vehicle is successfully logged in, the vehicle number of the vehicle is correspondingly stored with the appkey and the international mobile equipment identification code carried in the login request, so that the required appkey and the international mobile equipment identification code can be quickly found when the Bluetooth name and the Bluetooth password are generated in the later period, and the reliability of the scheme is improved.
The embodiment of the application also provides a Bluetooth communication device which is applied to the vehicle central control equipment with the Bluetooth module; the bluetooth communication apparatus includes: the system comprises a first receiving module, a first generating module and a verification processing module; the first receiving module is used for receiving a Bluetooth password sent by a user terminal; the first generation module is used for generating a check password; and the verification processing module is used for establishing Bluetooth communication with the user terminal when the Bluetooth password is matched with the verification password.
In the implementation process, the bluetooth communication device generates the check password when receiving the bluetooth password sent by the user terminal, and establishes bluetooth communication with the user terminal when the bluetooth password is matched with the check password. Therefore, the user terminal can send the instruction to the Bluetooth communication device in a Bluetooth transmission mode, and the problem that communication is unstable or delay exists in the related technology is solved. Meanwhile, the verification of the Bluetooth password is realized by generating the verification password in the embodiment of the application, and the Bluetooth communication is established after the verification is passed, so that the communication safety is improved.
The embodiment of the application also provides a Bluetooth communication device which is applied to the user terminal; the bluetooth communication apparatus includes: the device comprises an acquisition module, a first sending module and a second receiving module; the acquisition module is used for acquiring the vehicle number of the vehicle to be connected; the first sending module is used for sending a vehicle use request to the Internet of vehicles platform; the vehicle use request comprises a vehicle number of the vehicle to be connected; the second receiving module is used for receiving the Bluetooth name and the Bluetooth password of the vehicle to be connected, which are returned by the Internet of vehicles platform; the first sending module is further used for sending a Bluetooth connection request to the vehicle central control equipment with the Bluetooth name so as to request to establish Bluetooth communication; the Bluetooth connection request comprises the Bluetooth password.
In the implementation process, the Bluetooth communication device can acquire the vehicle number of the vehicle to be connected, and then sends the vehicle use request containing the vehicle number to the vehicle networking platform, and then receives the Bluetooth name and the Bluetooth password of the vehicle to be connected returned by the vehicle networking platform, so that the Bluetooth connection request containing the Bluetooth password is sent to the vehicle central control equipment with the Bluetooth name, and the Bluetooth communication is established according to the request. Therefore, the Bluetooth communication device can establish Bluetooth communication connection with the vehicle central control equipment, so that the command can be sent to the central control equipment in a Bluetooth transmission mode, and the problem that communication is unstable or delay exists in the related technology is solved.
The embodiment of the application also provides a Bluetooth communication device which is applied to the Internet of vehicles platform; the bluetooth communication apparatus includes: the device comprises a third receiving module, a searching processing module, a second generating module and a second sending module; the third receiving module is used for receiving a vehicle use request of the user terminal; the searching processing module is used for searching vehicle parameters corresponding to the vehicle number according to the vehicle number in the vehicle using request when the third receiving module receives the vehicle using request of the user terminal; the second generation module is used for generating a Bluetooth name and a Bluetooth password based on the vehicle parameters; the second sending module is used for sending the Bluetooth name and the Bluetooth password to the user terminal.
In the implementation process, when the bluetooth communication device receives a vehicle use request of the user terminal, the vehicle parameter corresponding to the vehicle number can be found out according to the vehicle number in the vehicle use request, and then the bluetooth name and the bluetooth password are generated based on the vehicle parameter, and the bluetooth name and the bluetooth password are sent to the user terminal, so that the user terminal can use the bluetooth name and the bluetooth password to perform bluetooth connection with the vehicle central control device. By adopting the mode, the user terminal can establish the Bluetooth communication connection with the vehicle central control equipment, so that the instruction can be sent to the central control equipment in a Bluetooth transmission mode, and the problem that the communication is unstable or has delay in the related technology is solved. Simultaneously through being applied to the bluetooth communication device in the car networking platform and realizing the generation of bluetooth name and bluetooth password, can promote the generation security of bluetooth name and bluetooth password, reduce the risk that the generation rule of bluetooth name and bluetooth password is deciphered to promote the reliability of the scheme of this application embodiment.
The embodiment of the application also provides electronic equipment, which comprises a processor, a memory and a communication bus; the communication bus is used for realizing connection communication between the processor and the memory; the processor is used for executing one or more first programs stored in the memory so as to realize the steps of the vehicle Bluetooth communication method applied to any one of the vehicle central control devices with the Bluetooth module; or the processor is used for executing one or more second programs stored in the memory to realize the steps of the vehicle Bluetooth communication method applied to the user terminal; or, the processor is configured to execute one or more third programs stored in the memory to implement the steps of the vehicle bluetooth communication method applied to any one of the vehicle networking platforms.
Also provided in an embodiment of the present application is a readable storage medium storing one or more programs executable by one or more processors to implement the steps of the above-described vehicle bluetooth communication method applied to any one of vehicle central control devices having a bluetooth module; or implementing the vehicle Bluetooth communication method applied to the user terminal; or implementing the steps of any of the vehicle Bluetooth communication methods applied to the Internet of vehicles platform.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a bluetooth communication method for a vehicle according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a process for associating vehicle numbers with vehicle parameters according to an embodiment of the present disclosure;
FIG. 3 is a more detailed schematic flow chart diagram illustrating a vehicle Bluetooth communication process according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a bluetooth communication device applied to a vehicle central control device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a bluetooth communication apparatus applied to a user terminal according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a bluetooth communication device applied to an internet of vehicles platform according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The first embodiment is as follows:
in order to solve the problem that data communication between a user terminal and a vehicle central control device is delayed or unstable in the related art, the embodiment of the application provides a vehicle Bluetooth communication method. As shown in fig. 1, the user terminal, the vehicle central control device with the bluetooth module, and the vehicle networking platform cooperate to realize secure communication between the user terminal and the vehicle central control device.
S101: the user terminal obtains the vehicle number of the vehicle to be connected.
In the embodiment of the application, the vehicle number is a number for uniquely identifying one vehicle, and the vehicle number can be given to each vehicle by an operator or a manufacturer and is recorded in the internet-of-vehicles platform to identify different vehicles.
In the embodiment of the present application, the vehicle use request includes the vehicle number of the vehicle to be connected. In this application embodiment, can set up the two-dimensional code on the vehicle to implant the vehicle number in the two-dimensional code, thereby when the user needs to obtain the vehicle number of a certain vehicle, can realize the acquisition to the vehicle number of this vehicle through sweeping the two-dimensional code of this vehicle.
S102: and sending a vehicle use request to the Internet of vehicles platform.
In the embodiment of the application, the vehicle use request sending instruction can be implanted into the two-dimensional code, so that the vehicle use request containing the vehicle number of the vehicle can be automatically sent to the internet of vehicles platform after the user terminal scans the code, the operation steps of a user are reduced, and the operation experience of the user is improved.
S103: and finding out the vehicle parameters corresponding to the vehicle number according to the vehicle number in the vehicle use request.
In the embodiment of the application, the corresponding relation between each vehicle number and the vehicle parameter can be correspondingly stored in the vehicle networking platform in advance, so that the vehicle parameter corresponding to the vehicle number can be quickly found out according to the vehicle number in the vehicle using request after the vehicle using request sent by the user terminal is received.
In a possible implementation manner of the embodiment of the application, it may be set that the vehicle central control device needs to log in the internet of vehicles system before being put into use. In this possible embodiment, referring to fig. 2, the car networking platform may implement the association between the vehicle number and the vehicle parameter during the login process of the vehicle central control device:
s201: receiving a login request of a vehicle;
it should be noted that, in the embodiment of the present application, the vehicle number of each vehicle may be preset in the vehicle central control device, so that when the login request is sent to the vehicle networking platform, the vehicle number of the vehicle is carried, so that the vehicle networking platform can specify which vehicle the logged-in vehicle is. In addition, in this embodiment of the application, a correspondence between unique identifiers (e.g., an IMEI (International Mobile Equipment Identity) and a vehicle number) of each vehicle central control device may be pre-stored in the vehicle networking platform, and at this time, when the vehicle central control device sends a login request to the vehicle networking platform, the vehicle central control device carries its own unique identifier (e.g., an IMEI number), and the vehicle networking platform may specify a corresponding vehicle number according to the unique identifier.
S202: verifying the login request;
in the embodiment of the application, the verification manner includes, but is not limited to, judging whether the vehicle number or the unique identifier carried in the login request is a vehicle number or a unique identifier pre-stored in the vehicle networking platform, if so, the verification is passed, otherwise, the verification is not passed. It should be understood that the foregoing authentication scheme is only one possible authentication scheme provided in the embodiments of the present application, and does not represent that only this scheme may be used for login authentication in the embodiments of the present application. In fact, any scheme that can verify the validity of the login request can be adopted in the embodiments of the present application.
S203: and when the vehicle passes the verification, correspondingly storing the vehicle number of the vehicle and the vehicle parameter carried in the login request.
In a possible implementation example of the embodiment of the present application, the vehicle parameters that may be carried in the login request may include an IMEI number of the vehicle central control device and/or an appkey of the vehicle central control device. It should be noted that the appkey is an API interface verification serial number, is used for verifying the API access validity, and may be generated in a self-defined generation manner by the vehicle central control device, and the generated appkey needs to be guaranteed not to be repeated and has uniqueness.
It should be further noted that, in an actual application process, after the vehicle central control device successfully logs in, the internet of vehicles platform may assign an opt id (operation number) to the vehicle central control device and return the opt id to the vehicle central control device, so as to notify the vehicle central control device that the logging in is successful and allow the vehicle central control device to be enabled. In the embodiment of the application, the optID returned to the central control equipment of different vehicles can have uniqueness, so that the probability of cracking the optID is reduced, and the reliability of the scheme is improved. In a possible implementation example of the embodiment of the present application, the optID may be used as a vehicle parameter, and when the optID is assigned to the vehicle central control device, the assigned optID is stored in correspondence with the vehicle number corresponding to the vehicle central control device.
S104: a Bluetooth name and a Bluetooth password are generated based on the vehicle parameters.
In a possible implementation manner of the embodiment of the present application, the vehicle parameter may include an appkey in the vehicle central control device and an IMEI number of the vehicle central control device, and the vehicle network platform may generate a bluetooth name according to the appkey and an international mobile equipment identity of the vehicle central control device. For example, the appkey and the IMEI may be encrypted by the MD5 algorithm, and the character string obtained after encryption is used as the bluetooth name.
It should be understood that the bluetooth name generation method in the foregoing possible embodiment is only one possible embodiment in this application embodiment, and does not represent that only the bluetooth name can be generated in this application embodiment by the above method, and in fact, any method that generates a bluetooth name based on vehicle parameters may be used in this application embodiment, for example, an IMEI number of a vehicle central control device may be subjected to numerical conversion calculation according to a preset calculation formula, and the converted numerical value is encrypted, and a character string obtained after encryption is used as the bluetooth name.
In a possible implementation manner of the embodiment of the application, when the vehicle parameter includes an opt id returned by the internet of vehicles platform, the check password may be generated according to the opt id. Illustratively, the optID may be encrypted by MD5, and the encrypted character string may be used as a Bluetooth password.
In a possible implementation manner of the embodiment of the application, when the vehicle parameter includes an appkey in the vehicle central control device, the verification password may be generated according to the appkey in the vehicle central control device. For example, the appkey may be encrypted by MD5, and the encrypted character string is used as a bluetooth password.
In a possible implementation manner of the embodiment of the present application, the vehicle parameter includes an IMEI number of the vehicle central control device, and the verification password may be generated according to the IMEI number of the vehicle central control device. For example, the IMEI number may be MD5 encrypted, and the encrypted character string may be used as a bluetooth password.
In a possible implementation manner of the embodiment of the application, when the vehicle parameters include the appkey in the vehicle central control device and the optID returned by the internet of vehicles platform, the bluetooth password may be generated according to the optID, the appkey of the vehicle central control device and the current utc (universal time). Illustratively, appkey, optId and utc may be combined into a set of strings, and the combined string may be encrypted by the MD5 algorithm, with the encrypted string being used as the bluetooth password.
It should be understood that, in the embodiment of the present application, in addition to generating the bluetooth password based on the vehicle parameters, the bluetooth password may be generated based on the rest of data that is negotiated in advance by the vehicle networking platform and the vehicle central control device, for example, the bluetooth password may be generated according to the current utc. For example, a string of values agreed with the vehicle central control device in advance and the current utc can be added to form a group of character strings, and then the combined character strings are encrypted through the MD5 algorithm, and the encrypted character strings are used as Bluetooth passwords.
It should be noted that the bluetooth password generation manners in the foregoing several possible embodiments are only some possible embodiments listed in this embodiment, and should not be limited to the embodiments in this application that only the bluetooth password can be generated in the foregoing manner.
S105: and sending the Bluetooth name and the Bluetooth password to the user terminal.
S106: and sending a Bluetooth connection request to the vehicle central control device with the Bluetooth name.
In the embodiment of the application, after the user terminal receives the bluetooth name and the bluetooth password sent by the vehicle networking platform, the user can search whether the bluetooth signal with the same name exists around the user terminal based on the bluetooth name. When finding that the Bluetooth signals with the same name exist, the user can send out a Bluetooth connection request to the vehicle central control equipment with the Bluetooth name through the operation of the user terminal. It should be noted that, in the embodiment of the present application, the bluetooth password should be included in the bluetooth connection request.
It is worth noting that in the embodiment of the application, the vehicle central control device generates the bluetooth name based on the same bluetooth name generation mode as the vehicle networking platform and broadcasts the bluetooth name, so that for the same vehicle, the bluetooth name sent to the user terminal by the vehicle networking platform is the same as the bluetooth name broadcasted by the vehicle central control device, and the user terminal can search for the bluetooth signal with the same name. The following are exemplary: the vehicle network platform generates the Bluetooth name according to the appkey and the international mobile equipment identification code of the vehicle central control equipment, and then the vehicle central control equipment can also generate the Bluetooth name according to the appkey and the international mobile equipment identification code of the vehicle central control equipment. For example, the vehicle central control device and the vehicle networking platform encrypt appkey and IMEI through an MD5 algorithm, and use a character string obtained after encryption as a bluetooth name, thereby ensuring that the generated bluetooth names are the same.
S107: and generating a verification password.
The vehicle central control equipment can generate a check password after receiving a Bluetooth connection request which is sent by a user terminal and comprises a Bluetooth password, so that the check of the Bluetooth password sent by the user terminal is realized through the check password, and if and only if the Bluetooth password is matched with the check password, Bluetooth communication can be established with the user terminal, so that the safety of the established Bluetooth communication connection is ensured.
It should be noted here that, in the embodiment of the present application, a generation manner of the verification password in the vehicle central control device should be consistent with a generation manner of the vehicle network platform for the bluetooth password, so as to ensure verifiability of the verification password.
Illustratively, when the vehicle networking platform generates the bluetooth password according to the opt id, the vehicle central control device may also generate the verification password according to the opt id in the same generation manner as the vehicle networking platform. For example, the vehicle networking platform encrypts the opt id by MD5, and the encrypted character string is used as the bluetooth password, so that the vehicle central control device also encrypts the opt id by MD5, and uses the encrypted character string as the check password, so that when the generated check password is consistent with the bluetooth password sent by the user terminal, the vehicle central control device can establish bluetooth communication with the user terminal.
For another example, when the vehicle networking platform generates the bluetooth password according to the appkey of the vehicle central control device, the vehicle central control device may also generate the verification password according to its appkey in the same generation manner as the vehicle networking platform. For example, the vehicle networking platform performs MD5 encryption on the appkey of the vehicle central control device, and the encrypted character string is used as the bluetooth password, so that the vehicle central control device also performs MD5 encryption on the appkey of the vehicle central control device, and uses the encrypted character string as the check password, so that when the generated check password is consistent with the bluetooth password sent by the user terminal, the vehicle central control device can establish bluetooth communication with the user terminal.
For another example, when the car networking platform generates the bluetooth password according to current utc, the vehicle central control device may also generate the verification password according to current utc in the same generation manner as the car networking platform. For example, if the vehicle networking platform performs MD5 encryption on the current utc and takes the encrypted character string as a bluetooth password, the vehicle central control device also performs MD5 encryption on the current utc and takes the encrypted character string as a check password, so that when the generated check password is consistent with the bluetooth password sent by the user terminal, the vehicle central control device can establish bluetooth communication with the user terminal.
For another example, when the car networking platform generates the bluetooth password according to the optID, the appkey of the vehicle central control device, and the current utc, the vehicle central control device may also generate the verification password according to the optID, the appkey of the vehicle central control device, and the current utc in the same generation manner as the car networking platform. For example, the vehicle networking platform combines the appkey, the optId and utc into a group of character strings, encrypts the combined character strings through the MD5 algorithm, and uses the encrypted character strings as the Bluetooth password, so that the vehicle central control device also combines the appkey, the optId and utc into a group of character strings, encrypts the combined character strings through the MD5 algorithm, and uses the encrypted character strings as the check password, so that when the generated check password is consistent with the Bluetooth password sent by the user terminal, the vehicle central control device can establish Bluetooth communication with the user terminal.
It should be noted that, in the two scenarios mentioned above, which involve the current utc to generate the verification password, considering the practical application situation is complex, there may be a situation that the vehicle central control device has been away from the vehicle networking platform to generate the bluetooth password when receiving the bluetooth connection request (generally speaking, when generating the bluetooth password by using utc, utc is accurate to minutes, so that the generated bluetooth password is different every minute), and if the vehicle central control device generates a verification password only according to the current utc, there may be a situation that the verification fails due to bluetooth failure. In order to solve the problem, in the embodiment of the present application, when generating the check password, the vehicle central control device may obtain N time values N minutes before the current universal standard time according to the current universal standard time, further generate the check password corresponding to the N time values N minutes before the current universal standard time in addition to the current check password utc when generating the check value, and determine that the bluetooth password and the check password match when the bluetooth password is the same as any one of the N +1 check passwords.
For example, the vehicle networking platform is a bluetooth password obtained by encrypting the opt id, the appkey and the utc according to a preset algorithm, then after obtaining N time values N minutes before the current utc, the vehicle central control device encrypts the opt id and the appkey respectively with the N time values and the current utc according to the preset algorithm to obtain N +1 check passwords, and when the bluetooth password is the same as any one of the N +1 check passwords, it is determined that the bluetooth password matches the check passwords.
In the embodiment of the present application, the value of N may be set by an engineer according to actual needs, for example, may be set to 2. In addition, in the embodiment of the present application, in addition to calculating the check passwords corresponding to N time values N minutes before the current utc, the check passwords corresponding to M time values M minutes after the current utc may be generated, and at this time, as long as the bluetooth password is the same as any one of the N + M +1 check passwords, it is determined that the bluetooth password and the check password match.
S108: and when the Bluetooth password is matched with the verification password, establishing Bluetooth communication with the user terminal.
After the user terminal communicates with the monitoring Bluetooth of the vehicle central control equipment, data interaction can be achieved through the Bluetooth, and for example, the user terminal can send a vehicle lock opening or locking instruction through the Bluetooth. This provides more stable communication and less delay than in the related art.
It is to be noted that the above-described scheme in this embodiment of the application may be applied to a scenario in which operation and maintenance management is performed based on a vehicle network platform, for example, may be applied to a shared vehicle scenario (a shared vehicle operator operation and maintenance vehicle network platform provides the above-described bluetooth connection scheme for a rented shared vehicle to improve the use experience of a vehicle renter), and may also be applied to an operation management scenario of a vehicle supplier (a supplier operation and maintenance vehicle network platform provides the above-described bluetooth connection scheme for a supplied vehicle to improve the use experience of a vehicle purchasing user).
In summary, according to the vehicle bluetooth communication method provided by the embodiment of the application, the user terminal can send the instruction to the central control device in a bluetooth transmission manner, so that the problem of unstable communication or delay in the related art is solved. Meanwhile, the verification of the Bluetooth password is realized by generating the verification password in the embodiment of the application, and the Bluetooth communication is established after the verification is passed, so that the communication safety is improved. Meanwhile, the generation of the Bluetooth name and the Bluetooth password is realized through the Internet of vehicles platform, the generation safety of the Bluetooth name and the Bluetooth password can be improved, the risk that the generation rule of the Bluetooth name and the Bluetooth password is decoded is reduced, and therefore the reliability of the scheme of the embodiment of the application is improved.
Example two:
the present embodiment takes a bluetooth communication procedure of a vehicle applied to a shared bicycle as an example on the basis of the first embodiment, and further illustrates the present application.
Referring to fig. 3, the vehicle central control device needs to be networked first to connect with the vehicle networking platform. A login request is then sent to the internet of vehicles platform to request login. The vehicle networking platform verifies the login request, the optID is issued to the vehicle central control device when the verification is passed, and if the verification is not passed, the vehicle central control device is informed of the failure of the verification so that the vehicle central control device can initiate the login request again. In the embodiment of the application, after the login is successful, the vehicle central control device can perform MD5 encryption on the optID and the IMEI number of the vehicle central control device, and the encrypted character string is used as the bluetooth name and is broadcasted. It is worth noting that in the embodiment of the application, the vehicle network platform can issue the opt ID for the vehicle central control device only when the vehicle central control device successfully logs in the vehicle network platform for the first time, so that communication resources between the vehicle central control device and the vehicle network platform can be saved.
In the embodiment of the application, still referring to fig. 3, when a user needs to use a shared bicycle, the user can scan a two-dimensional code on the shared bicycle through an app on a user terminal, so as to obtain a vehicle number. When the two-dimensional code is scanned, the user terminal automatically sends a vehicle use request to the Internet of vehicles platform, and the vehicle use request comprises the acquired vehicle number. The internet of vehicles platform finds out the optID, IMEI number and appkey of the corresponding vehicle central control equipment according to the vehicle number, and then combines the found appkey and optId with the current utc to carry out encryption by adopting an MD5 algorithm, and the character string obtained by encryption is used as a Bluetooth password. And encrypting the found appkey and IMEI number by adopting an MD5 algorithm, and taking the encrypted character string as a Bluetooth name. And sending the generated Bluetooth name and the generated Bluetooth password to the user terminal.
During connection, still referring to fig. 3, the user terminal may send a bluetooth connection request to the vehicle central control device having the bluetooth name by searching, where the bluetooth password is carried in the bluetooth connection request. And the vehicle central control equipment carries out password verification after receiving the Bluetooth connection request, establishes Bluetooth communication connection with the user terminal after the verification is passed, and continuously broadcasts the Bluetooth name when the verification fails.
In the embodiment of the application, when the vehicle central control device performs password authentication, n utc time points before and after the current utc is determined as the center, and then the opt id and the appkey are respectively subjected to MD5 encryption with the n utc time points to obtain n verification passwords, when the bluetooth password sent by the user terminal is the same as any one of the n verification passwords, it is determined that the authentication is passed, and otherwise, it is determined that the authentication is failed.
By the scheme, the user terminal and the vehicle central control equipment establish a bidirectional intercommunication communication channel, so that the consistency of the Bluetooth password can still be ensured when no network exists between the user terminal and the vehicle central control equipment. In addition, the vehicle networking platform is mainly used for generating communication credentials, can support a large amount of concurrency with low cost, and meanwhile improves the safety of a communication transmission process.
Example three:
based on the same inventive concept, the embodiment of the present application further provides a bluetooth communication device 100, a bluetooth communication device 200, and a bluetooth communication device 300. Referring to fig. 4, 5 and 6, fig. 4 shows bluetooth communication devices corresponding to steps executed by a vehicle central control device in the method shown in fig. 1, fig. 5 shows bluetooth communication devices corresponding to steps executed by a user terminal in the method shown in fig. 1, and fig. 6 shows bluetooth communication devices corresponding to steps executed by an internet of vehicles platform in the method shown in fig. 1. It should be understood that the various steps involved in the method of FIG. 1 described above may be performed by the cooperation of the apparatus 100, the apparatus 200, and the apparatus 300; the specific functions of the apparatus 100, the apparatus 200 and the apparatus 300 can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy. The devices 100, 200 and 300 include at least one software functional module that can be stored in a memory in the form of software or firmware or solidified in an operating system of the devices 100, 200 and 30. Specifically, the method comprises the following steps:
referring to fig. 4, the apparatus 100 is applied to a vehicle central control device having a bluetooth module, and includes: a first receiving module 101, a first generating module 102 and a verification processing module 103;
the first receiving module 101 is configured to receive a bluetooth password sent by a user terminal;
the first generating module 102 is configured to generate a verification password;
the verification processing module 103 is configured to establish bluetooth communication with the user terminal when the bluetooth password matches the verification password.
In this embodiment, the first generating module 102 is further configured to generate a bluetooth name and broadcast the bluetooth name before receiving the bluetooth password sent by the user terminal.
In this embodiment of the application, the first generating module 102 is specifically configured to generate a bluetooth name according to a preset appkey and an international mobile equipment identity of a vehicle central control device, and broadcast the bluetooth name.
In a feasible implementation manner of the embodiment of the present application, the bluetooth password sent by the user terminal is: generating a Bluetooth password according to an operation number corresponding to the vehicle central control equipment, which is pre-stored in the Internet of vehicles platform; the first receiving module 101 is further configured to obtain an operation number corresponding to the vehicle central control device from the internet of vehicles platform before generating the verification password; the first generating module 102 is specifically configured to generate a check password according to the operation number; and the generation mode of the verification password is consistent with that of the Bluetooth password.
In a feasible implementation manner of the embodiment of the present application, the bluetooth password sent by the user terminal is: generating a Bluetooth password according to the world standard time; the first generating module 102 is specifically configured to generate a verification password according to the current universal standard time; and the generation mode of the verification password is consistent with that of the Bluetooth password.
In a feasible implementation manner of the embodiment of the present application, the bluetooth password sent by the user terminal is: generating a Bluetooth password according to the appkey of the vehicle central control equipment; the first generation module 102 is specifically configured to generate a verification password according to an appkey of the vehicle central control device; and the generation mode of the verification password is consistent with that of the Bluetooth password.
In a feasible implementation manner of the embodiment of the present application, the bluetooth password sent by the user terminal is: generating a Bluetooth password according to the operation number corresponding to the vehicle central control equipment, the appkey of the vehicle central control equipment and the universal standard time; the first receiving module 101 is further configured to obtain an operation number corresponding to the vehicle central control device from the internet of vehicles platform before generating the verification password; the first generation module 102 is specifically configured to generate a verification password according to the operation number, the appkey of the vehicle central control device, and the current universal standard time; and the generation mode of the verification password is consistent with that of the Bluetooth password.
In the above possible implementation related to the current universal time, the first generating module 102 is specifically configured to obtain N time values N minutes before the current universal time according to the current universal time; respectively encrypting the operation number and the appkey with the N time values and the current world standard time according to a preset algorithm to obtain N +1 verification passwords; and when the Bluetooth password is the same as any one of the N +1 verification passwords, the representation Bluetooth password is matched with the verification passwords.
Referring to fig. 5, the apparatus 200 is applied to a user terminal, and includes: an acquisition module 201, a first sending module 202, and a second receiving module 203;
the obtaining module 201 is configured to obtain a vehicle number of a vehicle to be connected;
the first sending module 202 is configured to send a vehicle use request to the internet of vehicles platform; the vehicle use request comprises a vehicle number of the vehicle to be connected;
the second receiving module 203 is used for receiving the bluetooth name and the bluetooth password of the vehicle to be connected, which are returned by the vehicle networking platform;
the first sending module 202 is further configured to send a bluetooth connection request to a vehicle central control device with a bluetooth name to request to establish bluetooth communication; the bluetooth connection request includes a bluetooth password.
Referring to fig. 6, the apparatus 300 is applied to a car networking platform, and includes: a third receiving module 301, a searching processing module 302, a second generating module 303 and a second sending module 304;
the third receiving module 301 is configured to receive a vehicle use request of a user terminal;
the search processing module 302 is configured to, when the third receiving module 301 receives a vehicle use request from the user terminal, search for a vehicle parameter corresponding to a vehicle number according to the vehicle number in the vehicle use request;
the second generating module 303 is configured to generate a bluetooth name and a bluetooth password based on the vehicle parameters;
the second sending module 304 is configured to send the bluetooth name and the bluetooth password to the user terminal.
In an embodiment of the present application, the vehicle parameters include: the operation number, the appkey and the international mobile equipment identification code; the second generating module 303 is specifically configured to generate a bluetooth name based on the appkey and the international mobile equipment identity, and generate a bluetooth password based on the operation number, the appkey, and the current universal time.
In this embodiment of the application, the third receiving module 301 is further configured to receive a login request of a vehicle before finding a vehicle parameter corresponding to a vehicle number according to the vehicle number in the vehicle use request;
the search processing module 302 is further configured to verify the login request, and when the verification passes, correspondingly store the vehicle number of the vehicle, the appkey and the international mobile equipment identity carried in the login request;
the second sending module 304 is further configured to feed back the operation number corresponding to the vehicle.
It should be understood that the contents of the method steps in fig. 1 described in the first embodiment above can be implemented by the apparatuses 100, 200, and 300 of the present embodiment, and for the sake of brevity, the contents described in some of the first embodiment are not repeated in this embodiment.
Example four:
the present embodiment provides an electronic device, which is shown in fig. 7 and includes a processor 701, a memory 702, and a communication bus 703. Wherein:
the communication bus 703 is used for connecting communication between the processor 701 and the memory 702.
The processor 701 is configured to execute one or more first programs stored in the memory 702 to implement the steps performed by the vehicle central control apparatus according to the first embodiment and/or the second embodiment;
or, the processor 701 is configured to execute one or more second programs stored in the memory 702 to implement the steps performed by the user terminal according to the first embodiment and/or the second embodiment;
alternatively, the processor 701 is configured to execute one or more third programs stored in the memory 702 to implement the steps performed by the first embodiment and/or the second embodiment.
It will be appreciated that the configuration shown in fig. 7 is merely illustrative and that the electronic device may include more or fewer components than shown in fig. 7 or have a different configuration than shown in fig. 7.
The present embodiment further provides a readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash Memory, a usb (Secure Digital Card), an MMC (Multimedia Card), etc., in which one or more programs for implementing the above steps are stored, and the one or more programs can be executed by one or more processors to implement the steps executed by the vehicle central control device according to the first embodiment and/or the second embodiment, or the steps executed by the user terminal according to the first embodiment and/or the second embodiment, or the steps executed by the two networking platforms according to the first embodiment and/or the second embodiment. And will not be described in detail herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
In this context, a plurality means two or more.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (17)

1. The vehicle Bluetooth communication method is characterized by being applied to vehicle central control equipment with a Bluetooth module; the vehicle Bluetooth communication method comprises the following steps:
receiving a Bluetooth password sent by a user terminal;
generating a verification password;
and when the Bluetooth password is matched with the verification password, establishing Bluetooth communication with the user terminal.
2. The vehicle bluetooth communication method according to claim 1, further comprising, before the receiving the bluetooth password from the user terminal:
and generating a Bluetooth name and broadcasting.
3. The vehicle bluetooth communication method according to claim 2, wherein the generating and broadcasting a bluetooth name comprises:
and generating a Bluetooth name according to a preset appkey and the international mobile equipment identification code of the vehicle central control equipment and broadcasting.
4. The vehicle bluetooth communication method according to any one of claims 1 to 3, wherein the bluetooth password transmitted from the user terminal is: generating a Bluetooth password according to an operation number corresponding to the vehicle central control equipment, which is pre-stored in the Internet of vehicles platform;
before the generating of the verification password, the vehicle bluetooth communication method further includes: acquiring an operation number corresponding to the vehicle central control equipment from the vehicle networking platform;
the generating of the verification password comprises: generating the check password according to the operation number;
and the generation mode of the verification password is consistent with that of the Bluetooth password.
5. The vehicle bluetooth communication method according to any one of claims 1 to 3, wherein the bluetooth password transmitted from the user terminal is: generating a Bluetooth password according to the world standard time;
the generating of the verification password comprises: generating the check password according to the current world standard time;
and the generation mode of the verification password is consistent with that of the Bluetooth password.
6. The vehicle bluetooth communication method according to any one of claims 1 to 3, wherein the bluetooth password transmitted from the user terminal is: generating a Bluetooth password according to the appkey of the vehicle central control equipment;
the generating of the verification password comprises: generating the verification password according to the appkey of the vehicle central control equipment;
and the generation mode of the verification password is consistent with that of the Bluetooth password.
7. The vehicle bluetooth communication method according to any one of claims 1 to 3, wherein the bluetooth password transmitted from the user terminal is: the Bluetooth password is generated according to the operation number corresponding to the vehicle central control equipment, the appkey of the vehicle central control equipment and the universal standard time;
before the generating of the verification password, the vehicle bluetooth communication method further includes: acquiring an operation number corresponding to the vehicle central control equipment from a vehicle networking platform;
the generating of the verification password comprises: generating the verification password according to the operation number, the appkey of the vehicle central control equipment and the current world standard time;
and the generation mode of the verification password is consistent with that of the Bluetooth password.
8. The vehicle bluetooth communication method according to claim 7, wherein the generating the check password according to the operation number, the appkey of the vehicle central control device, and the current universal time comprises:
obtaining N time values N minutes before the current world standard time according to the current world standard time;
encrypting the operation number and the appkey respectively with the N time values and the current world standard time according to a preset algorithm to obtain N +1 verification passwords; and when the Bluetooth password is the same as any one of the N +1 verification passwords, representing that the Bluetooth password is matched with the verification password.
9. A vehicle Bluetooth communication method is applied to a user terminal and comprises the following steps:
acquiring a vehicle number of a vehicle to be connected;
sending a vehicle use request to the Internet of vehicles platform; the vehicle use request comprises a vehicle number of the vehicle to be connected;
receiving the Bluetooth name and the Bluetooth password of the vehicle to be connected, which are returned by the Internet of vehicles platform;
sending a Bluetooth connection request to the vehicle central control equipment with the Bluetooth name to request the establishment of Bluetooth communication; the Bluetooth connection request comprises the Bluetooth password.
10. A vehicle Bluetooth communication method is characterized in that the method is applied to a vehicle networking platform; the vehicle Bluetooth communication method comprises the following steps:
when a vehicle using request of a user terminal is received, searching vehicle parameters corresponding to a vehicle number according to the vehicle number in the vehicle using request;
generating a Bluetooth name and a Bluetooth password based on the vehicle parameters;
and sending the Bluetooth name and the Bluetooth password to the user terminal.
11. The vehicle bluetooth communication method according to claim 10, wherein the vehicle parameter includes: the operation number, the appkey and the international mobile equipment identification code;
the generating a Bluetooth name and a Bluetooth password based on the vehicle parameters comprises:
and generating a Bluetooth name based on the appkey and the international mobile equipment identification code, and generating a Bluetooth password based on the operation number, the appkey and the current world standard time.
12. The vehicle bluetooth communication method according to claim 10 or 11, wherein before the finding of the vehicle parameter corresponding to the vehicle number according to the vehicle number in the vehicle use request, further comprises:
receiving a login request of a vehicle;
verifying the login request;
and when the vehicle passes the verification, correspondingly storing the vehicle number of the vehicle, the appkey and the international mobile equipment identification code carried in the login request, and feeding back an operation number corresponding to the vehicle.
13. The Bluetooth communication device is characterized by being applied to a vehicle central control device with a Bluetooth module; the bluetooth communication apparatus includes: the system comprises a first receiving module, a first generating module and a verification processing module;
the first receiving module is used for receiving a Bluetooth password sent by a user terminal;
the first generation module is used for generating a check password;
and the verification processing module is used for establishing Bluetooth communication with the user terminal when the Bluetooth password is matched with the verification password.
14. A Bluetooth communication device is characterized in that the device is applied to a user terminal; the bluetooth communication apparatus includes: the device comprises an acquisition module, a first sending module and a second receiving module;
the acquisition module is used for acquiring the vehicle number of the vehicle to be connected;
the first sending module is used for sending a vehicle use request to the Internet of vehicles platform; the vehicle use request comprises a vehicle number of the vehicle to be connected;
the second receiving module is used for receiving the Bluetooth name and the Bluetooth password of the vehicle to be connected, which are returned by the Internet of vehicles platform;
the first sending module is further used for sending a Bluetooth connection request to the vehicle central control equipment with the Bluetooth name so as to request to establish Bluetooth communication; the Bluetooth connection request comprises the Bluetooth password.
15. A Bluetooth communication device is characterized in that the Bluetooth communication device is applied to an Internet of vehicles platform; the bluetooth communication apparatus includes: the device comprises a third receiving module, a searching processing module, a second generating module and a second sending module;
the third receiving module is used for receiving a vehicle use request of the user terminal;
the searching processing module is used for searching vehicle parameters corresponding to the vehicle number according to the vehicle number in the vehicle using request when the third receiving module receives the vehicle using request of the user terminal;
the second generation module is used for generating a Bluetooth name and a Bluetooth password based on the vehicle parameters;
the second sending module is used for sending the Bluetooth name and the Bluetooth password to the user terminal.
16. An electronic device comprising a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more first programs stored in the memory to implement the steps of the vehicle bluetooth communication method according to any one of claims 1 to 8;
or the processor is configured to execute one or more second programs stored in the memory to implement the steps of the vehicle bluetooth communication method according to claim 9;
or the processor is configured to execute one or more third programs stored in the memory to implement the steps of the vehicle bluetooth communication method according to any one of claims 10 to 12.
17. A readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the vehicle bluetooth communication method of any one of claims 1 to 8, or to perform the steps of the vehicle bluetooth communication method of claim 9, or to perform the steps of the vehicle bluetooth communication method of any one of claims 10-12.
CN201910908415.1A 2019-09-24 2019-09-24 Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium Pending CN110636473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910908415.1A CN110636473A (en) 2019-09-24 2019-09-24 Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910908415.1A CN110636473A (en) 2019-09-24 2019-09-24 Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN110636473A true CN110636473A (en) 2019-12-31

Family

ID=68973325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910908415.1A Pending CN110636473A (en) 2019-09-24 2019-09-24 Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110636473A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112911574A (en) * 2021-01-28 2021-06-04 惠州Tcl移动通信有限公司 Matching method and device of mobile terminal and automobile central control, automobile central control and storage medium
CN115208588A (en) * 2022-09-16 2022-10-18 宁波小遛共享信息科技有限公司 Access method of shared vehicle, internet of vehicles server and central control equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140378055A1 (en) * 2013-06-20 2014-12-25 GM Global Technology Operations LLC Pairing a wireless devices within a vehicle
CN107493561A (en) * 2017-08-07 2017-12-19 北京小米移动软件有限公司 Shared equipment unlocking method, apparatus and system
CN108111998A (en) * 2017-12-18 2018-06-01 北京博创联动科技有限公司 A kind of wireless method for unlocking and system
CN108109239A (en) * 2017-12-20 2018-06-01 东峡大通(北京)管理咨询有限公司 A kind of method for unlocking of smart lock, mobile terminal and unlocking system
CN108234651A (en) * 2018-01-02 2018-06-29 京东方科技集团股份有限公司 A kind of shared vehicles management method, device, system and equipment, storage medium
WO2019076362A1 (en) * 2017-10-19 2019-04-25 柠创控股有限公司 Leased equipment unlocking method, equipment terminal, cloud server and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140378055A1 (en) * 2013-06-20 2014-12-25 GM Global Technology Operations LLC Pairing a wireless devices within a vehicle
CN107493561A (en) * 2017-08-07 2017-12-19 北京小米移动软件有限公司 Shared equipment unlocking method, apparatus and system
WO2019076362A1 (en) * 2017-10-19 2019-04-25 柠创控股有限公司 Leased equipment unlocking method, equipment terminal, cloud server and system
CN108111998A (en) * 2017-12-18 2018-06-01 北京博创联动科技有限公司 A kind of wireless method for unlocking and system
CN108109239A (en) * 2017-12-20 2018-06-01 东峡大通(北京)管理咨询有限公司 A kind of method for unlocking of smart lock, mobile terminal and unlocking system
CN108234651A (en) * 2018-01-02 2018-06-29 京东方科技集团股份有限公司 A kind of shared vehicles management method, device, system and equipment, storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112911574A (en) * 2021-01-28 2021-06-04 惠州Tcl移动通信有限公司 Matching method and device of mobile terminal and automobile central control, automobile central control and storage medium
CN115208588A (en) * 2022-09-16 2022-10-18 宁波小遛共享信息科技有限公司 Access method of shared vehicle, internet of vehicles server and central control equipment

Similar Documents

Publication Publication Date Title
CN111783068B (en) Device authentication method, system, electronic device and storage medium
CN107086979B (en) User terminal verification login method and device
CN110266642A (en) Identity identifying method and server, electronic equipment
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
EP3851983B1 (en) Authorization method, auxiliary authorization component, management server and computer readable medium
CN106464667B (en) Certificate management method, equipment and system
CN104660567A (en) D2D terminal access authentication method as well as D2D terminal and server
CN113285932B (en) Method for acquiring edge service, server and edge device
CN112053477B (en) Control system, method and device of intelligent door lock and readable storage medium
CN109120419B (en) Upgrading method and device for ONU version of optical network unit and storage medium
CN110636473A (en) Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium
CN110602133B (en) Intelligent contract processing method, block chain management device and storage medium
CN114338132B (en) Secret-free login method, client application, operator server and electronic equipment
CN113014592B (en) Automatic registration system and method for Internet of things equipment
CN114389890A (en) User request proxy method, server and storage medium
CN103248487A (en) Near field communication authentication method, certificate authorization center and near field communication equipment
CN118872234A (en) Equipment permission configuration method and device and terminal equipment
CN109547217B (en) One-to-many identity authentication system and method based on dynamic password
CN111935173A (en) Router login verification method and device
KR20150114923A (en) Method for configuring access point connection information and terminal device for the same
CN101287218A (en) Method, device and system for modifying confidential data in terminal
KR101660261B1 (en) Method for configuring access point connection information and terminal device for the same
CN112672333B (en) Equipment connection method and device
CN117155718B (en) Gateway dynamic access control method, device and storage medium
CN112398837B (en) Data authorization method, right confirming platform, operator platform and system

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: 20191231