CN111132076A - Vehicle-mounted machine communication method and device, vehicle-mounted machine and terminal - Google Patents

Vehicle-mounted machine communication method and device, vehicle-mounted machine and terminal Download PDF

Info

Publication number
CN111132076A
CN111132076A CN201911423582.3A CN201911423582A CN111132076A CN 111132076 A CN111132076 A CN 111132076A CN 201911423582 A CN201911423582 A CN 201911423582A CN 111132076 A CN111132076 A CN 111132076A
Authority
CN
China
Prior art keywords
terminal
vehicle
machine
protocol layer
vehicle machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911423582.3A
Other languages
Chinese (zh)
Other versions
CN111132076B (en
Inventor
欧启琛
张斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zebra Network Technology Co Ltd
Original Assignee
Zebra Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zebra Network Technology Co Ltd filed Critical Zebra Network Technology Co Ltd
Priority to CN201911423582.3A priority Critical patent/CN111132076B/en
Publication of CN111132076A publication Critical patent/CN111132076A/en
Application granted granted Critical
Publication of CN111132076B publication Critical patent/CN111132076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • 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]
    • H04W4/48Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication

Landscapes

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

Abstract

The invention provides a vehicle-mounted device communication method, a vehicle-mounted device communication device, a vehicle-mounted device and a terminal, wherein the method comprises the following steps: receiving a verification data frame sent by a terminal through a vehicle machine protocol layer, and analyzing the verification data frame according to a set protocol to obtain a terminal identifier, a verification token and control information of the terminal; verifying according to the verification token and the terminal identification in the vehicle machine protocol layer; if the verification result is successful, sending the control information to the vehicle machine application layer through the vehicle machine protocol layer; and communicating with the terminal at the vehicle application layer according to the control information. The embodiment of the invention realizes a unified data communication mode between the vehicle machine and different terminals by providing a unified terminal access method and configuring a unified data processing flow at a protocol layer.

Description

