Access method and device, computer equipment and storage medium
By creating an adaptation layer virtual network interface in the vehicle communication system and directly connecting it to the APN network interface, the network latency problem caused by changes in the APN network interface is solved, resulting in a more stable network connection and more efficient data transmission.
Patent Information
- Application Number
- CN202511666436.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-13
- Publication Date
- 2025-12-30
AI Technical Summary
In an integrated vehicle infotainment and communication system, when the APN network interface changes, the existing method of rebinding the APN network interface increases the risk of network latency.
Create an adaptation layer virtual network interface to bind the applications in the in-vehicle infotainment system to the adaptation layer virtual network interface and directly connect them to the corresponding APN network interface. This avoids application rebinding and optimizes data flow through policy routing to achieve traffic isolation and billing separation.
It reduces the risk of network latency, improves the stability and efficiency of network connections, and avoids resource contention and data congestion.
Smart Images

Figure CN121239748A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an access method, apparatus, computer device and storage medium. Background Technology
[0002] In the integrated machine of In-Vehicle Infotainment (IVI) system and Telematics-Box (T-Box) system, the business processes in the IVI system communicate with the external network by binding the Access Point Name (APN) network interface in the T-Box system.
[0003] In cases of network instability, the APN network interface may change. Once the T-Box system detects a change in the APN network interface, it will notify the IVI system of the changed APN network interface information. Subsequently, the business processes in the IVI system will rebind to the changed APN network interface, thereby restoring the communication connection with the external network.
[0004] However, this method of notifying the IVI system to rebind the APN network interface when the APN network interface of the T-Box system changes increases the risk of network latency. Summary of the Invention
[0005] This application provides an access method, apparatus, computer device, and storage medium that can reduce the risk of network latency.
[0006] In a first aspect, this application provides an access method, which may include: creating a first adaptation layer virtual network interface and sending first instruction information to an in-vehicle infotainment system, the first instruction information being used to indicate the first adaptation layer virtual network interface; the first adaptation layer virtual network interface being used to bind with a first application; determining the first APN network interface when a connection is successfully established through a first APN module; connecting the first adaptation layer virtual network interface to the first APN network interface; and sending the access request of the first application through the first APN network interface when an access request of the first application is received through the first adaptation layer virtual network interface.
[0007] As can be seen, the vehicular communication system creates a first adaptation layer virtual network interface and informs the vehicular infotainment system, so that the vehicular infotainment system can bind the first application to this first adaptation layer virtual network interface. Furthermore, the vehicular communication system connects the first adaptation layer virtual network interface to the corresponding first APN network interface, thereby enabling the corresponding first application in the vehicular infotainment system to access the internet. Binding the first application to the first adaptation layer virtual network interface avoids resource contention when multiple applications share a physical interface. When the first application requests internet access, the first adaptation layer virtual network interface can allocate independent bandwidth to the first application, preventing increased latency due to data congestion and effectively reducing the risk of network latency.
[0008] In one possible implementation, the method may further include: in response to the first adaptation layer virtual network interface disconnecting from the first APN network interface, dialing through the first APN module; if dialing is successful through the first APN module, determining a second APN network interface, the second APN network interface being different from the first APN network interface; connecting the first adaptation layer virtual network interface to the second APN network interface; and if an access request from the first application is received through the first adaptation layer virtual network interface, sending the access request from the first application through the second APN network interface.
[0009] As can be seen, in the event of a connection interruption between the first adaptation layer virtual network interface and the first APN network interface, the vehicle communication system can automatically trigger the first APN module to redial, quickly restoring the network connection. After successfully redialing through the first APN module and identifying the second APN network interface, the vehicle communication system can directly connect the first adaptation layer virtual network interface to the updated second APN network interface to restore the first application's ability to access the internet. This eliminates the need for the vehicle communication system to inform the in-vehicle infotainment system of the updated second APN network interface, reducing the risk of network latency.
[0010] In one possible implementation, connecting the first adaptation layer virtual network interface to the first APN network interface may include: connecting the first adaptation layer virtual network interface to the first APN network interface by configuring policy routing.
[0011] As can be seen, policy routing can direct traffic received by the first adaptation layer virtual interface to different APN network interfaces based on the source / destination address, port number, or application identifier of the data packet. This helps prevent low-priority applications from occupying critical path resources, thereby reducing the latency risk of high-priority applications.
[0012] In one possible implementation, the method may further include: creating a second adaptation layer virtual network interface and sending second instruction information to the in-vehicle infotainment system, the second instruction information being used to instruct the second adaptation layer virtual network interface; the second adaptation layer virtual network interface being used to bind with a second application; upon successful dialing through the second APN module, determining a third APN network interface, the third APN network interface being different from the first APN network interface; connecting the second adaptation layer virtual network interface to the third APN network interface; and upon receiving an access request from the second application through the second adaptation layer virtual network interface, sending the access request from the second application through the third APN network interface.
[0013] As can be seen, the in-vehicle communication system can create a second adaptation layer virtual network interface and inform the in-vehicle infotainment system so that the corresponding second application in the in-vehicle infotainment system can bind to this second adaptation layer virtual network interface. Binding through an independent adaptation layer virtual network interface avoids bandwidth contention between different applications, thus reducing the risk of network latency.
[0014] Secondly, embodiments of this application provide another access method, which includes: receiving first indication information from a vehicle communication system; the first indication information being used to indicate a first adaptation layer virtual network interface; binding the first adaptation layer virtual network interface to a first application; and transmitting an access request for the first application to the first adaptation layer virtual network interface.
[0015] As can be seen, after different applications are bound to different adaptation layer virtual network interfaces, bandwidth limits can be set for the adaptation layer virtual network interfaces to prevent non-critical applications from consuming too many resources. At the same time, traffic isolation and billing separation between different applications can also be achieved.
[0016] In one possible implementation, the method may further include: receiving second indication information from a vehicle communication system; the second indication information being used to indicate a second adaptation layer virtual network interface; binding the second adaptation layer virtual network interface to a second application; and transmitting an access request for the second application to the second adaptation layer virtual network interface.
[0017] Thirdly, embodiments of this application provide an access device, which includes a transceiver unit and a processing unit. The transceiver unit is configured to create a first adaptation layer virtual network interface and send first indication information to the in-vehicle infotainment system. The first indication information indicates the first adaptation layer virtual network interface; the first adaptation layer virtual network interface is used to bind with a first application. The processing unit is configured to determine the first APN network interface and connect the first adaptation layer virtual network interface to the first APN network interface if a successful dial-up connection is achieved through the first APN module. The transceiver unit is further configured to send the access request of the first application through the first APN network interface if an access request of the first application is received through the first adaptation layer virtual network interface.
[0018] In one possible implementation, the processing unit is further configured to, in response to the disconnection of the first adaptation layer virtual network interface from the first APN network interface, dial through the first APN module; if the dialing is successful through the first APN module, determine a second APN network interface, which is different from the first APN network interface; and connect the first adaptation layer virtual network interface to the second APN network interface. The transceiver unit is further configured to, upon receiving an access request from the first application through the first adaptation layer virtual network interface, send the access request of the first application through the second APN network interface.
[0019] In one possible implementation, the processing unit is further configured to connect the first adaptation layer virtual network interface to the first APN network interface by configuring policy routing.
[0020] In one possible implementation, the transceiver unit is further configured to create a second adaptation layer virtual network interface and send second instruction information to the in-vehicle infotainment system. The second instruction information indicates the second adaptation layer virtual network interface, which is used to bind to the second application. The processing unit is further configured to, upon successful dialing via the second APN module, determine a third APN network interface, which is different from the first APN network interface, and connect the second adaptation layer virtual network interface to the third APN network interface. The transceiver unit is further configured to, upon receiving an access request from the second application via the second adaptation layer virtual network interface, send the access request from the second application via the third APN network interface.
[0021] Fourthly, embodiments of this application provide another access device, which includes a transceiver unit and a processing unit. The transceiver unit is configured to receive first indication information from a vehicle-mounted communication system; the first indication information is used to indicate a first adaptation layer virtual network interface. The processing unit is configured to bind the first adaptation layer virtual network interface to a first application. The transceiver unit is also configured to transmit an access request for the first application to the first adaptation layer virtual network interface.
[0022] In one possible implementation, the transceiver unit is further configured to receive second indication information from the vehicle-mounted communication system; the second indication information is used to indicate the second adaptation layer virtual network interface. The processing unit is further configured to bind the second adaptation layer virtual network interface to a second application. The transceiver unit is further configured to transmit access requests of the second application to the second adaptation layer virtual network interface.
[0023] Fifthly, embodiments of this application provide a computer device, the computer device comprising: a memory for storing a program; and a processor for executing the program stored in the memory, wherein when the program is executed by the processor, the processor executes a method as described in the first aspect and any possible implementation thereof, and / or executes a method as described in the second aspect and any possible implementation thereof.
[0024] Sixthly, embodiments of this application provide a computer storage medium storing a computer program, the computer program including program instructions, wherein when the program instructions are executed by a processor, the processor executes a method as described in the first aspect and any possible implementation thereof, and / or executes a method as described in the second aspect and any possible implementation thereof.
[0025] In a seventh aspect, embodiments of this application provide a computer program product, the computer program product comprising: instructions or a computer program; and, when the instructions or the computer program are executed, causing the method as in the first aspect and any possible implementation thereof to be implemented, and / or causing the method as in the second aspect and any possible implementation thereof to be implemented.
[0026] Eighthly, embodiments of this application provide a chip including a processor configured to execute instructions, such that, upon execution of the instructions, the chip performs a method as described in the first aspect and any possible implementation thereof, and / or performs a method as described in the second aspect and any possible implementation thereof. Optionally, the chip further includes an input / output interface configured to receive or transmit signals. Attached Figure Description
[0027] Figure 1 A schematic diagram of a system architecture for an in-vehicle terminal provided in an embodiment of this application;
[0028] Figure 2 A flowchart illustrating an access method provided in an embodiment of this application;
[0029] Figure 3 A flowchart illustrating another access method provided in an embodiment of this application;
[0030] Figure 4 This is a schematic diagram of the structure of an access device provided in an embodiment of this application;
[0031] Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0032] The embodiments of this application will now be described with reference to the accompanying drawings.
[0033] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0034] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0035] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0036] The terms “component,” “module,” “system,” etc., used in this specification are used to refer to computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. As illustrated, applications running on computing devices and computing devices can both be components. One or more components may reside in a process and / or an execution thread, and components may be located on a single computer and / or distributed among two or more computers. Furthermore, these components can be executed from various computer-readable media on which various data structures are stored. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).
[0037] First, some of the terms used in this application will be explained to facilitate understanding by those skilled in the art.
[0038] I. In-vehicle infotainment system
[0039] In-vehicle infotainment systems are comprehensive information processing systems built upon a dedicated in-vehicle central processing unit, a vehicle bus system, and internet services. By integrating multimedia entertainment, navigation, communication, and vehicle diagnostics, in-vehicle infotainment systems have become a core module for enhancing the driving experience and vehicle intelligence.
[0040] The in-vehicle infotainment system adopts a layered architecture, including a hardware layer, middleware layer, application layer, and human-machine interface (HMI) layer. These layers work together to support complex functions. The hardware layer includes physical devices such as touchscreens, audio equipment, cameras, and sensors, communicating with the middleware layer through interfaces such as Inter-Integrated Circuit (I2C), Serial Peripheral Interface (SPI), and Universal Serial Bus (USB). The middleware layer acts as a bridge between the hardware and application layers, responsible for scheduling hardware resources and providing general service interfaces. The application layer includes mobile internet device functions such as web browsers, calendars, Bluetooth phones, vehicle management, and multimedia entertainment, supporting new technologies such as intelligent voice assistants, gesture control, and 3D navigation to enhance the user experience. The functions implemented in the in-vehicle infotainment system's application layer require data acquisition from a cloud server via the in-vehicle communication system. The HMI layer implements function control through four main modules: the central control screen, instrument display, voice control, and steering wheel control, covering three categories: sound, images, and text, and supporting diverse operations such as voice recognition and touchscreen input.
[0041] II. Vehicle Communication System
[0042] The vehicle communication system is a core component of vehicle-to-everything (V2X) technology. Serving as a bridge between the vehicle terminal and the outside world, it undertakes key functions such as data interaction, remote control, and intelligent services. The core architecture of the vehicle communication system consists of a processor, a communication module, a Global Positioning System (GPS) module, and a Controller Area Network (CAN) bus interface. Through multi-mode technology, it achieves seamless connectivity between the vehicle and the cloud, mobile applications (APPs), and backend systems.
[0043] The in-vehicle communication system enables remote control, data acquisition and transmission, fault diagnosis and remote maintenance, and Over-The-Air (OTA) upgrades. Remote control allows users to control the vehicle via a mobile app, enabling functions such as door unlocking, air conditioning start / stop, engine start, and window operation. Data acquisition and transmission involves the system collecting real-time vehicle status data and transmitting it to a cloud platform via wireless network. This data is used not only by owners to check vehicle status but also by automakers to analyze vehicle usage and optimize product design. Fault diagnosis and remote maintenance allow the system to monitor the operational status of various vehicle systems, such as the engine management system and transmission control system, and upload fault information to the cloud. Once a fault is identified, the system can remotely and automatically eliminate it; for faults that cannot be eliminated, a text message is sent to the owner, allowing them to be informed of potential problems and prevent future issues. OTA upgrades support remote software updates, eliminating the need for owners to visit dealerships for in-person upgrades and improving efficiency and convenience. At the same time, OTA upgrades can also fix software vulnerabilities in a timely manner and improve vehicle performance and functionality.
[0044] III. APN
[0045] An Access Point Name (APN) is a key technology in mobile communication networks used to identify and locate the data network required for mobile devices. The APN determines which access method a mobile device uses to access the network and identifies the type of General Packet Radio Service (GPRS) service. For users, the APN acts like an "address," ensuring that data reaches the target server through the correct network route. For example, when a user sends an email or browses the web on their mobile phone, the APN ensures that this data is transmitted through the specified network path.
[0046] APN defines the target network type (such as public network, private network), service type (such as data transmission, remote control) and routing rules, while the APN network interface is responsible for activating the corresponding network connection according to the APN configuration, loading specific protocol stacks, security mechanisms and Quality of Service (QoS) policies to ensure that data is transmitted according to the path and requirements specified by the APN.
[0047] In vehicular communication systems, the APN network interface acts as the "gateway" for communication between the vehicle and external networks, managing data traffic for different services. For example: APN1 (data channel) is responsible for transmitting general vehicle operation data and user behavior data. APN2 (control channel) is responsible for transmitting high-priority remote control commands, requiring low latency and high reliability. APN3 (OTA channel) is specifically used for transmitting large-capacity software upgrade packages, requiring high bandwidth and stability, and supporting breakpoint resumption and verification.
[0048] Currently, in the vehicle-to-everything (V2X) architecture where in-vehicle infotainment and communication systems are integrated, the in-vehicle communication system serves as the core gateway for communication between the vehicle and the cloud. It achieves network isolation and service priority management through multiple APN network interfaces. Combined with the dynamic binding mechanism used in the in-vehicle infotainment system, the efficiency, security, and reliability of V2X communication can be ensured. The in-vehicle communication system can be a software-based system, which is the software implementation of the in-vehicle communication system's functions.
[0049] For example, the vehicle communication system is configured with a first APN network interface and a second APN network interface. The first APN network interface is used for high-priority services such as vehicle status data and remote control commands, while the second APN network interface is used for non-critical services in the vehicle infotainment system, such as online navigation map updates, music / video streaming playback, and OTA upgrade package downloads. Each application in the vehicle infotainment system is bound to its corresponding APN network interface to enable internet access.
[0050] In situations of network instability, the APN network interface bound to applications in the in-vehicle infotainment system may change. Upon detecting a change in the APN network interface, the in-vehicle communication system sends the updated APN network interface information to the in-vehicle infotainment system. Applications in the in-vehicle infotainment system will then rebind to the updated APN network interface, thereby restoring their internet access functionality.
[0051] However, this method of notifying the in-vehicle infotainment system to rebind the APN network interface when the in-vehicle communication system changes increases the risk of network latency.
[0052] Therefore, embodiments of this application provide an access method, apparatus, computer device, and storage medium that can create an adaptation layer virtual network interface, bind various applications in the in-vehicle infotainment system to their corresponding adaptation layer virtual network interfaces, and connect the adaptation layer virtual network interfaces to their corresponding APN network interfaces, thereby enabling various applications in the in-vehicle infotainment system to access the Internet. When the APN network interface of the in-vehicle communication system changes, the adaptation layer virtual network interface is directly connected to the changed APN network interface, eliminating the need for applications to rebind to the APN network interface and reducing the risk of network latency.
[0053] The following describes the system architecture of a vehicle-mounted terminal applicable to the embodiments of this application.
[0054] Please see Figure 1 , Figure 1 This is a schematic diagram of a system architecture for an in-vehicle terminal provided in an embodiment of this application. Figure 1 As shown, the vehicle terminal 100 includes an in-vehicle infotainment system 110 and an in-vehicle communication system 120. The in-vehicle infotainment system 110 and the in-vehicle communication system 120 can interact with each other.
[0055] The in-vehicle infotainment system 110 includes at least one application, such as music and maps. The music service type differs from the map service type; music can be the first service type, and maps can be the second service type. The in-vehicle communication system 120 includes at least one APN module, such as a first APN module and a second APN module. The first APN module handles the data traffic for the first service type, and the second APN module handles the data traffic for the second service type.
[0056] The vehicle communication system 120 can create a first adaptation layer virtual network interface and a second adaptation layer virtual network interface. The music application in the vehicle infotainment system 110 can be bound to the first adaptation layer virtual network interface, and the map application can be bound to the second adaptation layer virtual network interface. The vehicle communication system 120 can also dial through the first and second APN modules to determine the APN network interface corresponding to the first service type and the second service type. Simultaneously, based on the service types of the music and map applications, the first and second adaptation layer virtual network interfaces are connected to the corresponding APN network interfaces. When the music or map application needs to access the internet, the access request can be transmitted through the corresponding adaptation layer virtual network interface to the corresponding APN network interface, and then sent through that APN network interface, thereby enabling the music or map application to access the internet.
[0057] The following describes the access method provided in the embodiments of this application.
[0058] Please see Figure 2 , Figure 2 This is a flowchart illustrating an access method provided in an embodiment of this application. Figure 2 As shown, the access method may include, but is not limited to, the following steps:
[0059] S201, The vehicle communication system creates a first adaptation layer virtual network interface.
[0060] The first adaptation layer virtual network interface is used to bind with the first application.
[0061] In one possible implementation, the vehicular communication system can create a first adaptation layer virtual network interface based on a first service type. The service type of the first application is the first service type.
[0062] The vehicle-mounted communication system can also create a second adaptation layer virtual network interface based on the second service type. This second adaptation layer virtual network interface is used to bind with a second application. The service type of the second application is the second service type, which differs from the first service type.
[0063] Optionally, based on who bears the data usage costs, in-vehicle application services can be categorized into user-paid data services and manufacturer-paid data services. User-paid data services are paid for by the vehicle user (owner or passenger) through their personal communication account, typically linked to their mobile data plan. These services include online music, video streaming, and voice assistant interaction. Manufacturer-paid data services are borne by the manufacturer or service provider and are usually offered as an added value to vehicle sales or services. These services include remote vehicle locking, air conditioning activation, vehicle status monitoring, real-time navigation and traffic updates via a mobile app, and remote vehicle diagnostics, fault warnings, and firmware upgrades by the manufacturer.
[0064] S202, the vehicle communication system sends a first instruction to the vehicle infotainment system. Correspondingly, the vehicle infotainment system receives the first instruction from the vehicle communication system.
[0065] The first indication information is used to indicate the first adaptation layer virtual network interface.
[0066] The vehicle communication system can also send second instruction information to the vehicle infotainment system. Correspondingly, the vehicle infotainment system receives the second instruction information from the vehicle communication system. This second instruction information is used to instruct the second adaptation layer virtual network interface.
[0067] S203, the in-vehicle infotainment system binds the first adaptation layer virtual network interface to the first application.
[0068] In one possible implementation, after receiving the first instruction information, the in-vehicle infotainment system can bind the first application corresponding to the first service type to the first adaptation layer virtual network interface.
[0069] The in-vehicle infotainment system can also bind the second application corresponding to the second service type to the second adaptation layer virtual network interface after receiving the second instruction information.
[0070] In another possible implementation, after the vehicular communication system creates a first adaptation layer virtual network interface based on a first service type and a second adaptation layer virtual network interface based on a second service type, it can send third instruction information to the vehicular infotainment system. The third instruction information indicates that the adaptation layer virtual network interface corresponding to the first service type is the first adaptation layer virtual network interface, and the adaptation layer virtual network interface corresponding to the second service type is the second adaptation layer virtual network interface.
[0071] After receiving the third instruction information, the in-vehicle infotainment system binds the first application corresponding to the first service type to the first adaptation layer virtual network interface based on the third instruction information, and binds the second application corresponding to the second service type to the second adaptation layer virtual network interface.
[0072] S204, if the vehicle communication system successfully dials up through the first APN module, it determines the first APN network interface.
[0073] The first APN module is a hardware and software component in the vehicle-mounted communication system used to configure and manage specific APN parameters. APN parameters include APN name, authentication information, proxy settings, and network type. The APN name identifies the target network, such as "cmnet" for China Mobile and "3gnet" for China Unicom. Authentication information includes username and password, used for SIM card authentication. Proxy settings include proxy address and port number. Network type identifies the service type, such as "default" for default data connection and "mms" for MMS service.
[0074] "Dialing" is a crucial step in establishing a connection with the mobile network. In vehicle-mounted communication systems, "dialing" refers to the process by which the system actively initiates a connection request to the operator's core network by sending specific signals or data packets. Essentially, it establishes a logical channel from the vehicle application to the mobile network, enabling bidirectional data transmission. Through dialing, the vehicle application gains access to the operator's network, becoming a legitimate node within the network. The dialing process requires steps such as SIM card authentication and APN configuration verification to ensure the legitimacy of the vehicle application and the security of the network. After a successful dialing, the network allocates Internet Protocol (IP) addresses, bandwidth, and other resources to the vehicle application, laying the foundation for subsequent data transmission.
[0075] In one possible implementation, during the dialing process of the vehicle-mounted communication system through the first APN module, the first APN module reads preset APN parameters from the memory and generates a first connection request containing APN information. The first APN module sends this first connection request to the operator's core network. The first APN module performs two-way authentication with the operator's core network via the SIM card to verify the legitimacy of the first application. The operator's core network checks whether the APN name is valid and confirms whether the first application has the right to use that APN. Upon successful authentication, the vehicle-mounted communication system has successfully dialed through the first APN module, and the operator's core network assigns a dynamic or static IP address to the first application. The first APN module activates the corresponding first APN network interface based on the assigned IP address, and this first APN network interface becomes the logical port for communication between the first application and the network.
[0076] The vehicle-mounted communication system can also make calls via a second APN module. During this process, the second APN module reads preset APN parameters from its memory and generates a second connection request containing APN information. The second APN module sends this second connection request to the operator's core network. It performs two-way authentication with the operator's core network via the SIM card to verify the legitimacy of the second application. The operator's core network checks the validity of the APN name and confirms whether the second application has the right to use that APN. Upon successful authentication, the vehicle-mounted communication system successfully makes a call via the second APN module, and the operator's core network assigns a dynamic or static IP address to the second application. The second APN module activates the corresponding third APN network interface based on the assigned IP address. This third APN network interface becomes the logical port for communication between the second application and the network. The third APN network interface is different from the first APN network interface.
[0077] S205, the vehicle communication system connects the first adaptation layer virtual network interface to the first APN network interface.
[0078] After identifying the APN network interface corresponding to the first application as the first APN network interface, the vehicle communication system connects the first adaptation layer virtual network interface to the first APN network interface. This ensures that when the first application needs to send data, the vehicle communication system can direct the data to the correct APN network interface.
[0079] Simultaneously, after determining that the APN network interface corresponding to the second application is the third APN network interface, the vehicle communication system connects the second adaptation layer virtual network interface to the third APN network interface. This ensures that when the second application needs to send data, the vehicle communication system can direct the data to the correct APN network interface.
[0080] In one possible implementation, the vehicular communication system can connect the first adaptation layer virtual network interface to the first APN network interface by configuring policy-based routing. The vehicular communication system can also connect the second adaptation layer virtual network interface to the third APN network interface by configuring policy-based routing.
[0081] Policy-based routing, through custom routing rules, enables flexible binding of different adaptation layer virtual network interfaces (VNAs) to APN network interfaces, thereby optimizing data flow, improving network performance, and meeting diverse business needs. Policy-based routing can combine multiple dimensions such as source IP, protocol type, port number, and interface status to "guide" traffic from adaptation layer VNAs to the target APN interface, achieving decoupling between services and the network. For example, if the first adaptation layer VNA carries the service traffic of the first application, configuring policy-based routing can "guide" this traffic to the first APN network interface. Similarly, if the second adaptation layer VNA carries the service traffic of the second application, configuring policy-based routing can "guide" this traffic to the third APN network interface.
[0082] S206, the in-vehicle infotainment system transmits an access request for the first application to the first adaptation layer virtual network interface.
[0083] In one possible implementation, the in-vehicle infotainment system binds a first adaptation layer virtual network interface to a first application. When the first application needs to access the Internet, the in-vehicle infotainment system can transmit the access request of the first application to the first adaptation layer virtual network interface.
[0084] The in-vehicle infotainment system also binds the second adaptation layer virtual network interface to the second application. When the second application needs to access the Internet, the in-vehicle infotainment system can transmit the access request of the second application to the second adaptation layer virtual network interface.
[0085] S207, when the vehicle communication system receives an access request from the first application through the first adaptation layer virtual network interface, it sends the access request from the first application through the first APN network interface.
[0086] In one possible implementation, the vehicular communication system configures policy routing to connect the first adaptation layer virtual network interface to the first APN network interface, thereby obtaining a first routing table. When the vehicular communication system receives an access request from the first application through the first adaptation layer virtual network interface, it can transmit the access request to the first APN network interface through the first routing table, and then send the access request to the first application through the first APN network interface.
[0087] The vehicular communication system connects the second adaptation layer virtual network interface to the third APN network interface by configuring policy routing, thus obtaining a second routing table. When the vehicular communication system receives an access request from the second application through the second adaptation layer virtual network interface, it can use the second routing table to transmit the access request to the third APN network interface, and then send the access request to the second application through the third APN network interface.
[0088] In one possible implementation, if the connection between the first adaptation layer virtual network interface and the first APN network interface is lost, the vehicle communication system, in response to the disconnection, can re-dial via the first APN module. The reasons for the disconnection may include: the vehicle being in a remote area, underground parking lot, tunnel, or area obstructed by tall buildings, resulting in insufficient vehicle signal coverage; the vehicle being at high speed (such as on a high-speed train or highway) or crossing the edge of base station coverage, leading to base station handover failure; or the vehicle being in a densely populated area such as a large event venue or urban area, causing network congestion, etc.
[0089] Upon successful dialing via the first APN module, the operator's core network reassigns a dynamic or static IP address to the first application. The first APN module then activates the corresponding second APN network interface based on the reassigned IP address. This second APN network interface becomes the logical port for communication between the first application and the network. The second APN network interface is different from the first APN network interface. The vehicle communication system then connects the first adaptation layer virtual network interface to the second APN network interface through configured policy routing, obtaining a third routing table. This effectively "guides" the service traffic of the first application carried by the first adaptation layer virtual network interface to the second APN network interface.
[0090] When the vehicle communication system receives an access request from the first application through the first adaptation layer virtual network interface, it can transmit the access request of the first application to the second APN network interface through the third routing table, and then send the access request of the first application through the second APN network interface.
[0091] In one possible implementation, when the in-vehicle infotainment system and the in-vehicle communication system adopt a separate architecture, they are logically connected through a pre-configured fixed VLAN virtual network interface. In this case, the VLAN network interface can be directly abstracted as the adapter layer virtual network interface in this embodiment, thus constructing a unified network abstraction layer compatible with the integrated architecture while maintaining the physical isolation characteristics of the separate units.
[0092] As can be seen, by implementing the embodiments of this application, in the event of network instability, the in-vehicle communication system obtains an updated APN network interface after redialing via the APN module. This updated APN network interface does not need to be notified to the in-vehicle infotainment system, nor does the in-vehicle infotainment system need to rebind to a new interface. The updated APN network interface can be directly connected to the corresponding adaptation layer virtual network interface to restore the in-vehicle application's ability to access the internet, thus reducing the risk of network latency.
[0093] Please see Figure 3 , Figure 3 This is a flowchart illustrating another access method provided in an embodiment of this application.
[0094] like Figure 3 As shown, the access method may include, but is not limited to, the following steps:
[0095] S301, the vehicle communication system creates a first adaptation layer virtual network interface.
[0096] S302, the vehicle communication system sends a first instruction message to the vehicle infotainment system. Correspondingly, the vehicle infotainment system receives the first instruction message from the vehicle communication system.
[0097] S303, the in-vehicle infotainment system binds the first adaptation layer virtual network interface to the first application.
[0098] The specific implementation methods of steps S301-S303 can be found above. Figure 2 Steps S201-S203 in the process will not be described again here.
[0099] S304, The vehicle communication system creates a second adaptation layer virtual network interface.
[0100] In this embodiment, the second adaptation layer virtual network interface is used to bind with a second application. Specifically, see the following... Figure 2 The description in S201 shown will not be repeated here.
[0101] It is understandable that steps S301 and S304 can be executed simultaneously, or step S301 can be executed first, followed by step S304, or step S304 can be executed first, followed by step S301.
[0102] S305, the vehicle communication system sends a second instruction to the vehicle infotainment system. Correspondingly, the vehicle infotainment system receives the second instruction from the vehicle communication system.
[0103] In this embodiment, the second indication information is used to indicate the second adaptation layer virtual network interface. Specifically, see the following... Figure 2 The description in S202 shown will not be repeated here.
[0104] It is understandable that steps S302 and S305 can be executed simultaneously, or step S302 can be executed first, followed by step S305, or step S305 can be executed first, followed by step S302.
[0105] S306, the in-vehicle infotainment system binds the second adaptation layer virtual network interface to the second application.
[0106] For details, please refer to the following: Figure 2 The description in S203 shown will not be repeated here.
[0107] It is understandable that steps S303 and S306 can be executed simultaneously, or step S303 can be executed first, followed by step S306, or step S306 can be executed first, followed by step S303.
[0108] S307, when the vehicle communication system successfully dials a number through the first APN module, it determines the first APN network interface and connects the first adaptation layer virtual network interface to the first APN network interface.
[0109] In this embodiment, the vehicle communication system dials through the first APN module. If the dialing is successful via the first APN module, the first APN network interface is determined. Then, through configured policy routing, the first adaptation layer virtual network interface is connected to the first APN network interface.
[0110] S308, the in-vehicle infotainment system transmits an access request for the first application to the first adaptation layer virtual network interface.
[0111] In this embodiment, the in-vehicle infotainment system binds the first adaptation layer virtual network interface to the first application. When the first application needs to access the Internet, the in-vehicle infotainment system will transmit the access request of the first application to the first adaptation layer virtual network interface.
[0112] S309, when the vehicle communication system receives an access request from the first application through the first adaptation layer virtual network interface, it sends the access request from the first application through the first APN network interface.
[0113] In this embodiment of the application, when the vehicle communication system receives an access request from the first application through the first adaptation layer virtual network interface, it can transmit the access request received by the first application through the first adaptation layer virtual network interface to the first APN network interface based on the routing table obtained after configuring the routing policy, and then send the access request of the first application through the first APN network interface.
[0114] S310, when the vehicle communication system successfully dials up through the second APN module, it determines the third APN network interface and connects the second adaptation layer virtual network interface to the third APN network interface.
[0115] In this embodiment, the vehicle communication system dials through the second APN module. If the dialing is successful via the second APN module, a third APN network interface is determined. Then, through configured policy routing, the second adaptation layer virtual network interface is connected to the third APN network interface. The third APN network interface is different from the first APN network interface.
[0116] S311, the in-vehicle infotainment system transmits an access request for the second application to the second adaptation layer virtual network interface.
[0117] In this embodiment, the in-vehicle infotainment system binds the second adaptation layer virtual network interface to the second application. When the second application needs to access the Internet, the in-vehicle infotainment system transmits the access request of the second application to the second adaptation layer virtual network interface.
[0118] S312, when the vehicle communication system receives an access request from the second application through the second adaptation layer virtual network interface, it sends the access request from the second application through the third APN network interface.
[0119] In this embodiment of the application, when the vehicle communication system receives an access request from the second application through the second adaptation layer virtual network interface, it can transmit the access request received by the second application through the second adaptation layer virtual network interface to the third APN network interface based on the routing table obtained after configuring the routing policy, and then send the access request of the second application through the third APN network interface.
[0120] S313, the vehicle communication system responds to the disconnection of the first adaptation layer virtual network interface from the first APN network interface by dialing through the first APN module.
[0121] In this embodiment of the application, due to the instability of the vehicle's current network, the connection between the first adaptation layer virtual network interface and the first APN network interface is disconnected. In response to the disconnection between the first adaptation layer virtual network interface and the first APN network interface, the vehicle communication system can dial again through the first APN module.
[0122] S314, when the vehicle communication system successfully dials a number through the first APN module, it determines the second APN network interface and connects the first adaptation layer virtual network interface to the second APN network interface.
[0123] In this embodiment, the vehicle communication system dials up via a first APN module. If the dialing is successful via the first APN module, a second APN network interface is determined. Then, through configured policy routing, the first adaptation layer virtual network interface is connected to the second APN network interface. The second APN network interface is different from the first APN network interface.
[0124] S315, when the vehicle communication system receives an access request from the first application through the first adaptation layer virtual network interface, it sends the access request from the first application through the second APN network interface.
[0125] In this embodiment of the application, when the vehicle communication system receives an access request from the first application through the first adaptation layer virtual network interface, it can transmit the access request received by the first application through the first adaptation layer virtual network interface to the second APN network interface based on the routing table obtained after configuring the routing policy, and then send the access request of the first application through the second APN network interface.
[0126] S316, in response to the disconnection of the second adaptation layer virtual network interface and the third APN network interface, the vehicle communication system dials through the second APN module.
[0127] In this embodiment, if the connection between the second adaptation layer virtual network interface and the third APN network interface is lost due to the instability of the vehicle's current network, the vehicle communication system can dial again through the second APN module in response to the disconnection between the second adaptation layer virtual network interface and the third APN network interface.
[0128] S317, when the vehicle communication system successfully dials up through the second APN module, it determines the fourth APN network interface and connects the second adaptation layer virtual network interface to the fourth APN network interface.
[0129] In this embodiment, the vehicle communication system dials through the second APN module. If the dialing is successful via the second APN module, a fourth APN network interface is determined. Then, through configured policy routing, the second adaptation layer virtual network interface is connected to the fourth APN network interface. The fourth APN network interface is different from the third APN network interface.
[0130] S318, when the vehicle communication system receives an access request from the second application through the second adaptation layer virtual network interface, it sends the access request from the second application through the fourth APN network interface.
[0131] In this embodiment of the application, when the vehicle communication system receives an access request from the second application through the second adaptation layer virtual network interface, it can transmit the access request received by the second application through the second adaptation layer virtual network interface to the fourth APN network interface based on the routing table obtained after configuring the routing policy, and then send the access request of the second application through the fourth APN network interface.
[0132] By implementing the embodiments of this application, applications in the in-vehicle infotainment system only need to be bound to the corresponding adaptation layer virtual network interface. The in-vehicle communication system then connects the adaptation layer virtual network interface to the corresponding APN network interface by configuring policy routing. When the vehicle experiences network instability, after obtaining the updated APN network interface, only policy routing needs to be reconfigured to connect the adaptation layer virtual network interface to the updated APN network interface to restore the internet access functionality of applications in the in-vehicle infotainment system.
[0133] The following describes the access device provided in the embodiments of this application.
[0134] Please refer to Figure 4 , Figure 4 This is a schematic diagram of an access device provided in an embodiment of this application. The access device may include a transceiver unit 410 and a processing unit 420. The transceiver unit 410 may be a device that has signal input (receive) or output (transmit) for transmitting signals to other devices or other components in a device.
[0135] The processing unit 420 can be a device with processing capabilities, and may include one or more processors. The processor can be a general-purpose processor or a dedicated processor. The processor can be a baseband processor or a central processing unit (CPU). The baseband processor can be used to process communication protocols and communication data, while the CPU can be used to control the device (e.g., a host node, relay node, or chip), execute software programs, and process data from the software programs.
[0136] The access device can be a device in an in-vehicle infotainment system or a device in an in-vehicle communication system, or it can be a device, such as a chip, used to enable access functions of the in-vehicle infotainment system or the in-vehicle communication system.
[0137] When the access device is a device in a vehicle communication system, the access device includes:
[0138] The transceiver unit 410 is used to create a first adaptation layer virtual network interface and send first instruction information to the in-vehicle infotainment system. The first instruction information is used to instruct the first adaptation layer virtual network interface. The first adaptation layer virtual network interface is used to bind with a first application.
[0139] The processing unit 420 is configured to determine the first APN network interface when a successful dial-up connection is established through the first APN module, and to connect the first adaptation layer virtual network interface to the first APN network interface.
[0140] The transceiver unit 410 is also configured to send the access request of the first application through the first APN network interface when it receives the access request of the first application through the first adaptation layer virtual network interface.
[0141] In one possible implementation, the processing unit 420 is further configured to, in response to the disconnection of the first adaptation layer virtual network interface from the first APN network interface, dial through the first APN module; if the dialing is successful through the first APN module, determine the second APN network interface, which is different from the first APN network interface; and connect the first adaptation layer virtual network interface to the second APN network interface.
[0142] The transceiver unit 410 is also configured to send the access request of the first application through the second APN network interface when it receives the access request of the first application through the first adaptation layer virtual network interface.
[0143] In one possible implementation, the processing unit 420 is further configured to connect the first adaptation layer virtual network interface to the first APN network interface by configuring policy routing.
[0144] In one possible implementation, the transceiver unit 410 is further configured to create a second adaptation layer virtual network interface and send second instruction information to the in-vehicle infotainment system. The second instruction information is used to instruct the second adaptation layer virtual network interface. The second adaptation layer virtual network interface is used to bind with a second application.
[0145] The processing unit 420 is further configured to, upon successful dialing via the second APN module, determine a third APN network interface, which is different from the first APN network interface; and connect the second adaptation layer virtual network interface to the third APN network interface.
[0146] The transceiver unit 410 is also configured to send the access request of the second application through the third APN network interface when it receives the access request of the second application through the second adaptation layer virtual network interface.
[0147] Or, when the access device is a device within an in-vehicle infotainment system, the access device includes:
[0148] The transceiver unit 410 is used to receive first indication information from the vehicle communication system; the first indication information is used to indicate the first adaptation layer virtual network interface.
[0149] The processing unit 420 is used to bind the first adaptation layer virtual network interface to the first application. The transceiver unit is also used to transmit the access request of the first application to the first adaptation layer virtual network interface.
[0150] In one possible implementation, the transceiver unit 410 is further configured to receive second indication information from the vehicle communication system; the second indication information is used to indicate the second adaptation layer virtual network interface.
[0151] The processing unit 420 is further configured to bind the second adaptation layer virtual network interface to the second application. The transceiver unit is further configured to transmit the access request of the second application to the second adaptation layer virtual network interface.
[0152] For a description of the technical effects of the access device and any of its possible implementations, please refer to the description of the technical effects of the foregoing method embodiments; further details will not be repeated here.
[0153] According to the embodiments of this application, Figure 4 The various units in the access device shown can be individually or entirely combined into one or more other units, or some of the units can be further divided into multiple functionally smaller units. This can achieve the same operation without affecting the technical effects of the embodiments of this application. The above units are based on logical function division. In practical applications, the function of one unit can also be implemented by multiple units, or the function of multiple units can be implemented by one unit.
[0154] This application also provides a computer device; please refer to [link / reference]. Figure 5 , Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application.
[0155] like Figure 5 As shown, the computer device 500 may include one or more processors 510, one or more memories 530, one or more communication interfaces 520, and a bus 540, wherein the processors 510, memories 530, and communication interfaces 520 are connected via the bus 540. The computer device may be the access device described above.
[0156] The memory 530 is used to store a program; the processor 510 is used to execute the program stored in the memory. When the program is executed, the processor 510 performs the method as described in any of the possible implementations of the communication method.
[0157] It should be understood that, in the embodiments of this application, the memory 530 mentioned above includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CDROM), as well as external memory other than computer memory and processor cache. A portion of the memory 530 may also include non-volatile random access memory. For example, the memory 530 may also store device type information.
[0158] The processor 510 described above can be one or more Central Processing Units (CPUs). If the processor 510 is a CPU, it can be a single-core CPU or a multi-core CPU. The processor 510 can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0159] The steps performed in the foregoing embodiments can be based on the above. Figure 5The computer device 500 shown is implemented such that the processor 510 can execute any of the optional implementations of the access method provided in this application, as described in the embodiments, or it can execute the implementation of the access device described in this application. Specifically, the processor 510 can implement... Figure 4 The processing unit 420 in the access device shown in the figure has the function of [function name missing]. The communication interface 520 can implement the function of the transceiver unit 410 in the access device shown in the figure. The memory 530 can provide a cache when the processor 510 executes the implementation of the access device described in the embodiments of this application, and can also store the computer programs required by the processor 510 to execute the implementation of the access device described in the embodiments of this application.
[0160] This application also provides a computer storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor, enable the processor to implement the above-mentioned functions. Figure 2 or Figure 3 The method shown.
[0161] This application also provides a computer program product, which includes: instructions or a computer program; when the instructions or the computer program are executed, the above-mentioned functions can be achieved. Figure 2 or Figure 3 The method shown.
[0162] This application also provides a chip, which includes a processor. The processor executes instructions, enabling the chip to achieve the aforementioned... Figure 2 or Figure 3 The method shown is described above. Optionally, the chip also includes a communication interface for receiving or transmitting signals.
[0163] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by hardware related to computer programs. The computer programs can be stored in computer storage media, and when executed, they can implement the processes of the above method embodiments. The aforementioned computer storage media include various media capable of storing computer program code, such as read-only memory (ROM) or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. An access method, characterized in that, The method comprises: creating a first adaptation layer virtual network interface, and sending first indication information to the in-vehicle infotainment system, the first indication information being used to indicate the first adaptation layer virtual network interface; the first adaptation layer virtual network interface is used to bind with a first application; in a case where dialing through a first access point name (APN) module is successful, determining a first APN network interface; connecting the first adaptation layer virtual network interface to the first APN network interface; in a case where an access request of the first application is received through the first adaptation layer virtual network interface, sending the access request of the first application through the first APN network interface.
2. The method of claim 1, wherein, The method further comprises: in response to the first adaptation layer virtual network interface being disconnected from the first APN network interface, dialing through the first APN module; in a case where dialing through the first APN module is successful, determining a second APN network interface, the second APN network interface being different from the first APN network interface; connecting the first adaptation layer virtual network interface to the second APN network interface; in a case where an access request of the first application is received through the first adaptation layer virtual network interface, sending the access request of the first application through the second APN network interface.
3. The method of claim 1, wherein, The connecting of the first adaptation layer virtual network interface to the first APN network interface comprises: connecting the first adaptation layer virtual network interface to the first APN network interface through a configuration policy routing.
4. The method of claim 1, wherein, The method further comprises: creating a second adaptation layer virtual network interface, and sending second indication information to the in-vehicle infotainment system, the second indication information being used to indicate the second adaptation layer virtual network interface; the second adaptation layer virtual network interface is used to bind with a second application; in a case where dialing through a second APN module is successful, determining a third APN network interface, the third APN network interface being different from the first APN network interface; connecting the second adaptation layer virtual network interface to the third APN network interface; in a case where an access request of the second application is received through the second adaptation layer virtual network interface, sending the access request of the second application through the third APN network interface.
5. An access method, characterized by, The method comprises: receiving first indication information from an in-vehicle communication system; the first indication information is used to indicate a first adaptation layer virtual network interface; binding the first adaptation layer virtual network interface with a first application; transmitting an access request of the first application to the first adaptation layer virtual network interface.
6. The method of claim 5, wherein, The method further comprises: receiving second indication information from the in-vehicle communication system; the second indication information is used to indicate a second adaptation layer virtual network interface; binding the second adaptation layer virtual network interface with a second application; transmitting an access request of the second application to the second adaptation layer virtual network interface.
7. An access device, characterized in that The access device comprises: The transceiver unit is configured to create a first adaptation layer virtual network interface and send first indication information to the in-vehicle infotainment system, the first indication information being used to indicate the first adaptation layer virtual network interface; and the first adaptation layer virtual network interface is used to bind with the first application. The processing unit is configured to determine a first APN network interface in a case that the dialing through the first APN module succeeds; and connect the first adaptation layer virtual network interface to the first APN network interface. The transceiver unit is further configured to send an access request of the first application through the first APN network interface in a case that the access request of the first application is received through the first adaptation layer virtual network interface.
8. An access device, characterized in that The access device comprises: The transceiver unit is configured to receive first indication information from the in-vehicle communication system; and the first indication information is used to indicate a first adaptation layer virtual network interface. The processing unit is configured to bind the first adaptation layer virtual network interface with the first application. The transceiver unit is further configured to transmit an access request of the first application to the first adaptation layer virtual network interface.
9. A computer device, comprising: It comprises: The memory and the processor; wherein: The memory is configured to store a computer program, the computer program comprising program instructions; The processor is configured to invoke the program instructions, so that the computer device executes the method according to any one of claims 1-4, and / or executes the method according to claims 5-6.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, which is executed by the processor to realize the method according to any one of claims 1-4, and / or realize the method according to claims 5-6.