A remote access control system and method for vehicle-mounted gateway devices

By deploying a remote access agent in the vehicle gateway device, actively establishing a TLS long connection and combining it with identity authentication and access authorization mechanisms, the problems of public network inaccessibility, insufficient security, and difficulty in permission management for remote access to vehicle devices are solved, thus realizing secure and flexible remote access capabilities.

CN123123897APending Publication Date: 2026-11-17YANGZHOU HANGSHENG TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611243559.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-17
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing remote access technologies for in-vehicle devices suffer from problems such as inaccessibility to the public network, insufficient security, difficulty in managing access permissions, and low efficiency in remote access to large numbers of vehicles.

Method used

By deploying a remote access agent program in the vehicle gateway device, a long TLS connection with the remote access server is actively established. Combined with user authentication and access authorization mechanisms, remote SSH access without a public IP address is achieved. A VIN-based access mapping mechanism is used for rapid location and accurate access.

Benefits of technology

It enables secure, flexible, and easy-to-manage remote access to vehicle-mounted devices in a carrier network environment, improving access success rate and management efficiency while reducing security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123123897A_ABST
    Figure CN123123897A_ABST
Patent Text Reader

Abstract

This invention discloses a remote access control system and method for vehicle-mounted gateway devices in the field of vehicle communication technology. The system includes a remote access client module, a remote access server module, and a vehicle-mounted gateway device module. The remote access client module provides a user access point; the remote access server module performs user authentication, vehicle management, and access request forwarding; and the vehicle-mounted gateway device module runs a remote access agent program and actively establishes a communication connection with the remote access server module. Since vehicle-mounted gateway devices are typically located in a carrier's cellular network environment and cannot be directly accessed via the public internet, the vehicle-mounted gateway actively establishes a secure long-lived connection with the remote access server. When a user needs to access the vehicle, after identity authentication and permission verification are completed by the server, the server establishes an access channel using the vehicle's existing connection, enabling remote SSH access without a public IP address or an open SSH public port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a remote access control system and method for vehicle gateway devices in the field of vehicle communication technology. Background Technology

[0002] With the development of intelligent connected vehicles, in-vehicle gateway devices undertake important functions such as vehicle network communication, data forwarding, and security isolation. During vehicle R&D testing, software debugging, problem analysis, and operation and maintenance management, R&D personnel often need to obtain the system logs, network status, and operational information of the in-vehicle gateway devices, thus requiring the ability to remotely access these devices.

[0003] Currently, remote access to in-vehicle devices is mainly achieved through VPN access, dedicated line connections, port mapping, or cloud platform proxy forwarding. R&D personnel remotely connect to the enterprise network or cloud platform, and then log in to the target in-vehicle device via the SSH protocol to complete device debugging and maintenance.

[0004] However, existing technologies still have the following shortcomings: (1) Vehicle-mounted equipment usually accesses the operator's 4G / 5G network and is mostly in a private network or NAT environment. It cannot be accessed directly through the public network. The process of establishing a remote connection is complicated and it is highly dependent on the network environment.

[0005] (2) Existing solutions usually require prior configuration of VPN, fixed access policies or dedicated network environments, which are costly to deploy and have poor flexibility, making it difficult to meet the needs of rapid access during the R&D and testing phase.

[0006] (3) In order to achieve remote SSH login, some solutions need to expose the device access port to the public network, which is vulnerable to network attacks such as port scanning, brute force cracking and unauthorized access, posing a significant security risk.

[0007] (4) Existing solutions have limited ability to manage remote access permissions, making it difficult to flexibly authorize different users, different vehicles or different time periods, which can easily lead to problems such as excessive permissions or complex permission management.

[0008] Therefore, existing remote access technologies for vehicle-mounted devices still have shortcomings in terms of access convenience, security, and access control capabilities. A more secure, flexible, and easy-to-manage remote access control solution is needed to meet the actual needs of remote debugging and maintenance scenarios for vehicle-mounted gateway devices. Summary of the Invention

[0009] The purpose of this invention is to provide a remote access control system and method for vehicle-mounted gateway devices, which solves the problems of public network inaccessibility, insufficient security, difficulty in access permission management, and low efficiency of large-scale remote access for vehicles during remote SSH access of vehicle-mounted devices.

[0010] To achieve the above objectives, the present invention provides a remote access control system for vehicle-mounted gateway devices, comprising a remote access client module, a remote access server module, and a vehicle-mounted gateway device module; wherein the remote access client module is used to provide a user access entry point; the remote access server module is used to perform user authentication, vehicle management, and access request forwarding; and the vehicle-mounted gateway device module is used to run a remote access agent program and actively establish a communication connection with the remote access server module.

