CN114710524B - Data interaction method, device and equipment of in-vehicle local area network and storage medium - Google Patents

Data interaction method, device and equipment of in-vehicle local area network and storage medium Download PDF

Info

Publication number
CN114710524B
CN114710524B CN202210273055.4A CN202210273055A CN114710524B CN 114710524 B CN114710524 B CN 114710524B CN 202210273055 A CN202210273055 A CN 202210273055A CN 114710524 B CN114710524 B CN 114710524B
Authority
CN
China
Prior art keywords
vehicle
controller
data
intelligent terminal
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210273055.4A
Other languages
Chinese (zh)
Other versions
CN114710524A (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.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Original Assignee
Guangzhou Xiaopeng Motors 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 Guangzhou Xiaopeng Motors Technology Co Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN202210273055.4A priority Critical patent/CN114710524B/en
Publication of CN114710524A publication Critical patent/CN114710524A/en
Application granted granted Critical
Publication of CN114710524B publication Critical patent/CN114710524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application discloses a data interaction method, a device, electronic equipment and a storage medium of an in-vehicle local area network, which are applied to a vehicle-mounted intelligent terminal in the in-vehicle local area network, wherein the method comprises the following steps: receiving a data interaction verification request sent by external equipment; generating a second security key based on the key seed in response to the data interaction verification request, verifying the reliability of the external device using the second security key and the first security key; if the external equipment is verified to be reliable, opening the data access right to the external equipment, and forwarding the session request to the controller when receiving the session request so that the controller verifies the user information in the session request; if a verification passing result fed back by the controller is received, a data transmission channel between the vehicle-mounted intelligent terminal and the controller is established, wherein the data transmission channel is used for enabling a user account corresponding to user information to conduct data interaction with the controller through the vehicle-mounted intelligent terminal. By the method, the reliability and the safety of data interaction can be effectively improved.

Description

Data interaction method, device and equipment of in-vehicle local area network and storage medium
Technical Field
The present invention relates to the field of personal computers, and in particular, to a method, an apparatus, a device, and a storage medium for data interaction of an in-vehicle local area network.
Background
With the widespread use of the in-vehicle ethernet, data interaction between in-vehicle processors also increasingly depends on the transmission capability of the ethernet, for example, data interaction between a central domain MCU and a central domain SOC (system on a chip), data interaction between the central domain MCU and a TBOX in-vehicle intelligent terminal, and data interaction between the central domain MCU and an intelligent controller increasingly depend on the transmission capability of the ethernet.
However, with the popularization of intelligent automobiles, remote service is still another standard for measuring intelligent automobiles, while the traditional MCU lacks network transmission capability, and CAN only transmit through CAN or LIN when large data is accessed, which CAN take longer time and has poorer security in the process of data access.
Disclosure of Invention
In view of the above problems, embodiments of the present application provide a method, an apparatus, a device, and a storage medium for data interaction of an in-vehicle local area network, so as to improve the above problems.
In a first aspect, an embodiment of the present application provides a data interaction method of an in-vehicle local area network, which is applied to a vehicle-mounted intelligent terminal in the in-vehicle local area network, where the in-vehicle local area network further includes a controller, and vehicle operation data is stored in the controller, and the method includes: receiving a data interaction verification request sent by external equipment, wherein the data interaction verification request carries a key seed and a first security key obtained by the external equipment based on the key seed; generating a second security key based on the key seed in response to the data interaction verification request, and verifying the reliability of the external device by using the second security key and the first security key; if the external equipment is verified to be reliable, opening data access rights to the external equipment, and forwarding a session request to the controller when the session request is received, so that the controller verifies user information in the session request; if a verification passing result fed back by the controller is received, a data transmission channel between the vehicle-mounted intelligent terminal and the controller is established, wherein the data transmission channel is used for carrying out data interaction between a user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
In a second aspect, an embodiment of the present application provides a data interaction method of an in-vehicle local area network, which is applied to a controller in the in-vehicle local area network, where the in-vehicle local area network further includes a vehicle-mounted intelligent terminal, and vehicle operation data is stored in the controller, and the method includes: receiving a session request forwarded after the vehicle-mounted intelligent terminal opens data access rights to external equipment, wherein the data access rights are opened when the external equipment is subjected to reliability verification; and if the user information in the session request is successfully verified, sending a verification passing result to the vehicle-mounted intelligent terminal so that the vehicle-mounted intelligent terminal establishes a data transmission channel between the vehicle-mounted intelligent terminal and the controller, wherein the data transmission channel is used for carrying out data interaction between a user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
In a third aspect, an embodiment of the present application provides an interaction device for in-vehicle local area network data, which is applied to a vehicle-mounted intelligent terminal in an in-vehicle local area network, where the in-vehicle local area network further includes a controller, where vehicle operation data is stored in the controller, and the device includes: the system comprises a verification request receiving module, a verification request response module, a session request sending module and a channel establishing module, wherein the verification request receiving module is used for receiving a data interaction verification request sent by external equipment, and the data interaction verification request carries a key seed and a first security key obtained by the external equipment based on the key seed; the verification request response module is used for responding to the data interaction verification request, generating a second security key based on the key seed and verifying the reliability of the external device by utilizing the second security key and the first security key; a session request sending module, configured to, if the external device is verified to be reliable, open a data access right to the external device, and forward the session request to the controller when receiving the session request, so that the controller verifies user information in the session request; and the channel establishing module is used for establishing a data transmission channel between the vehicle-mounted intelligent terminal and the controller if a verification passing result fed back by the controller is received, wherein the data transmission channel is used for carrying out data interaction on a user account corresponding to the user information through the vehicle-mounted intelligent terminal and the controller.
In a fourth aspect, an embodiment of the present application further provides a data interaction device of an in-vehicle local area network, which is applied to a controller in the in-vehicle local area network, where the in-vehicle local area network further includes a vehicle-mounted intelligent terminal, and vehicle operation data is stored in the controller, where the device includes: the system comprises a session request receiving module and a verification module, wherein the session request receiving module is used for receiving a session request forwarded after the vehicle-mounted intelligent terminal opens data access rights to external equipment, and the data access rights are opened when the reliability verification of the external equipment is passed; and the verification module is used for sending a verification passing result to the vehicle-mounted intelligent terminal if the user information in the session request is successfully verified, so that the vehicle-mounted intelligent terminal establishes a data transmission channel between the vehicle-mounted intelligent terminal and the controller, and the data transmission channel is used for carrying out data interaction between a user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
In a fifth aspect, embodiments of the present application further provide an electronic device, including: a processor; and the memory is stored with computer readable instructions which, when executed by the processor, implement the data interaction method of the in-vehicle local area network.
In a sixth aspect, embodiments of the present application provide a computer readable storage medium having computer readable instructions stored thereon, which when executed by a processor, implement a method for data interaction in an in-vehicle local area network as described above.
According to the data interaction method, the device, the electronic equipment and the storage medium of the in-vehicle local area network, the second security key is generated based on the key seed by responding to the data interaction verification request, and the reliability of the external equipment is verified by utilizing the second security key and the first security key; if the external equipment is verified to be reliable, opening data access rights to the external equipment, and forwarding the session request to the controller when receiving the session request so that the controller verifies user information in the session request; if a verification passing result fed back by the controller is received, a data transmission channel between the vehicle-mounted intelligent terminal and the controller is established, wherein the data transmission channel is used for enabling a user account corresponding to user information to conduct data interaction with the controller through the vehicle-mounted intelligent terminal. By adopting the method, the reliability and the safety of data access can be effectively ensured. Specifically, by adopting the method and the device, before data interaction, the reliability of the external equipment needs to be verified a priori, the vehicle-mounted intelligent terminal opens the data access authority to the external equipment after verifying the reliability of the external equipment, and when receiving the session request sent by the external equipment, the controller is used for verifying the reliability of the user corresponding to the session request, and a data interaction channel between the controller and the vehicle-mounted intelligent terminal is established when the verification passes, so that the external equipment can perform data interaction with the controller through the vehicle-mounted intelligent terminal, and the reliability and the safety of the data interaction are ensured.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 illustrates a timing flow diagram when an exemplary system architecture to which the technical solution of the embodiments of the present application may be applied performs data interaction;
FIG. 2 is a flow chart illustrating a method of data interaction for an in-vehicle local area network, according to one embodiment of the present application;
FIG. 3 is a flow chart of a method of data interaction for an in-vehicle local area network of martial arts video according to another embodiment of the present application;
FIG. 4 is a connection block diagram of a data interaction device of an in-vehicle local area network, according to one embodiment of the present application;
FIG. 5 is a connection block diagram of a data interaction device of an in-vehicle local area network, shown according to another embodiment of the present application;
fig. 6 shows a schematic structural diagram of a vehicle suitable for use in implementing embodiments of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present application. One skilled in the relevant art will recognize, however, that the aspects of the application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
It should be noted that: references herein to "a plurality" means two or more.
The implementation details of the technical solutions of the embodiments of the present application are described in detail below:
fig. 1 is a schematic diagram of an application scenario according to an embodiment of the present application, where, as shown in fig. 1, the application scenario includes a vehicle-mounted intelligent terminal and an external device communicatively connected to the vehicle-mounted intelligent terminal through a network, where the network may be a wide area network or a local area network, or a combination of the two.
The external device may be a server or a user terminal (e.g., a cell phone, a computer, a tablet computer, etc.), etc. The external device can interact data with the in-vehicle local area network through the network. The in-vehicle local area network comprises a vehicle-mounted intelligent terminal and a controller. The controller is used for storing and processing data, and the vehicle-mounted intelligent terminal is used for carrying out data interaction with external equipment and the controller.
When external equipment and an in-car local area network perform data interaction, the external equipment sends a data interaction verification request to the in-car local area network, the in-car intelligent terminal responds to the data interaction verification request, generates a second safety key based on the key seed, verifies the reliability of the external equipment by using the second safety key and the first safety key, and opens data access authority to the external equipment when the external equipment is verified to be reliable, at the moment, the external equipment can send a session request to the in-car intelligent terminal, and when the in-car intelligent terminal receives the session request sent by the external equipment, the session request is forwarded to the controller so that the controller verifies user information in the session request, and if the controller verifies that the user information in the session request is reliable, a verification passing result is fed back to the in-car intelligent terminal. And if the vehicle-mounted intelligent terminal receives the verification passing result fed back by the controller, a data transmission channel between the vehicle-mounted intelligent terminal and the controller is established, wherein the data transmission channel is used for carrying out data interaction on a user account corresponding to the user information through the vehicle-mounted intelligent terminal and the controller. Therefore, when the external equipment is verified to be reliable and the user account of the external equipment is reliable, the external equipment and the controller can perform data interaction, and the reliability and the safety of the external equipment when the external equipment and the controller interact are improved.
Fig. 2 is a flowchart of a method for data interaction of an in-vehicle local area network according to an embodiment of the present application, which may be performed by an in-vehicle intelligent terminal in the in-vehicle local area network as shown in fig. 1 with processing capability. Referring to fig. 2, the method at least includes steps S110 to S140, and is described in detail as follows:
step S110: and receiving a data interaction verification request sent by the external equipment, wherein the data interaction verification request carries a key seed and a first security key obtained by the external equipment based on the key seed.
The external device may specifically be a background server, or may be a user terminal, such as a mobile phone, a computer, or other terminal devices, where the external device may be a device that needs to access data of a controller in a vehicle, or may be a device that needs to synchronize data with the controller of the vehicle, and may be set according to actual requirements.
It should be appreciated that the interactive proof request sent by the external device is for establishing contact with the vehicle for subsequent data interaction.
The key seed carried in the data interaction request refers to an initial key for starting a key updating process or a key generating process. When the external device obtains the first security key based on the key seed, a key generation algorithm, such as an RSA algorithm or a DSE algorithm, may be specifically adopted.
Step S120: and responding to the data interaction verification request, generating a second security key based on the key seed, and verifying the reliability of the external device by using the second security key and the first security key.
It should be appreciated that when the vehicle-mounted intelligent terminal generates the second secure key based on the key seed, the same key generation algorithm is used as when the external device generates the first secure key based on the key seed, and the key generation algorithm may be stored in advance by the external device and the vehicle-mounted intelligent terminal respectively (for example, may be stored in advance when the external device and the vehicle-mounted intelligent terminal are confirmed to be trusted devices), and when the first secure key is the same as the second secure key, the external device may be confirmed to be trusted.
Step S130: and if the external equipment is verified to be reliable, opening the data access authority to the external equipment, and forwarding the session request to the controller when receiving the session request so as to enable the controller to verify the user information in the session request.
When the vehicle-mounted intelligent terminal opens the data access right to the external equipment, the vehicle-mounted intelligent terminal and the external equipment can perform data interaction. If the external device needs to further perform data interaction with the controller in the vehicle, the reliability of the user performing the access operation in the external device needs to be further verified. Specifically, when the vehicle-mounted intelligent terminal opens the data access right to the external device, the external device can send a session request through the vehicle-mounted intelligent terminal so as to request data interaction with the controller through the vehicle-mounted intelligent terminal. The user information carried in the session request may specifically include identification information (such as a user ID) of the user and a user password.
Forwarding the session request to the controller when receiving the session request, so that the controller verifies the user information in the session request, including:
when receiving a session request, transmitting a user ID in the session request to a controller so that the controller inquires whether a user ID is included in a stored user list; and if ID confirmation feedback information fed back by the controller when the user list comprises the user ID is received, sending a user password corresponding to the user ID to the controller so that the controller verifies the user password based on the password corresponding to the user ID in the user list.
It should be understood that when there is a preset ID corresponding to the user ID in the user list, and the password corresponding to the preset ID is consistent with the user password corresponding to the user ID, the verification is passed. Otherwise, the verification fails, namely if the preset ID corresponding to the user ID does not exist, or when the preset ID corresponding to the user ID exists but the password corresponding to the preset ID is inconsistent with the user password corresponding to the user ID, the verification fails.
Step S140: if a verification passing result fed back by the controller is received, a data transmission channel between the vehicle-mounted intelligent terminal and the controller is established, wherein the data transmission channel is used for carrying out data interaction between a user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
In one embodiment of the application, after the data transmission channel between the vehicle-mounted intelligent terminal and the controller is established, the user account corresponding to the user information can perform data interaction between the vehicle-mounted intelligent terminal and the controller by using a preset transmission protocol based on the data transmission channel.
The data transmission protocol may be an FTP protocol, where the FTP protocol is a common protocol in network transmission protocols, and basically has good application support on the above mentioned operating system, and has high compatibility. As long as the controller end can be used as a server end of the FTP, other nodes (such as a vehicle-mounted intelligent terminal in the application) can be used as clients of the FTP, and data interaction is carried out with the controller.
By using the standard FTP protocol, is integrated into the controller. Based on the FTP protocol, the innovative extensions support custom commands. And the high-rate characteristic of the Ethernet is combined, so that the transmission capacity is greatly improved, and the problem of the transmission rate is solved. Meanwhile, the external equipment can access the controller through the FTP protocol by the vehicle-mounted intelligent terminal, so that the functions of remote configuration, remote data acquisition and the like are realized, and the remote service function is enriched.
It should be appreciated that, in order to make the data access more reliable, it should be appreciated that the controller may also store account access rights corresponding to different preset IDs, so that the FTP protocol characteristic is utilized to increase the rights of the user account, and one account is given one right, for example, the data that can be accessed is classified according to security, so that the user data in the controller can be effectively protected.
By adopting the data interaction method of the in-vehicle local area network, the reliability of the external equipment is required to be verified a priori before data interaction is carried out, the vehicle-mounted intelligent terminal opens the data access authority to the external equipment after verifying the reliability of the external equipment, and when receiving a session request sent by the external equipment, the controller is used for verifying the reliability of a user corresponding to the session request, and a data interaction channel between the controller and the vehicle-mounted intelligent terminal is established when the verification passes, so that the external equipment can carry out data interaction through the vehicle-mounted intelligent terminal and the controller, and the reliability and the safety of the data interaction are ensured.
It should be understood that after the data transmission channel between the vehicle-mounted intelligent terminal and the controller is established, the external device may access the data stored in the controller through the data transmission channel between the vehicle-mounted intelligent terminal and the controller, and the external device may synchronize the data into the controller through the data transmission channel between the vehicle-mounted intelligent terminal and the controller.
In one implementation manner, if the vehicle-mounted intelligent terminal receives a data acquisition request corresponding to a user account sent by an external device, the vehicle-mounted intelligent terminal sends the data acquisition request to a controller through the data transmission channel; and receiving target data fed back by the controller in response to the data acquisition request through the data transmission channel, and sending the target data to the external equipment.
If a data acquisition request corresponding to a user account sent by an external device is received, the data acquisition request is sent to a controller through the data transmission channel, including:
if a data acquisition request corresponding to a user account and sent by an external device is received, a file path parameter corresponding to the data acquisition request is obtained in response to the data acquisition request, and the data acquisition request and the file path parameter are sent to the controller through the data transmission channel, so that the controller can search target data according to the file path parameter in response to the data acquisition request.
In this way, the FTP protocol may be used for data interaction in the data interaction process. The target data may be a battery level of the vehicle, traveling routine information, a fault condition of each node, and the like. When a vehicle breaks down, the data information can be used for rapidly identifying the cause of the fault, and the analysis and the solution of the problem are facilitated.
In another implementation manner, if the vehicle-mounted intelligent terminal receives a data input request corresponding to a user account sent by an external device, the data input request is sent to a controller through the data transmission channel, so that the controller responds to the data input request to input a file to be input carried in the data input request into a corresponding file system; and receiving an input result fed back by the controller in response to the data input request through the data transmission channel, and sending the input result to the external equipment.
Referring to fig. 3, an embodiment of the present application further provides a data interaction method of an in-vehicle local area network, which is applied to a controller in the in-vehicle local area network, where the in-vehicle local area network further includes an in-vehicle intelligent terminal, and vehicle operation data is stored in the controller, and the method includes:
step S210: and receiving a session request forwarded after the vehicle-mounted intelligent terminal opens the data access right to the external equipment, wherein the data access right is opened when the reliability verification of the external equipment is passed.
For a specific process of performing the reliability verification on the external device, reference may be made to the foregoing specific descriptions of steps S110 to S120, which are not described herein in detail.
Step S220: and if the user information in the session request is successfully verified, sending a verification passing result to the vehicle-mounted intelligent terminal so that the vehicle-mounted intelligent terminal establishes a data transmission channel between the vehicle-mounted intelligent terminal and the controller, wherein the data transmission channel is used for carrying out data interaction between a user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
For the specific description of step S220, reference may be made to the foregoing specific descriptions of steps S130 to S140, which are not repeated here.
The controller can also store access rights corresponding to different user information, for example, a general user only concerns configuration information of a vehicle or background log information of the vehicle, and only needs to open user-level rights; and the system user considers the system running state information, the security information or the encryption information and the like, and needs to allocate system level authority, so that the system authority can access the system information and the user level data, and the security of the data access can be further ensured.
It should be understood that after the establishment of the data transmission channel is completed later, if a data acquisition request sent by the vehicle-mounted intelligent terminal is received, a file path parameter corresponding to the data acquisition request can be obtained, and target data is searched according to the file path parameter in response to the data acquisition request and fed back to the vehicle-mounted intelligent terminal.
If the user information corresponds to the access right, when a data acquisition request sent by the vehicle-mounted intelligent terminal is received, a file path parameter corresponding to the data acquisition request can be obtained, whether a storage position corresponding to the file path parameter belongs to a storage space to which the access right corresponding to the user information belongs or not is determined, if yes, target data are searched according to the file path parameter, and the target data are fed back to the vehicle-mounted intelligent terminal.
Similarly, if the data input request sent by the vehicle-mounted intelligent terminal is received after the establishment of the data transmission channel is completed later, the file to be input carried in the data input request is input into the corresponding file system in response to the data input request.
The following describes apparatus embodiments of the present application that may be used to perform the methods of the above-described embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments described above in the present application.
Fig. 4 is a schematic diagram showing a data interaction device 300 of an in-vehicle lan, which is applied to an in-vehicle intelligent terminal in the in-vehicle lan, and further includes a controller, where vehicle operation data is stored in the controller, and the device includes: an authentication request receiving module 310, an authentication request responding module 320, a session request transmitting module 330, and a channel establishing module 340.
A verification request receiving module 310, configured to receive a data interaction verification request sent by an external device, where the data interaction verification request carries a key seed and a first security key obtained by the external device based on the key seed; a verification request response module 320, configured to generate a second security key based on the key seed in response to the data interaction verification request, and verify the reliability of the external device using the second security key and the first security key; a session request sending module 330, configured to, if the external device is verified to be reliable, open a data access right to the external device, and forward the session request to the controller when receiving the session request, so that the controller verifies user information in the session request; and the channel establishing module 340 is configured to establish a data transmission channel between the vehicle-mounted intelligent terminal and the controller if a verification passing result fed back by the controller is received, where the data transmission channel is used for performing data interaction between the user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
In one embodiment, the session request includes a user ID and a user password corresponding to the user ID, and the session request sending module is further configured to send, when the session request is received, the user ID in the session request to the controller, so that the controller queries whether the stored user list includes the user ID; and if ID confirmation feedback information fed back by the controller when the user list comprises the user ID is received, sending a user password corresponding to the user ID to the controller so that the controller verifies the user password based on the password corresponding to the user ID in the user list.
In one embodiment, the apparatus further comprises an acquisition request forwarding module and a target data feedback module. The acquisition request forwarding module is used for sending the data acquisition request to the controller through the data transmission channel if the data acquisition request corresponding to the user account sent by the external equipment is received; and the target data feedback module is used for receiving target data fed back by the controller in response to the data acquisition request through the data transmission channel and sending the target data to the external equipment.
In this embodiment, the target data feedback module is further configured to, if a data acquisition request corresponding to a user account sent by an external device is received, obtain a file path parameter corresponding to the data acquisition request in response to the data acquisition request, and send the data acquisition request and the file path parameter to the controller through the data transmission channel, so that the controller searches for target data according to the file path parameter in response to the data acquisition request.
In one implementation manner, the device further comprises an input request forwarding module and an input result feedback module, wherein the input request forwarding module is used for sending the data input request to a controller through the data transmission channel if a data input request corresponding to a user account sent by an external device is received, so that the controller responds to the data input request to input a file to be input carried in the data input request into a corresponding file system; and the input result feedback module is used for receiving input results fed back by the controller in response to the data input request through the data transmission channel and sending the input results to the external equipment.
Referring to fig. 5, still another embodiment of the present application provides a data interaction device 400 of an in-vehicle local area network, which is applied to a controller in the in-vehicle local area network, where the in-vehicle local area network further includes an in-vehicle intelligent terminal, and in-vehicle intelligent terminal stores vehicle operation data in the controller, the device includes: a session request receiving module 410 and a verification module 420.
A session request receiving module 410, configured to receive a session request forwarded after the vehicle-mounted intelligent terminal opens a data access right to an external device, where the data access right is opened when the reliability verification is passed on the external device; and the verification module 420 is configured to send a verification passing result to the vehicle-mounted intelligent terminal if the user information in the session request is successfully verified, so that the vehicle-mounted intelligent terminal establishes a data transmission channel between the vehicle-mounted intelligent terminal and the controller, where the data transmission channel is used for performing data interaction between a user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
It should be noted that, in the present application, the device embodiment and the foregoing method embodiment correspond to each other, and specific principles in the device embodiment may refer to the content in the foregoing method embodiment, which is not described herein again.
A vehicle 100 provided in the present application will be described with reference to fig. 6.
Referring to fig. 6, based on the method for data interaction of the in-vehicle lan provided by the foregoing embodiment, another vehicle 100 including an in-vehicle lan 102 capable of executing the foregoing method is further provided in the embodiment, and the external device may be a server or a terminal device, and the terminal device may be a smart phone, a tablet computer, a computer or a portable computer.
The vehicle 100 also includes a memory 104. The memory 104 stores therein a program capable of executing the contents of the foregoing embodiments, and the in-vehicle lan 102 can execute the program stored in the memory 104.
The in-vehicle lan 102 may include one or more cores for processing data and a message matrix unit, among other things. The in-vehicle local area network 102 utilizes various interfaces and lines to connect various portions of the overall vehicle 100, performing various functions of the vehicle 100 and processing data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and invoking data stored in the memory 104.
The Memory 104 may include random access Memory (Random Access Memory, RAM) or Read-Only Memory (RAM). Memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the various method embodiments described below, and the like. The storage data area may also store data acquired by the vehicle 100 in use (e.g., data to be recommended and modes of operation), and so forth.
The vehicle 100 may further include a network module for receiving and transmitting electromagnetic waves, and for implementing mutual conversion between the electromagnetic waves and the electric signals, so as to communicate with a communication network or other devices, such as an audio playback device. The network module may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The network module may communicate with various networks such as the internet, intranets, wireless networks, or with other devices via wireless networks. The wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The screen may display interface content and perform data interaction.
In some embodiments, the vehicle 100 may further include: a peripheral interface 106 and at least one peripheral device. The in-vehicle lan 102, memory 104, and peripheral interface 106 may be connected by a bus or signal line. The individual peripheral devices may interface with the peripheral devices via buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of the radio frequency assembly 108, the positioning assembly 112, etc
The peripheral interface 106 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the in-vehicle local area network 102 and the memory 104. In some embodiments, in-vehicle local area network 102, memory 104, and peripheral interface 106 are integrated on the same chip or circuit board; in some other embodiments, any one or both of in-vehicle local area network 102, memory 104, and peripheral interface 106 may be implemented on separate chips or circuit boards, which are not limited in this application.
The Radio Frequency (RF) component 108 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency component 108 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency component 108 converts electrical signals to electromagnetic signals for transmission or converts received electromagnetic signals to electrical signals. Optionally, the radio frequency assembly 108 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency component 108 can communicate with other terminals (e.g., with external devices as described above) via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency component 108 may also include NFC (Near Field Communication, short range wireless communication) related circuitry, which is not limited in this application.
The locating component 112 is used to locate the current geographic location of the vehicle 100 for navigation or LBS (LocationBased Service, location-based services). The positioning component 112 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, or the Galileo system of Russia.
In summary, the data interaction method, the device, the electronic device and the storage medium of the in-vehicle local area network provided by the embodiment of the application generate the second security key based on the key seed by responding to the data interaction verification request, and verify the reliability of the external device by using the second security key and the first security key; if the external equipment is verified to be reliable, opening data access rights to the external equipment, and forwarding the session request to the controller when receiving the session request so that the controller verifies user information in the session request; if a verification passing result fed back by the controller is received, a data transmission channel between the vehicle-mounted intelligent terminal and the controller is established, wherein the data transmission channel is used for enabling a user account corresponding to user information to conduct data interaction with the controller through the vehicle-mounted intelligent terminal. By adopting the method, the reliability and the safety of data access can be effectively ensured. Specifically, by adopting the method and the device, before data interaction, the reliability of the external equipment needs to be verified a priori, the vehicle-mounted intelligent terminal opens the data access authority to the external equipment after verifying the reliability of the external equipment, and when receiving the session request sent by the external equipment, the controller is used for verifying the reliability of the user corresponding to the session request, and a data interaction channel between the controller and the vehicle-mounted intelligent terminal is established when the verification passes, so that the external equipment can perform data interaction with the controller through the vehicle-mounted intelligent terminal, and the reliability and the safety of the data interaction are ensured.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a touch terminal, or a network device, etc.) to perform the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (9)

