Display control method and device of vehicle-mounted application, electronic equipment, computer readable storage medium and computer program product

By dividing in-vehicle applications into a business layer and a driving restriction software development kit, the driving restriction status is directly obtained from the vehicle system and a pop-up configuration file is rendered. This solves the problems of low in-vehicle application development efficiency and poor user experience, and realizes efficient driving restriction functions and differentiated customization.

CN120803573APending Publication Date: 2025-10-17TENCENT CLOUD COMPUTING (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410430952.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-10
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

In the existing technology, the driving restriction code of the vehicle application is mixed with the driving restriction status adaptation code and business code of the vehicle system, resulting in low development efficiency and poor user experience, and unable to meet the customization needs of different car manufacturers.

Method used

By dividing the in-vehicle application into a business layer and a driving restriction software development kit, the driving restriction status is obtained directly from the vehicle system, and the driving restriction pop-up window for different preset scenarios is rendered through the pop-up configuration file, realizing the driving restriction function independently of the business layer.

Benefits of technology

It improves the development efficiency of the driving restriction function of in-vehicle applications, realizes differentiated customization under different preset scenarios, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120803573A_ABST
    Figure CN120803573A_ABST
Patent Text Reader

Abstract

The invention provides a display control method and device for a vehicle-mounted application, electronic equipment, a computer program product and a computer readable storage medium, and can be applied to the traffic field, vehicle-mounted scenes and the like. The method comprises the following steps: acquiring a driving restriction state of a target vehicle at a current moment from a vehicle machine system of the target vehicle, and acquiring scene information from a business layer of a vehicle-mounted application of the target vehicle; when the driving restriction state is an activated state and the scene information is entering the preset scene, acquiring a popup window configuration file corresponding to the preset scene; rendering a driving limit popup window based on the popup window configuration file; and displaying the driving limit pop-up window on the vehicle-mounted application. Through the method and the device, the development efficiency of the driving limiting function of the vehicle-mounted application is improved, different driving limiting popup windows can be displayed for different preset scenes, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of transportation, and in particular to a display control method and device for a vehicle application, an electronic device, a computer readable storage medium, and a computer program product. BACKGROUND

[0002] In a vehicle scene, driving restrictions are a common requirement, and need to meet different customization requirements of different scenarios, styles, interaction logic, functions, timing, etc. of vehicle manufacturers.

[0003] In related technologies, the driving restriction code of the vehicle application and the driving restriction state adaptation code of the vehicle system are mixed together with the business code. The vehicle application reads the driving information (such as speed, direction, and gear, etc.) of the vehicle through the driving restriction state adaptation code, and determines whether to restrict the vehicle application based on the driving information and the model of the vehicle system where the vehicle application is located.

[0004] However, in related technologies, the vehicle application needs to re-write the driving restriction state adaptation code for different vehicle systems, which is low in development efficiency, and the driving restriction effect implemented by the vehicle application is single, resulting in poor user experience. SUMMARY

[0005] The embodiments of the present application provide a display control method and device for a vehicle application, an electronic device, a computer readable storage medium, and a computer program product, which can improve the development efficiency of the driving restriction function of the vehicle application, and display different driving restriction pop-ups for different preset scenarios, thereby improving the user experience.

[0006] The technical solutions of the embodiments of the present application are as follows:

[0007] The embodiments of the present application provide a display control method for a vehicle application, which comprises: obtaining a driving restriction state of a target vehicle at a current time from a vehicle system of the target vehicle, and obtaining scenario information from a business layer of a vehicle application of the target vehicle; when the driving restriction state is an active state and the scenario information is entering a preset scenario, obtaining a pop-up configuration file corresponding to the preset scenario; rendering a driving restriction pop-up based on the pop-up configuration file; and displaying the driving restriction pop-up on the vehicle application.

[0008] The embodiment of the application provides a display control device of a vehicle-mounted application, comprising: an information acquisition module, configured to acquire a driving restriction state of a target vehicle at a current time from a vehicle machine system of the target vehicle, and acquire scene information from a service layer of a vehicle-mounted application of the target vehicle; a configuration file acquisition module, configured to acquire a pop-up window configuration file corresponding to a preset scene when the driving restriction state is an activated state and the scene information is entering the preset scene; a rendering module, configured to render a driving restriction pop-up window based on the pop-up window configuration file; and a pop-up window display module, configured to display the driving restriction pop-up window on the vehicle-mounted application.

[0009] In some embodiments, the display control device of the vehicle-mounted application further comprises a running module, configured to run the vehicle-mounted application when the driving restriction state is an inactivated state or the scene information is not entering the preset scene.

[0010] In some embodiments, the rendering module is further configured to acquire a scene restriction state from the pop-up window configuration file, acquire style information and operation feedback information from the pop-up window configuration file when the scene restriction state is an opened state, and render the driving restriction pop-up window based on the style information and the operation feedback information.

[0011] In some embodiments, the style information comprises first style information, and the operation feedback information comprises first operation feedback information; the rendering module is further configured to generate a first title and a first button based on the first style information, the first title is used to remind that the target vehicle is in a driving restriction state, the first button is bound with a first event based on the first operation feedback information, the first event is clicking to exit the driving restriction pop-up window and return to a corresponding upper level page of the preset scene in the vehicle-mounted application from the preset scene, and the driving restriction pop-up window is generated based on the first title and the first button bound with the first event.

[0012] In some embodiments, the style information further comprises second style information, and the rendering module is further configured to display countdown information of a preset time length on the first button based on the second style information, and count down according to the countdown information when the driving restriction pop-up window is displayed, the driving restriction pop-up window and the preset scene are prohibited from being displayed when the countdown is a first preset value, and the corresponding upper level page of the preset scene in the vehicle-mounted application is returned from the preset scene.

[0013] In some embodiments, the style information includes third style information, and the operation feedback information includes second operation feedback information; the rendering module is further configured to generate a second title, a second button, and a third button based on the third style information; the second title is used to remind the target vehicle that it is in a driving restriction state; the second button is bound with a second event based on the second operation feedback information, and the third button is bound with a third event; the second event is to click to exit the driving restriction pop-up window and return to a corresponding previous page of the preset scene in the vehicle-mounted application from the preset scene; the third event is to click to exit the driving restriction pop-up window and continue to load the preset scene; and the driving restriction pop-up window is generated based on the second title, the second button bound with the second event, and the third button bound with the third event.

[0014] In some embodiments, the display control apparatus of the vehicle-mounted application further includes an event triggering module configured to generate an event triggering request in response to an interactive operation of a target object on the first button in the driving restriction pop-up window; and send the event triggering request to the business layer; the event triggering request is used to request the business layer to control the vehicle-mounted application to exit the preset scene and return to a corresponding previous page of the preset scene in the vehicle-mounted application from the preset scene.

[0015] In some embodiments, the event triggering module is further configured to generate an exit scene request in response to an interactive operation on a scene interface of the preset scene; and send the exit scene request to the business layer; the exit scene request is used to request the business layer to control the vehicle-mounted application to exit the preset scene and return to a corresponding previous page of the preset scene in the vehicle-mounted application from the preset scene.

[0016] In some embodiments, the display control apparatus of the vehicle-mounted application further includes a voice module configured to acquire text displayed in the driving restriction pop-up window; convert the text into a prompt voice and play the prompt voice corresponding to the text; generate an exit scene request after the prompt voice is played; and send the exit scene request to the business layer; the exit scene request is used to request the business layer to control the vehicle-mounted application to exit the preset scene and return to a corresponding previous page of the preset scene in the vehicle-mounted application from the preset scene.

[0017] In some embodiments, the display control apparatus of the in-vehicle application further comprises a memory module configured to continuously acquire a target driving restriction state of the target vehicle at each time point in a time period after the current time point from the vehicle machine system; display a reminder window on the in-vehicle application when the target driving restriction state is in the inactive state for a time period greater than a time period threshold; the reminder window is configured to remind re-entry into the preset scene; generate a scene entry request in response to a confirmation operation on the reminder window; send the scene entry request to the service layer; the scene entry request is configured to request the service layer to control the in-vehicle application to enter the preset scene.

[0018] The electronic device provided in the embodiments of the present application comprises a memory configured to store computer executable instructions or computer programs, and a processor configured to execute the computer executable instructions or computer programs stored in the memory to implement the display control method of the in-vehicle application provided in the embodiments of the present application.

[0019] The computer readable storage medium provided in the embodiments of the present application stores computer programs or computer executable instructions, and is configured to be executed by a processor to implement the display control method of the in-vehicle application provided in the embodiments of the present application.

[0020] The computer program product provided in the embodiments of the present application comprises computer programs or computer executable instructions, and the computer programs or computer executable instructions are executed by a processor to implement the display control method of the in-vehicle application provided in the embodiments of the present application.

[0021] The embodiments of the present application have the following beneficial effects:

[0022] When the in-vehicle application implements the driving restriction function, the in-vehicle application can combine the driving restriction state sent by the vehicle machine system and the scene information sent by the service layer to implement the driving restriction function independently of the service layer. Compared with the related art in which the in-vehicle application reads the speed information of the vehicle through driving restriction state adaptation code, and judges whether to display the driving restriction pop-up window based on the speed information and the model of the vehicle machine system, the embodiments of the present application only need to directly acquire the driving restriction state of the target vehicle at the current time point through the vehicle machine system of the target vehicle, and no driving restriction state adaptation code needs to be written in the in-vehicle application, thereby improving the development efficiency of the driving restriction function of the in-vehicle application. In addition, the embodiments of the present application can render the driving restriction pop-up window through the pop-up window configuration file corresponding to the preset scene, implement the control of the display of the driving restriction pop-up window corresponding to the preset scene through the pop-up window configuration file, realize the differential customization between the driving restriction pop-up windows displayed by the in-vehicle application in different preset scenes, and improve the experience of the user. BRIEF DESCRIPTION OF DRAWINGS

[0023] Figure 1FIG. 1 is a structural schematic diagram of a display control system architecture of a vehicle-mounted application provided by an embodiment of the present application;

[0024] Figure 2 FIG. 2 is a structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0025] Figure 3 FIG. 3 is a first flow schematic diagram of a display control method of a vehicle-mounted application provided by an embodiment of the present application;