[0011] Compared with existing technologies, the advantages of this invention are that, since vehicle gateway devices are typically located in a carrier's cellular network environment and cannot be directly accessed via the public network, the vehicle gateway proactively establishes a secure long-term connection to the remote access server. When a user needs to access the vehicle, after identity authentication and permission verification are completed by the server, the server establishes an access channel using the vehicle's existing connection, enabling remote SSH access without a public IP address or an open SSH public port.

[0012] As a further improvement of the present invention, the remote access client module includes a user authentication unit connected to a vehicle selection unit, which in turn is connected to an SSH access request unit. The user authentication unit collects user login information, connects to the remote access server module via the internet, and sends the user's identity information to the remote access server for verification. The user information includes: user account, user password, and user role information. The vehicle selection unit displays a list of currently online vehicles. The SSH access request unit sends an access request to the remote access server module.

[0013] When a user needs to access a vehicle, they first enter their account information through the remote access client module. The identity authentication unit encrypts the user information and sends it to the remote access server module. The remote access server module completes the identity verification and returns the authentication result. After successful authentication, the vehicle selection unit displays the list of currently online vehicles. After the user selects the target vehicle, they send an access request to the server through the SSH access request unit.

[0014] As a further improvement of the present invention, the remote access server module includes a user authentication module, which is connected to the vehicle connection management module, which is connected to the data forwarding module, and the data forwarding module is connected to the access authorization management module. The user authentication module is used to verify the identity of remote access users and stores user account information and access permission information in a database. The vehicle connection management module is used to maintain the connection relationship between the vehicle gateway device and the server. When a vehicle comes online, the server records the VIN number, device ID, online status, and communication connection identifier. The data forwarding module is used to realize data forwarding between public network-side SSH data and vehicle-side SSH data. The access authorization management module is used to generate and manage access authorization information, which includes user ID, vehicle ID, authorization time, and SSH access permissions.

[0015] When the remote access server receives a user's access request, it first checks the user's permissions; then it checks the online status of the target vehicle; and then it generates temporary access authorization information.

[0016] As a further improvement of the present invention, the vehicle gateway device module includes a remote access agent module, which is connected to an SSH service module, and the SSH service module is connected to a local access control module. The remote access agent module runs on the vehicle gateway's Linux system and is used to actively establish a TLS long connection to the remote access server via a 4G / 5G network, while communicating with the SSH service module. The SSH service module is used to provide local SSH access capabilities. The local access control module is used to verify access authorization information and realize permission control for local access.

[0017] After the vehicle starts, the remote access agent module loads and runs, actively sending a registration request to the server, uploading VIN information, software version, and network status. The server saves the vehicle's connection status. When it receives an access authorization instruction, the agent verifies the authorization information; after successful verification, it establishes a temporary SSH access mapping and sends the data forwarded by the server to the local SSH service.

[0018] To achieve the above objectives, the present invention also provides a remote access control method for vehicle-mounted gateway devices, comprising the following: S1. After the vehicle gateway device starts up, it runs the remote access agent program module, actively establishes a secure long connection with the remote access server and completes registration, and uploads VIN information, software version and network status. The remote access server saves the vehicle's online status and connection information. S2, the user completes login authentication by entering identity information through the remote access client module. After successful authentication, the user can view the list of currently online vehicles, select the target vehicle, and initiate an SSH access request to the remote access server module. S3, after receiving the access request, the remote access server module verifies the user's permissions and the online status of the target vehicle, generates temporary access authorization information, and sends it to the corresponding vehicle gateway device; S4, the remote access agent module of the vehicle gateway device verifies the received authorization information. After successful verification, a temporary SSH access mapping is established to connect the remote access client module and the SSH service, thus establishing a data transmission channel between the module. The S5 remote access server module forwards SSH data between the public network side and the vehicle side through a pre-established long connection, enabling remote access to the vehicle gateway device. After the access is completed, the channel is closed and related resources are released.

[0019] As a further improvement of the present invention, in step S1, the vehicle gateway device and the remote access server establish a secure communication connection using the TLS 1.2 or higher protocol, set the TLS communication heartbeat cycle to 30 seconds, and the vehicle online status detection cycle to 60 seconds to maintain the stability of the connection.

