Search

CN-116233188-B - Internet of vehicles data transmission method, device, system and computer equipment

CN116233188BCN 116233188 BCN116233188 BCN 116233188BCN-116233188-B

Abstract

The application relates to a method, a device, a system, a computer device, a storage medium and a computer program product for transmitting internet of vehicles data. The method comprises the steps of sending first identity authentication information to a second terminal through a near field communication channel under the condition that a near field communication channel is established with the second terminal, wherein the first identity authentication information is used for authenticating identity legitimacy of the second terminal to the first terminal, and returning second identity authentication information after the identity legitimacy authentication passes, sending shared resource information to the second terminal under the condition that the identity legitimacy authentication passes to the second terminal, wherein the shared resource information comprises wireless connection authentication information, and is used for returning a resource sharing request corresponding to the shared resource information based on the shared resource information by the second terminal, establishing a shared data transmission channel with the second terminal based on the resource sharing request, and transmitting shared data to the second terminal based on the shared data transmission channel. The method can improve the data transmission efficiency and the safety.

Inventors

  • WANG BO
  • WU YUANWEI

Assignees

  • 国汽智端(成都)科技有限公司

Dates

Publication Date
20260512
Application Date
20230302

Claims (10)

  1. 1. The method for transmitting the data of the internet of vehicles is characterized by being applied to a first terminal of a data transmission system of the internet of vehicles, wherein the data transmission system of the internet of vehicles further comprises a second terminal, and the method comprises the following steps: Under the condition that a near field communication channel is established with the second terminal, sending first identity authentication information of the first terminal to the second terminal through the near field communication channel, wherein the first identity authentication information is used for authenticating identity validity of the first terminal by the second terminal, and returning second identity authentication information of the second terminal after the identity validity authentication is passed; authenticating identity validity of the second terminal based on the second identity authentication information; The method comprises the steps of sending shared resource information to a second terminal when identity legitimacy authentication of the second terminal is passed, wherein the shared resource information comprises wireless connection authentication information and is used for returning a resource sharing request corresponding to the shared resource information by the second terminal based on the shared resource information, the shared resource information further comprises a shared resource list which is a resource information list allowing the first terminal to share to the second terminal, the resource information list comprises part of resource information or all resource information of the first terminal, the shared resource information further comprises a current connection serial number, the current connection serial number is determined by the first terminal according to a first historical connection serial number, and the shared resource information is used for verifying the legitimacy of the current connection serial number by the second terminal according to a second historical connection serial number and returning a resource sharing request corresponding to the shared resource information based on the shared resource information when verification is passed; And establishing a shared data transmission channel with the second terminal based on the resource sharing request, and transmitting shared data to the second terminal based on the shared data transmission channel.
  2. 2. The method of claim 1, wherein prior to the sending the first identity authentication information of the first terminal to the second terminal via the near field communication channel, the method further comprises: acquiring first identification information of the first terminal, and signing the first identification information to obtain first signature information; and determining the first identification information, the first signature information and the first verification certificate as first identity authentication information of the first terminal.
  3. 3. The method of claim 1, wherein the second authentication information includes second identification information, second signature information, and a second certificate of authentication of the second terminal, and wherein authenticating the identity of the second terminal based on the second authentication information comprises: checking the second signature book by using a pre-stored root certificate, and checking the second signature information by using the second signature certificate under the condition that the check passes; Under the condition that the second signature information passes the signature verification, inquiring the second identification information in an identification information storage list; under the condition that the second identification information is inquired, determining that the identity legitimacy of the second terminal passes the authentication; and under the condition that the second identification information is not queried, displaying information to be confirmed containing the second identification information, wherein the information to be confirmed is used for confirming whether shared data are transmitted to the second terminal corresponding to the second identification information or not, and determining the identity validity authentication result of the second terminal based on a confirmation result.
  4. 4. A method according to claim 3, wherein said determining the result of identity validity authentication of the second terminal based on the confirmation result comprises: Determining that the identity validity of the second terminal passes through authentication according to a first confirmation result input by a user, wherein the first confirmation result indicates that the transmission of shared data to the second terminal corresponding to the second identification information is allowed; And responding to a second confirmation result input by the user, and determining that the identity validity authentication of the second terminal is not passed, wherein the second confirmation result indicates that the transmission of shared data to the second terminal corresponding to the second identification information is not allowed.
  5. 5. The Internet of vehicles data transmission system is characterized by comprising a first terminal and a second terminal, wherein: The first terminal is used for sending first identity authentication information of the first terminal to the second terminal through the near field communication channel under the condition that the near field communication channel is established with the second terminal is monitored, wherein the near field communication channel is established when the first terminal is close to the second terminal; The second terminal is used for carrying out identity validity authentication on the first terminal based on the first identity authentication information, and sending second identity authentication information of the second terminal to the first terminal after the identity validity authentication is passed; The first terminal is further configured to perform identity validity authentication on the second terminal based on the second identity authentication information, and send shared resource information to the second terminal when the second terminal passes the identity validity authentication, where the shared resource information includes wireless connection authentication information, and the shared resource information further includes a shared resource list, where the shared resource list is a resource information list that allows the first terminal to share to the second terminal, and the resource information list includes part of or all of the resource information of the first terminal, where the shared resource information further includes a current connection sequence number, where the current connection sequence number is determined by the first terminal according to a first historical connection sequence number, and the shared resource information is configured to verify validity of the current connection sequence number according to a second historical connection sequence number, and return a resource sharing request corresponding to the shared resource information based on the shared resource information when verification passes; the second terminal is further configured to send a resource sharing request corresponding to the shared resource information to the first terminal based on the shared resource information; The first terminal is further configured to establish a shared data transmission channel with the second terminal based on the resource sharing request, and transmit shared data to the second terminal based on the shared data transmission channel.
  6. 6. The utility model provides a car networking data transmission device, its characterized in that, the device is applied to car networking data transmission system's first terminal, car networking data transmission system still includes the second terminal, the device includes: The first sending module is used for sending first identity authentication information of the first terminal to the second terminal through the near field communication channel under the condition that the near field communication channel is established with the second terminal is monitored, wherein the first identity authentication information is used for authenticating identity validity of the first terminal by the second terminal, and after the identity validity authentication is passed, second identity authentication information of the second terminal is returned; the near field communication channel is established when the first terminal is close to the second terminal; the identity authentication module is used for authenticating the identity legitimacy of the second terminal based on the second identity authentication information; The second sending module is used for sending shared resource information to the second terminal under the condition that the identity legitimacy authentication of the second terminal is passed, wherein the shared resource information comprises wireless connection authentication information, and the second terminal is used for returning a resource sharing request corresponding to the shared resource information based on the shared resource information; the shared resource information also comprises a shared resource list, wherein the shared resource list is a resource information list which allows the first terminal to share the second terminal, the resource information list comprises part or all of the resource information of the first terminal, the shared resource information also comprises a current connection serial number which is determined by the first terminal according to a first historical connection serial number, and the shared resource information is used for the second terminal to verify the validity of the current connection serial number according to a second historical connection serial number and return a resource sharing request corresponding to the shared resource information based on the shared resource information under the condition that verification is passed; And the transmission module is used for establishing a shared data transmission channel with the second terminal based on the resource sharing request and transmitting shared data to the second terminal based on the shared data transmission channel.
  7. 7. The apparatus of claim 6, wherein prior to said transmitting the first identity authentication information of the first terminal to the second terminal via the near field communication channel, the apparatus further comprises: the signature module is used for acquiring first identification information of the first terminal, and signing the first identification information to obtain first signature information; and the determining module is used for determining the first identification information, the first signature information and the first verification certificate as first identity authentication information of the first terminal.
  8. 8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
  9. 9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
  10. 10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method of any of claims 1 to 4.