[0026] Figure 4 FIG. 4 is a second flow schematic diagram of a display control method of a vehicle-mounted application provided by an embodiment of the present application;

[0027] Figure 5 FIG. 5 is a third flow schematic diagram of a display control method of a vehicle-mounted application provided by an embodiment of the present application;

[0028] Figure 6 FIG. 6 is a driving restriction pop-up window schematic diagram displayed by an audio playing application in a long text scenario provided by an embodiment of the present application;

[0029] Figure 7 FIG. 7 is a driving restriction pop-up window schematic diagram displayed by a video application in a video scenario provided by an embodiment of the present application;

[0030] Figure 8 FIG. 8 is a fourth flow schematic diagram of a display control method of a vehicle-mounted application provided by an embodiment of the present application;

[0031] Figure 9 FIG. 9 is a driving restriction pop-up window schematic diagram displayed by a smart travel application in a two-dimensional code scenario provided by an embodiment of the present application;

[0032] Figure 10 FIG. 10 is a structural schematic diagram of a display control method of a vehicle-mounted application provided by an embodiment of the present application;

[0033] Figure 11 FIG. 11 is a scenario classification schematic diagram provided by an embodiment of the present application;

[0034] Figure 12 FIG. 12 is a pop-up box configuration item schematic diagram provided by an embodiment of the present application.

[0035] It should be noted that the above-mentioned "first", "second", "third", "fourth" are only used to distinguish different schemes, and do not represent the degree of superiority or priority in the implementation process. DETAILED DESCRIPTION

[0036] In order to make the purposes, technical solutions and advantages of the present application clearer, the following further describes the present application in conjunction with the accompanying drawings, the described embodiments should not be regarded as limiting the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.

[0037] In the following description, "some embodiments" are referred to, which describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0038] In the following description, the terms "first\second\third" are only to distinguish similar objects, and do not represent a specific order of the objects, and it can be understood that "first\second\third" can be interchanged in a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0039] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works with other related parts to achieve a predetermined target, and can be implemented entirely or partially by using software, hardware (such as a processing circuit or a memory) or a combination thereof. Similarly, one processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an integral module or unit that includes the functions of the module or unit.

[0040] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as those commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0041] The relevant data collection process in the embodiments of the present application should strictly comply with the requirements of relevant national laws and regulations, obtain the informed consent or separate consent of the personal information subject, and within the scope of authorization of laws and regulations and the personal information subject, carry out subsequent data use and processing.

[0042] Before the embodiments of the present application are further described in detail, the terms and terms involved in the embodiments of the present application are explained, and the terms and terms involved in the embodiments of the present application are applicable to the following explanations.

[0043] 1) In-vehicle application: an application service installed on the vehicle system, which can be operated and controlled by the user on the vehicle center screen, providing users with more convenient and entertainment options; for example, navigation applications, entertainment and media applications, social media and communication applications, etc.

[0044] 2) Car system: also known as car platform, is the core management system of the in-vehicle infotainment product installed in the vehicle, responsible for regulating and controlling hardware and software resources, ensuring smooth operation of various functions of the vehicle, and realizing information communication between people and vehicles, vehicles and the outside world (vehicles and vehicles).

[0045] 3) Driving restrictions: refers to the restrictions on the function settings of the in-vehicle application when the driver uses it during driving, aiming to ensure driving safety and avoid dangerous situations caused by using in-vehicle applications, such as driving safety reminders, driving entertainment restrictions, driving video restrictions, multimedia and game restrictions, etc.

[0046] 4) Driving Restrictions Software Development Kit (TDR SDK): an application component for implementing the driving restrictions function of in-vehicle applications, which can support unified configuration of driving restrictions implementation, user interface (UI) style and interaction logic, etc.

[0047] 5) Business layer of in-vehicle application: responsible for processing specific business logic in in-vehicle applications, which may involve navigation, audio and video playback, telephone communication and other functions of the vehicle; for example, if the in-vehicle application is a navigation application, the business layer can handle user navigation requests such as setting a destination, planning a route, etc., and convert the navigation request into specific navigation instructions and send them to the vehicle control system; or if the in-vehicle application is an audio and video playback application, the business layer can handle user audio and video playback requests such as selecting a playlist, adjusting the volume, etc., and convert the audio and video playback request into specific playback instructions and send them to the vehicle audio system.

[0048] In a vehicle-mounted scenario, driving restrictions (driving safety reminders, driving entertainment restrictions) are a common requirement, and different scenarios, styles, interaction logics, functions, timing, and other customization requirements of different vehicle manufacturers need to be met. In related technologies, the driving restriction code of the vehicle-mounted application and the driving restriction state adaptation code of the vehicle machine system are mixed together with the business code, lacking isolation and refinement. In the code of the vehicle-mounted application, both the driving restriction code and the driving restriction state adaptation code need to be repeatedly written. The driving restriction code is code for implementing function restrictions on vehicle-mounted applications, the driving restriction state adaptation code is code for adapting vehicle machine systems to obtain driving restriction states for different vehicle machine systems, and the business code is code for processing specific business logic.

[0049] 1. The driving restriction design and state adaptation logic of different vehicle machine systems are different because the business logic is not decoupled from the driving restriction logic and the state adaptation logic. The code for driving restriction state adaptation is different for different vehicle machine systems, and the code of the vehicle-mounted application needs to be different for different vehicle machine systems to adapt to different vehicle machine systems. Therefore, different branches of driving restriction state adaptation code need to be maintained in the vehicle-mounted application for different vehicle machine systems, which is complicated to maintain, resulting in low development efficiency of the driving restriction function of the vehicle-mounted application. Moreover, the driving restriction effect implemented by the vehicle-mounted application is single, and the user experience is poor.

[0050] 2. The business logic, driving restriction logic, and state adaptation logic are not decoupled in the vehicle-mounted application. The adaptation logic invades the business logic, lacks isolation, the problem boundary is not clear, and the complexity of the business logic increases.

[0051] 3. Logic duplication: Each vehicle-mounted application needs to add the driving restriction logic and state adaptation logic of the current vehicle machine system in the business logic. This part of the adaptation logic is the same and repeated between different vehicle-mounted applications, and there is no need to modify this part of the logic repeatedly for each vehicle-mounted application.

[0052] 4. Logic dispersion: There are multiple driving restriction scenarios in the vehicle-mounted application. To maintain uniformity of the driving restriction effect among different scenarios and vehicle-mounted applications, the driving restriction code is directly repeatedly written to implement the specific (user interface, UI) style, interaction logic, etc. in each scenario. The code logic is too dispersed, and there is tightly coupled and redundant code with the business, which is difficult to set and customize uniformly through configuration.

[0053] Based on the problems existing in the related technologies, the embodiments of the present application provide a display control method, device, electronic device, computer-readable storage medium and computer program product for an in-vehicle application. The display control method for the in-vehicle application is a complete driving restriction solution that can be adapted to the needs of different vehicle systems through configuration. It can improve the development efficiency of the driving restriction function of the in-vehicle application, and achieve different driving restriction effects for different preset scenarios, thereby improving the user experience.

[0054] Among them, in the display control method of the in-vehicle application provided by the embodiment of the present application, first, the target vehicle's driving restriction status at the current moment is obtained from the target vehicle's vehicle-mounted system, and the scene information is obtained from the business layer of the target vehicle's in-vehicle application; then, when the driving restriction status is activated and the scene information is entering a preset scene, the pop-up configuration file corresponding to the preset scene is obtained; then, the driving restriction pop-up window is rendered based on the pop-up configuration file; finally, the driving restriction pop-up window is displayed on the in-vehicle application. In this way, combined with the driving restriction status and scene information of the target vehicle at the current moment, different driving restriction pop-ups can be accurately rendered for the pop-up configuration files corresponding to different preset scenes when the target vehicle is in a driving restriction state, thereby achieving different driving restriction effects for different preset scenes and improving the user experience.

