Screen display method and system for third-party application of in-vehicle infotainment system

By embedding Hook plugins and virtual screen services into the vehicle infotainment system, and utilizing a whitelist mechanism and Display optimization to improve the display of third-party applications, the security and stability issues of the vehicle infotainment system are resolved, and optimized display and resource management of third-party applications on the vehicle screen are achieved.

CN121433748APending Publication Date: 2026-01-30WUHAN CARBIT INFORMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511348102.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-19
Publication Date
2026-01-30

AI Technical Summary

Technical Problem

How can we optimize the display of third-party applications on the vehicle screen while ensuring the safe and stable operation of the vehicle system, and solve the problems of system lag and security risks caused by the large number of ecosystem applications, complex management, and excessive resource consumption?

Method used

The vehicle infotainment system's Framework layer incorporates a Hook plugin package and a virtual screen service. The Hook plugin is activated through a whitelist mechanism to obtain pixel density parameters and permission operations of third-party applications, and the Display is used to optimize screen display.

Benefits of technology

It enables the monitoring and isolation of the running permissions and behaviors of third-party applications, optimizes the display effect, avoids excessive system resource consumption and security risks, and ensures the stable operation of the vehicle system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121433748A_ABST
    Figure CN121433748A_ABST
Patent Text Reader

Abstract

The invention discloses a screen display method and system for a third-party application of an in-vehicle infotainment system, and the method comprises the steps: building a Hook plug-in package and a virtual screen service in a Framework layer of the in-vehicle infotainment system, and creating a Display through the virtual screen service; when it is monitored that the user starts the third-party application, starting a Hook plug-in corresponding to the Hook plug-in package through a white list mechanism; based on the Hook plug-in, obtaining a pixel density parameter of the third-party application and responding to an authority operation of the third-party application; and after the response is completed, performing screen display on a display interface of the third-party application through Display based on the pixel density parameter of the third-party application. According to the invention, through the cooperation of the Hook plug-in and the Display, the operation authority and behavior monitoring of the application can be isolated and controlled, so that the display effect of the third-party application on the vehicle machine screen is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of virtual screen display, in particular to a screen display method and system for third-party applications of a vehicle machine. BACKGROUND

[0002] With the increasing market share of new energy vehicles and the increasing hardware configuration of vehicle central control screens, the functions of Car Infotainment System (CIS) are becoming more and more rich, such as games, karaoke, cinemas, etc., which greatly improve the playability and entertainment of applications in a vehicle environment.

[0003] However, while providing rich extended applications, the security problems brought by the extended applications have gradually been concerned by people, such as a large number of ecological application types and complex management; application quality is uneven, resulting in random pop-up windows, a large number of system resource occupation; too many application installations cause insufficient system available space, etc., which further cause the vehicle machine system to be lagging, black screen or even restart, seriously affecting driving safety; at the same time, directly installing third-party applications on the vehicle machine also has resolution adaptation problems or layout disorder, etc. Therefore, how to ensure the safe and stable operation of the vehicle machine system while optimizing the display effect of the third-party applications on the vehicle machine screen has become a problem to be solved.

[0004] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY The main purpose of the present application is to provide a screen display method and system for third-party applications of a vehicle machine, which aims to solve the technical problem of how to ensure the safe and stable operation of the vehicle machine system while optimizing the display effect of the third-party applications on the vehicle machine screen.

[0005] To achieve the above purpose, the present application provides a third-party application screen display method based on Hook technology, which comprises: a Hook plug-in package and a virtual screen service are built in the Framework layer of the vehicle machine system, and a Display is created through the virtual screen service; when it is monitored that a user starts a third-party application, a Hook plug-in corresponding to the Hook plug-in package is started through a white list mechanism; based on the Hook plug-in, a pixel density parameter of the third-party application and a permission operation responding to the third-party application are obtained; after the response is completed, the display interface of the third-party application is displayed on the screen based on the pixel density parameter of the third-party application through the Display.

[0006] Optionally, the creating the Display through the virtual screen service comprises: obtaining a pixel density parameter of a car screen; creating the Display through the virtual screen service according to the pixel density parameter of the car screen and a preset virtual display screen size. Optionally, the starting the Hook plug-in corresponding to the Hook plug-in package through the white list mechanism comprises: creating a process of the third-party application based on zygote through a fork system; judging whether an application package name of the third-party application exists in a preset white list during the creation of the process; if yes, loading the Hook plug-in package and starting the Hook plug-in corresponding to the Hook plug-in package.