1. The data interaction method of the in-vehicle local area network is characterized by being applied to a vehicle-mounted intelligent terminal, wherein the vehicle-mounted intelligent terminal is connected with a controller, and the controller and the vehicle-mounted intelligent terminal are connected to form the in-vehicle local area network, and the method comprises the following steps:
receiving a data interaction verification request sent by external equipment, wherein the data interaction verification request carries a key seed and a first security key obtained by the external equipment based on the key seed;
generating a second security key based on the key seed in response to the data interaction verification request, and verifying the reliability of the external device by using the second security key and the first security key;
If the external equipment is verified to be reliable, opening data access rights to the external equipment, and when a session request is received, sending a user ID in the session request to a controller so that the controller inquires whether a user ID is included in a stored user list;
if ID confirmation feedback information fed back by the controller when the user list comprises the user ID is received, sending a user password corresponding to the user ID to the controller so that the controller verifies the user password based on the password corresponding to the user ID in the user list;
if a verification passing result fed back by the controller is received, a data transmission channel between the vehicle-mounted intelligent terminal and the controller is established, wherein the data transmission channel is used for carrying out data interaction between a user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
2. The method for data interaction of an in-vehicle local area network according to claim 1, wherein after establishing a data transmission channel between the vehicle-mounted intelligent terminal and the controller, the method further comprises:
if a data acquisition request corresponding to a user account and sent by external equipment is received, the data acquisition request is sent to a controller through the data transmission channel;
And receiving target data fed back by the controller in response to the data acquisition request through the data transmission channel, and sending the target data to the external equipment.
3. The method for data interaction in an in-vehicle lan according to claim 2, wherein if a data acquisition request corresponding to a user account sent by an external device is received, sending the data acquisition request to a controller through the data transmission channel, includes:
if a data acquisition request corresponding to a user account and sent by an external device is received, a file path parameter corresponding to the data acquisition request is obtained in response to the data acquisition request, and the data acquisition request and the file path parameter are sent to the controller through the data transmission channel, so that the controller can search target data according to the file path parameter in response to the data acquisition request.
4. The method for data interaction of an in-vehicle local area network according to claim 1, wherein after establishing a data transmission channel between the vehicle-mounted intelligent terminal and the controller, the method further comprises:
if a data input request corresponding to a user account sent by external equipment is received, the data input request is sent to a controller through the data transmission channel, so that the controller responds to the data input request to input a file to be input carried in the data input request into a corresponding file system;
And receiving an input result fed back by the controller in response to the data input request through the data transmission channel, and sending the input result to the external equipment.
5. A data interaction method of an in-vehicle local area network, which is characterized in that the method is applied to a controller, the controller is connected with a vehicle-mounted intelligent terminal, the vehicle-mounted intelligent terminal is used for executing the method according to any one of claims 1-4, and the controller and the vehicle-mounted intelligent terminal are connected to form the in-vehicle local area network, and the method comprises the following steps:
receiving a session request forwarded after the vehicle-mounted intelligent terminal opens data access rights to external equipment, wherein the data access rights are opened when the external equipment is subjected to reliability verification;
and if the user information in the session request is successfully verified, sending a verification passing result to the vehicle-mounted intelligent terminal so that the vehicle-mounted intelligent terminal establishes a data transmission channel between the vehicle-mounted intelligent terminal and the controller, wherein the data transmission channel is used for carrying out data interaction between a user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
6. The utility model provides an interactive device of in-vehicle LAN data which characterized in that is applied to on-vehicle intelligent terminal, on-vehicle intelligent terminal is connected with the controller, just the controller is connected with on-vehicle intelligent terminal and is constituteed in-vehicle LAN, the device includes:
the verification request receiving module is used for receiving a data interaction verification request sent by the external equipment, wherein the data interaction verification request carries a key seed and a first security key obtained by the external equipment based on the key seed;
the verification request response module is used for responding to the data interaction verification request, generating a second security key based on the key seed and verifying the reliability of the external device by utilizing the second security key and the first security key;
the session request sending module is used for opening data access rights to the external equipment if the external equipment is verified to be reliable, and sending the user ID in the session request to the controller when the session request is received so that the controller can inquire whether the stored user list comprises the user ID; if ID confirmation feedback information fed back by the controller when the user list comprises the user ID is received, sending a user password corresponding to the user ID to the controller so that the controller verifies the user password based on the password corresponding to the user ID in the user list;
And the channel establishing module is used for establishing a data transmission channel between the vehicle-mounted intelligent terminal and the controller if a verification passing result fed back by the controller is received, wherein the data transmission channel is used for carrying out data interaction on a user account corresponding to the user information through the vehicle-mounted intelligent terminal and the controller.
7. A data interaction device of an in-vehicle local area network, which is applied to a controller, wherein the controller is connected with a vehicle-mounted intelligent terminal, the vehicle-mounted intelligent terminal comprises the device of claim 6, and the controller and the vehicle-mounted intelligent terminal are connected to form the in-vehicle local area network, and the device comprises:
the session request receiving module is used for receiving a session request forwarded after the vehicle-mounted intelligent terminal opens data access rights to external equipment, wherein the data access rights are opened when the external equipment is subjected to reliability verification;
and the verification module is used for sending a verification passing result to the vehicle-mounted intelligent terminal if the user information in the session request is successfully verified, so that the vehicle-mounted intelligent terminal establishes a data transmission channel between the vehicle-mounted intelligent terminal and the controller, and the data transmission channel is used for carrying out data interaction between a user account corresponding to the user information and the controller through the vehicle-mounted intelligent terminal.
8. A vehicle, characterized by comprising:
one or more processors;
a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-4 or 5.
9. A computer readable storage medium storing program code which is callable by a processor to perform the method according to any one of claims 1-4 or 5.
CN202210273055.4A 2022-03-18 2022-03-18 Data interaction method, device and equipment of in-vehicle local area network and storage medium Active CN114710524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210273055.4A CN114710524B (en) 2022-03-18 2022-03-18 Data interaction method, device and equipment of in-vehicle local area network and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210273055.4A CN114710524B (en) 2022-03-18 2022-03-18 Data interaction method, device and equipment of in-vehicle local area network and storage medium