[0055] The following describes an exemplary application of the display control device for the vehicle-mounted application provided in the embodiment of the present application. The display control device for the vehicle-mounted application is an electronic device for controlling the display of the driving restriction pop-up window of the vehicle-mounted application. The display control device for the vehicle-mounted application provided in the embodiment of the present application can be implemented as various types of terminals such as laptops, tablet computers, desktop computers, set-top boxes, smart phones, smart speakers, smart watches, smart TVs, smart voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, etc., and can also be implemented as a server. Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present application. Below, an exemplary application of the display control device for the vehicle-mounted application when it is implemented as a terminal will be described.

[0056] See also Figure 1 , Figure 1is a schematic diagram of an architecture of a display control system of a vehicle application provided by an embodiment of the present application, to achieve display control of the vehicle application when the target vehicle is in driving restriction, a display control application of the vehicle application can be provided, for example, the display control application of the vehicle application can be a functional module in other applications (such as a driving restriction software development kit in the vehicle application).

[0057] The display control system 100 of the vehicle application provided by the embodiment of the present application at least includes a terminal 400, a network 300 and a car machine system 200. The terminal 400 can constitute a display control device of the vehicle application of the embodiment of the present application, that is, the display control method of the vehicle application of the embodiment of the present application is realized through the terminal 400. The terminal 400 can be a vehicle terminal. The terminal connects the car machine system 200 through the network 300, and the network 300 can be a wide area network or a local area network, or a combination of the two.

[0058] Referring to Figure 1 , the user can perform an interactive operation on the client side of the vehicle application through the terminal 400, which can be, for example, a click operation, a voice instruction operation, etc. After the terminal 400 receives the interactive operation input by the user through the client, the terminal 400 sends a driving restriction state acquisition request to the car machine system 200 of the target vehicle, and the car machine system 200 sends the driving restriction state of the target vehicle at the current time to the terminal 400 in response to the driving restriction state acquisition request after receiving the driving restriction state acquisition request. The terminal 400 acquires the driving restriction state of the target vehicle at the current time from the car machine system 200 of the target vehicle, and acquires the scene information from the service layer of the vehicle application of the target vehicle; when the driving restriction state is an active state and the scene information is entering a preset scene, a pop-up window configuration file corresponding to the preset scene is acquired; the driving restriction pop-up window is rendered based on the pop-up window configuration file; and the driving restriction pop-up window is displayed on the vehicle application.

[0059] Referring to Figure 2 , Figure 2 is a structural schematic diagram of an electronic device provided by an embodiment of the present application, Figure 2 The electronic device shown in the figure includes at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. Each component in the terminal 400 is coupled together through a bus system 440. It can be understood that the bus system 440 is used to realize the connection communication between the components. In addition to including a data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the purpose of clear illustration, all kinds of buses are marked as the bus system 440 in Figure 2 .

[0060] The processor 410 can be an integrated circuit chip that has a processing capability of signals, such as a general purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc., wherein the general purpose processor can be a microprocessor or any conventional processor.

[0061] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and one or more visual display screens. The user interface 430 also includes one or more input devices 432 that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0062] The memory 450 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 450 optionally includes one or more storage devices physically located in proximity to the processor 410.

[0063] The memory 450 includes volatile memory or non-volatile memory, and can also include both volatile and non-volatile memory. Non-volatile memory can be read only memory (ROM), volatile memory can be random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.

[0064] In some embodiments, the memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or a subset or superset thereof, which are exemplarily illustrated below.

[0065] The operating system 451 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0066] The network communication module 452 is used to communicate with other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include Bluetooth, wireless compatibility authentication (WiFi), and universal serial bus (USB), etc.