[0020] As a further improvement of the present invention, the temporary access authorization information generated in step S3 includes a 32-byte random string Token. The valid conditions of the Token are: the current time is less than the Token expiration time, the target VIN is consistent with the VIN of the vehicle requesting access, and the user's permissions meet the access requirements.

[0021] As a further improvement of the present invention, the validity period of the temporary access authorization is 30 minutes, the SSH connection timeout is set to 10 minutes, and the remote access connection is automatically disconnected after the expiration.

[0022] As a further improvement of the present invention, the vehicle gateway device adopts a platform based on the NXP S32G series processor, runs the Linux / OpenWrt operating system, the remote access agent program is developed in C / C++ and runs in the background daemon mode, and has a built-in OpenSSH Server to provide local SSH service capabilities.

[0023] As a further improvement of the present invention, an access mapping mechanism based on vehicle VIN code and device unique identifier is adopted. The correspondence between vehicle identity and online connection is maintained through remote access server, so as to complete the rapid location and accurate access of target vehicle without relying on fixed IP address.

[0024] Compared with existing technologies, the advantages of this invention lie in establishing a secure connection channel between the vehicle-mounted gateway device and the remote access platform, enabling remote access to vehicle-mounted devices in a public network environment. This allows R&D personnel to complete equipment debugging and maintenance without entering the vehicle site. This invention eliminates the need to configure a fixed public IP address for the vehicle, adapting to dynamic IP addresses and NAT network environments, thus improving the success rate of remote access and deployment flexibility. Furthermore, through identity authentication, access authorization, and access control mechanisms, this invention effectively reduces the security risks associated with directly exposing SSH services, enhancing the security of remote access to vehicle-mounted devices. In addition, this invention supports unified management of access permissions for different users, achieving controllability and traceability of the remote access process, and improving management efficiency in large-scale vehicle remote debugging and maintenance scenarios. Attached Figure Description

[0025] Figure 1 This is a system diagram of the present invention.

[0026] Figure 2 This is a module connection diagram of the remote access client module of the present invention.

[0027] Figure 3 This is a module connection diagram of the remote access server module of the present invention.

[0028] Figure 4 This is a module connection diagram of the vehicle-mounted gateway device module of the present invention.

[0029] Figure 5 This is the control flowchart of the present invention. Detailed Implementation

[0030] The present invention will be further described below with reference to the accompanying drawings: like Figure 2-3 The remote access control system for vehicle-mounted gateway devices includes a remote access client module, a remote access server module, and a vehicle-mounted gateway device module. The remote access client module provides a user access point; the remote access server module performs user authentication, vehicle management, and access request forwarding; and the vehicle-mounted gateway device module runs a remote access agent program and actively establishes a communication connection with the remote access server module.

[0031] The remote access client module includes a user authentication unit, which is connected to a vehicle selection unit, and the vehicle selection unit is connected to an SSH access request unit. The user authentication unit collects user login information, connects to the remote access server module via the internet, and sends the user's identity information to the remote access server for verification. User information includes: user account, user password, and user role information. The vehicle selection unit displays a list of currently online vehicles. The SSH access request unit sends access requests to the remote access server module.

[0032] The remote access server module includes a user authentication module, which connects to the vehicle connection management module, which in turn connects to the data forwarding module, and the data forwarding module connects to the access authorization management module. The user authentication module verifies the identity of remote access users and stores user account information and access permission information in a database. The vehicle connection management module maintains the connection between the vehicle gateway device and the server; when a vehicle comes online, the server records the VIN number, device ID, online status, and communication connection identifier. The data forwarding module forwards data between public network-side SSH data and vehicle-side SSH data. The access authorization management module generates and manages access authorization information, including user ID, vehicle ID, authorization time, and SSH access permissions.

[0033] The vehicle gateway device module includes a remote access agent module, which connects to an SSH service module, which in turn connects to a local access control module. The remote access agent module runs on the vehicle gateway's Linux system and is used to proactively establish a TLS long connection with the remote access server via the 4G / 5G network, while also communicating with the SSH service module. The SSH service module provides local SSH access capabilities. The local access control module verifies access authorization information and implements permission control for local access.

[0034] like Figure 5 The remote access control method for vehicle-mounted gateway devices, as shown, includes the following: S1. After the vehicle gateway device starts up, it runs the remote access agent program module, actively establishes a secure long connection with the remote access server and completes registration, and uploads VIN information, software version, and network status. The remote access server saves the vehicle's online status and connection information.

[0035] The vehicle gateway device and the remote access server establish a secure communication connection using TLS 1.2 or higher protocol, with a TLS communication heartbeat cycle of 30 seconds and a vehicle online status detection cycle of 60 seconds to maintain connection stability.