Description

Internet of vehicles data transmission method, device, system and computer equipment Technical Field The present application relates to the field of internet of vehicles, and in particular, to an internet of vehicles data transmission method, apparatus, system, computer device, storage medium and computer program product. Background With the development of automobile intellectualization, the application scenarios of sharing mobile phone resources by the on-board equipment are more and more, such as sharing resources of address book, audio and video, screen display information, navigation information and the like, wherein the transmission of the shared resources or shared data is involved. In the related art, the transmission of the shared data is generally implemented through a data line connection (such as a USB (Universal Serial Bus, universal serial bus) cable connection), or through a wireless connection such as WiFi (WIRELESS FIDELITY ), bluetooth, or the like. However, in the manner of USB cable connection, a user is required to plug in a cable before sharing data, so that the overall efficiency of the shared data transmission is low due to the connection of the vehicle-mounted device and the mobile terminal through the cable, and the security is poor due to the fact that the USB interface reserved by the vehicle-mounted device increases an attack surface for illegal invasion. Disclosure of Invention In view of the foregoing, it is desirable to provide a method, apparatus, system, computer device, computer readable storage medium, and computer program product for internet of vehicles data transmission that can improve data transmission efficiency and security. In a first aspect, the application provides a method for transmitting internet of vehicles data. The method is applied to a first terminal of an internet of vehicles data transmission system, the internet of vehicles data transmission system further comprises a second terminal, and the method comprises the following steps: under the condition that a near field communication channel is established with the second terminal, sending first identity authentication information of the first terminal to the second terminal through the near field communication channel, wherein the first identity authentication information is used for authenticating identity validity of the first terminal by the second terminal, and returning second identity authentication information of the second terminal after the identity validity authentication is passed; authenticating identity validity of the second terminal based on the second identity authentication information; Transmitting shared resource information to the second terminal under the condition that the identity legitimacy authentication of the second terminal is passed, wherein the shared resource information comprises wireless connection authentication information and is used for returning a resource sharing request corresponding to the shared resource information by the second terminal based on the shared resource information; And establishing a shared data transmission channel with the second terminal based on the resource sharing request, and transmitting shared data to the second terminal based on the shared data transmission channel. In one embodiment, before the sending, by the near field communication channel, the first identity authentication information of the first terminal to the second terminal, the method further includes; acquiring first identification information of the first terminal, and signing the first identification information to obtain first signature information; and determining the first identification information, the first signature information and the first verification certificate as first identity authentication information of the first terminal. In one embodiment, the second identity authentication information includes second identification information, second signature information and a second verification certificate of the second terminal, and the authenticating the identity validity of the second terminal based on the second identity authentication information includes: checking the second signature book by using a pre-stored root certificate, and checking the second signature information by using the second signature certificate under the condition that the check passes; Under the condition that the second signature information passes the signature verification, inquiring the second identification information in an identification information storage list; under the condition that the second identification information is inquired, determining that the identity legitimacy of the second terminal passes the authentication; and under the condition that the second identification information is not queried, displaying information to be confirmed containing the second identification information, wherein the information to be confirmed is used for confirming whether shared data are tr