Vehicle-mounted machine communication method and device, vehicle-mounted machine and terminal
Technical Field
The invention relates to the technical field of communication, in particular to a vehicle-mounted device communication method and device, a vehicle-mounted device and a terminal.
Background
With the development of intelligent networking of automobiles, more and more intelligent equipment terminals are connected with the automobile machine, so that various application scenes of the intelligent networking automobile are realized. For example, a vehicle event data recorder is connected to a vehicle machine, and the vehicle machine is responsible for controlling the operation of the vehicle event data recorder; or the multimedia player is connected to the vehicle machine, and the vehicle machine controls the playing function of the multimedia equipment.
With the increase of the types and the number of the terminal devices, the interconnection mode of the terminal and the vehicle machine is more and more complex. For example, the car event data recorder is connected to the car machine through a Universal Serial Bus (USB), and the multimedia player is connected to the car machine through a wireless network.
However, in order to realize multiple connection modes between the car machine and the terminal, different protocol layers and application layers of access modes are often required to be configured, so that the problems of high development cost and difficult implementation exist, and the development of intelligent networking of the car is influenced.
Disclosure of Invention
The invention aims to provide a vehicle-mounted machine communication method, a vehicle-mounted machine communication device, a vehicle-mounted machine and a terminal, which realize a uniform data communication mode between the vehicle-mounted machine and different terminals.
In a first aspect, the present invention provides a car machine communication method, applied to a car machine side, including:
receiving a verification data frame sent by a terminal through a vehicle machine protocol layer, and analyzing the verification data frame according to a set protocol to obtain a terminal identifier, a verification token and control information of the terminal;
verifying according to the verification token and the terminal identification in the vehicle machine protocol layer;
if the verification result is successful, the control information is sent to a vehicle machine application layer through the vehicle machine protocol layer;
and communicating with a terminal at the vehicle machine application layer according to the control information.
In one possible design, receiving an authentication data frame through the vehicle machine protocol layer, analyzing the authentication data frame according to the set protocol to obtain terminal information of the terminal, and sending the terminal information to the vehicle machine application layer;
acquiring an authentication result determined according to the terminal information through the car machine application layer;
if the authentication result is successful, generating a verification token according to the authentication result in the vehicle machine protocol layer;
and sending the authentication result and the verification token to the terminal through the vehicle machine protocol layer, and starting a vehicle machine reading/writing function at the same time.
In a possible design, after the car machine protocol layer performs verification according to the verification token and the terminal identifier, the method further includes:
if the verification result is verification failure, generating a verification failure data frame according to a set protocol at the vehicle-machine protocol layer;
and sending the verification failure data frame to the terminal, and disconnecting the connection between the terminal and the vehicle machine.
In a second aspect, the present invention provides a car-mounted device communication method, applied to a terminal side, including:
the method comprises the steps of electrifying and starting, configuring communication parameters at a terminal application layer and storing the communication parameters in a terminal protocol layer, wherein the communication parameters comprise a terminal identifier;
when the connection with the car machine is detected, detecting whether an authentication result is stored and judging whether the authentication result passes the authentication;
if the authentication result is stored and the authentication result is authenticated, initiating a communication request through the terminal application layer and generating a check data frame according to a set protocol at the terminal protocol layer, wherein the check data frame comprises the terminal identification, and a stored verification token and control information;
and sending the check data frame to the vehicle machine through the terminal protocol layer.
In a possible design, after detecting that the connection with the vehicle device is detected, detecting whether an authentication result is stored and determining whether the authentication result passes the authentication, the method further includes:
if the terminal is not authenticated, initiating an authentication request through the terminal application layer and generating an authentication data frame in the terminal protocol layer according to a set protocol, wherein the authentication data frame comprises terminal information;
and sending the authentication data frame to the vehicle machine through the terminal protocol layer.
In one possible design, the method further includes:
receiving an authentication result and a verification token sent by the vehicle machine through the terminal protocol layer;
and if the authentication result is successful, storing the authentication result and the verification token, and starting the read/write function of the terminal.
In one possible design, the method further includes:
and receiving an authentication result sent by the vehicle machine through the terminal protocol layer, and storing the authentication result in the terminal protocol layer if the authentication result is authentication failure.
In one possible design, the communication parameters further include a connection mode; the connection mode comprises wired connection or wireless connection.
In a third aspect, an embodiment of the present invention provides a vehicle-mounted device communication method, including:
the method comprises the steps that a terminal is powered on and started, communication parameters are configured on a terminal application layer and stored in a terminal protocol layer, wherein the communication parameters comprise a terminal identifier;
when the terminal detects that the terminal is connected with the car machine, detecting whether an authentication result is stored and judging whether the authentication result passes the authentication;
if the authentication result is stored and the authentication result is authenticated, the terminal initiates a communication request through the terminal application layer and generates a check data frame according to a set protocol on the terminal protocol layer, wherein the check data frame comprises the terminal identification, and the stored verification token and the control information;
the terminal sends the check data frame to the vehicle machine through the terminal protocol layer;
the vehicle machine receives a verification data frame sent by a terminal through a vehicle machine protocol layer, and analyzes the verification data frame according to a set protocol to obtain a terminal identifier, a verification token and control information of the terminal;
the vehicle machine checks according to the verification token and the terminal identification in the vehicle machine protocol layer;
if the verification result is successful, the vehicle machine sends the control information to a vehicle machine application layer through the vehicle machine protocol layer;
and the vehicle machine communicates with a terminal at the vehicle machine application layer according to the control information.
In a fourth aspect, an embodiment of the present invention provides a car-mounted device communication apparatus, applied to a car side, including:
the analysis module is used for receiving a verification data frame sent by a terminal through a vehicle machine protocol layer and analyzing the verification data frame according to a set protocol to obtain a terminal identifier, a verification token and control information of the terminal;
the verification module is used for verifying according to the verification token and the terminal identification in the vehicle machine protocol layer;
the sending module is used for sending the control information to the vehicle machine application layer through the vehicle machine protocol layer if the verification result is that the verification is successful;
and the communication module is used for communicating with a terminal at the vehicle machine application layer according to the control information.
In a fifth aspect, an embodiment of the present invention provides an in-vehicle communication device, applied to a terminal side, including:
the storage module is used for powering on and starting, configuring communication parameters at a terminal application layer and storing the communication parameters in a terminal protocol layer, wherein the communication parameters comprise terminal identifications;
the judging module is used for detecting whether an authentication result is stored and judging whether the authentication result passes the authentication or not when the connection with the vehicle machine is detected;
the generating module is used for initiating a communication request through the terminal application layer and generating a verification data frame according to a set protocol on the terminal protocol layer if an authentication result is stored and the authentication result is authenticated, wherein the verification data frame comprises the terminal identification, a stored verification token and control information;
and the sending module is used for sending the check data frame to the vehicle machine through the terminal protocol layer.
In a sixth aspect, an embodiment of the present invention provides a vehicle machine, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the in-vehicle communication method according to the first aspect and various possible designs of the first aspect.
In a seventh aspect, an embodiment of the present invention provides a terminal, at least one processor and a memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the in-vehicle communication method according to the second aspect and various possible designs of the second aspect.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the in-vehicle communication method according to the first aspect and various possible designs of the first aspect is implemented.
In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the vehicle-mounted communication method according to the second aspect and various possible designs of the second aspect is implemented.
According to the vehicle-mounted device communication method and device, the vehicle-mounted device and the terminal, when the terminal is connected to the vehicle-mounted device, the check data frame is analyzed at the vehicle-mounted device protocol layer to obtain the terminal identification, the verification token and the control information, and if the terminal is judged to pass the authentication, the vehicle-mounted device application layer establishes data communication with the terminal according to the control information. The embodiment of the invention realizes a unified data communication mode between the vehicle machine and different terminals by providing a unified terminal access method and configuring a unified data processing flow at a protocol layer.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic view of an application scenario of a vehicle-mounted device communication method according to an embodiment of the present invention;
fig. 2 is a first flowchart of a vehicle-mounted device communication method according to an embodiment of the present invention;
fig. 3 is a flowchart of a vehicle-mounted device communication method according to an embodiment of the present invention;
fig. 4 is a flow chart of a vehicle-mounted device communication method provided by the embodiment of the invention;
fig. 5 is a first schematic diagram illustrating connection between a vehicle machine and a terminal according to an embodiment of the present invention;
fig. 6 is a fourth flowchart of a vehicle-mounted device communication method according to an embodiment of the present invention;
fig. 7 is a second schematic diagram illustrating connection between a vehicle machine and a terminal according to an embodiment of the present invention;
fig. 8 is a fifth flowchart of a vehicle-mounted device communication method according to an embodiment of the present invention;
fig. 9 is a sixth flowchart of a vehicle-mounted device communication method according to an embodiment of the present invention;
fig. 10 is a third schematic diagram illustrating connection between a car machine and a terminal according to an embodiment of the present invention;
fig. 11 is a first schematic structural diagram of a vehicle-mounted device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a vehicle-mounted device communication apparatus according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a hardware structure of a vehicle machine according to an embodiment of the present invention;
fig. 14 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention.
Detailed Description
With the above figures, certain embodiments of the invention have been illustrated and described in more detail below. The drawings and the description are not intended to limit the scope of the inventive concept in any way, but rather to illustrate it by those skilled in the art with reference to specific embodiments.
Fig. 1 is a schematic view of an application scenario of a vehicle-mounted device communication method according to an embodiment of the present invention, and as shown in fig. 1, the application scenario of the vehicle-mounted device communication method includes a vehicle-mounted device 101 and a terminal 102, where the vehicle-mounted device 101 is an automobile with an intelligent internet function, and the terminal 102 is an intelligent terminal such as an intelligent player, an air humidifier, an intelligent rearview mirror, a vehicle-mounted refrigerator, or a vehicle-mounted massager. The car machine 101 and the terminal 102 are connected via a Universal Serial Bus (USB), bluetooth, Wireless-Fidelity (WIFI) or a Bus. The data communication is established between the car machine 101 and the terminal 102 through different connection modes, so that the purpose that the terminal 102 with different functions provides various application functions for the car machine 101 is achieved, and the comfort of driving a car and the intelligent control of the car are greatly improved.
When the terminal 102 establishes a connection with the car machine 101, the terminal 102 and the car machine 101 complete data communication through a physical layer, a protocol layer and an application layer in each communication mode. For example, when the terminal 102 is a vehicle-mounted refrigerator, the terminal 102 and the vehicle machine 101 are connected through a bus, the terminal 102 completes data communication through a physical layer, a protocol layer and an application layer in the bus communication, and the vehicle machine 101 realizes intelligent control over the terminal 102 through the physical layer, the protocol layer and the application layer of the bus communication. However, the types of the terminals 102 are various, and the connection modes between the terminals 102 with different function types and the car machine 101 are also different. Therefore, the car machine 101 needs to configure a plurality of communication protocols. The configuration of multiple communication protocols on the car machine 101 not only has the problem of high development cost, but also has the problems of low development efficiency and difficult realization of new and old versions of communication protocols due to continuous updating and upgrading of the terminal 102.
In order to solve the technical problems, the vehicle-mounted device communication method based on the scene is improved, a unified protocol layer is developed on the basis of data communication of different physical layers when the terminal 102 is connected with the vehicle-mounted device 102, and a unified data communication mode is configured on the protocol layer so as to realize a unified data communication mode between the vehicle-mounted device 101 and different terminals 102.
Fig. 2 is a first flowchart of a vehicle-mounted device communication method according to an embodiment of the present invention. The execution subject of the method of this embodiment may be the car machine in fig. 1. As shown in fig. 2, the vehicle-mounted device communication method includes the following steps:
s21: and receiving the verification data frame sent by the terminal through the vehicle machine protocol layer, and analyzing the verification data frame according to a set protocol to obtain the terminal identifier, the verification token and the control information of the terminal.
When a terminal accesses a car machine, the car machine needs to verify whether the terminal passes authentication before the access. If the terminal passes the authentication, the repeated authentication is not needed, the data communication can be directly carried out after the terminal is connected to the vehicle machine, if the authentication does not pass, the authentication is firstly needed, and after the authentication is successful, the data communication can be established between the terminal and the vehicle machine. The vehicle machine receives the check data frame sent by the terminal through the vehicle machine protocol layer to verify whether the terminal passes the authentication.
As shown in table 1, the car machine parses the check data frame according to the data frame format of the protocol set in tables 1 and 2, and obtains the terminal identifier, the verification token, and the control information. Wherein, the flag bit of the response frame in the check data frame is 0, the flag bit of the direction is 1, and the message type is 2. The verification data frame is an active frame which is actively sent to the vehicle machine by the terminal, and the content contained in the verification data frame is terminal identification, a verification token and control information.
TABLE 1 data frame Format
Figure BDA0002352982860000071
TABLE 2 message types
Figure BDA0002352982860000072
The data frame in table 1 defines a format of a communication data frame between a terminal protocol layer and a vehicle protocol layer, and includes a frame header, a length, a terminal type, a terminal identifier, a frame number, a message type, a validation token, a control information length, a control information, a checksum, and a frame trailer. Specific contents of the message type format are defined in table 2, for example, a flag bit of the response frame is defined, when the flag bit of the response frame is 0, the data frame is represented as an active frame, and when the flag bit of the response frame is 1, the data frame is represented as a response frame; a direction flag bit is further defined, when the direction flag bit is 0, the data frame is sent to the car machine by the terminal, and when the direction flag bit is 1, the data frame is sent to the terminal by the car machine; the specific content of the message type is also defined, when the message type is 0, the data frame is used for authentication, when the message type is 1, the data frame is shown to contain wireless network information of a terminal access vehicle machine, and when the message type is 2, the data frame is shown to be used for transmitting data.
S22: and verifying according to the verification token and the terminal identification in the vehicle machine protocol layer.
And in the vehicle machine protocol layer, verifying whether the terminal passes the authentication according to the obtained verification token and the terminal identification. And verifying whether the verification token corresponds to the terminal identification or not, and verifying whether information consistent with the verification token and the terminal identification exists in the vehicle machine or not.
S23: and if the verification result is successful, sending the control information to the vehicle machine application layer through the vehicle machine protocol layer.
If the verification token is consistent with the terminal identification, and the verification token and the terminal identification are also consistent with the verification token and the terminal identification stored in the vehicle, the verification result is successful, which indicates that the terminal passes the authentication before accessing the vehicle at this time, the terminal can directly perform data communication with the vehicle, and transmits control information to a vehicle application layer through a vehicle protocol layer, wherein the control information comprises corresponding intelligent networking application and application configuration information when the terminal accesses the vehicle.
S24: and communicating with the terminal at the vehicle application layer according to the control information.
And the application in the vehicle machine application layer establishes data communication connection with the terminal according to the control information. For example, when the terminal is an intelligent rearview mirror, the multimedia control screen in the vehicle machine performs data communication with the intelligent rearview mirror through the information of the intelligent rearview mirror configured in the control information. For example, the reverse information transmitted by the intelligent rearview mirror in real time is acquired, or the reverse control information sent by the intelligent rearview mirror according to the information behind the vehicle is received.
It can be seen from the foregoing embodiment that, when the terminal accesses the car machine, the check data frame is analyzed by the car machine protocol layer to obtain the terminal identifier, the verification token, and the control information, and if it is determined that the terminal has passed the authentication, the car machine application layer establishes data communication with the terminal according to the control information. The embodiment of the invention realizes a unified data communication mode between the vehicle machine and different terminals by providing a unified terminal access method and configuring a unified data processing flow at a protocol layer. The problem that the development cost of configuring various communication protocols on the vehicle is high is solved, and the problems of low development efficiency and difficulty in implementation of the communication protocols are also solved.
Fig. 3 is a flowchart of a vehicle-mounted device communication method according to an embodiment of the present invention. The execution subject of the method of the embodiment may be the terminal in fig. 1. As shown in fig. 3, the vehicle-mounted device communication method includes the following steps:
s31: and powering on and starting, configuring communication parameters at a terminal application layer and storing the communication parameters in a terminal protocol layer, wherein the communication parameters comprise a terminal identifier.
When the terminal is started, communication parameters of a terminal protocol layer are configured in the application of a terminal application layer, wherein the communication parameters comprise initialization information such as terminal identification and the like, and the configured communication parameters are stored in the protocol layer of the terminal, so that when the terminal is connected into a vehicle machine, the protocol layer of the terminal communicates with the protocol layer of the vehicle machine according to the information configured in the communication parameters.
S32: and when the connection with the vehicle machine is detected, detecting whether an authentication result is stored and judging whether the authentication result passes the authentication.
When the terminal is detected to be connected with the vehicle machine and start communication, whether an authentication result is stored in the terminal or not is detected, and whether the authentication result passes the authentication or not is judged. If the terminal passes the authentication before accessing the car machine, and the authentication result is that the authentication is successful, the terminal passes the authentication. If the authentication result is not stored in the terminal or the stored authentication result fails to authenticate, it indicates that the terminal has not authenticated or failed to authenticate before.
S33: and if the authentication result is stored and the authentication result is authenticated, initiating a communication request through a terminal application layer and generating a verification data frame according to a set protocol in a terminal protocol layer, wherein the verification data frame comprises a terminal identifier, a stored verification token and control information.
If the terminal is detected to store the authentication result and the stored authentication result is successful, only the terminal passes the authentication and is successfully authenticated before being accessed into the vehicle machine, and the terminal cannot be proved to be connected with the vehicle machine. Therefore, in order to check whether the connection is established with the vehicle machine, the application layer of the terminal initiates a communication request, and generates a check data frame in the protocol layer of the terminal according to a data frame format with a protocol, wherein the check data frame comprises a terminal identifier, and an authentication token and communication control information which are stored in the terminal.
S34: and sending the check data frame to the vehicle machine through a terminal protocol layer.
And the terminal sends the verification data frame to the vehicle machine through the protocol layer so that the vehicle machine verifies whether the terminal is connected with the vehicle machine according to the authentication result in the verification data frame.
It can be known from the foregoing embodiment that, when the terminal is powered on and started, the communication data of the terminal protocol layer is configured through the terminal application layer, so that the protocol layer of the terminal establishes a connection with the car machine according to the configured communication data. Before the terminal is connected with the vehicle machine, whether the terminal passes the authentication before the access is judged by detecting whether the authentication result and the authentication content are stored in the terminal, and whether the connection with the equipment is established is verified according to the verification token and the terminal identification, so that the processing flow of the terminal accessing the vehicle machine is simplified, and the efficiency of establishing communication between the vehicle machine and the terminal is improved.
Fig. 4 is a flowchart of a vehicle-mounted device communication method provided in an embodiment of the present invention, where the method in this embodiment is applicable to the application scenario in fig. 1. As shown in fig. 4, the vehicle-mounted device communication method includes the following steps:
s41: and the terminal is powered on and started, communication parameters are configured in a terminal application layer and stored in a terminal protocol layer, wherein the communication parameters comprise a terminal identifier.
S42: when the terminal detects that the terminal is connected with the car machine, whether an authentication result is stored or not is detected, and whether the authentication result passes the authentication or not is judged.
S43: and if the authentication result is stored and the authentication result is authenticated, the terminal initiates a communication request through a terminal application layer and generates a verification data frame according to a set protocol on a terminal protocol layer, wherein the verification data frame comprises a terminal identifier, a stored verification token and control information.
S44: and the terminal sends the check data frame to the vehicle machine through a terminal protocol layer.
S45: the vehicle machine receives the verification data frame sent by the terminal through the vehicle machine protocol layer, and analyzes the verification data frame according to the set protocol to obtain the terminal identification, the verification token and the control information of the terminal.
S46: and the vehicle machine checks according to the verification token and the terminal identification in a vehicle machine protocol layer.
S47: and if the verification result is successful, the vehicle machine sends the control information to the vehicle machine application layer through the vehicle machine protocol layer.
S48: and the vehicle machine communicates with the terminal according to the control information at the vehicle machine application layer.
S41 to S44 are similar to S31 to S34 in the embodiment of fig. 3, and S45 to S48 are similar to S21 to S24 in the embodiment of fig. 2, which is not limited herein.
Fig. 5 is a first schematic diagram of connection between a vehicle machine and a terminal according to an embodiment of the present invention. As shown in fig. 5, when the terminal establishes a connection with the car machine, a control access channel is established between a protocol layer of the terminal and a protocol layer of the car machine for authentication of the terminal and transmission of control information between the terminal protocol layer and the car machine protocol layer, where the control information includes transmission parameters between the terminal protocol layer and the car machine protocol layer and transmission parameters of a communication protocol between an application layer of the terminal and the car machine application layer. By providing a uniform control access channel between the protocol layer of the terminal and the protocol layer of the vehicle, the user-defined transmission protocol between the application layer of the terminal and the application layer of the vehicle is set, the security of key sensitive data is ensured, and the unification of the connection standard when the terminal is connected with the vehicle is realized.
As shown in fig. 5, a data flow channel is established between the application layer of the terminal and the application layer of the car machine, and is used for transmitting specific data between the terminal protocol layer and the car machine protocol layer through the device, for example, when the terminal is an intelligent rearview mirror, the terminal application layer transmits video data acquired in real time when the car is backed up to the car machine through the data flow channel. And enabling the data stream channel only after the terminal passes the authentication, determining the network interconnection protocol of the data stream channel by the control information transmitted in the control access channel, and determining when to initiate data transmission in which data format according to the content of the network interconnection protocol customized in the control information. The data stream channel is established between the application layer of the terminal and the application layer of the vehicle machine, so that data transmission of various forms and contents between the vehicle machine and the terminal can be realized, the difficulty of development of a communication protocol between the vehicle machine and the terminal is reduced, and the development period of the communication protocol between the vehicle machine and the terminal is shortened.
It can be seen from the foregoing embodiments that, by providing a unified terminal access method and configuring a unified data processing flow at a terminal protocol layer and a protocol layer of a car machine, a unified data communication mode between the car machine and different terminals is implemented. The problem that the development cost of configuring various communication protocols on the vehicle is high is solved, and the problems of low development efficiency and difficulty in implementation of the communication protocols are also solved.
Fig. 6 is a fourth flowchart of the vehicle-mounted device communication method provided in the embodiment of the present invention, where the method of the present embodiment is applicable to the application scenario in fig. 1. As shown in fig. 6, after S42, the in-vehicle communication method further includes the following steps:
s61: if the terminal does not pass the authentication, the terminal initiates an authentication request through a terminal application layer and generates an authentication data frame according to a set protocol in a terminal protocol layer, wherein the authentication data frame comprises terminal information.
If the terminal is not authenticated, that is, the terminal is never connected with the car machine before the terminal is accessed to the car machine, the terminal initiates an authentication request through a terminal application layer to generate an authentication data frame in a terminal protocol layer according to the data frame formats in table 1 and table 2, wherein the authentication data frame includes terminal information. The flag bit of the response frame in the authentication data frame is 0, the flag bit of the direction is 1, and the message type is 0. The authentication data frame is an active frame actively sent to the vehicle machine by the terminal, so that the vehicle machine performs authentication according to the content in the authentication data frame.
S62: and the terminal sends the authentication data frame to the vehicle machine through a terminal protocol layer.
And the terminal protocol layer communicates with the protocol layer of the vehicle machine according to the stored communication parameters, and the terminal sends the authentication data frame to the vehicle machine through the terminal protocol layer.
S63: the vehicle machine receives the authentication data frame through the vehicle machine protocol layer, analyzes the authentication data frame according to a set protocol to obtain terminal information of the terminal, and sends the terminal information to the vehicle machine application layer.
The protocol layer of the vehicle machine is the same as the data frame format configured in the protocol layer of the terminal, namely the protocol layer of the vehicle machine and the protocol layer of the terminal share the unified data frame encapsulation format and the parsing format. And the physical layer of the vehicle machine and the physical layer of the terminal carry out data transmission of a bottom layer, and the vehicle machine receives the authentication data frame sent by the protocol layer of the terminal through the protocol layer of the vehicle machine. And the protocol layer of the vehicle machine analyzes the authentication data frame according to the data frame format set in the table 1 to obtain the terminal information of the terminal, and transmits the terminal information to the application layer of the vehicle machine.
S64: and the vehicle machine obtains the authentication result determined according to the terminal information through the vehicle machine application layer.
The vehicle machine obtains the terminal information through the application layer of the vehicle machine, and identifies whether the terminal is a terminal which is not legal according to the terminal information to determine the authentication result. For example, a white list of terminal identifiers of all valid terminals is stored in the car machine, if the terminal identifier of the terminal can be inquired in the white list, the terminal is a valid terminal, the authentication result is successful, otherwise, the authentication result is failed; or, if the configuration information corresponding to the terminal identifier of the terminal can be inquired in the intelligent networking information connected with the vehicle machine, the terminal is a legal terminal, the authentication result is successful, otherwise, the authentication result is failed; or, the terminal information of the terminal is displayed in a display screen of the intelligent network of the vehicle-mounted computer, the user confirms whether the connection of the terminal is allowed, if the user confirms that the terminal is allowed to be accessed into the vehicle-mounted computer, the authentication result is successful, otherwise, the authentication result is failed.
S65: and if the authentication result is successful, generating a verification token according to the authentication result in the vehicle-mounted machine protocol layer.
If the authentication result is successful, the terminal is a legal terminal, the vehicle machine generates a verification token of the terminal according to the authentication result, and the verification token is related to the information of the terminal and the authentication result.
S66: the vehicle machine sends the authentication result and the verification token to the terminal through the vehicle machine protocol layer, and simultaneously starts the vehicle machine reading/writing function.
And the vehicle machine forms a data frame by the authentication result and the verification token according to the formats set in the table 1 and the table 2, and sends the data frame to the terminal, wherein the flag bit of the response frame in the data frame is 1, which indicates that the response frame is sent to the terminal by the vehicle machine, the flag bit of the direction is 0, which indicates that the response frame is sent to the terminal by the vehicle machine, and the message type is 2, which indicates that the data frame is. And simultaneously starting the read/write function of the vehicle machine, allowing the terminal to read and rewrite the data of the vehicle machine, namely establishing connection between the vehicle machine and the terminal and carrying out data communication.
S67: and the terminal receives the authentication result and the verification token sent by the vehicle machine through a terminal protocol layer.
The protocol layer of the terminal and the protocol layer of the vehicle machine can communicate through a uniform data frame result, the terminal receives the authentication result and the verification token sent by the vehicle machine through the protocol layer of the terminal,
s68: and if the authentication result is successful, the terminal stores the authentication result and the verification token and starts the read/write function of the terminal.
And when the authentication result is successful, storing the authentication result and the verification token in the terminal, so that the vehicle machine can verify whether the terminal passes the authentication or not through the authentication result and the verification token stored in the terminal when the terminal establishes the connection with the vehicle machine later, and the process of establishing the connection between the terminal and the vehicle machine is simplified. The terminal starts the read/write function, namely the terminal establishes connection with the vehicle machine and realizes data exchange.
Fig. 7 is a second schematic diagram illustrating connection between the car machine and the terminal according to an embodiment of the present invention, as shown in fig. 7, when the terminal establishes a connection with the car machine through the USB, if the terminal does not pass the authentication yet, the steps from S61 to S68 are executed to complete the authentication of the car machine on the terminal. And when the connection between the terminal and the vehicle machine is successfully established through the USB, executing the steps from S41 to S48 to enable the vehicle machine to obtain the control information. Therefore, the vehicle machine can determine when to initiate data transmission in which data format according to the content of the customized network interconnection protocol in the control information.
It can be known from the above embodiments that, when the terminal has not passed the authentication, the authentication is performed according to the terminal information, and when the authentication is successful, the car machine sends the authentication result and the verification token to the terminal, and the terminal simplifies the access process when the terminal subsequently establishes the connection with the car machine by storing the authentication result and the verification token. When the authentication is successful, the vehicle machine and the terminal establish connection and can realize data communication between the vehicle machine and the terminal.
Fig. 8 is a fifth flowchart of the in-vehicle communication method according to the embodiment of the present invention, where on the basis of the embodiment of fig. 6, the communication parameters further include a connection mode, where the connection mode includes a wired connection or a wireless connection. When the connection mode in the terminal information is wireless connection, as shown in fig. 8, the in-vehicle communication method includes the following steps:
s81: and the terminal is powered on and started, communication parameters are configured in a terminal application layer and stored in a terminal protocol layer, wherein the communication parameters comprise a terminal identifier and wireless connection.
S82: when the terminal detects that the terminal is connected with the car machine, whether an authentication result is stored or not is detected, and whether the authentication result passes the authentication or not is judged.
The method includes the steps that the connection mode of a terminal and a vehicle machine is set to be wireless connection in communication parameters of the device, before the wireless connection between the terminal and the vehicle machine is established, the terminal is firstly connected into the vehicle machine in a wired connection mode, and for example, the terminal can be connected into the vehicle machine through a USB.
S83: and if the authentication result is stored and the authentication result is authenticated, the terminal initiates a communication request through a terminal application layer and generates a verification data frame according to a set protocol on a terminal protocol layer, wherein the verification data frame comprises a terminal identifier, a stored verification token and control information.
S84: and the terminal sends the check data frame to the vehicle machine through a terminal protocol layer.
S85: the vehicle machine receives the verification data frame sent by the terminal through the vehicle machine protocol layer, and analyzes the verification data frame according to the set protocol to obtain the terminal identification, the verification token and the control information of the terminal.
S86: and the vehicle machine checks according to the verification token and the terminal identification in a vehicle machine protocol layer.
S87: if the verification result is that the verification is successful, the vehicle machine sends the name and the password of the wireless network configured in the wireless connection mode to the terminal through the USB through the vehicle machine protocol layer, for example, the vehicle machine sends the wireless signal name and the connection password of the WIFI to the terminal.
S88: and the terminal establishes wireless connection with the vehicle machine through the name and the password of the wireless network, and after the terminal establishes wireless connection with the vehicle machine, the steps from S41 to S48 are repeatedly executed.
S81 to S86 are similar to S41 to S46 in the embodiment of fig. 4, and the embodiment is not limited herein.
Fig. 9 is a sixth flowchart of the car-machine communication method provided in the embodiment of the present invention, and on the basis of the embodiment of fig. 8, after S82, the car-machine communication method further includes the following steps:
s91: if the terminal does not pass the authentication, the terminal initiates an authentication request through a terminal application layer and generates an authentication data frame according to a set protocol in a terminal protocol layer, wherein the authentication data frame comprises terminal information.
S92: and the terminal sends the authentication data frame to the vehicle machine through a terminal protocol layer.
S93: the vehicle machine receives the authentication data frame through the vehicle machine protocol layer, analyzes the authentication data frame according to a set protocol to obtain terminal information of the terminal, and sends the terminal information to the vehicle machine application layer.
S94: and the vehicle machine obtains the authentication result determined according to the terminal information through the vehicle machine application layer.
S95: if the authentication result is that the authentication is successful, the vehicle machine sends the name and the password of the wireless network configured in the wireless connection mode to the terminal through the vehicle machine protocol layer through the USB, for example, the vehicle machine sends the wireless signal name and the connection password of the WIFI to the terminal.
S96: and the terminal establishes wireless connection with the vehicle machine through the name and the password of the wireless network, and after the terminal establishes wireless connection with the vehicle machine, the steps from S81 to S88 are repeatedly executed.
S91 to S94 are similar to S61 to S64 in the embodiment of fig. 6, and the embodiment is not limited herein.
Fig. 10 is a schematic diagram of connection between a car machine and a terminal according to a third embodiment of the present invention, as shown in fig. 10, when the connection between the terminal and the car machine is established through WIFI, if the terminal does not pass authentication yet, the steps from S91 to S96 are executed, and the terminal receives a wireless signal name and a connection password sent by the car machine through USB and establishes wireless network connection with the car machine. And after the connection between the terminal and the vehicle machine is successfully established through WIFI, disconnecting the USB connection between the vehicle machine and the terminal, and executing the steps from S81 to S88 on the premise that the data transmission is carried out between the terminal and the vehicle machine through WIFI, so that the vehicle machine obtains the control information. Therefore, the vehicle machine can determine when to initiate data transmission in which data format according to the content of the customized network interconnection protocol in the control information.
Fig. 11 is a schematic structural diagram of a vehicle-mounted device communication apparatus provided in an embodiment of the present invention, applied to a vehicle side. As shown in fig. 11, the in-vehicle communication device 110 includes a parsing module 1101, a checking module 1102, a sending module 1103, and a communication module 1104.
The analysis module 1101 is configured to receive, through the in-vehicle protocol layer, a check data frame sent by the terminal, and analyze the check data frame according to a set protocol to obtain a terminal identifier, a verification token, and control information of the terminal;
the verification module 1102 is configured to perform verification at the vehicle protocol layer according to the verification token and the terminal identifier;
a sending module 1103, configured to send the control information to the car machine application layer through the car machine protocol layer if the verification result is that the verification is successful;
and the communication module 1104 is configured to communicate with the terminal according to the control information at the car application layer.
Fig. 12 is a schematic structural diagram of a vehicle-mounted communication device according to an embodiment of the present invention, and is applied to a terminal side. As shown in fig. 12, the in-vehicle communication device 120 includes a storage module 1201, a determination module 1202, a generation module 1203, and a transmission module 1204.
A storage module 1201, configured to power on, configure a communication parameter at a terminal application layer, and store the communication parameter in a terminal protocol layer, where the communication parameter includes a terminal identifier;
a determining module 1202, configured to, when connection with the vehicle device is detected, detect whether an authentication result is stored and determine whether the authentication result passes authentication;
a generating module 1203, configured to initiate a communication request through a terminal application layer and generate a check data frame according to a set protocol in a terminal protocol layer if an authentication result is stored and the authentication result is authenticated, where the check data frame includes a terminal identifier, and a stored check token and control information;
a sending module 1204, configured to send the check data frame to the car machine through a terminal protocol layer.
Fig. 13 is a schematic diagram of a hardware structure of the car machine according to the embodiment of the present invention. As shown in fig. 13, the in-vehicle machine 130 of the present embodiment includes: a processor 1301 and a memory 1302; wherein:
a memory 1302 for storing computer-executable instructions;
the processor 1301 is configured to execute the computer execution instructions stored in the memory, so as to implement the steps performed by the in-vehicle communication apparatus in the foregoing embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 1302 may be separate or integrated with the processor 1301.
When the memory 1302 is independently configured, the car machine further includes a bus 1303 for connecting the memory 1302 and the processor 1301.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the vehicle-mounted device communication method implemented by the vehicle-mounted device in fig. 2, 4, 6, 8, and 9 is implemented.
Fig. 14 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention. As shown in fig. 14, the cart machine 140 of the present embodiment includes: a processor 1401 and a memory 1402; wherein:
a memory 1402 for storing computer-executable instructions;
and the processor 1401 is configured to execute the computer execution instructions stored in the memory, so as to implement the steps performed by the in-vehicle communication device in the foregoing embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 1402 may be separate or integrated with the processor 1401.
When the memory 1402 is provided separately, the terminal further comprises a bus 1403 for connecting said memory 1402 and the processor 1401.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the in-vehicle communication method executed by the terminal in fig. 3, 4, 6, 8, and 9 is implemented.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules 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 through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to implement the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods described in the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (15)