[0036] S2, the user completes login authentication by entering identity information through the remote access client module. After successful authentication, the user can view the list of currently online vehicles, select the target vehicle, and initiate an SSH access request to the remote access server module.

[0037] S3: After receiving the access request, the remote access server module verifies the user's permissions and the online status of the target vehicle, generates temporary access authorization information, and sends it to the corresponding vehicle gateway device.

[0038] The generated temporary access authorization information contains a 32-byte random string Token. The conditions for a valid Token are: the current time is less than the Token expiration time, the target VIN is consistent with the VIN of the vehicle requesting access, and the user's permissions meet the access requirements.

[0039] S4, the remote access agent module of the vehicle gateway device verifies the received authorization information. After successful verification, a temporary SSH access mapping is established, connecting the remote access client module and the SSH service, thus establishing a data transmission channel between the modules.

[0040] The S5 remote access server module forwards SSH data between the public network side and the vehicle side through a pre-established long connection, enabling remote access to the vehicle gateway device. After the access is completed, the channel is closed and related resources are released.

[0041] The temporary access authorization is valid for 30 minutes, and the SSH connection timeout is set to 10 minutes. The remote access connection will be automatically disconnected after the expiration.

[0042] The vehicle gateway device uses a platform based on the NXP S32G series processor, runs the Linux / OpenWrt operating system, and the remote access agent program is developed in C / C++ and runs as a background daemon process. It has a built-in OpenSSH Server to provide local SSH service capabilities.

[0043] It adopts an access mapping mechanism based on vehicle VIN code and device unique identifier, and maintains the correspondence between vehicle identity and online connection through remote access server, so as to complete the rapid location and accurate access of target vehicle without relying on fixed IP address.

[0044] In this invention, such as Figure 1As shown, the system of this invention includes: a remote access client module, a remote access server module, and an in-vehicle gateway device module; wherein: the remote access client module is used to provide user access entry; the remote access server module is used for user authentication, vehicle management, and access request forwarding; the in-vehicle gateway device module is used to run a remote access agent program and actively establish a communication connection with the remote access server; since the in-vehicle gateway device is usually located in a carrier cellular network environment and cannot be directly accessed through the public network, this invention changes the traditional public network active connection method, with the in-vehicle gateway actively establishing a secure long connection to the remote access server. When a user needs to access the vehicle, after the server completes identity authentication and permission verification, the server uses the vehicle's existing connection to establish an access channel, realizing remote SSH access without a public IP address or an open SSH public port.

[0045] like Figure 2 As shown, the remote access client module includes: component 201: user authentication unit; component 202: vehicle selection unit; component 203: SSH access request unit.

[0046] Component 201, the user authentication unit, is used to collect user login information and send authentication requests to the remote access server. User information includes: user account, user password, and user role information.

[0047] Connection and interaction relationships: Component 201, the user authentication unit, remotely accesses the server module via the Internet and sends the user's identity information to the server for verification.

[0048] The dynamic operation of the remote access client module: When a user needs to access a vehicle, they first enter their account information through the remote access client module. The identity authentication unit encrypts the user information and sends it to the remote access server module. The remote access server module completes the identity verification and returns the authentication result. After successful authentication, the vehicle selection unit displays the list of currently online vehicles. After selecting the target vehicle, the user sends an access request to the server through the SSH access request unit.

[0049] like Figure 3 As shown, the remote access server module is the core processing unit of the system, including component 301: user authentication module; component 302: vehicle connection management module; component 303: data forwarding module; and component 304: access authorization management module.

[0050] Component 301, the user authentication module, is used to verify the identity of remote access users. It stores user account information and access permission information in a database.

[0051] Component 302, the vehicle connection management module, is used to maintain the connection relationship between the vehicle gateway device and the server. When a vehicle comes online, the server records the VIN number, device ID, online status, and communication connection identifier.

[0052] The data forwarding module 303 is used to forward data between public network-side SSH data and vehicle-side SSH data.

[0053] The Component 304 Access Authorization Management module is used to generate and manage access authorization information. Authorization information includes user ID; vehicle ID; authorization time; and SSH access permissions.

[0054] The dynamic operation of the remote access server module: After receiving a user access request, the remote access server first checks the user's permissions; then it checks the online status of the target vehicle; subsequently, it generates temporary access authorization information. For example: Authorized object: VIN123456; Access protocol: SSH; Valid time: 30 minutes. The server sends the authorization information to the corresponding vehicle gateway device. After successful authorization, the server establishes a data forwarding channel between the user and the target vehicle.