Publications (2)

Publication Number Publication Date
CN114710524A CN114710524A (en) 2022-07-05
CN114710524B true CN114710524B (en) 2023-06-30

Family

ID=82168079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210273055.4A Active CN114710524B (en) 2022-03-18 2022-03-18 Data interaction method, device and equipment of in-vehicle local area network and storage medium

Country Status (1)

Country Link
CN (1) CN114710524B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499248B (en) * 2022-11-17 2023-03-24 北京珞安科技有限责任公司 Equipment access control method and system
CN117807016B (en) * 2024-03-01 2024-07-09 上海励驰半导体有限公司 Communication method, device and storage medium for multi-core heterogeneous system and external device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944911A (en) * 2014-04-25 2014-07-23 天地融科技股份有限公司 Data security interactive system
CN111746465A (en) * 2019-03-27 2020-10-09 广州汽车集团股份有限公司 Automatic vehicle locking system and automatic vehicle locking method and unlocking method thereof
CN112615839A (en) * 2020-12-10 2021-04-06 帝信科技股份有限公司 Data transmission system, data transmission method and data transmission device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3780481B1 (en) * 2018-04-30 2024-02-14 Huawei International Pte. Ltd. Method for upgrading vehicle-mounted device, and related device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944911A (en) * 2014-04-25 2014-07-23 天地融科技股份有限公司 Data security interactive system
CN111746465A (en) * 2019-03-27 2020-10-09 广州汽车集团股份有限公司 Automatic vehicle locking system and automatic vehicle locking method and unlocking method thereof
CN112615839A (en) * 2020-12-10 2021-04-06 帝信科技股份有限公司 Data transmission system, data transmission method and data transmission device