1. The utility model provides a car machine communication method which characterized in that, is applied to car machine side, includes:
receiving a verification data frame sent by a terminal through a vehicle machine protocol layer, and analyzing the verification data frame according to a set protocol to obtain a terminal identifier, a verification token and control information of the terminal;
verifying according to the verification token and the terminal identification in the vehicle machine protocol layer;
if the verification result is successful, the control information is sent to a vehicle machine application layer through the vehicle machine protocol layer;
and communicating with a terminal at the vehicle machine application layer according to the control information.
2. The method of claim 1, further comprising:
receiving an authentication data frame through the vehicle machine protocol layer, analyzing the authentication data frame according to the set protocol to obtain terminal information of the terminal, and sending the terminal information to the vehicle machine application layer;
acquiring an authentication result determined according to the terminal information through the car machine application layer;
if the authentication result is successful, generating a verification token according to the authentication result in the vehicle machine protocol layer;
and sending the authentication result and the verification token to the terminal through the vehicle machine protocol layer, and starting a vehicle machine reading/writing function at the same time.
3. The method according to claim 1, further comprising, after said checking at said car machine protocol layer according to said authentication token and said terminal identity:
if the verification result is verification failure, generating a verification failure data frame according to a set protocol at the vehicle-machine protocol layer;
and sending the verification failure data frame to the terminal, and disconnecting the connection between the terminal and the vehicle machine.
4. The vehicle-mounted machine communication method is applied to a terminal side and comprises the following steps:
the method comprises the steps of electrifying and starting, configuring communication parameters at a terminal application layer and storing the communication parameters in a terminal protocol layer, wherein the communication parameters comprise a terminal identifier;
when the connection with the car machine is detected, detecting whether an authentication result is stored and judging whether the authentication result passes the authentication;
if the authentication result is stored and the authentication result is authenticated, initiating a communication request through the terminal application layer and generating a check data frame according to a set protocol at the terminal protocol layer, wherein the check data frame comprises the terminal identification, and a stored verification token and control information;
and sending the check data frame to the vehicle machine through the terminal protocol layer.
5. The method according to claim 4, wherein after detecting whether an authentication result is stored and determining whether the authentication result is authenticated when the connection with the car machine is detected, the method further comprises:
if the terminal is not authenticated, initiating an authentication request through the terminal application layer and generating an authentication data frame in the terminal protocol layer according to a set protocol, wherein the authentication data frame comprises terminal information;
and sending the authentication data frame to the vehicle machine through the terminal protocol layer.
6. The method of claim 4, further comprising:
receiving an authentication result and a verification token sent by the vehicle machine through the terminal protocol layer;
and if the authentication result is successful, storing the authentication result and the verification token, and starting the read/write function of the terminal.
7. The method of claim 4, further comprising:
and receiving an authentication result sent by the vehicle machine through the terminal protocol layer, and storing the authentication result in the terminal protocol layer if the authentication result is authentication failure.
8. The method of claim 4, wherein the communication parameters further include a connection type; the connection mode comprises wired connection or wireless connection.
9. A vehicle-mounted machine communication method is characterized by comprising the following steps:
the method comprises the steps that a terminal is powered on and started, communication parameters are configured on a terminal application layer and stored in a terminal protocol layer, wherein the communication parameters comprise a terminal identifier;
when the terminal detects that the terminal is connected with the car machine, detecting whether an authentication result is stored and judging whether the authentication result passes the authentication;
if the authentication result is stored and the authentication result is authenticated, the terminal initiates a communication request through the terminal application layer and generates a check data frame according to a set protocol on the terminal protocol layer, wherein the check data frame comprises the terminal identification, and the stored verification token and the control information;
the terminal sends the check data frame to the vehicle machine through the terminal protocol layer;
the vehicle machine receives a verification data frame sent by a terminal through a vehicle machine protocol layer, and analyzes the verification data frame according to a set protocol to obtain a terminal identifier, a verification token and control information of the terminal;
the vehicle machine checks according to the verification token and the terminal identification in the vehicle machine protocol layer;
if the verification result is successful, the vehicle machine sends the control information to a vehicle machine application layer through the vehicle machine protocol layer;
and the vehicle machine communicates with a terminal at the vehicle machine application layer according to the control information.
10. The utility model provides a car machine communication device which characterized in that is applied to car machine side, includes:
the analysis module is used for receiving a verification data frame sent by a terminal through a vehicle machine protocol layer and analyzing the verification data frame according to a set protocol to obtain a terminal identifier, a verification token and control information of the terminal;
the verification module is used for verifying according to the verification token and the terminal identification in the vehicle machine protocol layer;
the sending module is used for sending the control information to the vehicle machine application layer through the vehicle machine protocol layer if the verification result is that the verification is successful;
and the communication module is used for communicating with a terminal at the vehicle machine application layer according to the control information.
11. The utility model provides a car machine communication device which characterized in that is applied to the terminal side, includes:
the storage module is used for powering on and starting, configuring communication parameters at a terminal application layer and storing the communication parameters in a terminal protocol layer, wherein the communication parameters comprise terminal identifications;
the judging module is used for detecting whether an authentication result is stored and judging whether the authentication result passes the authentication or not when the connection with the vehicle machine is detected;
the generating module is used for initiating a communication request through the terminal application layer and generating a verification data frame according to a set protocol on the terminal protocol layer if an authentication result is stored and the authentication result is authenticated, wherein the verification data frame comprises the terminal identification, a stored verification token and control information;
and the sending module is used for sending the check data frame to the vehicle machine through the terminal protocol layer.
12. The utility model provides a car machine, its characterized in that includes: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the in-vehicle communication method according to any one of claims 1 to 3.
13. A terminal, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the in-vehicle communication method according to any one of claims 4 to 8.
14. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the in-vehicle communication method according to any one of claims 1 to 3 is implemented.
15. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the in-vehicle communication method according to any one of claims 4 to 8 is implemented.
CN201911423582.3A 2019-12-31 2019-12-31 Vehicle-mounted communication method and device, vehicle-mounted and terminal Active CN111132076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911423582.3A CN111132076B (en) 2019-12-31 2019-12-31 Vehicle-mounted communication method and device, vehicle-mounted and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911423582.3A CN111132076B (en) 2019-12-31 2019-12-31 Vehicle-mounted communication method and device, vehicle-mounted and terminal