[0007] Optionally, after the judging whether the application package name of the third-party application exists in the preset white list, the method further comprises: when the application package name of the third-party application does not exist in the preset white list, not loading the Hook plug-in package.

[0008] Optionally, the responding to the running permission and behavior of the third-party application based on the Hook plug-in comprises: calling an api of a car system based on the Hook plug-in; listening to a permission operation of the third-party application through the api of the car system; responding to the permission operation of the third-party application through the Hook plug-in.

[0009] Optionally, the performing screen display on a display interface of the third-party application through the Display based on the pixel density parameter of the third-party application comprises: adjusting a pixel density parameter of a car screen in the Display based on the pixel density parameter of the third-party application; performing screen display on the display interface of the third-party application through the adjusted Display.

[0010] Optionally, the performing screen display on the display interface of the third-party application through the adjusted Display comprises: creating a SurfaceView control floating on the car screen through an api of a car system, the SurfaceView control embedding a Surface; The display interface of the third-party application is transmitted to the Surface through the adjusted Display, so that the display interface of the Surface is displayed on the SurfaceView control.

[0011] Optionally, the Surface is bound with the adjusted Display.

[0012] Optionally, after the response is completed, the display interface of the third-party application is displayed on the screen through the Display based on the pixel density parameter of the third-party application. When the SurfaceView control receives a touch event initiated by a user, the touch event is transmitted to the Display through the API of the vehicle machine system, so that the third-party application responds to the touch event.

[0013] In addition, to achieve the above-mentioned purpose, the application further provides a screen display system of a vehicle machine third-party application, which comprises: A creation module is configured to embed a Hook plug-in and a virtual screen service in a Framework layer of a vehicle machine system, and create a Display through the virtual screen service; A starting module is configured to start a Hook plug-in corresponding to the Hook plug-in package through a white list mechanism when it is monitored that a user starts a third-party application; A processing module is configured to obtain a pixel density parameter of the third-party application and a permission operation of responding to the third-party application based on the Hook plug-in; A display module is configured to display a display interface of the third-party application on a screen through the Display based on the pixel density parameter of the third-party application after the response is completed.

[0014] The application first embeds a Hook plug-in package and a virtual screen service in a Framework layer of a vehicle machine system, and creates a Display through the virtual screen service, then starts a Hook plug-in corresponding to the Hook plug-in package through a white list mechanism when it is monitored that a user starts a third-party application, thereafter obtains a pixel density parameter of the third-party application and a permission operation of responding to the third-party application based on the Hook plug-in, and finally displays a display interface of the third-party application on a screen through the Display based on the pixel density parameter of the third-party application after the response is completed. The application can monitor, isolate and control the running permission and behavior of an application through the cooperation of the Hook plug-in and the Display, and realizes the compatibility of ecological expansion and the richness of application, and optimizes the display effect of a third-party application on a vehicle machine screen. BRIEF DESCRIPTION OF DRAWINGS

[0015] Figure 1 FIG. 1 is a flowchart of a first embodiment of a screen display method of a third-party application of a vehicle machine according to the present application. Figure 2 FIG. 2 is a structural block diagram of a first embodiment of a screen display system of a third-party application of a vehicle machine according to the present application.

[0016] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0017] It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

[0018] The embodiments of the present application provide a screen display method of a third-party application of a vehicle machine. Figure 1 , Figure 1 FIG. 1 is a flowchart of a first embodiment of a screen display method of a third-party application of a vehicle machine according to the present application.

[0019] In the embodiments, the screen display method of the third-party application of the vehicle machine includes the following steps. S1, a Hook plug-in package and a virtual screen service are built in a Framework layer of a vehicle machine system, and a Display is created through the virtual screen service.

[0020] It is easy to understand that the execution subject of the embodiments can be a vehicle machine system with functions of data processing, network communication and program running, and the embodiments are not limited thereto.

[0021] In the specific implementation, the Framework layer of an Android vehicle machine system needs to be modified, the Hook plug-in package and the virtual screen service are built in, the virtual screen service is used to create, manage and destroy virtual screens, and system permissions are granted.

[0022] It should be further noted that the virtual screen service can create one or more virtual screens adapted to the third-party application, and the third-party application can be understood as a mobile phone application installed on the vehicle machine, and the display screen adapted to the application can be a vertical display screen.

[0023] Further, the process of constructing the Display is as follows: the pixel density parameters of the vehicle machine screen are obtained; and the Display is created through the virtual screen service according to the pixel density parameters of the vehicle machine screen and a preset virtual display screen size.