Also Published As

Publication number Publication date
CN114710524A (en) 2022-07-05

Similar Documents

Publication Publication Date Title
CN114710524B (en) Data interaction method, device and equipment of in-vehicle local area network and storage medium
US11438643B2 (en) Terminal, method for voice control, and related products
US11641679B2 (en) Sidelink data indication method and terminal equipment
KR20200130920A (en) Method for performing user authentication and distance measurement at the same time and electonic device therof
CN113347242B (en) Cross-device resource access method and device, storage medium and electronic device
CN108040355B (en) Network access method and system
EP4142236A1 (en) Electronic device for performing edge computing service, and operating method of electronic device
CN103987022B (en) A kind of location information inquiry method, system and mobile terminal based on mobile terminal
US20150281235A1 (en) Self-activation of user device
CN115801299B (en) Meta universe identity authentication method, device, equipment and storage medium
WO2021000319A1 (en) Method, apparatus, and system for ensuring terminal security
CN109548411B (en) Method and device for controlling controllable equipment to access network
CN106534602B (en) A kind of terminal and information processing method
CN112560686B (en) Dynamic face calling system and method and cloud face data processing terminal
CN112804102B (en) Equipment binding method, device and terminal
US11304178B2 (en) Electronic device for receiving paging message and operation method thereof
CN113242314A (en) Cross-terminal resource access method and device, storage medium and electronic equipment
CN111653021A (en) User identity authentication method, device and storage medium based on WiFi-Aware network
CN114710830B (en) Network registration method and related device
EP4068821B1 (en) Vsim module for portable apparatus and portable apparatus
WO2023070433A1 (en) Authentication between wireless devices and edge servers
US20220141292A1 (en) Electronic device using carrier network and method for operating the same
CN113437773B (en) Method, device and terminal for reducing sideband radiation stray in charging scene
CN107613497A (en) Method for network authorization and radio reception device
CN113647074B (en) Method for edge computing service and electronic device thereof

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