Publications (2)

Publication Number Publication Date
CN111132076A true CN111132076A (en) 2020-05-08
CN111132076B CN111132076B (en) 2024-04-09

Family

ID=70507931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911423582.3A Active CN111132076B (en) 2019-12-31 2019-12-31 Vehicle-mounted communication method and device, vehicle-mounted and terminal

Country Status (1)

Country Link
CN (1) CN111132076B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399379A (en) * 2020-10-28 2021-02-23 星火科技技术(深圳)有限责任公司 Intelligent Internet of vehicles communication protocol method, device, equipment and storage medium
CN114449475A (en) * 2022-02-21 2022-05-06 重庆长安汽车股份有限公司 System and method for controlling automobile to move through mobile terminal
WO2022222001A1 (en) * 2021-04-19 2022-10-27 华为技术有限公司 Service access method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617713A (en) * 2013-11-19 2014-03-05 中国科学院深圳先进技术研究院 Remote control method of vehicle, user terminal and vehicle-mounted terminal
CN104424779A (en) * 2013-08-30 2015-03-18 比亚迪股份有限公司 System and method for controlling vehicle by virtue of mobile terminal
CN105763426A (en) * 2016-04-12 2016-07-13 北京理工大学 Multiprotocol instant messaging system-based Internet of Things business processing system
CN106331772A (en) * 2015-06-17 2017-01-11 阿里巴巴集团控股有限公司 Data verification method and apparatus and smart television system
CN107196950A (en) * 2017-06-12 2017-09-22 武汉斗鱼网络科技有限公司 Method of calibration, device and service end
US20180063301A1 (en) * 2016-08-23 2018-03-01 Steering Solutions Ip Holding Corporation Vehicle inter-controller communication
CN109407651A (en) * 2018-11-19 2019-03-01 北汽福田汽车股份有限公司 The control method and device of vehicle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424779A (en) * 2013-08-30 2015-03-18 比亚迪股份有限公司 System and method for controlling vehicle by virtue of mobile terminal
CN103617713A (en) * 2013-11-19 2014-03-05 中国科学院深圳先进技术研究院 Remote control method of vehicle, user terminal and vehicle-mounted terminal
CN106331772A (en) * 2015-06-17 2017-01-11 阿里巴巴集团控股有限公司 Data verification method and apparatus and smart television system
CN105763426A (en) * 2016-04-12 2016-07-13 北京理工大学 Multiprotocol instant messaging system-based Internet of Things business processing system
US20180063301A1 (en) * 2016-08-23 2018-03-01 Steering Solutions Ip Holding Corporation Vehicle inter-controller communication
CN107196950A (en) * 2017-06-12 2017-09-22 武汉斗鱼网络科技有限公司 Method of calibration, device and service end
CN109407651A (en) * 2018-11-19 2019-03-01 北汽福田汽车股份有限公司 The control method and device of vehicle

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399379A (en) * 2020-10-28 2021-02-23 星火科技技术(深圳)有限责任公司 Intelligent Internet of vehicles communication protocol method, device, equipment and storage medium
WO2022222001A1 (en) * 2021-04-19 2022-10-27 华为技术有限公司 Service access method and device
CN114449475A (en) * 2022-02-21 2022-05-06 重庆长安汽车股份有限公司 System and method for controlling automobile to move through mobile terminal