[0024] The preset virtual display screen size can be customized by the user, for example, the aspect ratio is 4:3 or 16:9, etc.

[0025] S2, when it is monitored that the user starts the third-party application, the Hook plug-in corresponding to the Hook plug-in package is started through a white list mechanism.

[0026] It should be noted that when the user starts the third-party application, the system zygote creates a new application process (i.e., the process of the third-party application) by forking, and in the process of creating the process, it is determined whether the application package name of the third-party application exists in the preset white list, if yes, the Hook plug-in package is loaded, and the Hook plug-in corresponding to the Hook plug-in package is started; if not, the Hook plug-in package is not loaded, and the third-party application is originally run.

[0027] It should be understood that since all applications are created by zygote, the system pre-installed application package name can be added to the white list through the white list mechanism.

[0028] In a specific implementation, after starting the Hook plug-in package, the entry api of the plug-in package is also run, and when the plug-in is started, it is attached to the application process.

[0029] S3, based on the Hook plug-in, obtaining the pixel density parameter of the third-party application and responding to the permission operation of the third-party application.

[0030] Further, based on the Hook plug-in, the running permission and behavior of the third-party application are responded to, including: calling the api of the car machine system based on the Hook plug-in; listening to the permission operation of the third-party application through the api of the car machine system; responding to the permission operation of the third-party application through the Hook plug-in.

[0031] The permission operation can be understood as the running permission and behavior used by the application.

[0032] The running permission: for example, the application needs to apply for a sensitive permission, and the system permission application interface will be called by itself, when the plug-in intercepts the permission request interface, the permission application result can be returned according to the sensitive permission type.

[0033] Behavior: for example, A application needs to start B application silently (background pull-up behavior), A application will call the system application start interface (carrying B application information), when the plug-in in A application intercepts the interface, it is found that the started application is not itself, so it can directly intercept and return that it is not supported, thus avoiding the background pull-up behavior.

[0034] S4, after the response is completed, the display interface of the third-party application is displayed on the screen based on the pixel density parameter of the third-party application through the Display.

[0035] Further, after the response is completed, the pixel density parameter of the car machine screen in the Display is adjusted based on the pixel density parameter of the third-party application; the display interface of the third-party application is displayed on the screen through the adjusted Display.

[0036] In a specific implementation, the pixel density parameter of the third-party application can replace the pixel density parameter of the in-Display car screen, and the adjusted pixel density parameter of the in-Display car screen is the pixel density parameter of the third-party application.

[0037] The processing manner of the third-party application display interface displayed on the screen by the adjusted Display is as follows: a SurfaceView control floating on the car screen is created by the api of the car system, the SurfaceView control is embedded with a Surface; the Surface is bound with the adjusted Display; the display interface of the third-party application is transmitted to the Surface by the adjusted Display, so that the display interface of the Surface is displayed on the SurfaceView control.

[0038] Further, when the SurfaceView control receives a touch event initiated by a user, the touch event is transmitted to the Display by the api of the car system, so that the third-party application responds to the touch event.

[0039] It should be understood that the touch event can be a click, movement, long press, or the like received on the SurfaceView control.

[0040] It should be further noted that when a mobile phone application is running on the car system, the application calling the corresponding interface may have a crash problem. The Hook plug-in in the plug-in can intercept the unsupported interface and return an unsupported state to avoid this situation.

[0041] In the embodiment, first, the Hook plug-in package and the virtual screen service are built in the Framework layer of the car system, the Display is created through the virtual screen service, then when it is monitored that the user starts the third-party application, the Hook plug-in corresponding to the Hook plug-in package is started through the white list mechanism, then based on the Hook plug-in, the pixel density parameter of the third-party application is obtained and the permission operation of the third-party application is responded, finally, after the response is completed, the display interface of the third-party application is displayed on the screen based on the pixel density parameter of the third-party application and the Display. Through the cooperation of the Hook plug-in and the Display, the running permission and behavior of the application can be monitored, isolated and controlled, and the effect of the display of the third-party application on the car screen is optimized while the ecological expansion and the richness of the application are taken into account.

[0042] Referring to Figure 2 , Figure 2 is a structural block diagram of a first embodiment of a car machine third-party application screen display system of the application.

