Display method and device, vehicle and storage medium
By detecting the application type and determining the window pattern using information such as metadata tags, the problem of mismatch on mobile applications on the car computer is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202410971758.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-11-12
AI Technical Summary
The mobile application cannot display the active page normally on the display screen of the car computer, mainly because the vertical screen design does not match the horizontal screen design of the car computer application, resulting in a degradation of the user experience.
By detecting the application type of the target application, determining its window pattern, and using appropriate processing strategies to display the active page on the vehicle display, including matching the best window using metadata tags, target display identifiers, task stacks and window configuration information. model.
It realizes the best window mode display of the activity page on the car computer display screen, improves the user experience, and is suitable for different types of applications, including self-developed and third-party applications.
Smart Images

Figure CN118928026A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle computer technology, and more specifically, to a display method, device, vehicle and storage medium in the field of vehicle computer technology. Background Art
[0002] At present, with the integration of smart cars and smart phones, the application of car computers in the vehicle field is becoming more and more extensive. Car computers mainly refer to electronic devices installed inside the car, which are mainly used to provide functions such as navigation, multimedia playback, communication, and vehicle information display. The continuous development and improvement of car computers have improved the driving experience and driving safety. Related technologies can realize the intercommunication between third-party applications (such as mobile phone applications) and car computer applications.
[0003] However, the solutions provided by the related technologies still have some problems. For example, most mobile phone applications are designed in vertical screen on the display screen, while most of the applications built into the vehicle computer are designed in horizontal screen on the display screen, which will cause the mobile phone application to be unable to display the active page normally on the display screen of the vehicle computer.
[0004] Therefore, it is urgent to solve the problem that the activity page cannot be displayed normally on the display screen of the car computer. Summary of the invention
[0005] The present application provides a display method, device, vehicle and storage medium, which can realize the display of active pages in an optimal window mode on the display screen of a vehicle computer to improve the user experience.
[0006] In a first aspect, a display method is provided, the method comprising: if it is detected that a first activity page is started on a display screen of a vehicle computer, determining a target application corresponding to the first activity page; according to the target application, determining an application type of the target application; according to the application type of the target application, determining a target window mode of the first activity page; according to the target window mode, displaying the first activity page on the display screen.
[0007] In an embodiment of the present application, if it is detected that the first active page is started on the display screen of the vehicle computer, the target application corresponding to the first active page is determined, and the application type of the target application is determined based on the target application, so that it can be determined whether the target application is a third-party application or an application that comes with the vehicle computer; then, based on the application type of the target application, the target window mode of the first active page is determined, so that different processing strategies can be used to determine the target window mode of the first active page for different application types; thereafter, based on the target window mode, the first active page is displayed on the display screen, thereby achieving automatic matching of the first active page to the target window mode, and displaying it in the optimal window mode on the display screen of the vehicle computer, thereby improving the user experience.
[0008] In combination with the first aspect, in certain implementations of the first aspect, the target window mode of the first active page is determined according to the application type of the target application, including: if the application type of the target application is a first application type, the target window mode is determined according to a metadata tag of the target application; wherein the target metadata tag is used to indicate the window mode of the target application; if the application type of the target application is a second application type, the target window mode is determined according to a target display identifier of the target application; wherein the second application type is a third-party application, and the target display identifier is used to indicate a display direction of the first active page on the display screen.
[0009] In the embodiment of the present application, by classifying the application types, the application type corresponding to the target application is found, so that the target window mode of the target application can be determined in a targeted manner.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the target window mode is determined according to the metadata tag of the target application, including: if the target metadata tag indicates a preset window mode, determining the target window mode as the preset window mode; wherein the preset window mode is a free window mode or a full-screen window mode; if the target metadata tag indicates at least two preset window modes, determining the target window mode according to the identifier of the first active page.
[0011] In the embodiment of the present application, by determining the target metadata tag in the target application of the first application type, the target window mode of the target application can be determined quickly and accurately.
[0012] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, determining the target window mode according to the identifier of the first active page includes: obtaining at least one task stack; wherein the task stack carries the window mode corresponding to the task stack; determining whether there is a target task stack in at least one task stack according to the identifier of the first active page; wherein the target task stack includes the identifier of the first active page; if there is a target task stack, determining the target window mode to be the window mode corresponding to the target task stack; if there is no target task stack, determining the target window mode according to the target information of the vehicle computer; wherein the target information is used to indicate the window mode of the first active page.
[0013] In the embodiment of the present application, the target window mode of the target application type can be quickly determined through the target task stack.
[0014] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, before determining the target window mode based on the target information of the vehicle computer, the method also includes: if the second active page is displayed on the display screen, the window configuration information corresponding to the application of the second active page is determined as the target information; wherein the second active page is displayed on the display screen before the first active page is started; the window configuration information is used to indicate the window mode of the first active page; if the second active page is not displayed on the display screen, the pre-configured window mode is determined as the target information.
[0015] In the embodiment of the present application, the target window mode is determined by judging whether the second active page exists, so that the accuracy of acquiring the target window mode can be improved.
[0016] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, before determining the target window mode according to the metadata tag of the target application, the method provided by the embodiment of the present application also includes: obtaining the target metadata tag from the target container according to the identifier of the target application; wherein the target container is used to store the metadata tags of applications belonging to the first application type.
[0017] In the embodiment of the present application, the target metadata tag can be easily obtained through the target container, and the speed of obtaining the target metadata tag can be improved.
[0018] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the target window mode is determined according to the target display identifier of the target application, including: according to a preset mapping relationship, determining the target window mode as the window mode corresponding to the target display identifier; wherein the preset mapping relationship is used to represent the mapping relationship between the display identifier and the window mode; and the multiple display identifiers include a vertical screen identifier or a horizontal screen identifier.
[0019] In the embodiment of the present application, the target window mode corresponding to the target application program of the second application type can be accurately matched through the preset mapping relationship.
[0020] In a second aspect, a display device is provided, which includes: a determination module, which is used to determine a target application corresponding to the first activity page if it is detected that the first activity page is started on the display screen of the vehicle computer; the determination module is also used to determine the application type of the target application based on the target application; the determination module is also used to determine the target window mode of the first activity page based on the application type of the target application; and a display module is used to display the first activity page on the display screen according to the target window mode.
[0021] In a possible implementation, the determination module is further configured to determine the target window mode according to a metadata tag of the target application if the application type of the target application is the first application type;
[0022] In one possible implementation, the determination module is also used to determine the target window mode according to the target display identifier of the target application if the application type of the target application is a second application type; wherein the second application type is a third-party application, and the target display identifier is used to indicate the display direction of the first active page on the display screen.
[0023] In a possible implementation, the determination module is further used to determine that the target window mode is a preset window mode if the target metadata tag indicates a preset window mode; wherein the preset window mode is a free window mode or a full-screen window mode; if the target metadata tag indicates at least two preset window modes, determine the target window mode according to the identifier of the first active page.
[0024] In a possible implementation, the device further includes an acquisition module, configured to acquire at least one task stack; wherein the task stack carries a window mode corresponding to the task stack.
[0025] In a possible implementation, the determination module is also used to determine whether there is a target task stack in at least one task stack based on the identifier of the first active page; wherein the target task stack includes the identifier of the first active page; if there is a target task stack, determine the target window mode to be the window mode corresponding to the target task stack; if there is no target task stack, determine the target window mode based on the target information; wherein the target information is used to indicate the window mode of the first active page.
[0026] In one possible implementation, the determination module is also used to determine the window configuration information corresponding to the application of the second active page as the target information if the second active page is displayed on the display screen; wherein the second active page is displayed on the display screen before the first active page is started; the window configuration information is used to indicate the window mode of the first active page; if the second active page is not displayed on the display screen, the preconfigured window mode is determined as the target information.
[0027] In a possible implementation, the acquisition module is further used to acquire a target metadata tag from a target container according to an identifier of the target application; wherein the target container is used to store metadata tags of applications belonging to the first application type.
[0028] In a possible implementation, the determination module is also used to determine the target window mode as the window mode corresponding to the target display identifier based on a preset mapping relationship; wherein the preset mapping relationship is used to represent the mapping relationship between the identifier and the window mode; and the multiple identifiers include a vertical screen identifier or a horizontal screen identifier.
[0029] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.
[0030] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0031] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a schematic diagram of a scenario provided by an embodiment of the present application;
[0033] Figure 2 It is a schematic diagram of a scene in a related technology provided by an embodiment of the present application;
[0034] Figure 3 This is a schematic diagram of a vehicle machine provided in an embodiment of the present application;
[0035] Figure 4 It is a flow chart of a display method provided in an embodiment of the present application;
[0036] Figure 5 This is a schematic diagram of a scenario for detecting the launch of an activity page provided in an embodiment of the present application;
[0037] Figure 6 is a schematic diagram of a window mode provided in an embodiment of the present application;
[0038] Figure 7 This is a schematic diagram of a page display scenario provided by an embodiment of the present application;
[0039] Figure 8 It is a schematic diagram of a specific implementation of a display method provided in an embodiment of the present application;
[0040] Fig. 9 is a structural schematic diagram of a display device provided in an embodiment of the present application;
[0041] Fig.10 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0043] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0044] Before introducing the embodiments of the present application, the relevant terms involved in the present application are first explained as follows:
[0045] (1) Application (App): A software designed to run on electronic devices (such as mobile phones and car computers) to perform specific tasks and operations.
[0046] (2) Activity: In an application, an activity is the basic unit of the user interface and is responsible for managing the interactive session with the user. An application may include multiple activity pages. An activity page can provide an interactive interface for users to perform certain operations, such as making a call, taking a photo, sending an email, or viewing a map.
[0047] (3) Third-Party Applications: usually refers to software written by developers or companies other than device manufacturers or system providers. These applications are not built-in to the device, but are downloaded and installed by users as needed. For example, mobile phone applications installed on the car computer are third-party applications; or applications from other car computer manufacturers can also be called third-party applications.
[0048] (4) Self-developed applications: self-developed applications. The content of self-developed applications can be determined according to the needs of the developer. For example, a target tag can be added to a self-developed application so that the function indicated by the target tag can be realized before and after the application is installed on the vehicle computer.
[0049] (5) Windowing Mode: A concept related to window management, mainly involving the presentation and multitasking of applications. It defines how the application window is displayed on the display screen, affecting the application layout, interaction, and coexistence with other applications. It includes the following windowing modes:
[0050] (a) Free form Window Mode: Also known as Multi-Window Mode, it allows users to display multiple application windows (hereinafter referred to as active pages) on the same display screen at the same time. Free form Window Mode allows users to float the active page into a resizable window and drag it to any position on the screen.
[0051] (b) Full screen mode: Also known as full screen mode, full screen mode allows an active page to occupy the entire display screen without leaving any space for status bar, navigation bar or any other decorative elements.
[0052] (6) Metadata tag: Provides the ability to embed metadata in the target file of the application (such as the AndroidManifest.xml file). These metadata tags can be various configuration information, and metadata tags can be developed across platforms.
[0053] (7)Bundle: A data structure used to transfer data between different components. A Bundle can store a set of key-value pairs, where the key is a string type and the value can be a basic data type. Bundles are often used to transfer data between application components, such as when starting an Activity.
[0054] (8) Task Stack: It is specially used to track and manage the operation process of users on electronic devices. It saves the user's interaction history in the application. Specifically, the task stack can include multiple active pages, and each active page is pushed into the stack in the order in which the user accesses it. The task stack can support multiple active pages to be displayed in the window mode corresponding to the task stack.
[0055] Currently, if Figure 1As shown in FIG. 1 , with the integration of smart cars and smart phones, the application of car computers in the vehicle field is becoming more and more extensive. The car computer 100 mainly refers to the electronic equipment installed inside the car, which is mainly used to provide functions such as navigation, multimedia playback, communication, and vehicle information display. The continuous development and improvement of car computers have improved the driving experience and driving safety.
[0056] The related technology can realize the intercommunication between third-party applications (such as mobile phone applications) and vehicle computer applications. For example, a mobile phone application can be started on the vehicle computer.
[0057] However, the solutions provided by the related technologies still have some problems. For example, most mobile phone applications are designed in vertical screen on the display screen, while the applications that come with the car computer (hereinafter referred to as the car computer application) are mostly designed in horizontal screen on the display screen, which will cause the mobile phone application to be unable to display the active page normally on the car computer display screen.
[0058] For example, Figure 2 As shown, Figure 2 FIG. 1 is a schematic diagram of a scene in the related technology. Figure 2 As shown in (a) of FIG. 1 , since the layout of the mobile phone application 211 is mostly designed for a vertical screen, and the layout of the vehicle computer application 222 is mostly designed for a horizontal screen. Figure 2 As shown in (b), when the mobile application 211 on the mobile phone 210 is displayed on the display screen of the vehicle computer 220, the vehicle computer 220 will forcibly set the mobile application 211 to a horizontal screen design (such as a full-screen window mode). This will cause the mobile application 211 to be not beautiful enough when displayed directly on the display screen of the vehicle computer 220, and waste the space of the display screen, thereby reducing the user experience.
[0059] Although the relevant technology also proposes that the mobile phone application displays the active page directly in the free window mode on the car computer; at the same time, the car computer application displays the active page directly in the full screen window mode on the car computer. But this does not apply to all mobile phone applications and car computer applications. For example, some mobile phone applications (such as video applications) also use a horizontal screen design on mobile phones. If these mobile phone applications also display the active page directly in the free window mode on the car computer, these mobile phone applications will also fail to display the active page normally on the car computer's display screen. Similarly, not all car computer applications use full screen window mode to display active pages.
[0060] Therefore, the solution provided by the present application is a display method, device, vehicle and storage medium. The solution determines the application type of the target application and determines the target activity page of the first activity page according to the application type; and then displays the first activity page according to the target activity page. The solution enables the application to display the activity page in the best window mode on the display screen of the vehicle computer, thereby improving the user experience.
[0061] For example, Figure 3 As shown, Figure 3 A schematic diagram of a scenario provided by an embodiment of the present application. The scenario includes a vehicle computer 300 and a display screen 310 on the vehicle computer 300. The display screen 310 displays icons of multiple application programs 320 (eg, application program A to application program C).
[0062] Exemplarily, the vehicle computer 300 may be an electronic device supporting touch screen technology, so as to allow the user to directly interact with the vehicle computer 300 through the display screen 310 without physical buttons.
[0063] Optionally, the vehicle computer 300 may also support physical input devices (eg, a mouse, a touch pad) to allow the user to operate on the display screen 310 through the physical input devices and interact with the vehicle computer 300 .
[0064] For example, a user may click on application A among multiple applications 320 on display screen 310 (eg, by a finger click or a mouse click) to start an activity page of application A so that the activity page is displayed on display screen 310 .
[0065] Exemplarily, the window mode in which the active page of application A is displayed on display screen 210 may be determined according to the application type of application A or in other ways, and reference may be made to the following embodiments for details.
[0066] Exemplarily, the application types of the plurality of applications 220 may be divided into a first application type and a second application type. For example, the application types of application A and application B may be the first application type; and the application type of application C may be the second application type.
[0067] Optionally, the vehicle computer 300 may further include a microphone. The user may input a voice command to the vehicle computer 300 through the microphone to start the activity page specified by the user.
[0068] Combined with the following Figures 4 to 7 A display method provided in an embodiment of the present application is described. For example, Figure 5 and Figure 6 You can refer to Figure 3 The content in.
[0069] It should be understood that the embodiments of the present application do not specifically limit the execution subject of the display method, as long as the program that records the code of the display method of the embodiments of the present application can be run to communicate according to the display method of the embodiments of the present application. For example, the execution subject of the display method provided by the embodiments of the present application can be the vehicle described in the above embodiments, or a device in the vehicle, such as a vehicle computer; or a display device used in the vehicle, such as a chip.
[0070] like Figure 4 As shown, Figure 4 A flow chart of a display method provided for the implementation of the present application, the method includes S401 to S404.
[0071] S401. If it is detected that the first activity page is started on the display screen of the vehicle computer, a target application of the first activity page is determined.
[0072] Exemplarily, each application may include multiple activity pages, and the first activity page started on the display screen of the vehicle computer may be one of the multiple activity pages in the target application.
[0073] For example, take the target application as a music application: multiple activity pages may include: startup page, home page, play page, account page, search page, etc., and the first activity page may be the play page. Specifically, the startup page may be displayed when the music application is loaded to show the loading progress of the application; the home page may be the first page you see after opening the music application, which may include playlists, recommended songs, play controls, etc.; the play page may display the information of the currently playing song, allowing control of play, pause, skip, adjust volume, etc. The account page may support users to view personal account information, access subscribed services, or manage personal information. The search page may support users to use the search bar to find specific songs, singers, or playlists, etc.
[0074] Exemplarily, when it is detected that the first activity page is launched on the display screen of the vehicle computer, the target application may be launched for the first time, or may have been launched before the first activity page is launched. This embodiment of the present application does not impose any specific limitation on this.
[0075] For example, when it is detected that the first activity page is started on the display screen of the vehicle computer, the display screen of the vehicle computer may already display the second activity page. The second activity page may be of the target application or of another application, and this embodiment of the application does not specifically limit this.
[0076] Regarding the method of detecting the start of the first activity page on the display screen of the vehicle computer, the embodiment of the present application does not specifically limit this, and the following five examples can be referred to:
[0077] As an example, Figure 5 As shown in (a) in the figure, the method of detecting the launch of the first activity page on the display screen of the vehicle computer can be by detecting the user's click operation on the display screen of the vehicle computer on application A among multiple applications, so that the activity page 1 (first activity page) of application A is launched.
[0078] As another example, Figure 5 As shown in (b), the method of detecting the launch of the first activity page on the display screen of the vehicle computer can also be by detecting the user's click operation on the target control (voice recognition) on the activity page 1 of application A on the display screen of the vehicle computer, so that the activity page 2 (the first activity page) is launched.
[0079] As another example, Figure 5 As shown in (c) in the figure, the method of detecting the start of the first activity page on the display screen of the vehicle computer can also be by detecting the user's sliding operation on the activity page 3 on the display screen of the vehicle computer, so that the display screen of the vehicle computer switches from the activity page 3 to the activity page 4 (the first activity page).
[0080] As another example, Figure 5 As shown in (d) in the figure, the method of detecting the start of the first activity page on the display screen of the vehicle computer can also be to detect that the user inputs a voice command to the vehicle computer so that the activity page 1 (the first activity page) of the application A on the display screen of the vehicle computer is started. For example, the voice command is: "Start application A and play music randomly".
[0081] S402. Determine the application type of the target application according to the target application.
[0082] Exemplarily, the application type may include a first application type and a second application type. The application in the first application type may be a self-developed application (e.g., a vehicle application). The application in the second application type may be a third-party application (e.g., a mobile phone application).
[0083] As an example, the application type of the target application may be determined according to the download source of the target application. For example, applications of the first application type are usually pre-configured in the locomotive equipment. Applications of the second application type are usually downloaded from an application store.
[0084] As another example, the application type of the target application may be determined according to the developer identifier of the target application. The developer identifier may be determined from the application information.
[0085] As another example, the application type of the target application can be determined based on the update log and permission request of the target application. For example, an application of the first application type usually has a version record and update instructions when it is updated. An application of the second application type may frequently request user authorization to access specific functions.
[0086] S403. Determine a target window mode of the first active page according to the application type of the target application program.
[0087] Exemplarily, the window mode may include a free window mode and a full screen window mode.
[0088] It is understandable that different processing strategies may be used to determine the target window mode for different application types.
[0089] For example, the first processing strategy corresponding to the first application type and the second processing strategy corresponding to the second application type may be different. In other words, if the application type of the target application is the first application type, the target window mode may be determined according to the first processing strategy; if the application type of the target application is the second application type, the target window mode may be determined according to the second processing strategy.
[0090] For the specific implementation of S403, please refer to the following embodiments, which will not be described in detail here.
[0091] S404. Display the first active page on the display screen according to the target window mode.
[0092] As an example, if the target window mode is the free window mode, the first active page can be displayed on the display screen in the free window mode, for example Figure 6 Activity page 1 shown in (a).
[0093] As another example, if the target window mode is a full-screen window mode, the first active page may be displayed on the display screen in the full-screen window mode, for example Figure 6 Activity page 2 shown in (b).
[0094] In an embodiment of the present application, if it is detected that the first active page is started on the display screen of the vehicle computer, the target application corresponding to the first active page is determined, and the application type of the target application is determined based on the target application, so that it can be determined whether the target application is a third-party application or an application that comes with the vehicle computer; then, based on the application type of the target application, the target window mode of the first active page is determined, so that different processing strategies can be used to determine the target window mode of the first active page for different application types; thereafter, based on the target window mode, the first active page is displayed on the display screen, thereby achieving automatic matching of the first active page to the target window mode, and displaying it in the optimal window mode on the display screen of the vehicle computer, thereby improving the user experience.
[0095] In a possible embodiment of the present application, the above S403 includes: if the application type of the target application is the first application type, determining the target window mode according to the metadata tag of the target application; if the application type of the target application is the second application type, determining the target window mode according to the target display identifier of the target application.
[0096] The target metadata tag is used to indicate the window mode of the target application. The second application type is a third-party application, and the target display identifier is used to indicate the display direction of the first active page on the display screen.
[0097] Exemplarily, the application of the first application type may be a self-developed application. In this way, when developing the application of the first application type, a metadata tag may be added to the application. Since metadata tags have high flexibility and scalability in cross-platform development, the window mode of the target application may be indicated by the target metadata tag.
[0098] Exemplarily, the target metadata tag may have a key and a value corresponding to the key. For example, the key may be used to represent an attribute indicating a window mode of the target application, and the value corresponding to the key is used to specifically indicate the window mode of the target application.
[0099] For example, the application program in the second application type may be a mobile phone application program as a third-party application program, so that the application program on the mobile phone can be transplanted to the vehicle computer for use.
[0100] In an actual application scenario, the target display identifier may be the android:screenOrientation attribute in the application of the second application type. It should be explained that the attribute may be an attribute for setting the display direction on the display screen in the AndroidManifest.xml file for the active page or the entire application. For example, the identifier of the attribute may be a portrait screen identifier (portrait) or a landscape identifier (landscape).
[0101] For a detailed description of how to determine the target window mode according to the metadata tag of the target application, please refer to the following embodiment, which will not be repeated here.
[0102] In the embodiment of the present application, by classifying the application types, the application type corresponding to the target application is found, so that the target window mode of the target application can be determined in a targeted manner.
[0103] In a possible embodiment of the present application, before determining the target window mode according to the metadata tag of the target application, the method provided in the embodiment of the present application further includes: obtaining the target metadata tag from the target container according to the identifier of the target application.
[0104] The target container is used to store metadata tags of application programs belonging to the first application type.
[0105] As an example, the target container may be a Bundle object. The target container may be generated each time the vehicle computer is started, and then the metadata tag of the application of the first application type is stored in the target container. In this way, the target metadata tag can be quickly obtained from the target container.
[0106] As another example, the target container may be a file stored in the vehicle computer, and the file may store the metadata tag of the application of the first application type, so that the metadata tag of the application can be stored conveniently to prevent loss.
[0107] Exemplarily, the target container may be used to store multiple metadata tags. As shown in Table 1, Table 1 is a target container storage metadata tag table.
[0108] Table 1 Target container storage metadata label table
[0109]
[0110] As an example, as shown in Table 1, the target container may include metadata tag 1, metadata tag 2, metadata tag 3, and metadata tag 4. Metadata tag 1 corresponds to identifier a, metadata tag 2 corresponds to identifier b, metadata tag 3 corresponds to identifier c, and metadata tag 4 corresponds to identifier d. Identifier a is the identifier of application A, identifier b is the identifier of application b, identifier c is the identifier of application C, and identifier d is the identifier of application D. In this way, the target metadata tag can be found from the target container according to the identifier of the target application.
[0111] For example, if the target application is application C, the metadata tag 3 (target metadata tag) can be obtained in the target container through the identifier c of application C.
[0112] Exemplarily, the identifier of the target application can be used to uniquely identify the target application. For example, the identifier of the target application can be the ID of the target application, or the package name of the target application, or a hash value generated for the target application by a hash algorithm, or other data, which is not specifically limited in the embodiments of the present application.
[0113] In actual application scenarios, you can obtain the target metadata tag by calling PackageItemInfo.metaData.
[0114] In the embodiment of the present application, the target metadata tag can be easily obtained through the target container, and the speed of obtaining the target metadata tag can be improved.
[0115] In a possible embodiment of the present application, the target window mode is determined according to the metadata tag of the target application, including: if the target metadata tag indicates a preset window mode, determining the target window mode as the preset window mode; if the target metadata tag indicates at least two preset window modes, determining the target window mode according to the identifier of the first active page.
[0116] Among them, the preset window mode is free window mode or full screen window mode.
[0117] In actual application scenarios, metadata tags (meta-data) can be used<meta-data android:name="windowingMode"android:value="freeform" / > to indicate the preset window mode.
[0118] As an example, if the target metadata tag indicates a preset window mode, determining that the target window mode is the preset window mode may include the following two cases (case 1 and case 2):
[0119] Case 1: If the target metadata tag is:<meta-data android:name="windowingMode"android:value="freeform" / > , then the key of meta-data is determined to be: "windowingMode", and the value corresponding to "windowingMode" is: "freeform". Then, the preset window mode indicated by the target metadata tag is the free window mode, and the target window mode is determined to be the free window mode.
[0120] Case 2: If the target metadata tag is:<meta-data android:name="windowingMode"android:value="fullscreen" / > , then the key of meta-data is determined to be: "windowingMode", and the value corresponding to "windowingMode" is: "fullscreen". Then, the preset window mode indicated by the target metadata tag is the full-screen window mode, and the target window mode is determined to be the full-screen window mode.
[0121] As another example, if the target metadata tag indicates at least two preset window modes, determining that the target window mode is a preset window mode may include the following case 3:
[0122] Case 3: If the target metadata tag is:<meta-data android:name="windowingMode"android:value="freeform|fullscreen" / > , then the key of meta-data is determined to be: "windowingMode", and the value corresponding to "windowingMode" is: "freeform". Then, the two preset window modes indicated by the target metadata tag include: free window mode and full screen window mode. This is used to indicate that the first active page can use both free window mode and full screen window mode. In order to further match a suitable window mode for the first active page, the target window mode can be determined according to the identifier of the first active page. For details, please refer to the following embodiments.
[0123] In actual application scenarios, the content of the target metadata tag can be parsed by calling ActivityTaskManagerService.
[0124] In the embodiment of the present application, by determining the target metadata tag in the target application of the first application type, the target window mode of the target application can be determined quickly and accurately.
[0125] In a possible embodiment of the present application, the target window mode is determined according to the identifier of the first active page, including: obtaining at least one task stack; determining whether there is a target task stack in the at least one task stack according to the identifier of the first active page; if there is a target task stack, determining the target window mode to be the window mode corresponding to the target task stack; if there is no target task stack, determining the target window mode according to the target information of the vehicle computer.
[0126] The task stack carries the window mode corresponding to the task stack; the target task stack includes the identifier of the first active page; and the target information is used to indicate the window mode of the first active page.
[0127] Exemplarily, each task stack may correspond to a window mode, and each task stack may include identifiers of multiple active pages. The active pages included in the task stack may be displayed on the display screen according to the window mode corresponding to the task stack.
[0128] For example, at least one task stack may include: task stack A, task stack B and task stack C. Task stack A corresponds to free window mode, task stack B corresponds to full screen window mode, and task stack C corresponds to free window mode. Task stack A may include: the identifier of active page a1 to the identifier of active page a5; task stack B may include: the identifier of active page b1 to the identifier of active page b2; task stack C may include: the identifier of active page c1 to the identifier of active page c3.
[0129] As an example, when the first active page is active page a3, through the identification of active page a3, it can be found that the target task stack is task stack A. Then, according to the window mode corresponding to task stack A being the free window mode, it can be determined that the target window mode is the free window mode.
[0130] As another example, when the first active page is active page d1, through the identifier of active page d1, the task stack to which the identifier of active page d1 belongs is not found in task stack A, task stack B, and task stack C, then it can be determined that there is no target task stack. At this time, the target window mode can be determined according to the target information of the vehicle computer. For details, please refer to the following embodiments.
[0131] Exemplarily, the identifier of the activity page can be the name of the activity page (such as package name + category number); it can also be the task ID, UUID (Universally Unique Identifier), etc. of the activity page. The embodiments of the present application do not impose specific restrictions on this.
[0132] In the embodiment of the present application, the target window mode of the target application type can be quickly determined through the target task stack.
[0133] In a possible embodiment of the present application, before determining the target window mode according to the target information of the vehicle computer, the method provided in the embodiment of the present application also includes: if the second active page is displayed on the display screen, the window configuration information corresponding to the application of the second active page is determined as the target information; if the second active page is not displayed on the display screen, the pre-configured window mode is determined as the target information.
[0134] The second active page is displayed on the display screen before the first active page is started; and the window configuration information is used to indicate the window mode of the first active page.
[0135] Exemplarily, the second activity page may correspond to an application, which may be a target application or another application, and the embodiment of the present application does not impose any specific limitation on this.
[0136] Exemplarily, each application may be configured with window configuration information. The window configuration information may be used to indicate: when any active page in the application is started and displayed on the display screen, if another active page is started on the display screen, the window mode corresponding to the display of the active page.
[0137] For example, Figure 7 As shown, Figure 7 A schematic diagram of a page display scenario provided by an embodiment of the present application. Figure 7 As shown in (a) in FIG. 1 , an active page a1 (a second active page) may be displayed on the display screen. The active page a1 is an active page in application A, and the window configuration information x configured by application A is used to indicate the free window mode. The user indicates to start application B. Figure 7 As shown in (b), the active page b2 (first active page) is an active page in the application B (target application). Since the active page a1 is displayed on the display screen, the target window mode is determined to be the free window mode according to the free window mode indicated by the window configuration information x.
[0138] Exemplarily, the preconfigured window mode may be set as a full-screen window mode; or, the preconfigured window mode may also be set as a free window mode.
[0139] Exemplarily, the preconfigured window mode may be preconfigured by the vehicle computer, or may be a window mode set manually, and the embodiments of the present application do not impose specific limitations on this.
[0140] In the embodiment of the present application, the target window mode is determined by judging whether the second active page exists, so that the accuracy of acquiring the target window mode can be improved.
[0141] In a possible embodiment of the present application, determining the target window mode according to the target display identifier of the target application includes: determining the target window mode as the window mode corresponding to the target display identifier according to a preset mapping relationship.
[0142] Among them, the preset mapping relationship is used to represent the mapping relationship between the display identifier and the window mode; the multiple display identifiers include a vertical screen identifier or a horizontal screen identifier.
[0143] It is understandable that since the display screen of the car computer is usually displayed in landscape mode, when the target application is of the second application type, the target display mode of the target application on the display screen of the car computer can be determined by the display method of the target application on a mobile phone or other electronic device (such as a tablet).
[0144] Exemplarily, the preset mapping relationship may include display identifier 1 and display identifier 2, display identifier 1 is mapped to window mode A, and display identifier 2 is mapped to window mode B. Thus, if the target display identifier of the target application is display identifier 1, the target window mode is determined to be window mode A; if the target display identifier of the target application is display identifier 2, the target window mode is determined to be window mode B.
[0145] As an example, as shown in Table 2, Table 2 is a preset mapping relationship table a.
[0146] Table 2 Preset mapping relationship a table
[0147]
[0148] For example, when the preset mapping relationship is preset mapping relationship a, if the target display identifier of the target application is a vertical screen identifier, the target window mode is determined to be a free window mode; if the target display identifier of the target application is a horizontal screen identifier, the target window mode is determined to be a full screen window mode.
[0149] As another example, as shown in Table 3, Table 3 is a preset mapping relationship b table.
[0150] Table 3 Preset mapping relationship b table
[0151]
[0152] For example, when the preset mapping relationship is preset mapping relationship b, if the target display identifier of the target application is a vertical screen identifier, the target window mode is determined to be a full-screen window mode; if the target display identifier of the target application is a horizontal screen identifier, the target window mode is determined to be a free window mode.
[0153] In the embodiment of the present application, the target window mode corresponding to the target application program of the second application type can be accurately matched through the preset mapping relationship.
[0154] like Figure 8 As shown, Figure 8 Taking the method for determining the target window mode as an example, the specific implementation steps of a display method provided in an embodiment of the present application are described as follows:
[0155] Illustratively, the execution subject of S801 to S813 below can be a vehicle or a vehicle computer in the vehicle; of course, it can also be a display device used in the vehicle, such as a chip, and the embodiments of the present application do not impose specific restrictions on this.
[0156] S801. Determine the target application of the first active page.
[0157] Exemplarily, when it is detected that the first activity page is started on the display screen of the vehicle computer, the target application of the first activity page may be determined.
[0158] Exemplarily, each application may include multiple activity pages, and the first activity page started on the display screen of the vehicle computer may be one of the multiple activity pages in the target application.
[0159] Exemplarily, when it is detected that the first activity page is launched on the display screen of the vehicle computer, the target application may be launched for the first time, or may have been launched before the first activity page is launched. This embodiment of the present application does not impose any specific limitation on this.
[0160] S802. Determine whether the application type of the target application is the first application type. If yes, execute S803; if no, execute S804.
[0161] Exemplarily, it may be determined based on the target application whether the application type of the target application is the first application type.
[0162] Exemplarily, the application type may include a first application type and a second application type. The application in the first application type may be a self-developed application (e.g., a vehicle application). The application in the second application type may be a third-party application (e.g., a mobile phone application).
[0163] S803. Determine that the target window mode is the window mode corresponding to the target display identifier.
[0164] Exemplarily, the target window mode may be determined to be the window mode corresponding to the target display identifier according to a preset mapping relationship.
[0165] Among them, the preset mapping relationship is used to represent the mapping relationship between the display identifier and the window mode; the multiple display identifiers include a vertical screen identifier or a horizontal screen identifier.
[0166] S804. Obtain a target metadata tag from the target container.
[0167] The target container is used to store metadata tags of application programs belonging to the first application type.
[0168] Exemplarily, the target metadata tag may be obtained from the target container according to the identifier of the target application.
[0169] Exemplarily, the identifier of the target application can be used to uniquely identify the target application. For example, the identifier of the target application can be the ID of the target application, or the package name of the target application, or a hash value generated for the target application by a hash algorithm, or other data, which is not specifically limited in the embodiments of the present application.
[0170] In actual application scenarios, you can obtain the target metadata tag by calling PackageItemInfo.metaData.
[0171] S805. Determine whether the target metadata tag indicates a preset window mode. If yes, execute S806; if no, execute S807.
[0172] Among them, the preset window mode is free window mode or full screen window mode.
[0173] In actual application scenarios, the content of the target metadata tag can be parsed by calling ActivityTaskManagerService.
[0174] S806. Determine that the target window mode is the preset window mode.
[0175] S807. Obtain at least one task stack.
[0176] The task stack carries the window mode corresponding to the task stack.
[0177] Exemplarily, each task stack may correspond to a window mode, and each task stack may include identifiers of multiple active pages. The active pages included in the task stack may be displayed on the display screen according to the window mode corresponding to the task stack.
[0178] S808. Determine whether the target task stack exists in at least one task stack. If yes, execute S809; if no, execute S810.
[0179] The task stack carries the window mode corresponding to the task stack; the target task stack includes the identifier of the first active page; and the target information is used to indicate the window mode of the first active page.
[0180] Exemplarily, it is determined whether a target task stack exists in at least one task stack according to the identifier of the first active page.
[0181] Exemplarily, the identifier of the activity page may be the name of the activity page (such as package name + classification number); or it may be the task ID, UUID, etc. of the activity page, and the embodiments of the present application do not impose specific limitations on this.
[0182] S809. Determine the target window mode as the window mode corresponding to the target task stack.
[0183] S810. Determine whether to display the second active page. If yes, execute S811; if no, execute S812.
[0184] The second active page is displayed on the display screen before the first active page is started; and the window configuration information is used to indicate the window mode of the first active page.
[0185] Exemplarily, the second activity page may correspond to an application, which may be a target application or another application, and the embodiment of the present application does not impose any specific limitation on this.
[0186] S811. Determine the window configuration information corresponding to the application program on the second active page as the target window mode.
[0187] Exemplarily, each application may be configured with window configuration information. The window configuration information may be used to indicate: when any active page in the application is started and displayed on the display screen, if another active page is started on the display screen, the window mode corresponding to the display of the active page.
[0188] S812. Determine the preconfigured window mode as the target window mode.
[0189] Exemplarily, the preconfigured window mode may be set as a full-screen window mode; or, the preconfigured window mode may also be set as a free window mode.
[0190] Exemplarily, the preconfigured window mode may be preconfigured by the vehicle computer, or may be a window mode set manually, and the embodiments of the present application do not impose specific limitations on this.
[0191] S813. Display the first active page on the display screen according to the target window mode.
[0192] In an embodiment of the present application, the application type of the target application is first determined, so that the target window mode corresponding to the first active page can be matched more accurately; when the target application is of the first application type, the target window mode can be quickly and accurately determined by obtaining and parsing the content in the target metadata tag from the target container; and when the target metadata tag indicates at least two set windows, the target window mode can also be determined by the target task stack, and when the target task stack does not exist, the target window mode can also be determined by window configuration information or a pre-configured window mode; at the same time, when the target application is of the second application type, the target window mode can also be determined by the target display identifier of the target application through the mapping relationship between the identifier and the window mode; based on this, the embodiment of the present application can realize that the first active page is automatically displayed in the optimal window mode on the display screen, thereby improving the user experience.
[0193] Combination of the above Figures 1 to 8 The display method provided by the embodiment of the present application is described in detail; Fig. 9 and Fig.10 The device embodiments of the present application are described in detail. It should be understood that the device in the embodiments of the present application can execute the various methods of the aforementioned embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the aforementioned method embodiments.
[0194] Combine the following Fig. 9 The display device provided in the embodiment of the present application is described in detail.
[0195] like Fig. 9 As shown, Fig. 9 It is a structural schematic diagram of a display device provided in an embodiment of the present application.
[0196] For example, Fig. 9 As shown, the device comprises:
[0197] The determination module 910 is used to determine a target application corresponding to the first activity page if it is detected that the first activity page is started on the display screen of the vehicle computer;
[0198] The determination module 910 is further used to determine the application type of the target application according to the target application;
[0199] The determination module 910 is further used to determine the target window mode of the first active page according to the application type of the target application program;
[0200] The display module 920 is used to display the first active page on the display screen according to the target window mode.
[0201] In a possible implementation, the determination module 910 is further configured to determine a target window mode according to a metadata tag of the target application if the application type of the target application is the first application type;
[0202] In one possible implementation, the determination module 910 is also used to determine the target window mode according to the target display identifier of the target application if the application type of the target application is a second application type; wherein the second application type is a third-party application, and the target display identifier is used to indicate the display direction of the first active page on the display screen.
[0203] In a possible implementation, the determination module 910 is also used to determine that the target window mode is a preset window mode if the target metadata tag indicates a preset window mode; wherein the preset window mode is a free window mode or a full-screen window mode; if the target metadata tag indicates at least two preset window modes, determine the target window mode according to the identifier of the first active page.
[0204] In a possible implementation, the device further includes an acquisition module, configured to acquire at least one task stack; wherein the task stack carries a window mode corresponding to the task stack.
[0205] In one possible implementation, the determination module 910 is also used to determine whether there is a target task stack in at least one task stack based on the identifier of the first active page; wherein the target task stack includes the identifier of the first active page; if there is a target task stack, the target window mode is determined to be the window mode corresponding to the target task stack; if there is no target task stack, the target window mode is determined based on the target information of the vehicle computer; wherein the target information is used to indicate the window mode of the first active page.
[0206] In one possible implementation, the determination module 910 is also used to determine the window configuration information corresponding to the application of the second active page as the target information if the second active page is displayed on the display screen; wherein the second active page is displayed on the display screen before the first active page is started; the window configuration information is used to indicate the window mode of the first active page; if the second active page is not displayed on the display screen, the preconfigured window mode is determined as the target information.
[0207] In a possible implementation, the acquisition module is further used to acquire a target metadata tag from a target container according to an identifier of the target application; wherein the target container is used to store metadata tags of applications belonging to the first application type.
[0208] In a possible implementation, the determination module 910 is also used to determine the target window mode as the window mode corresponding to the target display identifier based on a preset mapping relationship; wherein the preset mapping relationship includes a mapping relationship between multiple identifiers and window modes; and the multiple identifiers include a vertical screen identifier or a horizontal screen identifier.
[0209] It should be noted that, when the display device provided in the above embodiment executes the display method, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0210] In addition, the display device and display method embodiments provided in the above embodiments belong to the same concept, so for details not disclosed in the device embodiments of this specification, please refer to the above display method embodiments of this specification, which will not be repeated here.
[0211] like Fig.10 As shown, Fig.10 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0212] Exemplarily, the vehicle 1000 includes: a processor 1010 , a memory 1020 , and an executable program code 1030 ;
[0213] Exemplarily, the memory 1020 is used to store executable program code; the processor 1010 is used to call and execute the executable program code; and the executable program code 1030 is used to implement a display method.
[0214] The present application can divide the functional modules of the vehicle according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0215] In the case of dividing each functional module according to each function, the vehicle may include: a determination module, a processing module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0216] The vehicle provided in the present application is used to execute the above-mentioned display method, and thus can achieve the same effect as the above-mentioned implementation method.
[0217] In the case of an integrated unit, the vehicle may further include a storage module, wherein the storage module may be used to support the vehicle to execute relevant program codes and data.
[0218] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0219] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the aforementioned embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a digital video disc (DVD), a compact disc read-only memory (CD-ROM), a microdrive, and a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read only memory (EEPROM), a dynamic random access memory (DRAM), a video random access memory (VRAM), a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0220] The present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a display method in the above-mentioned embodiment.
[0221] In addition, the vehicle provided in the embodiments of the present application may specifically be a chip, component or module, and the vehicle may include a connected processor and memory; wherein the memory is used to store instructions, and when the vehicle is running, the processor may call and execute instructions so that the chip executes a display method in the above-mentioned embodiments.
[0222] Among them, the vehicle, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0223] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0224] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0225] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A display method, characterized in that: The method comprises: If it is detected that a first activity page is started on the display screen of the vehicle computer, a target application corresponding to the first activity page is determined; Determining, according to the target application, an application type of the target application; Determining a target window mode of the first active page according to an application type of the target application program; The first active page is displayed on the display screen according to the target window mode.
2. The method according to claim 1, characterized in that The step of determining a target window mode of the first active page according to the application type of the target application program includes: If the application type of the target application is the first application type, determining the target window mode according to the metadata tag of the target application; wherein the target metadata tag is used to indicate the window mode of the target application; If the application type of the target application is the second application type, the target window mode is determined according to the target display identifier of the target application; wherein the second application type is a third-party application, and the target display identifier is used to indicate the display direction of the first active page on the display screen.
3. The method according to claim 2, characterized in that The step of determining the target window mode according to the metadata tag of the target application program includes: If the target metadata tag indicates a preset window mode, determining that the target window mode is the preset window mode; wherein the preset window mode is a free window mode or a full screen window mode; If the target metadata tag indicates at least two of the preset window modes, the target window mode is determined according to the identifier of the first active page.
4. The method according to claim 3, characterized in that: The step of determining the target window mode according to the identifier of the first active page includes: Obtain at least one task stack; wherein the task stack carries a window mode corresponding to the task stack; According to the identifier of the first active page, determining whether a target task stack exists in at least one of the task stacks; wherein the target task stack includes the identifier of the first active page; If the target task stack exists, determining that the target window mode is the window mode corresponding to the target task stack; If the target task stack does not exist, the target window mode is determined according to the target information of the vehicle computer; wherein the target information is used to indicate the window mode of the first active page.
5. The method according to claim 4, characterized in that Before determining the target window mode according to the target information of the vehicle computer, the method further includes: If a second active page is displayed on the display screen, determining the window configuration information of the application corresponding to the second active page as the target information; wherein the second active page is displayed on the display screen before the first active page is started; and the window configuration information is used to indicate the window mode of the first active page; If the second active page is not displayed on the display screen, a preconfigured window mode is determined as the target information.
6. The method according to any one of claims 2 to 5, characterized in that Before determining the target window mode according to the metadata tag of the target application, the method further includes: According to the identifier of the target application, the target metadata tag is obtained from a target container; wherein the target container is used to store the metadata tags of the application programs belonging to the first application type.
7. The method according to claim 2, characterized in that The step of determining the target window mode according to the target display identifier of the target application program includes: According to a preset mapping relationship, the target window mode is determined to be the window mode corresponding to the target display identifier; wherein the preset mapping relationship is used to represent a mapping relationship between multiple display identifiers and window modes; and the multiple display identifiers include vertical screen identifiers or horizontal screen identifiers.
8. A display device, characterized in that: The device comprises: A determination module, configured to determine a target application corresponding to the first activity page if it is detected that the first activity page is started on the display screen of the vehicle computer; The determination module is further used to determine the application type of the target application according to the target application; The determination module is further configured to determine a target window mode of the first active page according to an application type of the target application program; The display module is used to display the first active page on the display screen according to the target window mode.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a vehicle, the vehicle is caused to perform the method according to any one of claims 1 to 7.
