Vehicle-mounted network control method, device, equipment and storage medium
By acquiring and adjusting the application whitelist in the vehicle network control policy, the application type was determined and the network bandwidth was adjusted, which solved the lag problem in the vehicle system, enabled the rational use of the vehicle network, and improved the user experience.
Patent Information
- Application Number
- CN202211069683.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-01
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2042-09-01
AI Technical Summary
When many applications are running, the vehicle's infotainment system lags, network access speed slows down, and user experience is affected. In particular, it is impossible to guarantee network access for important applications and there is a lack of priority support for important applications. Existing technologies also have problems with monitoring illegal occupation of the vehicle's network, especially in terms of network optimization for important applications and the lack of monitoring for illegal applications.
By acquiring target applications that are running and have network access permissions, the application type is determined according to the application whitelist in the vehicle network control policy, and the network bandwidth is adjusted to ensure that the network bandwidth of important applications is not restricted, while bandwidth is limited for ordinary and illegal applications, so as to achieve reasonable use of the vehicle network.
It improved the network access speed of the vehicle's infotainment system, enhanced the user experience, and ensured network optimization for important applications, especially by providing official optimization channels for application developers through application whitelists.
Smart Images

Figure CN115396957B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to an in-vehicle network control method, device, equipment and storage medium. Background Technology
[0002] With the continuous development of application services in vehicle infotainment systems, the number of applications is increasing daily, and the performance of applications and vehicle infotainment systems when using in-vehicle networks is receiving more and more attention.
[0003] During their research, the inventors discovered that when many applications are running, it can cause the vehicle's infotainment system to lag and network access speed to slow down, thus affecting the user experience. Summary of the Invention
[0004] This application provides an in-vehicle network control method, apparatus, device, and storage medium to solve the problem that when many applications are running, the vehicle system will lag and the network access speed will slow down, thus affecting the user experience.
[0005] Firstly, this application provides an in-vehicle network control method applied to an in-vehicle infotainment system, the in-vehicle network control method comprising:
[0006] Obtain the target application that is running and has network access permissions;
[0007] Based on the application whitelist in the vehicle network control policy, determine the application type of the target application. The application type includes whitelisted applications and non-whitelisted applications. Whitelisted applications include important applications and ordinary applications.
[0008] Adjust the network bandwidth used by the target application according to its application type. However, the network bandwidth of important applications is not limited.
[0009] Optionally, the vehicle network control strategy includes a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth. Based on the application type of the target application, the network bandwidth used by the target application is adjusted, including: if the target application is a normal application and is running in the foreground, the downlink network bandwidth used by the target application is adjusted to the first downlink network bandwidth, and the uplink network bandwidth used by the target application is adjusted to the first uplink network bandwidth; if the target application is a normal application and is running in the background, the downlink network bandwidth used by the target application is adjusted to the second downlink network bandwidth, and the uplink network bandwidth used by the target application is adjusted to the second uplink network bandwidth, where the first downlink network bandwidth is greater than the second downlink network bandwidth, and the first uplink network bandwidth is greater than the second uplink network bandwidth; if the target application is a non-whitelisted application, the network bandwidth used by the target application is adjusted to 0.
[0010] Optionally, obtaining a target application that is running and has network access permissions includes: if it is detected that the application has switched from running in the foreground to running in the background, or if it is detected that the application has switched from running in the background to running in the foreground, then the application is identified as the target application; if it is detected that an application with network access permissions has started, then the started application is identified as the target application.
[0011] Optionally, acquiring a target application that is running and has network access permissions includes: detecting the on / off state of the execution switch corresponding to the vehicle network control policy; and in response to the switch being on, acquiring the target application that is running and has network access permissions.
[0012] Optionally, after adjusting the network bandwidth used by the target application according to the application type of the target application, the vehicle network control method further includes: sending the current network usage information of the target application to the server for the server to update the vehicle network control policy. The current network usage information includes at least one of the target application's network bandwidth, network access latency, and network traffic used.
[0013] Optionally, before acquiring a target application that is running and has network access permissions, the vehicle network control method further includes: sending a request message to the server to acquire the vehicle network control policy and the execution switch corresponding to the vehicle network control policy, the request message carrying the vehicle model and device code; and receiving a response message from the server, the response message containing the vehicle network control policy and the execution switch corresponding to the vehicle network control policy.
[0014] Secondly, this application provides an in-vehicle network control method, applied to a server, the in-vehicle network control method comprising:
[0015] The system receives a configuration completion command, which includes the vehicle network control policy and the corresponding execution switch. The vehicle network control policy includes an application whitelist, a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth. The application types in the application whitelist include important applications and ordinary applications. The first downlink network bandwidth and the first uplink network bandwidth are used to adjust the network bandwidth of ordinary applications running in the foreground. The second downlink network bandwidth and the second uplink network bandwidth are used to adjust the network bandwidth of ordinary applications running in the background. The first downlink network bandwidth is greater than the second downlink network bandwidth, and the first uplink network bandwidth is greater than the second uplink network bandwidth.
[0016] In response to the configuration completion command, store the vehicle network control policy and the corresponding execution switch of the vehicle network control policy.
[0017] Optionally, after storing the vehicle network control policy and the corresponding execution switch, the vehicle network control method further includes: receiving a request message from the vehicle terminal, the request message being used to obtain the vehicle network control policy and the corresponding execution switch; and sending a response message to the vehicle terminal, the response message containing the vehicle network control policy and the corresponding execution switch.
[0018] Optionally, before receiving the configuration completion instruction, the vehicle network control method further includes: adding the third-party application to the application whitelist in response to an operation instruction to add the third-party application to the application whitelist.
[0019] Optionally, after storing the vehicle network control policy and the corresponding execution switch, the vehicle network control method further includes: receiving the current network usage information of the target application sent by the vehicle terminal, wherein the current network usage information includes at least one of the target application's network bandwidth, network access latency, and network traffic; and storing the updated vehicle network control policy in response to the instruction to complete the update of the vehicle network control policy based on the current network usage information.
[0020] Thirdly, this application provides an in-vehicle network control device applied to an in-vehicle infotainment system, the in-vehicle network control device comprising:
[0021] The acquisition module is used to acquire target applications that are running and have network access permissions.
[0022] The determination module is used to determine the application type of the target application based on the application whitelist in the vehicle network control policy. The application types include whitelisted applications and non-whitelisted applications. Whitelisted applications include important applications and ordinary applications.
[0023] The adjustment module is used to adjust the network bandwidth used by the target application based on the application type of the target application. Important applications are not subject to network bandwidth restrictions.
[0024] Optionally, the vehicle network control strategy includes a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth. The adjustment module is specifically used for: if the target application is a normal application and is running in the foreground, then adjust the downlink network bandwidth used by the target application to the first downlink network bandwidth and adjust the uplink network bandwidth used by the target application to the first uplink network bandwidth; if the target application is a normal application and is running in the background, then adjust the downlink network bandwidth used by the target application to the second downlink network bandwidth and adjust the uplink network bandwidth used by the target application to the second uplink network bandwidth, wherein the first downlink network bandwidth is greater than the second downlink network bandwidth and the first uplink network bandwidth is greater than the second uplink network bandwidth; if the target application is a non-whitelisted application, then adjust the network bandwidth used by the target application to 0.
[0025] Optionally, the acquisition module is specifically used to: if it detects that an application has switched from running in the foreground to running in the background, or if it detects that an application has switched from running in the background to running in the foreground, then the application is identified as the target application; if it detects that an application with network access permissions has started, then the started application is identified as the target application.
[0026] Optionally, the acquisition module is specifically used to: detect the on / off state of the execution switch corresponding to the vehicle network control strategy; and in response to the switch being in the on state, acquire the target application that is running and has network access permissions.
[0027] Optionally, the vehicle network control device further includes a first sending module, which is used to send the current network usage information of the target application to the server after the adjustment module adjusts the network bandwidth used by the target application according to the application type of the target application, so as to enable the server to update the vehicle network control policy. The current network usage information includes at least one of the target application's network bandwidth, network access latency, and network traffic used.
[0028] Optionally, the vehicle network control device further includes a second sending module, used to send a request message to the server before the acquisition module acquires a target application that is running and has network access permissions, for acquiring the vehicle network control policy and the corresponding execution switch of the vehicle network control policy. The request message carries the vehicle model and device code. The vehicle network control device further includes a receiving module, used to receive a response message from the server, the response message containing the vehicle network control policy and the corresponding execution switch of the vehicle network control policy.
[0029] Fourthly, this application provides an in-vehicle network control device, applied to a server, the in-vehicle network control device comprising:
[0030] The receiving module is used to receive a configuration completion instruction. The configuration completion instruction includes the vehicle network control policy and the corresponding execution switch of the vehicle network control policy. The vehicle network control policy includes an application whitelist, a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth. The application types in the application whitelist include important applications and ordinary applications. The first downlink network bandwidth and the first uplink network bandwidth are used to adjust the network bandwidth of ordinary applications running in the foreground. The second downlink network bandwidth and the second uplink network bandwidth are used to adjust the network bandwidth of ordinary applications running in the background. The first downlink network bandwidth is greater than the second downlink network bandwidth, and the first uplink network bandwidth is greater than the second uplink network bandwidth.
[0031] The storage module is used to store the vehicle network control policy and the corresponding execution switch in response to the configuration completion command.
[0032] Optionally, the receiving module is further configured to: after storing the vehicle network control policy and the corresponding execution switch in the storage module, receive a request message from the vehicle terminal, the request message being used to obtain the vehicle network control policy and the corresponding execution switch; the vehicle network control device further includes a sending module, configured to send a response message to the vehicle terminal, the response message containing the vehicle network control policy and the corresponding execution switch.
[0033] Optionally, the storage module is also used to: add the third-party application to the application whitelist in response to an operation instruction to add the third-party application to the application whitelist before the receiving module receives the configuration completion instruction.
[0034] Optionally, the receiving module is further configured to: after storing the vehicle network control policy and the execution switch corresponding to the vehicle network control policy in the storage module, receive the current network usage information of the target application in the vehicle terminal sent by the vehicle terminal, wherein the current network usage information includes at least one of the target application's network bandwidth, network access latency, and network traffic used; the storage module is further configured to store the updated vehicle network control policy in response to the update completion instruction of the vehicle network control policy based on the current network usage information.
[0035] Fifthly, this application provides an in-vehicle network control system, including: a vehicle terminal and a server terminal;
[0036] The vehicle-mounted terminal is used to execute the in-vehicle network control method as described in the first aspect of this application;
[0037] The server is used to execute the vehicle network control method as described in the second aspect of this application.
[0038] Sixthly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0039] The memory stores the instructions that the computer executes;
[0040] The processor executes computer execution instructions stored in memory to implement the vehicle network control method as described in the first or second aspect of this application.
[0041] In a seventh aspect, this application provides a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the vehicle network control method as described in the first or second aspect of this application.
[0042] Eighthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the vehicle network control method as described in the first or second aspect of this application.
[0043] The vehicle network control method, apparatus, device, and storage medium provided in this application determine the application type of a target application that is running and has network access permissions based on the application whitelist in the vehicle network control policy on the vehicle-mounted terminal. Specifically, it determines whether the target application is an important application, a normal application, or a non-whitelisted application. Based on the application type, the network bandwidth used by the target application on the vehicle-mounted terminal is adjusted. Important applications have unlimited network bandwidth, ensuring priority is given to their network bandwidth usage. Adjusting the network bandwidth used by normal applications and non-whitelisted applications on the vehicle-mounted terminal allows for more rational use of the vehicle network, improving network access speed for the vehicle system and thus enhancing the user experience. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a schematic diagram illustrating an application scenario provided in one embodiment of this application;
[0046] Figure 2 A flowchart illustrating an embodiment of the vehicle network control method provided in this application;
[0047] Figure 3 A flowchart of an in-vehicle network control method provided in another embodiment of this application;
[0048] Figure 4 A schematic diagram illustrating the configuration of vehicle network control strategies for different roles according to an embodiment of this application;
[0049] Figure 5 This is a schematic diagram of the signaling interaction of an embodiment of the vehicle network control method provided in this application;
[0050] Figure 6 This is a schematic diagram of the structure of an in-vehicle network control device provided in an embodiment of this application;
[0051] Figure 7 A schematic diagram of the structure of an in-vehicle network control device provided in another embodiment of this application;
[0052] Figure 8 A schematic diagram of an in-vehicle network control system provided in an embodiment of this application;
[0053] Figure 9 A schematic diagram of an in-vehicle network control system provided in another embodiment of this application;
[0054] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0056] The collection, storage, use, processing, transmission, provision, and disclosure of financial data or user data involved in the technical solution of this application all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0057] Currently, the performance of vehicle infotainment systems and applications within them when using the vehicle network presents the following problems for different users: (1) For administrators responsible for optimizing vehicle infotainment systems, the problems include: when many applications are running, the vehicle infotainment system will lag and the network access speed will slow down, thus affecting the user experience, especially the network usage of important applications cannot be guaranteed; among them, important applications are those that users use frequently and that are closely related to users, including but not limited to map applications that control navigation sources in the vehicle infotainment system and music applications that control music sources in the vehicle infotainment system; after the vehicle is sold, it is impossible to analyze the network operation status of the vehicle infotainment system in different driving environments in real time, and it is impossible to evaluate and dynamically optimize the network operation quality of the vehicle infotainment system; when the vehicle infotainment system experiences abnormal network performance, there is a lack of corresponding emergency handling mechanisms; and there is a lack of effective supervision for some illegal applications that illegally occupy the network traffic resources of the vehicle infotainment system. (2) For application developers, the problems include: after the vehicle is released, it is impossible to analyze the network operation status of the application in different driving environments and to track the network performance problems of the application; when the application runs in a network performance-related abnormal situation, there is no corresponding handling mechanism; and there is no official way to solve the optimization problem of the application using the vehicle network.
[0058] To address the aforementioned issues, this application provides a vehicle network control method, apparatus, device, and storage medium. By acquiring target applications that are running and have network access permissions, and adjusting the network bandwidth used by these applications according to vehicle network control policies, it ensures network bandwidth for critical applications, as well as for applications running in the foreground and background, while restricting network bandwidth used by unauthorized applications. Furthermore, the application whitelist within the vehicle network control policy provides application developers with official vehicle network optimization methods. Therefore, it enables more rational use of the vehicle network, improves network access speed for the vehicle's infotainment system, and ultimately enhances the user experience.
[0059] The following section provides examples illustrating the application scenarios of the solution provided in this application.
[0060] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. For example... Figure 1 As shown, in this application scenario, server 101 is configured with an in-vehicle network control policy. After the vehicle's infotainment system 102 starts up, it obtains the in-vehicle network control policy from server 101. Based on the in-vehicle network control policy, it adjusts the network bandwidth used by applications running in the infotainment system that have network access permissions, so that the applications in the infotainment system can use the in-vehicle network according to the adjusted network bandwidth.
[0061] It should be noted that, Figure 1This is merely a schematic diagram illustrating one application scenario provided by an embodiment of this application. This embodiment does not necessarily represent... Figure 1 The included equipment is not limited, nor is it restricted. Figure 1 The positional relationships between devices are defined. For example, in Figure 1 The application scenario shown may also include a data storage device, which may be an external storage device relative to server 101 or an internal storage device integrated into server 101.
[0062] The technical solution of this application will now be described in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0063] Figure 2 A flowchart illustrating an embodiment of the vehicle network control method provided in this application, applied to the vehicle's infotainment system. For example... Figure 2 As shown, the method in this application embodiment includes:
[0064] S201. Obtain the target application that is running and has network access permissions.
[0065] For example, after the vehicle's infotainment system starts up, it can automatically scan for target applications that are running and have network access permissions, and record the running information of these applications. These target applications with network access permissions are those that can use the vehicle's network. The running information includes, but is not limited to, whether the application is running, the network bandwidth it uses, and whether it is running in the foreground or background. It can be understood that for applications that are not running but have network access permissions, no network bandwidth adjustment is required.
[0066] S202. Based on the application whitelist in the vehicle network control policy, determine the application type of the target application. The application type includes whitelisted applications and non-whitelisted applications. Whitelisted applications include important applications and ordinary applications.
[0067] It is understood that applications included in the application whitelist have network access permissions, while applications not included in the application whitelist do not. For example, when the vehicle system starts up, the in-vehicle network control policy is obtained from the server communicating with the vehicle system. This policy includes the application whitelist. For details on how to obtain the in-vehicle network control policy, please refer to subsequent embodiments; it will not be repeated here. In this step, after obtaining the target application that is running and has network access permissions, the target application can be compared with applications in the application whitelist to determine the application type of the target application. Specifically, if the target application is included in the application whitelist, its application type is a whitelisted application; if it is not included in the application whitelist, its application type is a non-whitelisted application, which can also be understood as an illegal application; if the target application is included in the application whitelist and is an important application within the whitelist, its application type is an important application; if it is included in the application whitelist but is not an important application within the whitelist, its application type is a normal application. Important applications include, but are not limited to, map applications that control navigation sources in the vehicle infotainment system and music applications that control music sources in the vehicle infotainment system.
[0068] S203. Adjust the network bandwidth used by the target application according to the application type of the target application. Among them, the network bandwidth of important applications is not limited.
[0069] In this step, after determining the application type of the target application, the network bandwidth used by the target application can be adjusted according to its application type. Specifically, priority should be given to ensuring that important applications have their network bandwidth used preferentially; that is, no restrictions should be placed on the network bandwidth of important applications. For example, if an important application is a map application, when the map application is in navigation mode, its network bandwidth usage should be guaranteed regardless of whether it is running in the foreground or background. Similarly, if an important application is a music application, when the music application is playing music, its network bandwidth usage should be guaranteed regardless of whether it is running in the foreground or background.
[0070] Further, optionally, the vehicular network control strategy includes a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth. Adjusting the network bandwidth used by the target application based on its application type may include: if the target application is a normal application and is running in the foreground, adjusting both the downlink and uplink network bandwidth used by the target application to the first downlink network bandwidth; if the target application is a normal application and is running in the background, adjusting both the downlink and uplink network bandwidth used by the target application to the second downlink network bandwidth; where the first downlink network bandwidth is greater than the second downlink network bandwidth, and the first uplink network bandwidth is greater than the second uplink network bandwidth; and if the target application is a non-whitelisted application, adjusting the network bandwidth used by the target application to 0.
[0071] It's understandable that network bandwidth adjustments are needed for regular applications. For applications running in the foreground, higher network bandwidth is required than for those running in the background to prioritize user experience. For example, if the first downlink and first uplink network bandwidth are both 0.8 Mbps, and the second downlink and second uplink network bandwidth are both 3 KB / s, then the uplink and downlink network bandwidth for foreground applications can be adjusted to 0.8 Mbps, and the uplink and downlink network bandwidth for background applications can be adjusted to 3 KB / s. The downlink and uplink network bandwidth for foreground applications should not exceed 1 Mbps, and the downlink network bandwidth for background applications should not exceed 7 KB / s and the uplink network bandwidth should not exceed 3.5 KB / s. If the target application is not a whitelisted application, then the network bandwidth used by the target application should be adjusted to 0, effectively restricting network bandwidth usage for non-whitelisted applications, and monitoring of non-whitelisted applications will be implemented. It is understandable that the vehicle-mounted system adjusts the network bandwidth used by target applications according to the vehicle network control policy, which can effectively guarantee the network bandwidth used by whitelisted applications, especially important applications.
[0072] Optionally, the vehicle-mounted system can adjust the network bandwidth used by the target application by calling an interface provided by the system and executing an instruction containing the application package name, process ID, uplink network bandwidth, downlink network bandwidth, and whether the application is legitimate. If the target application is on the whitelist, it is considered legitimate; if it is not on the whitelist, it is considered illegitimate, and the network bandwidth used by an illegitimate application is 0.
[0073] After adjusting the network bandwidth used by the target application, the target application uses the in-vehicle network according to the adjusted network bandwidth.
[0074] The vehicle network control method provided in this application determines the application type of a target application that is running and has network access permissions based on the application whitelist in the vehicle network control policy. Specifically, it determines whether the target application is an important application, a normal application, or a non-whitelisted application. Based on the application type, the method adjusts the network bandwidth used by the target application. Important applications have unlimited network bandwidth, ensuring priority access to network bandwidth for important applications. Adjusting the network bandwidth used by normal applications and non-whitelisted applications allows for more efficient use of the vehicle network, improving network access speed for the vehicle system and thus enhancing the user experience.
[0075] In some embodiments, considering that the running state of an application may change, and that the vehicle network control policy needs to be re-executed for applications whose running state changes, the acquisition of a target application that is running and has network access permissions may optionally include: if it is detected that an application has switched from running in the foreground to running in the background, or if it is detected that an application has switched from running in the background to running in the foreground, then the application is determined to be the target application; if it is detected that an application with network access permissions has started, then the started application is determined to be the target application.
[0076] It is understandable that applications whose operating status changes can include important applications, ordinary applications, and non-whitelisted applications. Therefore, the applications whose operating status has changed need to be targeted, and the vehicle network control policy needs to be re-executed. Specifically, based on the application whitelist in the vehicle network control policy, the application type of the target application is determined. If the target application type is an important application, no network bandwidth restrictions are imposed; if the target application type is an ordinary application or a non-whitelisted application, the network bandwidth used is adjusted.
[0077] Figure 3 A flowchart of a vehicle network control method provided in another embodiment of this application is shown, applied to a server. For example... Figure 3 As shown, the method in this application embodiment includes:
[0078] S301. Receive configuration completion instruction. The configuration completion instruction includes vehicle network control policy and execution switch corresponding to vehicle network control policy. Vehicle network control policy includes application whitelist, first downlink network bandwidth, first uplink network bandwidth, second downlink network bandwidth and second uplink network bandwidth. Application types in application whitelist include important applications and ordinary applications.
[0079] The first downlink network bandwidth and the first uplink network bandwidth are used to adjust the network bandwidth of ordinary applications running in the foreground, and the second downlink network bandwidth and the second uplink network bandwidth are used to adjust the network bandwidth of ordinary applications running in the background. The first downlink network bandwidth is greater than the second downlink network bandwidth, and the first uplink network bandwidth is greater than the second uplink network bandwidth.
[0080] In this step, the configuration completion command is input by a user into the electronic device executing this method embodiment; this user may be a server administrator. The server administrator may have permissions to configure information related to the vehicle network control policy. The on / off state of the switch corresponding to the vehicle network control policy is 0, indicating off (the vehicle network control policy is not executed); a value of 1 indicates on (the vehicle network control policy is executed). Applications included in the application whitelist have network access permissions, while applications not included in the application whitelist do not have network access permissions.
[0081] In some embodiments, optionally, before receiving the configuration completion instruction, the vehicle network control method provided in this application embodiment may further include: adding the third-party application to the application whitelist in response to the operation instruction to add the third-party application to the application whitelist.
[0082] For example, the server receives an application from a third-party application developer requesting that the application be added to the application whitelist. After the server administrator approves the application, the third-party application is added to the application whitelist. Correspondingly, the server responds to the instruction to add the third-party application to the application whitelist by adding the application to the whitelist.
[0083] For example, Figure 4 A schematic diagram illustrating the configuration of vehicle network control strategies for different roles according to an embodiment of this application, as shown below. Figure 4As shown, the server has an authentication mechanism that provides three user identities: administrator, system engineer, and third-party application developer. Different user identities can perform different operations after logging into the server. System engineers have the authority to input information such as vehicle model, vehicle infotainment system version number (i.e., the version number of the vehicle infotainment system), and important applications within the system. Third-party application developers can provide their application information and submit applications to be added to the application whitelist. Administrators have the highest authority to review information provided by system engineers, review applications submitted by third-party application developers, and edit in-vehicle network control policies, storing approved information on the server. Additionally, administrators can query the execution records and editing history of in-vehicle network control policies. Based on business needs, the most suitable in-vehicle network control policy and its corresponding execution switch are edited and then sent to the vehicle's infotainment system. Specific information in the in-vehicle network control policy includes, for example, the vehicle model and device code, application whitelist, first downlink network bandwidth, first uplink network bandwidth, second downlink network bandwidth, and second uplink network bandwidth. The delivery of in-vehicle network control policies can be precisely targeted to specific vehicle models and vehicles.
[0084] S302. In response to the configuration completion command, store the vehicle network control policy and the corresponding execution switch of the vehicle network control policy.
[0085] It is understandable that after receiving the configuration completion instruction containing the vehicle network control policy and the corresponding execution switch, the server, in response to the configuration completion instruction, stores the vehicle network control policy and the corresponding execution switch.
[0086] The vehicle network control method provided in this application embodiment receives a configuration completion instruction containing a vehicle network control policy and the corresponding execution switch. In response to the configuration completion instruction, it stores the vehicle network control policy and the corresponding execution switch, which enables convenient management and flexible configuration of the vehicle network control policy. In addition, based on the application whitelist included in the vehicle network control policy, it can provide application developers with an official way to optimize the vehicle network.
[0087] Based on the above embodiments, Figure 5 This is a signaling interaction diagram of an embodiment of the vehicle network control method provided in this application, wherein the vehicle terminal and the server are connected for communication. Figure 5 As shown, the method in this application embodiment may include:
[0088] S501. The vehicle terminal sends a request message to the server to obtain the vehicle network control policy and the corresponding execution switch of the vehicle network control policy. The request message carries the vehicle model and device code.
[0089] Accordingly, the server receives request messages from the vehicle's infotainment system.
[0090] For example, the vehicle's infotainment system can query the vehicle's model and vehicle equipment code (i.e., the vehicle's unique identifier) through the system's interface. Based on these identifiers, it communicates with the server (also known as the cloud management platform), sending a request message to the server to obtain the vehicle network control policy and the corresponding execution switch. This request message carries the vehicle's model and equipment code. To ensure security when the infotainment system sends this request message to the server, the server can authenticate the message. Specific authentication methods can refer to current relevant technologies.
[0091] S502. The server sends a response message to the vehicle terminal. The response message includes the vehicle network control policy and the corresponding execution switch of the vehicle network control policy.
[0092] Accordingly, the vehicle-mounted system receives the response message from the server.
[0093] In this step, after receiving the request message from the vehicle's infotainment system, the server sends a response message to the system. This response message contains the vehicle network control policy and the corresponding execution switch. To ensure the security of the response message sent from the server to the vehicle's infotainment system, the information contained in the message can be encrypted. A specific encryption method could be the Secure Hash Algorithm-256 (SHA-256). Correspondingly, the vehicle's infotainment system receives the response message from the server, performs validity verification and parsing, and obtains the vehicle network control policy and the corresponding execution switch.
[0094] S503, the vehicle terminal detects the on / off status of the execution switch corresponding to the vehicle network control strategy.
[0095] In this step, the vehicle terminal can obtain the on / off status of the execution switch corresponding to the vehicle network control policy based on the response message sent by the server, and then detect the on / off status of the execution switch corresponding to the vehicle network control policy.
[0096] S504: When the vehicle's on / off state is "on", it obtains the target application that is running and has network access permissions.
[0097] For example, a switch state value of 0 indicates "off," meaning the vehicle network control policy is not executed; a switch state value of 1 indicates "on," meaning the vehicle network control policy is executed. Therefore, in response to the switch state being "on," the vehicle's infotainment system obtains the target application that is running and has network access permissions to execute the vehicle network control policy.
[0098] S505, the vehicle terminal determines the application type of the target application based on the application whitelist in the vehicle network control policy. The application type includes whitelisted applications and non-whitelisted applications. Whitelisted applications include important applications and ordinary applications.
[0099] For a detailed description of this step, please refer to [link / reference]. Figure 2 The relevant description of S202 in the illustrated embodiment will not be repeated here.
[0100] S506 The vehicle-mounted system adjusts the network bandwidth used by the target application based on the application type of the target application. Among them, the network bandwidth of important applications is not limited.
[0101] For a detailed description of this step, please refer to [link / reference]. Figure 2 The relevant description of S203 in the illustrated embodiment will not be repeated here.
[0102] S507. The vehicle terminal sends the current network usage information of the target application to the server for the server to update the vehicle network control policy. The current network usage information includes at least one of the target application's network bandwidth, network access latency, and network traffic used.
[0103] Accordingly, the server receives the current network usage information of the target application in the vehicle's infotainment system from the vehicle's infotainment system.
[0104] It's understandable that after adjusting the network bandwidth used by the target application, the vehicle's infotainment system can obtain the target application's current network usage information. This information is then sent to the server for updating the in-vehicle network control policy, providing data support for editing the server's in-vehicle network control policy. Correspondingly, the server receives the target application's current network usage information from the vehicle's infotainment system and stores it in a database. This information may include, for example, the target application's network bandwidth, network latency, network traffic usage, and whether the target application is not on the whitelist.
[0105] S508, The server responds to the instruction to complete the update of the vehicle network control policy based on the current network usage information, and stores the updated vehicle network control policy.
[0106] It is understandable that after receiving the target application's current network usage information, the server administrator can determine whether to update the vehicle network control policy based on this information. If the server administrator updates the vehicle network control policy based on the current network usage information, the server responds with an update completion instruction for the vehicle network control policy based on the current network usage information and stores the updated vehicle network control policy.
[0107] One embodiment of this application provides a vehicle network control method that obtains the vehicle network control policy and its corresponding execution switch by sending a request message from the vehicle's infotainment system to the server. The vehicle's infotainment system responds to the switch being enabled by obtaining a target application that is running and has network access permissions, effectively controlling whether the vehicle's infotainment system executes the vehicle network control policy. The vehicle's infotainment system determines the application type of the target application based on the application whitelist in the vehicle network control policy. Based on the application type, the vehicle's infotainment system adjusts the network bandwidth used by the target application, prioritizing the network bandwidth of important applications, which are not restricted. The vehicle's infotainment system sends the current network usage information of the target application to the server for updating the vehicle network control policy. This provides data support for editing the server's vehicle network control policy, resulting in a more effective policy. This allows for more rational use of the vehicle network based on the policy, improving network access speed for the vehicle's infotainment system and enhancing user experience. The server-side interface allows for convenient management and flexible configuration of in-vehicle network control policies. Furthermore, based on the application whitelist included in the in-vehicle network control policies, it provides application developers with official in-vehicle network optimization methods.
[0108] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0109] Figure 6 This is a schematic diagram of the structure of an in-vehicle network control device provided in one embodiment of this application, applied to the vehicle's infotainment system. For example... Figure 6 As shown, the vehicle network control device 600 of this application embodiment includes: an acquisition module 601, a determination module 602, and an adjustment module 603. Wherein:
[0110] The acquisition module 601 is used to acquire target applications that are running and have network access permissions.
[0111] The determination module 602 is used to determine the application type of the target application based on the application whitelist in the vehicle network control policy. The application types include whitelisted applications and non-whitelisted applications. Whitelisted applications include important applications and ordinary applications.
[0112] The adjustment module 603 is used to adjust the network bandwidth used by the target application according to the application type of the target application, wherein the network bandwidth of important applications is not limited.
[0113] In some embodiments, the vehicle network control strategy includes a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth. The adjustment module 603 can be specifically used to: if the target application is a normal application and is running in the foreground, adjust the downlink network bandwidth used by the target application to the first downlink network bandwidth and adjust the uplink network bandwidth used by the target application to the first uplink network bandwidth; if the target application is a normal application and is running in the background, adjust the downlink network bandwidth used by the target application to the second downlink network bandwidth and adjust the uplink network bandwidth used by the target application to the second uplink network bandwidth, wherein the first downlink network bandwidth is greater than the second downlink network bandwidth and the first uplink network bandwidth is greater than the second uplink network bandwidth; if the target application is a non-whitelisted application, adjust the network bandwidth used by the target application to 0.
[0114] Optionally, the acquisition module 601 can be specifically used to: if it detects that an application has switched from running in the foreground to running in the background, or if it detects that an application has switched from running in the background to running in the foreground, then determine that the application is the target application; if it detects that an application with network access permissions has started, then determine that the started application is the target application.
[0115] Optionally, the acquisition module 601 can be specifically used to: detect the on / off state of the execution switch corresponding to the vehicle network control strategy; and in response to the switch being in the on state, acquire the target application that is in the running state and has network access rights.
[0116] In some embodiments, the vehicle network control device 600 may further include a first sending module 604, which is used to send the current network usage information of the target application to the server after the adjustment module 603 adjusts the network bandwidth used by the target application according to the application type of the target application, so as to enable the server to update the vehicle network control policy. The current network usage information includes at least one of the target application's network bandwidth, network access latency, and network traffic used.
[0117] Optionally, the vehicle network control device 600 may further include a second sending module 605, used to send a request message to the server before the acquisition module 601 acquires a target application that is running and has network access permissions, for acquiring the vehicle network control policy and the corresponding execution switch of the vehicle network control policy. The request message carries the vehicle model and device code. The vehicle network control device 600 may further include a receiving module 606, used to receive a response message from the server, the response message containing the vehicle network control policy and the corresponding execution switch of the vehicle network control policy.
[0118] The apparatus of this application embodiment can be used to execute the vehicle terminal solution in any of the above method embodiments. Its implementation principle and technical effect are similar, and will not be repeated here.
[0119] Figure 7 This is a schematic diagram of the structure of an in-vehicle network control device provided in another embodiment of this application, applied to a server. For example... Figure 7 As shown, the vehicle network control device 700 of this application embodiment includes: a receiving module 701 and a storage module 702. Wherein:
[0120] The receiving module 701 is used to receive a configuration completion instruction. The configuration completion instruction includes the vehicle network control policy and the corresponding execution switch of the vehicle network control policy. The vehicle network control policy includes an application whitelist, a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth. The application types in the application whitelist include important applications and ordinary applications. The first downlink network bandwidth and the first uplink network bandwidth are used to adjust the network bandwidth of ordinary applications running in the foreground. The second downlink network bandwidth and the second uplink network bandwidth are used to adjust the network bandwidth of ordinary applications running in the background. The first downlink network bandwidth is greater than the second downlink network bandwidth, and the first uplink network bandwidth is greater than the second uplink network bandwidth.
[0121] The storage module 702 is used to store the vehicle network control policy and the corresponding execution switch in response to the configuration completion command.
[0122] In some embodiments, the receiving module 701 may also be used to: after the storage module 702 stores the vehicle network control policy and the execution switch corresponding to the vehicle network control policy, receive a request message from the vehicle terminal, the request message being used to obtain the vehicle network control policy and the execution switch corresponding to the vehicle network control policy; the vehicle network control device 700 may also include a sending module 703, used to send a response message to the vehicle terminal, the response message containing the vehicle network control policy and the execution switch corresponding to the vehicle network control policy.
[0123] Optionally, the storage module 702 can also be used to: add the third-party application to the application whitelist in response to the operation instruction to add the third-party application to the application whitelist before the receiving module 701 receives the configuration completion instruction.
[0124] Optionally, the receiving module 701 can also be used to: after the storage module 702 stores the vehicle network control policy and the execution switch corresponding to the vehicle network control policy, receive the current network usage information of the target application in the vehicle terminal sent by the vehicle terminal, the current network usage information including at least one of the target application's network bandwidth, network access latency and network traffic used; the storage module 702 can also be used to store the updated vehicle network control policy in response to the update completion instruction of the vehicle network control policy based on the current network usage information.
[0125] The apparatus in this application embodiment can be used to execute the server-side scheme in any of the above method embodiments. Its implementation principle and technical effect are similar, and will not be repeated here.
[0126] Figure 8 This is a schematic diagram of an embodiment of the vehicle network control system provided in this application, as shown below. Figure 8 As shown, the data processing system 800 includes a vehicle-mounted terminal 801 and a server 802, which are communicatively connected. The vehicle-mounted terminal 801 can employ... Figure 6 The structure of the device embodiment, correspondingly, can perform... Figure 2 or Figure 5 The technical solutions in the embodiments are similar in implementation principle and technical effect, and will not be described again here. Server 802 can adopt... Figure 7 The structure of the device embodiment, correspondingly, can perform... Figure 3 or Figure 5 The technical solutions in the embodiments are similar in principle and effect, and will not be described again here. The vehicle network control system provided in this application embodiment, supported by basic data, analyzes the performance of applications and vehicle systems and related data in real time, and, combined with intelligent policy recommendations from the server, completes the scheduling of network optimization capabilities at the application layer, system layer, and kernel layer, thereby helping to continuously improve the network performance of the vehicle system; it supports application network performance optimization on different vehicle system platforms, including but not limited to Android systems, Linux systems, etc.
[0127] Figure 9 A schematic diagram of an in-vehicle network control system provided in another embodiment of this application, as shown below. Figure 9 As shown, the vehicle network control system 900 includes a cloud management platform 901 and a network performance optimization service 902, wherein:
[0128] The cloud management platform 901 is used to provide vehicle network control policies. The cloud management platform 901 includes an administrator module 9011, a network optimization execution information module 9012, and a policy editing module 9013. The administrator module 9011 provides an identity authentication mechanism, which can provide three identities: administrator, system engineer, and third-party application developer. For details, please refer to the above embodiments. Figure 4 The example shown illustrates the following: The network optimization execution information module 9012 receives the current network usage information of the target application in the vehicle terminal sent by the vehicle terminal, and stores the current network usage information of the target application in the database. The current network usage information includes, but is not limited to, the network bandwidth, network access latency, network traffic used, vehicle model and device code, and non-whitelist application monitoring of the target application. The policy editing module 9013 receives a configuration completion instruction, which includes the vehicle network control policy and the corresponding execution switch. In response to the configuration completion instruction, the module stores the vehicle network control policy and the corresponding execution switch. The policy editing module 9013 also provides a query function for vehicle network control policy execution records, a query function for the editing history of vehicle network control policies, and, in response to an update completion instruction for the vehicle network control policy based on the current network usage information, stores the updated vehicle network control policy.
[0129] The network performance optimization service 902 communicates with the cloud management platform 901 and is used to execute in-vehicle network control policies. Specifically, it adjusts the network bandwidth used by target applications that are running on the vehicle terminal and have network access permissions, according to the in-vehicle network control policies. The network performance optimization service 902 includes a policy acquisition module 9021, a policy execution module 9022, an application scanning module 9023, a whitelist verification module 9024, a network bandwidth adjustment module 9025, a restriction execution module 9026, and an information reporting module 9027. Among them, the policy acquisition module 9021 is used to communicate with the cloud management platform 901. The system queries the vehicle model and device code through the vehicle infotainment system interface. Based on the vehicle model and device code, it retrieves the vehicle network control policy and its corresponding execution switch from the cloud management platform 901. The policy execution module 9022 performs legality verification and interpretation processing on the data corresponding to the vehicle network control policy retrieved from the cloud management platform 901 to obtain information such as the vehicle network control policy and its corresponding execution switch. The application scanning module 9023 identifies target applications that are running and have network access permissions, and records their running information. Whitelist verification... Module 9024 is used to determine the application type of the target application based on the application whitelist in the vehicle network control policy, that is, to identify important applications, ordinary applications and non-whitelisted applications; the network bandwidth adjustment module 9025 is used to adjust the network bandwidth of the target application. Specifically, it ensures that important applications have priority in using network bandwidth, that is, the network bandwidth of important applications is not restricted, while illegal applications are recorded and monitored and their network bandwidth usage is restricted. For ordinary applications, it adjusts the uplink and downlink bandwidth according to whether the ordinary application is running in the foreground or background, and provides higher bandwidth usage guarantee for ordinary applications running in the foreground; the restriction execution module 9026 is used to call the interface provided by the vehicle system (that is, the interface provided by the vehicle network optimization collaboration center in the vehicle system) to execute the instruction containing the application package name, process number, uplink network bandwidth, downlink network bandwidth and whether the application is a legitimate application, to complete the adjustment of the network bandwidth used by the target application; the information reporting module 9027 is used to send the current network usage information of the target application to the server for the server to update the vehicle network control policy.
[0130] It is understood that the cloud management platform in this application embodiment has similar functions to the server in the above embodiments; the network performance optimization service in this application embodiment has similar functions to the vehicle terminal in the above embodiments.
[0131] Figure 10 This is a schematic diagram of an electronic device structure provided in this application. Figure 10 As shown, the electronic device 1000 may include at least one processor 1001 and a memory 1002.
[0132] The memory 1002 is used to store programs. Specifically, the program may include program code, which includes computer operation instructions.
[0133] The memory 1002 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0134] The processor 1001 executes computer execution instructions stored in the memory 1002 to implement the vehicle network control method described in the foregoing method embodiments. The processor 1001 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. Specifically, when implementing the vehicle network control method described in the foregoing method embodiments, the electronic device may be, for example, a terminal, a server, or other electronic device with processing capabilities. When implementing the vehicle network control method described in the foregoing method embodiments, the electronic device may be, for example, an electronic control unit in a vehicle.
[0135] Optionally, the electronic device 1000 may also include a communication interface 1003. In specific implementations, if the communication interface 1003, memory 1002, and processor 1001 are implemented independently, they can be interconnected via a bus to complete communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not imply that there is only one bus or one type of bus.
[0136] Optionally, in a specific implementation, if the communication interface 1003, memory 1002 and processor 1001 are integrated on a single chip, then the communication interface 1003, memory 1002 and processor 1001 can communicate through an internal interface.
[0137] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-mentioned vehicle network control method.
[0138] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described vehicle network control method.
[0139] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0140] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Alternatively, the readable storage medium can be an integral part of the processor. Both the processor and the readable storage medium can reside in an application-specific integrated circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in an in-vehicle network control device.
[0141] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A vehicle-mounted network control method characterized by comprising: The vehicle-mounted network control method applied to a vehicle machine end comprises: acquiring a target application in a running state and having a network use permission, and recording running information of the target application; the running information of the target application comprises that the target application is in a running state, network bandwidth used by the target application, and whether the target application is in a foreground running state or a background running state; determining an application type of the target application according to an application white list in a vehicle-mounted network control strategy; the application type comprises a white list application and a non-white list application; the white list application comprises an important application and a common application; the important application is a map application related to vehicle navigation and a music application related to vehicle-mounted audio; the vehicle-mounted network control strategy comprises a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth; if the target application is an important application in the white list, adjusting network bandwidth used by the target application is not limited; if the application type of the target application is a common application in the white list and the target application is in the foreground running state, adjusting the downlink network bandwidth used by the target application to be the first downlink network bandwidth, and adjusting the uplink network bandwidth used by the target application to be the first uplink network bandwidth; if the application type of the target application is a common application in the white list and the target application is in the background running state, adjusting the downlink network bandwidth used by the target application to be the second downlink network bandwidth, and adjusting the uplink network bandwidth used by the target application to be the second uplink network bandwidth; the first downlink network bandwidth is greater than the second downlink network bandwidth, and the first uplink network bandwidth is greater than the second uplink network bandwidth; if the application type of the target application is a non-white list application, adjusting the network bandwidth used by the target application to be 0; after the network bandwidth used by the target application is adjusted according to the application type of the target application, the method further comprises: sending current network use information of the target application to a server end, so that the server end updates the vehicle-mounted network control strategy; the current network use information comprises at least one of network bandwidth, access network delay, and network traffic used by the target application.
2. The in-vehicle network control method according to claim 1, characterized by, The acquiring of the target application in the running state and having the network use permission comprises: if it is monitored that an application is switched from the foreground running state to the background running state, or it is monitored that the application is switched from the background running state to the foreground running state, determining that the application is the target application; if it is monitored that an application having the network use permission is started, determining that the started application is the target application.
3. The in-vehicle network control method according to claim 1, characterized by, The acquiring of the target application in the running state and having the network use permission comprises: detecting a switch state of an execution switch corresponding to the vehicle-mounted network control strategy; in response to the switch state being an open state, acquiring the target application in the running state and having the network use permission.
4. The in-vehicle network control method according to any one of claims 1 to 3, characterized by, Before the acquiring of the target application in the running state and having the network use permission, the method further comprises: sending a request message for obtaining the vehicle-mounted network control policy and the execution switch corresponding to the vehicle-mounted network control policy to a server, the request message carrying a vehicle model and a device code of the vehicle; receiving a response message from the server, the response message containing the vehicle-mounted network control policy and the execution switch corresponding to the vehicle-mounted network control policy.
5. A vehicle-mounted network control method characterized by comprising: The vehicle-mounted network control method applied to a server comprises: receiving a configuration completion instruction containing a vehicle-mounted network control policy and an execution switch corresponding to the vehicle-mounted network control policy, the vehicle-mounted network control policy comprising an application white list, a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth and a second uplink network bandwidth, the application types in the application white list comprising important applications and ordinary applications, wherein the important applications are map applications related to vehicle navigation and music applications related to vehicle audio; the first downlink network bandwidth and the first uplink network bandwidth are used to adjust the network bandwidth of the ordinary applications in a foreground running state, the second downlink network bandwidth and the second uplink network bandwidth are used to adjust the network bandwidth of the ordinary applications in a background running state, the first downlink network bandwidth is greater than the second downlink network bandwidth, and the first uplink network bandwidth is greater than the second uplink network bandwidth; in response to the configuration completion instruction, storing the vehicle-mounted network control policy and the execution switch corresponding to the vehicle-mounted network control policy; after storing the vehicle-mounted network control policy and the execution switch corresponding to the vehicle-mounted network control policy, the method further comprises: receiving current network usage information of a target application in the head unit sent by the head unit, the current network usage information comprising at least one of a network bandwidth, an access network delay and a used network traffic of the target application; in response to an update completion instruction of the vehicle-mounted network control policy according to the current network usage information, storing an updated vehicle-mounted network control policy.
6. The in-vehicle network control method according to claim 5, characterized by, after storing the vehicle-mounted network control policy and the execution switch corresponding to the vehicle-mounted network control policy, the method further comprises: receiving a request message from the head unit, the request message being used to obtain the vehicle-mounted network control policy and the execution switch corresponding to the vehicle-mounted network control policy; sending a response message to the head unit, the response message containing the vehicle-mounted network control policy and the execution switch corresponding to the vehicle-mounted network control policy.
7. The in-vehicle network control method according to claim 5, characterized by, before receiving the configuration completion instruction, the method further comprises: in response to an operation instruction of adding a third-party application to the application white list, adding the third-party application to the application white list.
8. An in-vehicle network control device characterized by comprising: The vehicle-mounted network control device applied to a head unit comprises: an acquisition module, configured to acquire a target application in a running state and having a network usage permission, and record running information of the target application; the running information of the target application comprises that the target application is in a running state, a network bandwidth used by the target application, and whether the target application is in a foreground running state or a background running state. The determining module is configured to determine an application type of the target application according to an application white list in a vehicle network control policy, the application type including a white list application and a non-white list application, and the white list application including an important application and a common application; wherein the important application is a map application related to vehicle navigation and a music application related to vehicle audio; and the vehicle network control policy includes a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth. The adjusting module is configured to adjust the network bandwidth used by the target application to be unlimited if the target application is an important application in the white list. If the application type of the target application is a common application in the white list and the target application is in a foreground running state, the adjusting module is configured to adjust the downlink network bandwidth used by the target application to be the first downlink network bandwidth and adjust the uplink network bandwidth used by the target application to be the first uplink network bandwidth; if the application type of the target application is a common application in the white list and the target application is in a background running state, the adjusting module is configured to adjust the downlink network bandwidth used by the target application to be the second downlink network bandwidth and adjust the uplink network bandwidth used by the target application to be the second uplink network bandwidth, the first downlink network bandwidth being greater than the second downlink network bandwidth, and the first uplink network bandwidth being greater than the second uplink network bandwidth; and if the application type of the target application is a non-white list application, the adjusting module is configured to adjust the network bandwidth used by the target application to be 0. The first sending module is configured to send current network usage information of the target application to a server, so that the server updates the vehicle network control policy, and the current network usage information includes at least one of network bandwidth, access network delay, and network traffic used by the target application.
9. An in-vehicle network control device characterized by comprising: The vehicle network control device applied to the server includes: The receiving module is configured to receive a configuration completion instruction, the configuration completion instruction containing a vehicle network control policy and an execution switch corresponding to the vehicle network control policy, the vehicle network control policy including an application white list, a first downlink network bandwidth, a first uplink network bandwidth, a second downlink network bandwidth, and a second uplink network bandwidth, and the application type in the application white list including an important application and a common application, the first downlink network bandwidth and the first uplink network bandwidth being used to adjust the network bandwidth of the common application in a foreground running state, wherein the important application is a map application related to vehicle navigation and a music application related to vehicle audio; the second downlink network bandwidth and the second uplink network bandwidth being used to adjust the network bandwidth of the common application in a background running state, the first downlink network bandwidth being greater than the second downlink network bandwidth, and the first uplink network bandwidth being greater than the second uplink network bandwidth. The storage module is configured to store the vehicle network control policy and the execution switch corresponding to the vehicle network control policy in response to the configuration completion instruction. The receiving module is further configured to receive current network usage information of a target application in the head unit sent by the head unit, the current network usage information including at least one of network bandwidth, access network delay, and used network traffic of the target application; The storage module is further configured to store the updated in-vehicle network control strategy in response to an update completion instruction of the in-vehicle network control strategy according to the current network usage information.
10. An in-vehicle network control system characterized by comprising: The application comprises: a head unit and a server; the head unit is configured to execute the in-vehicle network control method according to any one of claims 1 to 4; the server is configured to execute the in-vehicle network control method according to any one of claims 5 to 7.
11. An electronic device, comprising: The application comprises: a processor and a memory connected to the processor in communication; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the in-vehicle network control method according to any one of claims 1 to 7.
12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer program instructions, and the computer program instructions are executed by the processor to implement the in-vehicle network control method according to any one of claims 1 to 7.
13. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the in-vehicle network control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Technique for setting network communication parameters
CN102577264A
Data processing method of application program, mobile terminal and storage medium
CN113596228A
Restricting Network Applications
US20150271094A1