[0055] like Figure 4 As shown, the vehicle gateway device module includes: component 401: remote access agent program; component 402: SSH service module; component 403: local access control module.

[0056] Component 401, the remote access agent, is used to actively connect to the remote access server. This module runs on the vehicle gateway's Linux system. Upon startup, it automatically establishes a TLS persistent connection.

[0057] Connection and interaction: The remote access agent module connects to the remote access server module via a 4G / 5G network and communicates with the local SSH service module.

[0058] The dynamic operation process of the vehicle gateway device module is as follows: After the vehicle starts, the remote access agent module loads and runs; it actively sends a registration request to the remote access server module, uploading VIN information, software version, and network status. The remote access server module saves the vehicle connection status. Upon receiving an access authorization command, the remote access agent module verifies the authorization information. If the verification is successful, a temporary SSH access mapping is established; the data forwarded by the remote access server module is then sent to the local SSH service module.

[0059] The following detailed description uses specific embodiments.

[0060] The vehicle-mounted gateway device adopts a platform based on the NXP S32G series processor, and runs the Linux / OpenWrt operating system. A remote access proxy program module is deployed inside the vehicle-mounted gateway, the program is developed in C / C++, and runs in the form of a background daemon process.

[0061] Key component selection: The main control of the vehicle-mounted gateway adopts the NXP S32G series processor. The operating system is Linux / OpenWrt. The SSH service adopts OpenSSH Server. For the communication protocol, a security connection is established between the vehicle-end proxy and the server using a protocol of TLS1.2 or higher.

[0062] Key processes: Vehicle startup: Start the proxy program -> Establish a TLS connection -> Upload VIN and device information -> Wait for access authorization.

[0063] User access: User logs in to the server -> Applies for vehicle SSH access -> Server generates a Token -> Vehicle verifies the Token -> Establishes an SSH tunnel.

[0064] Key parameters: The valid period of access authorization is 30 minutes; the SSH connection timeout period is 10 minutes; the TLS communication heartbeat period is 30 seconds; the vehicle online status detection period is 60 seconds; the Token is generated by a random string generation method, with a length of 32 bytes. The validity conditions of the Token are that the current time < the Token expiration time && the target VIN = the VIN of the requested vehicle && the user permission meets the access requirements.

[0065] Through the above embodiments, the present invention can realize secure remote access of the vehicle without a public network IP and without opening a public network SSH port, and improve the security, convenience and manageability of remote access to the vehicle-mounted gateway device.

[0066] In order to solve the problem that vehicle-mounted devices cannot be actively accessed by the public network when they are in the operator's private network, dynamic IP and NAT environment, the present invention adopts a mechanism in which the vehicle-mounted gateway actively establishes a remote access connection, and the technical means that the vehicle-mounted gateway device actively establishes a long connection to the remote access server, so that the server can communicate with the target vehicle through the established connection, thereby achieving the technical effect of remotely accessing the vehicle-mounted gateway device without a public network IP.

[0067] To address the challenges of traditional remote access methods that rely on IP addresses for device location and suffer from difficulties due to dynamic changes in vehicle IP addresses, a remote access mapping mechanism based on unique vehicle identifiers is established. This mechanism employs a technical approach that establishes an access mapping relationship between the vehicle's VIN code and the device's unique identifier. By maintaining the correspondence between vehicle identity and online connection through a server, the mechanism enables rapid location and accurate access to the target vehicle.

[0068] This invention deploys a remote access proxy module within the vehicle gateway device, enabling the gateway device to proactively establish a secure communication connection with a remote access server. The remote access server then serves as the public network access point, facilitating data forwarding between external users and the gateway device. Simultaneously, by introducing dynamic identity authentication and access authorization mechanisms, it manages the association between remote access users, target vehicles, and access times, achieving secure and reliable remote SSH access without requiring a public IP address for the vehicle or an open public port for the gateway's SSH service.

[0069] This invention is not limited to the above embodiments. Based on the technical solutions disclosed herein, those skilled in the art can make some substitutions and modifications to some of the technical features without creative effort, and all such substitutions and modifications are within the protection scope of this invention.

Claims

1. A remote access control system for vehicle-mounted gateway devices, characterized in that: This includes a remote access client module, a remote access server module, and an in-vehicle gateway device module; The remote access client module is used to provide user access points; The remote access server module is used for user authentication, vehicle management, and access request forwarding. The vehicle gateway device module is used to run the remote access agent program and actively establish a communication connection with the remote access server module.