[0043] The creating module 2001 is configured to build a Hook plug-in and a virtual screen service in a Framework layer of the car machine system, and create a Display through the virtual screen service. The starting module 2002 is configured to start the Hook plug-in corresponding to the Hook plug-in package through a white list mechanism when it is monitored that a user starts a third-party application. The processing module 2003 is configured to acquire a pixel density parameter of the third-party application and perform an authority operation in response to the third-party application based on the Hook plug-in. The display module 2004 is configured to perform screen display on a display interface of the third-party application through the Display based on the pixel density parameter of the third-party application after the response is completed.

[0044] Other embodiments or specific implementations of the screen display system of the third-party application of the car machine can refer to the above-mentioned method embodiments, and details are not described herein.

[0045] It should be noted that in this paper, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or system. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or system including the element.

[0046] The above-mentioned embodiment numbers of the application are only for description, not representing the advantages and disadvantages of the embodiments.

[0047] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by software and necessary general hardware platform, of course, they can also be realized by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the application can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, an optical disk), and includes a plurality of instructions for making a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in various embodiments of the application.

[0048] The above is only the preferred embodiment of the application, and does not limit the patent scope of the application, and any equivalent structure or equivalent flow transformation made by using the content of the specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the application.

Claims

1. A method for displaying a screen of a third party application of a car machine, characterized in that, The method comprises the following steps: Hook plug-in package and virtual screen service are built in the Framework layer of the car machine system, and a Display is created through the virtual screen service; When it is monitored that a user starts a third-party application, a Hook plug-in corresponding to the Hook plug-in package is started through a white list mechanism; Based on the Hook plug-in, a pixel density parameter of the third-party application and a permission operation responding to the third-party application are obtained; After the response is completed, a display interface of the third-party application is displayed on a screen based on the pixel density parameter of the third-party application through the Display.

2. The method of claim 1, wherein, The Display is created through the virtual screen service, comprising: A pixel density parameter of a car machine screen is obtained; A Display is created through the virtual screen service according to the pixel density parameter of the car machine screen and a preset virtual display screen size.

3. The method of claim 1, wherein, The Hook plug-in corresponding to the Hook plug-in package is started through the white list mechanism, comprising: A process of the third-party application is created based on zygote through a fork system; During the creation of the process, it is judged whether an application package name of the third-party application exists in a preset white list; If yes, the Hook plug-in package is loaded, and the Hook plug-in corresponding to the Hook plug-in package is started.

4. The method of claim 3, wherein, After it is judged whether the application package name of the third-party application exists in the preset white list, the method further comprises: When the application package name of the third-party application does not exist in the preset white list, the Hook plug-in package is not loaded.

5. The method of claim 1, wherein, Based on the Hook plug-in, the running permission and behavior of the third-party application are responded, comprising: An api of the car machine system is called based on the Hook plug-in; The permission operation of the third-party application is listened to through the api of the car machine system; The permission operation of the third-party application is responded through the Hook plug-in.

6. The method of claim 1, wherein, Based on the pixel density parameter of the third-party application, the display interface of the third-party application is displayed on a screen through the Display, comprising: Based on the pixel density parameter of the third-party application, the pixel density parameter of the car machine screen in the Display is adjusted; The display interface of the third-party application is displayed on a screen through the adjusted Display.

7. The method of claim 6, wherein, The display interface of the third-party application is displayed on a screen through the adjusted Display, comprising: A SurfaceView control that is suspended to the car machine screen is created through the api of the car machine system, and the SurfaceView control is embedded with a Surface; The display interface of the third-party application is transmitted to the Surface through the adjusted Display, so that the display interface of the Surface is displayed on the SurfaceView control.

8. The method of claim 7, wherein, The Surface is bound with the adjusted Display.

9. The method of claim 1, wherein, After the response is completed, based on the pixel density parameter of the third-party application, the display interface of the third-party application is displayed on a screen through the Display, the method further comprises: When the SurfaceView control receives a touch event initiated by a user, the touch event is transmitted to the Display through an API of the car machine system, so that the third-party application responds to the touch event.

10. A screen display system for a third-party application in a vehicle infotainment system, characterized in that, The system comprises: A creation module for embedding a Hook plug-in and a virtual screen service in a Framework layer of a car machine system, and creating a Display through the virtual screen service; A starting module for starting a Hook plug-in corresponding to the Hook plug-in package through a white list mechanism when it is monitored that a user starts a third-party application; A processing module for obtaining a pixel density parameter of the third-party application and responding to a permission operation of the third-party application based on the Hook plug-in; A display module for performing screen display on a display interface of the third-party application based on the pixel density parameter of the third-party application through the Display after responding is completed.