Also Published As

Publication number Publication date
CN111132076B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN111132076B (en) Vehicle-mounted communication method and device, vehicle-mounted and terminal
US8290660B2 (en) Data access to electronic control units
US10038681B2 (en) Method for managing an access from a remote device to data accessible from a local device and corresponding system
CN104424779A (en) System and method for controlling vehicle by virtue of mobile terminal
KR20120014887A (en) System and method for using networked mobile devices in vehicles
CN112181449A (en) Vehicle-mounted software upgrading method, device, system and storage medium
US11394534B2 (en) Electronic device sharing key with external electronic device and operating method for electronic device
CN113496020A (en) Vehicle-mounted machine user non-sensory login method and system, vehicle-mounted machine and vehicle
CN111464653B (en) Method, system and device for interconnecting vehicle-mounted equipment
US11604865B2 (en) Method for the secured access of data of a transportation vehicle
CN113448299B (en) Vehicle gateway controller, information processing method and vehicle
CN101738938A (en) Method and device for realizing personalized vehicle service
JP6860464B2 (en) System and management method
CN107172082B (en) File sharing method and system
CN113596030B (en) Equipment network distribution method and device, storage medium and electronic equipment
CN115315927B (en) Vehicle-mounted information processing device, information processing method, and client program
CN115019421A (en) Vehicle control method
CN114501361A (en) Network distribution method, user setting method, server, control terminal and storage medium
CN105046136A (en) Identity card information obtaining method, terminal and identity card information obtaining system
CN113938300B (en) Hierarchical control method and hierarchical control device
CN113242060B (en) Network access method and device, storage medium and electronic device
CN114475486A (en) Vehicle mode setting method and device
CN117640148A (en) Vehicle-mounted function connection optimization method, device, equipment and storage medium
CN115743006A (en) Vehicle account login method, device, server and storage medium
TWM537273U (en) Vehicle certification 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
GR01 Patent grant
GR01 Patent grant