2. The remote access control system for vehicle-mounted gateway devices according to claim 1, characterized in that: The remote access client module includes a user authentication unit, which is connected to a vehicle selection unit, and the vehicle selection unit is connected to an SSH access request unit. The user authentication unit is used to collect user login information and connect to the remote access server module via the Internet to send the user identity information to the remote access server for verification; the user information includes: user account, user password and user role information; The vehicle selection unit is used to display a list of currently online vehicles; The SSH access request unit is used to send access requests to the remote access server module.

3. A remote access control system for vehicle-mounted gateway devices according to claim 2, characterized in that: The remote access server module includes a user authentication module, which is connected to the vehicle connection management module, which is connected to the data forwarding module, and the data forwarding module is connected to the access authorization management module. The user authentication module is used to verify the identity of remote access users. It stores user account information and access permission information in the database. The vehicle connectivity management module is used to maintain the connection relationship between the vehicle gateway device and the server. When a vehicle comes online, the server records the VIN number, device ID, online status, and communication connection identifier. The data forwarding module is used to forward data between public network SSH data and vehicle-side SSH data; The access authorization management module is used to generate and manage access authorization information, which includes user ID, vehicle ID, authorization time, and SSH access permissions.

4. A remote access control system for vehicle-mounted gateway devices according to claim 3, characterized in that, The vehicle gateway device module includes a remote access agent module, which is connected to the SSH service module, and the SSH service module is connected to the local access control module. The remote access agent module runs on the vehicle gateway Linux system and is used to actively establish a TLS long connection to the remote access server through the 4G / 5G network, while communicating with the SSH service module. The SSH service module is used to provide local SSH access capabilities; The local access control module is used to verify access authorization information and implement permission control for local access.

5. A remote access control method for vehicle-mounted gateway devices, characterized in that: A remote access control system for vehicle-mounted gateway devices according to any one of claims 1-4 includes the following: S1. After the vehicle gateway device starts up, it runs the remote access agent program module, actively establishes a secure long connection with the remote access server and completes registration, and uploads VIN information, software version and network status. The remote access server saves the vehicle's online status and connection information. S2, the user completes login authentication by entering identity information through the remote access client module. After successful authentication, the user can view the list of currently online vehicles, select the target vehicle, and initiate an SSH access request to the remote access server module. S3, after receiving the access request, the remote access server module verifies the user's permissions and the online status of the target vehicle, generates temporary access authorization information, and sends it to the corresponding vehicle gateway device; S4, the remote access agent module of the vehicle gateway device verifies the received authorization information. After successful verification, a temporary SSH access mapping is established to connect the remote access client module and the SSH service, thus establishing a data transmission channel between the module. The S5 remote access server module forwards SSH data between the public network side and the vehicle side through a pre-established long connection, enabling remote access to the vehicle gateway device. After the access is completed, the channel is closed and related resources are released.

6. A remote access control method for vehicle-mounted gateway devices according to claim 5, characterized in that: In step S1, the vehicle gateway device and the remote access server establish a secure communication connection using TLS 1.2 or higher protocol, set the TLS communication heartbeat cycle to 30 seconds, and the vehicle online status detection cycle to 60 seconds to maintain the stability of the connection.

7. A remote access control method for vehicle-mounted gateway devices according to claim 6, characterized in that: The temporary access authorization information generated in step S3 contains a 32-byte random string Token. The conditions for the Token to be valid are: the current time is less than the Token expiration time, the target VIN is consistent with the VIN of the vehicle requesting access, and the user's permissions meet the access requirements.

8. A remote access control method for vehicle-mounted gateway devices according to claim 7, characterized in that: The temporary access authorization is valid for 30 minutes, and the SSH connection timeout is set to 10 minutes. The remote access connection will be automatically disconnected after the expiration.

9. A remote access control method for vehicle-mounted gateway devices according to claim 8, characterized in that: The vehicle gateway device uses a platform based on the NXP S32G series processor, runs the Linux / OpenWrt operating system, and the remote access agent program is developed in C / C++ and runs as a background daemon process. It has a built-in OpenSSH Server to provide local SSH service capabilities.

10. A remote access control method for a vehicle-mounted gateway device according to any one of claims 5-9, characterized in that: It adopts an access mapping mechanism based on vehicle VIN code and device unique identifier, and maintains the correspondence between vehicle identity and online connection through remote access server, so as to complete the rapid location and accurate access of target vehicle without relying on fixed IP address.