[0067] a presentation module 453 for enabling presentation of information (e.g., a user interface for operating the peripheral device and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with the user interface 430;

[0068] an input processing module 454 for detecting and translating one or more user inputs or interactions from one or more input devices 432.

[0069] In some embodiments, the display control apparatus for in-vehicle application provided by the embodiments of the present application can be implemented in a software manner, Figure 2 A display control apparatus 455 for in-vehicle application stored in the memory 450 is shown, which can be software in the form of programs and plug-ins, etc., including the following software modules: an information acquisition module 4551, a configuration file acquisition module 4552, a rendering module 4553, and a pop-up window display module 4554. These modules are logical, and thus can be combined or further split according to the implemented functions. The functions of each module will be described below.

[0070] In other embodiments, the display control apparatus for in-vehicle application provided by the embodiments of the present application can be implemented in a hardware manner. As an example, the apparatus provided by the embodiments of the present application can be a processor in the form of a hardware decoding processor programmed to perform the display control method for in-vehicle application provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can use one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic elements.

[0071] Figure 3 is a first flowchart of the display control method for in-vehicle application provided by the embodiments of the present application. The following will be described in combination with Figure 3 the steps shown in the figure, as Figure 3 shown, taking the terminal as an example of the execution subject of the display control method for in-vehicle application, the method includes the following steps S101 to S104:

[0072] In step S101, the driving restriction state of the target vehicle at the current time is obtained from a car machine system of the target vehicle, and scene information is obtained from a business layer of a vehicle-mounted application of the target vehicle.

[0073] Here, the car machine system is a core management system of a vehicle-mounted information entertainment product installed on the target vehicle, used to regulate hardware and software resources and ensure smooth operation of various functions of the target vehicle. The terminal is a vehicle-mounted terminal of the target vehicle, and the vehicle-mounted application is an application program installed in the vehicle-mounted terminal of the target vehicle, such as a navigation application, an audio playback application, a video playback application, a smart travel application, a social media and communication application, etc. The vehicle-mounted application has a business layer and a driving restriction software development kit (TDR SDK). The business layer is used to process specific business logic, for example, if the vehicle-mounted application is a navigation application, the business layer can process the user's navigation request, such as setting a destination, planning a route, etc.; or, if the vehicle-mounted application is an audio / video playback application, the business layer can process the user's audio / video playback request, such as selecting a playlist, adjusting the volume, etc. The driving restriction software development kit is an application component for implementing the driving restriction function of the vehicle-mounted application. The display control method of the vehicle-mounted application provided in the embodiments of the present application can be applied to the driving restriction software development kit in the vehicle-mounted application. The scene information includes scene category information and action information. The scene category information is the category of the scene in which the vehicle-mounted application is currently operating, such as video, long text, two-dimensional code, etc. The action information is the operation that the vehicle-mounted application is currently performing on the scene, such as entering the scene, exiting the scene, etc.

[0074] Different brands and models of car machine systems may have different conditions for judging driving restrictions. For example, if the car machine system of the target vehicle is system A, the car machine system can determine whether the target vehicle is in a driving restriction state according to the vehicle speed of the target vehicle and a preset speed threshold. For example, the preset speed threshold is 30 kilometers per hour (km / h), and when the vehicle speed of the target vehicle is equal to or greater than 30 kilometers per hour (km / h), the car machine system can obtain the driving restriction state of the target vehicle at the current time as active; otherwise, the car machine system obtains the driving restriction state of the target vehicle at the current time as inactive. If the car machine system of the target vehicle is system B, the car machine system can determine whether the target vehicle is in a driving restriction state according to the gear of the target vehicle. For example, when the gear of the target vehicle is 3, the car machine system can obtain the driving restriction state of the target vehicle at the current time as active; otherwise, the car machine system obtains the driving restriction state of the target vehicle at the current time as inactive.

[0075] It should be noted that the embodiments of the present application do not limit the communication mode between the vehicle-mounted application and the car machine system, for example, the vehicle-mounted application can perform cross-process communication with the car machine system through an Android standard Android Interface Definition Language (AIDL) mode to obtain the driving restriction state of the target vehicle at the current time from the car machine system; or the vehicle-mounted application can also communicate with the car machine system through an Android broadcast mode.

[0076] The embodiments of the present application solve the problem that the business logic, the driving restriction logic, and the state adaptation logic are not decoupled in technical problem 2 by dividing the vehicle-mounted application into a business layer and a driving restriction software development kit, and realize the isolation of the vehicle-mounted application and the car machine system by directly receiving the driving restriction state sent by the car machine system through the driving restriction software development kit, so that the vehicle-mounted application only receives the state value of whether the final driving restriction state is activated or not, and can shield the differences of different car machine systems, solving the problem that each vehicle-mounted application needs to add the driving restriction logic and the state adaptation logic code of the current car machine system in the business logic in technical problem 3, and improving the development efficiency of the driving restriction function of the vehicle-mounted application.

[0077] In step S102, when the driving restriction state is the activated state and the scene information is the entering preset scene, a pop-up window configuration file corresponding to the preset scene is obtained.

[0078] In the embodiments of the present application, the preset scene is a scene in which the vehicle-mounted application needs to be restricted for driving, that is, a scene that will affect driving safety. For example, the vehicle-mounted application is a video playing application, and the preset scene can be a video scene, a two-dimensional code scene, etc.; the vehicle-mounted application is a singing application, and the preset scene can be a long text scene, etc. One vehicle-mounted application can have one or more preset scenes, which are not limited in the embodiments of the present application and can be set as needed in actual application. If the driving restriction state sent by the car machine system is the activated state, it indicates that the preset scene of the vehicle-mounted application needs to be functionally restricted at the current time, for example, playing video is prohibited, scanning two-dimensional code is prohibited, reading long text is prohibited, etc. At this time, the pop-up window configuration file corresponding to the preset scene is obtained. The pop-up window configuration file is a file including a plurality of configuration items, and the plurality of configuration items are used to configure the user interface (UI), size, display text, background, color, picture, icon, button, and button interaction function of the driving restriction pop-up window corresponding to the preset scene. Different preset scenes correspond to different pop-up window configuration files.

[0079] In some embodiments, when the driving restriction state is the inactivated state, or the scene information is not the entering preset scene, the vehicle-mounted application is run.

[0080] In an embodiment of the present application, if the driving restriction status sent by the vehicle-mounted system is in an inactive state, it indicates that there is no need to impose functional restrictions on the preset scenes of the vehicle-mounted application at the current moment, and the vehicle-mounted application can be operated normally, that is, the user can perform any interactive operations on the vehicle-mounted application, such as playing videos, scanning QR codes, reading long texts, etc. Alternatively, if the driving restriction status sent by the vehicle-mounted system is in an active state, it is necessary to impose functional restrictions on the preset scenes of the vehicle-mounted application at the current moment, but the scene information is that the preset scene has not been entered, so the vehicle-mounted application can be operated normally. For example, when the scene information is to enter a non-preset scene (enter the homepage of the video playback application, and not enter a specific video playback scene), the vehicle-mounted application can load and display the non-preset scene normally; or, when the scene information is to exit a preset scene (exit the video playback scene), the vehicle-mounted application is run, the preset scene is exited, and the preset scene is returned to the previous page of the preset scene in the vehicle-mounted application (such as the video search page).

[0081] It should be noted that driving restrictions have a significant impact on the driver and passenger experience. While ensuring driving safety, they may also affect users' expectations of in-vehicle application functions and their user experience. Therefore, how to provide sufficient user convenience while ensuring safety is an issue that in-vehicle application developers need to consider. The embodiments of the present application can balance vehicle driving safety and user experience by running in-vehicle applications even when the driving restriction status is inactive or the scene information indicates that the preset scene has not been entered.

[0082] Step S103: Rendering a driving restriction pop-up window based on the pop-up configuration file.

[0083] In an embodiment of the present application, a driving restriction pop-up window is a window that pops up when the target vehicle is in a driving restriction state and prohibits the in-vehicle application from displaying a preset scene. The driving restriction pop-up window is used to remind the driver or passengers of the target vehicle that the target vehicle is currently in a driving restriction state, prohibit the use of functions corresponding to the preset scene of the in-vehicle application, or inquire whether to continue loading the preset scene. Different preset scenes correspond to different pop-up configuration files. Therefore, the driving restriction pop-up windows rendered based on different pop-up configuration files are also different.

[0084] In some embodiments, see Figure 4 , Figure 4 The rendering of the driving restriction pop-up window based on the pop-up window configuration file in step S103 can be achieved by the following steps S1031 to S1033:

[0085] Step S1031: Obtain the scene restriction status from the pop-up configuration file.

[0086] Here, the scene restriction state is used to represent the effectiveness of the driving restriction function of the preset scene corresponding to the pop-up window configuration file. If the scene restriction state is an open state, it means that the driving restriction function of the preset scene corresponding to the pop-up window configuration file is effective, and the target vehicle needs to be functionally restricted in the preset scene when the target vehicle is in the driving restriction state. Or, if the scene restriction state is a closed state, it means that the driving restriction function of the preset scene corresponding to the pop-up window configuration file is not effective, that is, even if the target vehicle is in the driving restriction state, the preset scene does not need to be functionally restricted. The scene restriction state can be set in the pop-up window configuration file using the enable interface (isEnable). If the setting value of the enable interface (isEnable) is "true", the scene restriction state is an open state; if the setting value of the enable interface (isEnable) is "flase", the scene restriction state is a closed state.

[0087] Step S1032, when the scene restriction state is an open state, obtaining style information and operation feedback information from the pop-up window configuration file.

[0088] Here, the style information includes multiple configuration item information of configuring the user interface, window size, background color, title text, font color and size, icons, pictures, buttons, etc. in the driving restriction pop-up window. The operation feedback information includes event information bound in the driving restriction pop-up window, such as click event information bound by the button. The event information is used to configure the interaction logic of the driving restriction pop-up window, that is, the feedback operation performed by the user after triggering the event, such as exiting the driving restriction pop-up window after clicking the button. When the scene restriction state is an open state, it means that the driving restriction function of the preset scene corresponding to the pop-up window configuration file is effective, and the style information and operation feedback information can be obtained from the pop-up window configuration file corresponding to the preset scene.

[0089] Step S1033, rendering the driving restriction pop-up window based on the style information and the operation feedback information.

[0090] In the embodiments of the present application, the user interface, window size, background color, title text, font color and size, icons, pictures, buttons, etc. in the driving restriction pop-up window can be rendered based on the style information. The interaction logic of the driving restriction pop-up window is rendered based on the operation feedback information to obtain the driving restriction pop-up window that can be used for display.

[0091] This embodiment of the application abstracts the user interface (UI) style and interaction logic of the driving restriction pop-up window into configuration items and writes them into the pop-up configuration file. This can solve the problem of overly fragmented code logic in Technical Problem 4, and achieve differentiated customization of the UI style and interaction logic through the pop-up configuration file. In-vehicle applications only need to maintain the business code at the business layer to be compatible with different vehicle systems. At the same time, this embodiment of the application configures whether the driving restriction function of the preset scene is effective through the scene restriction status, which can balance vehicle driving safety and user experience.

[0092] In some embodiments, the style information includes first style information, and the operation feedback information includes first operation feedback information. Figure 5 , Figure 5 It is shown that in step S1033, the driving restriction pop-up window is rendered based on the style information and the operation feedback information, which can be achieved by the following steps S10331A to S10333A:

[0093] S10331A: Generate a first title and a first button based on the first style information.

[0094] The first title is used to remind the target vehicle that it is in a driving restriction state.

[0095] Here, since different pop-up configuration files are obtained for different preset scenarios, the style information and operation feedback information in the pop-up configuration files are also different. When the preset scenario is the first preset scenario, the style information in the pop-up configuration file includes the first style information, and the operation feedback information includes the first operation feedback information. The first style information may include the font color and size of the first title. The first title can be generated based on the first style information. The embodiment of the present application does not limit the content of the first title, and it only needs to be used to remind the target vehicle that it is in a restricted driving state. The first style information may also include the shape, size, color of the first button and the text content displayed on the first button. The first button can be generated based on the first style information.

[0096] For example, the in-car application is an audio playback application (Karaoke application), and the first preset scenario is a long text scenario. Figure 6 , Figure 6 This is a schematic diagram of a driving restriction pop-up window displayed by an audio playback application in a long text scenario provided by an embodiment of the present application. The first title is "Drivers should not use karaoke while driving. Please pay attention to intersections and concentrate on driving." The text content on the first button is "I understand."

[0097] S10332A: Bind a first event to the first button based on the first operation feedback information.

[0098] The first event is that a click operation is performed to exit the driving restriction pop-up window, and the preset scene returns to a corresponding upper level page of the preset scene in the in-vehicle application.

[0099] Here, the first event is that, after a click operation is triggered, a request for exiting the scene is fed back to the business layer. After the first button is bound with the first event, the driving restriction software development kit can feed back the request for exiting the scene to the business layer, so that the business layer controls the in-vehicle application to close the driving restriction pop-up window and return from the preset scene to a corresponding upper level page of the preset scene in the in-vehicle application based on the request for exiting the scene. It should be noted that the present application embodiment does not limit the corresponding upper level page of the preset scene in the in-vehicle application, which can be implemented according to the code of the business layer, for example, the upper level page can be the main page of the in-vehicle application.

[0100] For example, the in-vehicle application is an audio playing application (K-song application), the first preset scene is a long text scene, and the corresponding upper level page of the first preset scene in the in-vehicle application is a login page of the K-song application. Referring to FIG. 6, the text content on the first button is “I know”. Figure 6 After the user clicks the first button, the K-song application will close the driving restriction pop-up window and return from the long text scene to the login page of the K-song application.

[0101] S10333A, generating the driving restriction pop-up window based on the first title and the first button bound with the first event.

[0102] In the present application embodiment, the first title and the first button bound with the first event can be laid out in a blank canvas to obtain the driving restriction pop-up window. It should be noted that the first style information can further include various configuration item information such as the background color, icon, picture, etc. of the driving restriction pop-up window, which will not be described in detail herein, and can be set by the user as needed.

[0103] The present application embodiment produces the driving restriction pop-up window corresponding to the preset scene through the first style information and the first operation feedback information, abstracts the user interface (UI) style and the interaction logic of the driving restriction pop-up window into configuration items and writes them into the pop-up window configuration file, which can solve the problem of too dispersed code logic in technical problem 4 and realize the differential customization of the user interface style and the interaction logic through the pop-up window configuration file.

[0104] In some embodiments, the style information further includes second style information. After step S10332A, the following operations can be further performed: first, displaying countdown information of a preset time length on the first button based on the second style information, and starting to display the driving restriction pop-up window while counting down according to the countdown information; and then, when the countdown is a first preset value, prohibiting the display of the driving restriction pop-up window and the preset scene, and returning from the preset scene to a corresponding upper level page of the preset scene in the in-vehicle application.

[0105] When the preset scene is the second preset scene, the style information in the pop-up window configuration file includes first style information and second style information. Here, for the specific implementation of generating the first title and the first button based on the first style information, refer to the description of step S10331A above, which is not repeated here. The second style information includes countdown information of a preset time length. The countdown information of the preset time length can be displayed on the first button based on the second style information. When the driving restriction pop-up window is started to be displayed, the countdown information displayed on the first button is the value of the preset time length. Then, the countdown is started from the value of the preset time length according to the countdown information, and when the countdown is the first preset value, the driving restriction pop-up window is closed, the preset scene is exited, and the preset scene is returned to the corresponding upper-level page of the in-vehicle application from the preset scene.

[0106] For example, the in-vehicle application is a video application, and the second preset scene is a video scene. Refer to Figure 7 , Figure 7 FIG. 1 is a schematic diagram of a driving restriction pop-up window displayed by a video application in a video scene according to an embodiment of the present application. At this time, the first title is “This function is disabled during driving. Please use it after parking”, and the text content on the first button is “OK (5s)”, where 5s is the preset time length of the countdown information. The first preset value is 0, and when the driving restriction pop-up window is displayed, the countdown is started from 5s, and when the countdown on the first button is 0, the driving restriction pop-up window is closed, the preset scene is exited, and the preset scene is returned to the home page or the video search page of the video application.

[0107] The embodiment of the present application realizes automatic closing of the driving restriction pop-up window and exiting of the preset scene after the countdown ends without manual operation of the user, thereby improving the safety of vehicle driving and the user experience.

[0108] In some embodiments, the style information includes third style information, and the operation feedback information includes second operation feedback information. Refer to Figure 8 , Figure 8 FIG. 1 shows the step S1033 of rendering the driving restriction pop-up window based on the style information and the operation feedback information, which can be implemented by the following steps S10331B to S10333B:

[0109] Step S10331B, generating a second title, a second button, and a third button based on the third style information.

[0110] The second title is used to remind that the target vehicle is in a driving restriction state.

[0111] Here, when the preset scene is the third preset scene, the style information in the pop-up window configuration file includes third style information, and the operation feedback information includes second operation feedback information. For the specific implementation of generating the second title, the second button and the third button based on the third style information, refer to the description of step S10331A, which is not repeated here.

[0112] For example, the vehicle-mounted application is a smart travel application, and the third preset scene is a two-dimensional code scene. Refer to Figure 9 , Figure 9 FIG. 1C is a schematic diagram of a driving restriction pop-up window displayed by a smart travel application in a two-dimensional code scene according to an embodiment of the present application. The second title is “Driving safety restriction, operate when the vehicle is stationary for your safety”, the text content on the second button is “Exit”, and the text content on the third button is “Continue”.

[0113] In step S10332B, the second event is bound to the second button, and the third event is bound to the third button based on the second operation feedback information.

[0114] The second event is to click to exit the driving restriction pop-up window and return to the corresponding upper level page of the preset scene in the vehicle-mounted application from the preset scene. The third event is to click to exit the driving restriction pop-up window and continue to load the preset scene.

[0115] Here, the second event is to trigger a click operation and feed back a scene exit request to the business layer. After the second button is bound to the second event, when the user clicks the second button, the driving restriction software development kit can feed back a scene exit request to the business layer, so that the business layer controls the vehicle-mounted application to close the driving restriction pop-up window and return to the corresponding upper level page of the preset scene in the vehicle-mounted application from the preset scene based on the scene exit request. The third event is to trigger a click operation and feed back a scene loading request to the business layer. After the third button is bound to the third event, when the user clicks the third button, the driving restriction software development kit can feed back a scene loading request to the business layer, so that the business layer controls the vehicle-mounted application to close the driving restriction pop-up window and continue to load the preset scene based on the scene loading request.

[0116] For example, the vehicle-mounted application is a smart travel application, and the third preset scene is a two-dimensional code scene. The corresponding upper level page of the third preset scene in the vehicle-mounted application is the login page of the smart travel application. Refer to Figure 9 The text content on the second button is “Exit”. After the user clicks the second button, the smart travel application will close the driving restriction pop-up window and return to the login page of the smart travel application from the two-dimensional code scene. The text content on the third button is “Continue”. After the user clicks the third button, the smart travel application will close the driving restriction pop-up window and display the two-dimensional code scene.

[0117] Step S10333B, generating the driving restriction popup window based on the second title, the second button binding the second event, and the third button binding the third event.

[0118] In the embodiments of the present application, the second title, the second button binding the second event, and the third button binding the third event can be laid out in a blank canvas to obtain the driving restriction popup window. It should be noted that the third style information can also include various configuration item information such as background color, icon, picture, etc. of the driving restriction popup window, which will not be described in detail herein, and can be set by the user as needed.

[0119] The embodiments of the present application produce the driving restriction popup window corresponding to the preset scene through the third style information and the second operation feedback information, abstract the user interface (UI) style and the interaction logic of the driving restriction popup window into configuration items and write them into the popup window configuration file, which can solve the problem of too dispersed code logic in technical problem 4, and realize the differential customization of the user interface style and the interaction logic through the popup window configuration file.

[0120] In some embodiments, the third style information can also include the text content, font color, and size of the check box. The check box is generated based on the third style information, and the check box has a logical relationship with the third button binding the third event. Only when the user checks the check box, the click operation of the third button can be triggered; otherwise, in the case where the user does not check the check box, the third button is gray and cannot be clicked.

[0121] For example, referring to Figure 9 , the text content of the check box is “I have read and known the risk”. Only when the user checks the check box, the third button “continue” can be clicked to make the intelligent travel application close the driving restriction popup window and display the two-dimensional code scene.

[0122] The embodiments of the present application set the precondition “check the check box” for enabling the third button to be clicked, which avoids the mis-touch behavior of the user causing the driving restriction to be invalid, and improves the safety of vehicle driving.

[0123] Step S104, displaying the driving restriction popup window on the in-vehicle application.

[0124] Here, after the driving restriction popup window corresponding to the preset scene is rendered, the preset scene is prohibited from being displayed, and the driving restriction popup window is displayed on the in-vehicle application.

[0125] When implementing the driving restriction function for an in-vehicle application in an embodiment of the present application, the in-vehicle application can combine the driving restriction status sent by the vehicle system and the scenario information sent by the business layer to implement the driving restriction function independently of the business layer. Compared to the related art in which the in-vehicle application reads the vehicle's speed information through the driving restriction status adaptation code and determines whether to display the driving restriction pop-up window based on the speed information and the vehicle system model, the embodiment of the present application only needs to directly obtain the driving restriction status of the target vehicle at the current moment through the vehicle system of the target vehicle. There is no need to write the driving restriction status adaptation code in the in-vehicle application, which improves the development efficiency of the driving restriction function of the in-vehicle application. In addition, the embodiment of the present application can render the driving restriction pop-up window through the pop-up configuration file corresponding to the preset scene, realize the display of the driving restriction pop-up window corresponding to the preset scene through the pop-up configuration file, realize the differentiated customization between the driving restriction pop-ups displayed by the in-vehicle application under different preset scenes, and improve the user experience.

[0126] In some embodiments, after step S104, the display control method of the in-vehicle application provided in the embodiment of the present application can also be implemented in the following manner: first, in response to the target object's interactive operation on the first button in the driving restriction pop-up window, an event trigger request is generated; then, the event trigger request is sent to the business layer; the event trigger request is used to request the business layer to control the in-vehicle application to exit the preset scene, and return from the preset scene to the previous level page corresponding to the preset scene in the in-vehicle application.

[0127] Here, the target object is a user who can interact with the in-vehicle application, such as the driver or passenger of the target vehicle. The interactive operation for the first button in the driving restriction pop-up window can be clicking the first button, long pressing the first button, or triggering the first button operation through a voice command, etc.

[0128] by Figure 6 For example, in the case of a driving restriction pop-up window in an audio playback application in a long text scenario, the user can click the first button "I understand". In response to the click operation, the driving restriction software development kit of the in-vehicle application closes the driving restriction pop-up window and generates an event trigger request. The driving restriction software development kit sends the event trigger request to the business layer. Based on the event trigger request, the business layer can control the in-vehicle application to exit the preset scene and return to the previous page corresponding to the preset scene in the audio playback application: the login page. Alternatively, the user can trigger the first button by saying the voice command "I understand", so that the driving restriction software development kit of the in-vehicle application responds to the voice interaction operation, closes the driving restriction pop-up window and generates an event trigger request.

[0129] The embodiment of the present application detects the operation events of the driving restriction pop-up window in real time through the business layer, thereby completing the business interaction logic and improving the user experience.

[0130] In some embodiments, after step S104, the display control method of the in-vehicle application provided in the embodiments of the present application can also be implemented in the following manner: first, in response to an interactive operation on the scene interface of the preset scene, an exit scene request is generated; then, the exit scene request is sent to the service layer; the exit scene request is used to request the service layer to control the in-vehicle application to exit the preset scene and return to the corresponding upper-level page of the preset scene in the in-vehicle application from the preset scene.

[0131] Here, the scene interface of the preset scene is the display screen of the in-vehicle application after the driving restriction pop-up window is displayed. The size of the scene interface of the preset scene is the same as the size of the display screen of the in-vehicle terminal where the in-vehicle application is located. The interactive operation on the scene interface of the preset scene by the target object can be a click operation, a sliding operation, etc. The driving restriction software development kit of the in-vehicle application closes the driving restriction pop-up window and generates an exit scene request in response to the interactive operation on the scene interface of the preset scene. The driving restriction software development kit sends the exit scene request to the service layer. The service layer can control the in-vehicle application to exit the preset scene and return to the corresponding upper-level page of the preset scene in the in-vehicle application based on the exit scene request.

[0132] For example, in the case of the driving restriction pop-up window of the video application in the video scene, the user can perform a click operation on any position of the scene interface displayed by the video application. The video application closes the driving restriction pop-up window and returns to the home page of the video application in response to the click operation. Figure 7

[0133] The embodiments of the present application can realize the exit of the preset scene by the interactive operation on the scene interface of the in-vehicle application, without the need for the user to click a fixed position, thereby improving the user experience.

[0134] In some embodiments, after step S104, the display control method of the in-vehicle application provided in the embodiments of the present application can also be implemented in the following manner: first, the text displayed in the driving restriction pop-up window is obtained; the text is converted into a prompt voice, and the prompt voice corresponding to the text is played; then, after the prompt voice is played, an exit scene request is generated; finally, the exit scene request is sent to the service layer; the exit scene request is used to request the service layer to control the in-vehicle application to exit the preset scene and return to the corresponding upper-level page of the preset scene in the in-vehicle application from the preset scene.

[0135] For example, in the case of the driving restriction pop-up window of the video application in the video scene, the user can perform a click operation on any position of the scene interface displayed by the video application. The video application closes the driving restriction pop-up window and returns to the home page of the video application in response to the click operation. Figure 9 ​Taking the driving restriction pop-up window displayed by the intelligent travel application in the two-dimensional code scene as an example, the text "driving safety restriction, for your safety, operate when the vehicle is stationary" in the second title of the driving restriction pop-up window can be obtained. The text is converted into a prompt voice, and the prompt voice corresponding to the text is played. The manner of voice playing is not limited in the embodiments of the present application, and the voice can be played through the sound system of the vehicle machine system or through the Bluetooth earphone. After the prompt voice "driving safety restriction, for your safety, operate when the vehicle is stationary" is played, the driving restriction software development kit of the intelligent travel application can generate an exit scene request; the driving restriction software development kit of the intelligent travel application sends the exit scene request to the business layer; and the business layer controls the intelligent travel application to exit the two-dimensional code scene and return to the login page of the intelligent travel application based on the exit scene request.

[0136] The embodiments of the present application remind the user of the driving restriction through the automatic voice playing manner, and the user can automatically exit the preset scene and return to the corresponding upper level page of the preset scene in the vehicle application without operation, thereby improving the user experience.

[0137] In some embodiments, after step S104, the display control method of the vehicle application provided by the embodiments of the present application can also be implemented in the following manner: first, the target driving restriction state of the target vehicle at each time in the time period after the current time is continuously obtained from the vehicle machine system; then, when the duration of the target driving restriction state in the inactive state is greater than the duration threshold, a reminder window is displayed on the vehicle application; the reminder window is used to remind to re-enter the preset scene; then, in response to the confirmation operation on the reminder window, a scene entering request is generated; finally, the scene entering request is sent to the business layer; the scene entering request is used to request the business layer to control the vehicle application to enter the preset scene.

[0138] Here, after the in-vehicle application displays the driving restriction pop-up window, the user interacts, the countdown ends, or the voice announcement ends, and the user returns to the previous page corresponding to the preset scenario in the in-vehicle application. The in-vehicle application's driving restriction software development kit can continuously obtain the target driving restriction status of the target vehicle at each moment in a time period after the current moment from the vehicle system. This embodiment of the application does not limit the length of the time period or the interval between each moment; for example, the time period can be 1 hour, and the interval between each moment can be 10 minutes. When the cumulative duration of the target driving restriction status at multiple consecutive moments being inactive exceeds a time threshold, a reminder window is displayed in the in-vehicle application. This embodiment of the application does not limit the value of the time threshold and can be set according to actual needs. The reminder window can include text asking the user whether to reload the preset scenario, as well as buttons for confirming and rejecting the reload. The user can click the confirm reload button, causing the in-vehicle application's driving restriction software development kit to generate a scenario entry request in response to the confirmation action in the reminder window. The driving restriction software development kit for the in-vehicle application sends a scene entry request to the business layer. Based on the scene entry request, the business layer controls the in-vehicle application to enter the preset scene.

[0139] For example, Figure 7 For example, the driving restriction pop-up window of the video application in the video scene is displayed in the scene of playing video A. After closing the driving restriction pop-up window, the driving restriction software development kit of the in-vehicle application can obtain the target driving restriction status of the target vehicle from the vehicle system every 5 minutes. If the duration threshold is 15 minutes, and the target driving restriction status obtained by the in-vehicle application driving restriction software development kit from the vehicle system for four consecutive times is in an inactive state, then the cumulative duration of the target driving restriction status at multiple moments being in an inactive state is 20 minutes, which is greater than the duration threshold of 15 minutes. A reminder window is generated and displayed on the in-vehicle application. After the user clicks the confirmation button in the reminder window, the in-vehicle application can reload the previous video scene and play video A.

[0140] The embodiment of the present application continuously obtains the target driving restriction status of the target vehicle. When the time when the target driving restriction status is in an inactive state is greater than a time threshold, it determines that the target vehicle is already in a safe scene. Through a reminder window, the user is prompted to confirm whether to reload the previous preset scene, thereby adding a scene memory function, saving the user time in re-finding the scene, and improving the user experience.

[0141] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.

[0142] The embodiment of the present application provides a display control method of a vehicle-mounted application, which can be applied to any vehicle-mounted application, and can provide a brand-new common driving restriction solution for all vehicle-mounted applications, realizes that the driving restriction can be customized through a configuration file (corresponding to the pop-up window configuration file in the above embodiment) without modifying the source code, unifies the implementation modes of various vehicle-mounted applications into a driving restriction software development kit (TDR SDK), the driving restriction software development kit can be quickly migrated in various vehicle-mounted applications and keep the same implementation effect, and a communication protocol of a driving restriction state is defined, the application layer (vehicle-mounted application) and the system adaptation layer (adaptation layer of the vehicle machine system) are isolated, the differences of various vehicle machine platforms (vehicle machine systems) are shielded, and the vehicle-mounted application does not need to pay attention to the driving restriction state adaptation logic of various vehicle machine platforms.

[0143] Referring to Figure 10 , Figure 10 An architecture schematic diagram of the display control method of the vehicle-mounted application is provided for the embodiment of the present application. A driving restriction software development kit 501 (TDR SDK) and a business layer 502 are integrated in the vehicle-mounted application 500, and the driving restriction software development kit 501 realizes the function of driving restriction independently of the business layer 502. The vehicle machine system 600 of the vehicle includes an adaptation layer 601, the adaptation layer 601 transmits the driving restriction state (activation or inactivation) of the vehicle to the driving restriction software development kit 501 in the vehicle-mounted application 500 through an adaptation driving restriction state interface. The driving restriction state of the vehicle is activated, which means that the driving restriction needs to be performed on the vehicle-mounted application at this time, and the driving restriction state of the vehicle is inactivated, which means that the driving restriction does not need to be performed on the vehicle-mounted application at this time. The business layer 502 in the vehicle-mounted application needs to transmit scene information to the driving restriction software development kit 501, including the type (video, two-dimensional code, long text scene, etc.) and the action (entering or exiting the scene), and the business layer 502 also needs to register the pop-up window operation event detection to the driving restriction software development kit 501, so as to complete the business interaction logic, for example, the user clicks a button of a certain exit (Exit) type of the pop-up window (corresponding to the driving restriction pop-up window in the above embodiment), and the business layer 502 will receive an exit event notification (corresponding to the event triggering request in the above embodiment), and the business layer 502 can respond, for example, exiting the current scene. The driving restriction software development kit 501 mainly includes the loading and analysis of the configuration (corresponding to the pop-up window configuration file in the above embodiment), the scene information and the driving restriction state management and the user interface (UI) drawing, and the display of the driving restriction pop-up window is controlled through the comprehensive judgment logic of the three conditions of the scene information, the driving restriction state adaptation information and the configuration.

[0144] In various vehicle-mounted applications, multiple business scenes (corresponding to the preset scenes in the above embodiment) will trigger the driving restriction. Referring to Figure 11The driving restriction software development kit defines the driving restriction scene as three types, including a video, a two-dimensional code and a long text. The driving restriction software development kit can unify the implementation mode and effect under the same scene, and support the differentiated configuration between different scenes. For example, refer to Figure 6 When the in-vehicle application is an audio playing application (such as a K song application), the business scene can be a long text scene, and the audio playing application displays the driving restriction pop-up box in the long text scene. For example, refer to Figure 7 When the in-vehicle application is a video application, the business scene can be a video scene, and the video application displays the driving restriction pop-up box in the video scene. For example, refer to Figure 9 When the in-vehicle application is a smart travel application, the business scene can be a two-dimensional code scene, and the smart travel application displays the driving restriction pop-up box in the two-dimensional code scene.

[0145] In an actual project, the configuration can be performed in different scenes (video, two-dimensional code and long text), and the separately configurable contents of each scene include whether to enable (isEnable), size and position, style, picture resource, button countdown, positive and negative feedback operation and the like. For example, the pop-up box configuration item in the configuration file can include a scene configuration item (such as a video scene driving control pop-up box, videoDrivingControlDialogDoc), a scene total switch configuration item (isEnable, used for configuring whether the pop-up box of the scene is effective), a response action type configuration item (cancelAcation, used for configuring the response action type of clicking the area outside the pop-up box or pressing the back key), a layout background color configuration item (layoutBackgroundColor, used for configuring the background color of the mask layer), a pop-up box width configuration item (containerWidth, used for configuring the width of the pop-up box), a title text configuration item (titleText, used for configuring the text of the title of the pop-up box, and if it is empty, the title is not displayed), an icon file name configuration item (iconSrcName, used for configuring the icon picture file name), and a left button text configuration item (leftButtonText, used for configuring the text of the left button, and if it is empty, the button is not displayed). Figure 12 The schematic diagram of the pop-up box configuration item provided by the embodiments of the present application shows the maximum set of various types of elements that can be configured. For example, Figure 12In the configuration file corresponding to the pop-up box configuration item, the value of the video scene total switch configuration item (isEnable) is true, the scene takes effect; the value of the response action type configuration item (cancelAcation) is "exit", and the pop-up box is closed by clicking the exit key; the value of the pop-up box width configuration item (containerWidth) is 450, so the width of the pop-up box is 450; the value of the title text configuration item (titleText) is "driving safety restriction, for your safety, please park the vehicle before playing the video", the value of the check box (checkBox) configuration item is "I have read and know the risk", the value of the left button text configuration item (leftButtonText) is "exit playing", and the value of the right button text configuration item (rightButtonText) is "continue playing".

[0146] The driving restriction triggering state is abstracted by the embodiment of the application, and an adaptation layer is given to the vehicle factory (development engineers of the vehicle system) for adaptation. Each vehicle factory adapts according to the vehicle speed, gear and other conditions according to its own needs, and is compatible with the differences between different vehicle factories. The vehicle application only needs to receive the information about whether the driving restriction is in the active state transmitted by the adaptation layer. The embodiment of the application summarizes and defines the scenes in which the vehicle application can realize driving restriction, and obtains three types of scenes: video, two-dimensional code and long text. The user interface (UI) style and interaction logic of the prompt pop-up box are abstracted into configuration items, and are listed according to the scenes. The pop-up box configuration is parsed and rendered in the driving restriction software development kit component, and finally the configurable driving restriction effect is realized. The embodiment of the application encapsulates the driving restriction function into a separate driving restriction software development kit component, and all vehicle applications can integrate the driving restriction software development kit component. The driving restriction logic and the business logic are separated, and the consistency of the driving restriction effect between different applications is ensured.

[0147] The embodiments of the present application decouple the service logic from the driving restriction logic and the platform adaptation of the driving restriction state, and separately extract a layer for the platform adaptation of the driving restriction logic and the platform adaptation of the driving restriction state, which are not coupled with each other. After stripping the platform adaptation of the driving restriction state and abstracting the user interface (UI) style and the interaction logic of the prompt pop-up box into a configuration item, the vehicle-mounted application does not need to maintain complex branches for different platforms, the service logic is developed based on a unified interface layer, and only needs to obtain whether the driving restriction is in a triggered state through the interface, the user interface (UI) style and the interaction logic are customized through configuration, and the vehicle-mounted application only needs to maintain one copy of the service code, and can be compatible with different platforms. The scenarios (video, two-dimensional code, and long text) in which the vehicle-mounted application can implement the driving restriction are summarized and defined, and the logic judgment and the user interface (UI) display are uniformly performed in the driving restriction software development kit component. Different scenarios and even applications are reused, and logic duplication is avoided. The driving restriction function is packaged into a separate driving restriction software development kit, and all the logic is concentrated in the driving restriction software development kit. All vehicle-mounted applications can integrate the driving restriction software development kit component, and the user interface style and the interaction logic of the prompt pop-up box are abstracted into a configuration item, which separates the driving restriction logic from the service logic and ensures the consistency of the driving restriction effect in different applications.

[0148] The embodiments of the present application implement the logic of the driving restriction in the manner of extracting a separate driving restriction software development kit component. It should be noted that, in actual application, a similar logic can also be implemented in the manner of not extracting the driving restriction software development kit component. The communication between the vehicle-mounted application and the vehicle machine system in the embodiments of the present application adopts the Android Interface Definition Language (AIDL) mode of the Android standard to implement cross-process communication and transfer the vehicle driving restriction state information. The core is to isolate the application layer and the system adaptation layer, and the application layer only receives the state value of whether the driving restriction state is activated, and shields the differences of different vehicle machine platforms. It should be noted that, in addition to using AIDL, the above communication mode can also use other modes, such as the broadcast mode of Android.

[0149] It can be understood that, in the embodiments of the present application, the data related to the user information is involved. When the embodiments of the present application are applied to specific products or technologies, the user permission or consent needs to be obtained, and the collection, use, and processing of the related data need to comply with the relevant laws, regulations, and standards of the country and region.

[0150] The following continues to describe an example structure of the display control device 455 of the vehicle-mounted application provided by the embodiments of the present application as a software module. In some embodiments, as shown in FIG. 4, the display control device 455 of the vehicle-mounted application includes a driving restriction logic module 451, a driving restriction state module 452, a driving restriction UI module 453, and a driving restriction SDK module 454. Figure 2As shown, the software modules stored in the display control apparatus 455 of the in-vehicle application of the memory 450 can include: an information acquisition module 4551, configured to acquire a driving restriction state of a target vehicle at a current time from a head unit system of the target vehicle, and acquire scene information from a service layer of the in-vehicle application of the target vehicle; a configuration file acquisition module 4552, configured to acquire a pop-up window configuration file corresponding to a preset scene when the driving restriction state is an active state and the scene information is entering the preset scene; a rendering module 4553, configured to render a driving restriction pop-up window based on the pop-up window configuration file; and a pop-up window display module 4554, configured to display the driving restriction pop-up window on the in-vehicle application.

[0151] In some embodiments, the display control apparatus 455 of the in-vehicle application further includes a running module, configured to run the in-vehicle application when the driving restriction state is an inactive state, or the scene information is not entering the preset scene.

[0152] In some embodiments, the rendering module 4553 is further configured to acquire a scene restriction state from the pop-up window configuration file; when the scene restriction state is an open state, acquire style information and operation feedback information from the pop-up window configuration file; and render the driving restriction pop-up window based on the style information and the operation feedback information.

[0153] In some embodiments, the style information includes first style information, and the operation feedback information includes first operation feedback information; the rendering module 4553 is further configured to generate a first title and a first button based on the first style information; the first title is used to remind the target vehicle of being in the driving restriction state; bind a first event to the first button based on the first operation feedback information; the first event is clicking to exit the driving restriction pop-up window and return from the preset scene to a corresponding previous page of the preset scene in the in-vehicle application; and generate the driving restriction pop-up window based on the first title and the first button with the first event bound.

[0154] In some embodiments, the style information further includes second style information, and the rendering module 4553 is further configured to display countdown information of a preset time length on the first button based on the second style information, and start counting down according to the countdown information when the driving restriction pop-up window is displayed; when the countdown is a first preset value, prohibit displaying the driving restriction pop-up window and the preset scene, and return from the preset scene to the corresponding previous page of the preset scene in the in-vehicle application.

[0155] In some embodiments, the style information includes third style information, and the operation feedback information includes second operation feedback information; the rendering module 4553 is further configured to generate a second title, a second button and a third button based on the third style information; the second title is used to remind the target vehicle to be in the driving restriction state; the second operation feedback information is used to bind a second event to the second button and bind a third event to the third button; the second event is used to click to exit the driving restriction pop-up window and return to a corresponding previous page of the preset scene in the vehicle-mounted application from the preset scene; the third event is used to click to exit the driving restriction pop-up window and continue to load the preset scene; and the driving restriction pop-up window is generated based on the second title, the second button with the bound second event and the third button with the bound third event.

[0156] In some embodiments, the display control apparatus 455 of the vehicle-mounted application further includes an event triggering module configured to generate an event triggering request in response to an interactive operation of the target object on the first button in the driving restriction pop-up window; and send the event triggering request to the service layer; the event triggering request is used to request the service layer to control the vehicle-mounted application to exit the preset scene and return to a corresponding previous page of the preset scene in the vehicle-mounted application from the preset scene.

[0157] In some embodiments, the event triggering module is further configured to generate an exit scene request in response to an interactive operation on a scene interface of the preset scene; and send the exit scene request to the service layer; the exit scene request is used to request the service layer to control the vehicle-mounted application to exit the preset scene and return to a corresponding previous page of the preset scene in the vehicle-mounted application from the preset scene.

[0158] In some embodiments, the display control apparatus 455 of the vehicle-mounted application further includes a voice module configured to acquire text displayed in the driving restriction pop-up window; convert the text into a prompt voice and play the prompt voice corresponding to the text; generate an exit scene request after the prompt voice is played; and send the exit scene request to the service layer; the exit scene request is used to request the service layer to control the vehicle-mounted application to exit the preset scene and return to a corresponding previous page of the preset scene in the vehicle-mounted application from the preset scene.

[0159] In some embodiments, the display control apparatus 455 of the vehicle-mounted application further includes a memory module configured to continuously acquire a target driving restriction state of the target vehicle at each time point in a time period after a current time point from the vehicle machine system; display a reminder window on the vehicle-mounted application when a duration of the target driving restriction state being in an inactivated state is greater than a duration threshold; the reminder window is used to remind to re-enter the preset scene; generate a scene entry request in response to a confirmation operation on the reminder window; and send the scene entry request to the service layer; the scene entry request is used to request the service layer to control the vehicle-mounted application to enter the preset scene.

[0160] The embodiment of the present application provides a computer program product, which comprises a computer program or computer executable instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer executable instructions from the computer readable storage medium, and the processor executes the computer executable instructions, so that the electronic device executes the display control method of the vehicle-mounted application provided by the embodiment of the present application.

[0161] The embodiment of the present application provides a computer readable storage medium, which stores computer executable instructions or computer programs. When the computer executable instructions or computer programs are executed by a processor, the processor executes the display control method of the vehicle-mounted application provided by the embodiment of the present application, for example, as shown in the display control method of the vehicle-mounted application. Figure 3

[0162] In some embodiments, the computer readable storage medium can be RAM, ROM, flash memory, magnetic surface memory, optical disc, or CD-ROM memory, etc. It can also be various devices including one or any combination of the above storage.

[0163] In some embodiments, the computer executable instructions can be in the form of programs, software, software modules, scripts or codes, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and can be deployed in any form, including being deployed as independent programs or being deployed as modules, components, subroutines or other units suitable for use in a computing environment.

[0164] As an example, the computer executable instructions can but not necessarily correspond to files in a file system, can be stored in a part of a file storing other programs or data, for example, stored in one or more scripts in a Hyper Text Markup Language (HTML) document, stored in a single file dedicated to the program in question, or stored in multiple cooperative files (for example, files storing one or more modules, subroutines or code parts).

[0165] As an example, the computer executable instructions can be deployed to execute on one electronic device, or on multiple electronic devices located in one place, or on multiple electronic devices distributed in multiple places and interconnected through a communication network.

[0166] ​In summary, the embodiment of the present application provides a new general driving restriction solution for all vehicle-mounted applications, defines a communication protocol of the driving restriction state, isolates the application layer and the system adaptation layer, and shields the differences between various vehicle system. The vehicle-mounted application does not need to pay attention to the driving restriction state adaptation logic of each platform, thereby improving the development efficiency of the driving restriction function of the vehicle-mounted application. The driving restriction can be customized through a pop-up configuration file without modifying the source code, different driving restriction effects can be achieved for different preset scenes, and the user experience is improved. The implementation of each vehicle-mounted application is unified, and each vehicle-mounted application can be quickly migrated and keep the same implementation effect.

[0167] The above merely describes the embodiments of the present application, but is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, and improvement within the spirit and scope of the present application shall be included in the protection scope of the present application.

Claims

1. A display control method for an in-vehicle application, characterized in that: The method comprises: Obtaining the driving restriction status of the target vehicle at the current moment from the vehicle-mounted system of the target vehicle, and obtaining scenario information from the business layer of the vehicle-mounted application of the target vehicle; When the driving restriction state is activated and the scene information is entering a preset scene, obtaining a pop-up configuration file corresponding to the preset scene; Rendering a driving restriction pop-up window based on the pop-up window configuration file; The driving restriction pop-up window is displayed on the in-vehicle application.

2. The method according to claim 1, characterized in that The method further comprises: When the driving restriction state is in an inactive state, or the scene information indicates that the vehicle has not entered the preset scene, the in-vehicle application is run.

3. The method according to claim 1, characterized in that The rendering of the driving restriction pop-up window based on the pop-up window configuration file includes: Obtaining the scene restriction status from the pop-up configuration file; When the scene restriction state is on, obtaining style information and operation feedback information from the pop-up configuration file; The driving restriction pop-up window is rendered based on the style information and the operation feedback information.

4. The method according to claim 3, characterized in that The style information includes first style information, and the operation feedback information includes first operation feedback information; The rendering of the driving restriction pop-up window based on the style information and the operation feedback information includes: Generate a first title and a first button based on the first style information; the first title is used to remind the target vehicle that it is in a driving restriction state; Binding a first event to the first button based on the first operation feedback information; the first event is clicking to exit the driving restriction pop-up window and return from the preset scene to the previous page corresponding to the preset scene in the in-vehicle application; The driving restriction pop-up window is generated based on the first title and the first button bound to the first event.

5. The method according to claim 4, characterized in that The style information further includes second style information, and the method further includes: Displaying countdown information of a preset time length on the first button based on the second style information, and counting down according to the countdown information while starting to display the driving restriction pop-up window; When the countdown reaches a first preset value, the driving restriction pop-up window and the preset scene are prohibited from being displayed, and the user returns from the preset scene to the upper level page corresponding to the preset scene in the in-vehicle application.

6. The method according to claim 3, characterized in that The style information includes third style information, and the operation feedback information includes second operation feedback information; The rendering of the driving restriction pop-up window based on the style information and the operation feedback information includes: Generate a second title, a second button, and a third button based on the third style information; the second title is used to remind the target vehicle that it is in a driving restriction state; Based on the second operation feedback information, a second event is bound to the second button, and a third event is bound to the third button; the second event is clicking to exit the driving restriction pop-up window and return from the preset scene to the previous level page corresponding to the preset scene in the in-vehicle application; the third event is clicking to exit the driving restriction pop-up window and continue loading the preset scene; The driving restriction pop-up window is generated based on the second title, the second button bound to the second event, and the third button bound to the third event.

7. The method according to claim 4, characterized in that After displaying the driving restriction pop-up window on the in-vehicle application, the method further includes: generating an event triggering request in response to an interactive operation of a target object on the first button in the driving restriction pop-up window; The event trigger request is sent to the business layer; the event trigger request is used to request the business layer to control the in-vehicle application to exit the preset scene and return from the preset scene to the previous level page corresponding to the preset scene in the in-vehicle application.

8. The method according to any one of claims 1 to 7, characterized in that: After displaying the driving restriction pop-up window on the in-vehicle application, the method further includes: In response to an interactive operation on the scene interface of the preset scene, generating a scene exit request; The exit scene request is sent to the business layer; the exit scene request is used to request the business layer to control the in-vehicle application to exit the preset scene and return from the preset scene to the previous level page corresponding to the preset scene in the in-vehicle application.

9. The method according to any one of claims 1 to 7, characterized in that: After displaying the driving restriction pop-up window on the in-vehicle application, the method further includes: Get the text displayed in the driving restriction pop-up window; Convert the text into a prompt voice, and play the prompt voice corresponding to the text; After the prompt voice is played, generating an exit scene request; The exit scene request is sent to the business layer; the exit scene request is used to request the business layer to control the in-vehicle application to exit the preset scene and return from the preset scene to the previous level page corresponding to the preset scene in the in-vehicle application.

10. The method according to any one of claims 1 to 7, characterized in that: After displaying the driving restriction pop-up window on the in-vehicle application, the method further includes: Continuously obtaining from the vehicle computer system the target driving restriction state of the target vehicle at each moment in a time period after the current moment; When the target driving restriction state is in an inactive state for a period longer than a time threshold, a reminder window is displayed on the in-vehicle application; the reminder window is used to remind the user to re-enter the preset scene; In response to a confirmation operation on the reminder window, generating a scene entry request; The scene entry request is sent to the business layer; the scene entry request is used to request the business layer to control the in-vehicle application to enter the preset scene.

11. A display control device for vehicle-mounted applications, characterized in that: The device comprises: An information acquisition module, configured to obtain the target vehicle's current driving restriction status from the vehicle-mounted system of the target vehicle, and to obtain scenario information from the service layer of the vehicle-mounted application of the target vehicle; A configuration file acquisition module, configured to, when the driving restriction state is activated and the scene information is about entering a preset scene, acquire a pop-up configuration file corresponding to the preset scene; A rendering module, configured to render a driving restriction pop-up window based on the pop-up window configuration file; A pop-up display module is used to display the driving restriction pop-up window on the in-vehicle application.

12. An electronic device, characterized in that: The electronic device comprises: a memory for storing computer executable instructions or computer programs; The processor is configured to implement the display control method for an in-vehicle application according to any one of claims 1 to 10 when executing the computer executable instructions or computer program stored in the memory.

13. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that: When the computer executable instructions or computer program are executed by a processor, the display control method for an in-vehicle application according to any one of claims 1 to 10 is implemented.

14. A computer program product comprising computer executable instructions or a computer program, characterized in that When the computer executable instructions or computer program are executed by a processor, the display control method for an in-vehicle application according to any one of claims 1 to 10 is implemented.