Application display method, electronic equipment and vehicle
By creating task containers and controlling the default application to be displayed in the form of a desktop in the display screen of an Android device, the operation inconvenience of users frequently opening and closing applications in the vehicle is solved, and the user experience and display efficiency are improved.
Patent Information
- Application Number
- CN202411970535.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-25
AI Technical Summary
In the desktop display of Android devices, users need to frequently open and close the application during car use, which leads to inconvenience in operation. Due to the limited screen size, the application's interface will block the desktop icons after opening, affecting multi-tasking.
By creating a task container as a display area in the first display interface of the display screen, and controlling the display area to display the default application in a scenario where no trigger instructions of other applications are received by starting the root interface, the default application is realized to be displayed in the form of a desktop.
It saves users' opening time when looking for commonly used applications, improves user experience, enhances display efficiency and flexibility of the display, and avoids the problem of reopening after the application exits.
Smart Images

Figure CN119883476A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display screen display technology, and in particular to an application display method, electronic equipment and vehicle. Background Art
[0002] In the desktop display of an Android device, users may use one or several applications on the display screen for a long time according to different driving habits. If the user wants to open the frequently used application again after performing other operations on the display screen, the user needs to perform the steps of opening it again, which brings inconvenience to the user's operation. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide an application display method, an electronic device and a vehicle to solve the problem in the prior art that the desktop cannot be displayed with an application interface.
[0004] Based on the above objectives, the present application provides an application display method, including:
[0005] In the first display interface of the display screen, a task container is created through a container interface, and the task container is used as a display area;
[0006] By starting the root interface, the display area is controlled to display a default application in a first scenario, where the first scenario is a scenario in which no triggering instruction of other applications is received.
[0007] Optionally, the method further includes:
[0008] Creating a second display interface in the display screen, wherein the second display interface partially covers the first display interface;
[0009] Control the second display interface to display the logo of the existing application on the display screen.
[0010] Optionally, the number of the display areas includes at least two, and the method further includes:
[0011] In response to receiving an opening instruction of a target application, determining a display mode of the target application;
[0012] In response to the display mode of the target application being a split-screen display mode, a target display area of the target application in the at least two display areas is determined, and the target application is controlled to be displayed in the target display area.
[0013] Optionally, determining a target display area of the target application in the at least two display areas includes:
[0014] In response to not finding a preset display area corresponding to the target application in the at least two display areas in the preset configuration file, taking the display area with the largest area among the at least two display areas as the target display area of the target application.
[0015] Optionally, the method further comprises:
[0016] In response to querying in a preset configuration file that a preset display area corresponding to the target application in the at least two display areas is found, the preset display area is used as a target display area of the target application in the at least two display areas.
[0017] Optionally, the number of the display areas includes at least two, and a separation control is provided between adjacent display areas;
[0018] Before taking the display area with the largest area among the at least two display areas as the target display area of the target application, the method further includes:
[0019] In response to receiving a sliding operation for the partition control, the area of each display region is re-determined based on the end point position of the sliding operation.
[0020] Optionally, after re-determining the area of each display region, the method further includes:
[0021] In response to the area of the display region being smaller than a preset threshold, the display region is hidden and a hidden icon is displayed.
[0022] Optionally, the method further comprises:
[0023] In response to receiving an exit instruction of the target application, closing the target application and displaying a corresponding default application in the target display area.
[0024] Based on the same inventive concept, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.
[0025] Based on the same inventive concept, the present disclosure also provides a vehicle, comprising an electronic device as described above.
[0026] As can be seen from the above, the application provides an application display method, electronic device and vehicle. In the first display interface of the display screen, a task container is created through a container interface, and the task container is used as a display area, so that the interface of the control application can be opened in the container. When the interface of the application is opened in the container, the display interface of the application can be displayed in the display area. And by starting the root interface, the display area is controlled to display the default application in the first scenario. The first scenario is a scenario where no trigger instructions from other applications are received. It is also achieved by starting the root interface to specify the default application for the display area, and the default application can be displayed in the form of a desktop. In this way, the task container is used as the display area of the application interface, and the default application is specified for the display area by starting the root interface. The interface of the default application can be displayed as a display interface. The application displayed on the desktop will not exit when no trigger instructions from other applications are received, which saves the user's time to find the opening time of commonly used applications, improves the user's experience, and improves the display efficiency and the flexibility of the display screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 A schematic diagram of a flow chart of an application display method according to an embodiment of the present application;
[0029] Figure 2 This is a schematic diagram of the process flow of controlling the display of the first display interface according to an embodiment of the present application;
[0030] Figure 3 This is a schematic diagram of the display screen interface structure of an embodiment of the present application;
[0031] Figure 4 This is a schematic diagram of the display screen interface structure after the separation control of the embodiment of the present application is adjusted;
[0032] Figure 5 A schematic diagram of the structure of an application display device according to an embodiment of the present application;
[0033] Figure 6 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0035] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0036] Based on the background technology, the display screen of the vehicle is displayed using the desktop of the Android device. When driving, the user may use one or more applications in the display screen for a long time according to the driving habits. For example, smart driving is a commonly used application, and it is a must-use application every time driving. However, since there are many desktop icons in the desktop, the user needs to find the corresponding application and open it, which wastes time. Or after opening the application, if the user wants to open the application again after performing other operations, it is necessary to perform the re-opening step, which brings inconvenience to the user. Further, due to the limited size of the vehicle screen, after the desktop application is opened, the opened interface occupies the entire screen, resulting in the desktop icons being blocked and other applications cannot be opened. At the same time, when the vehicle is in smart driving, in order to meet the driver's quick takeover of the vehicle, the smart driving control interface will be opened; in order to understand the driving position of the vehicle, the navigation interface will be opened, so the desktop needs to display the smart driving control interface and the navigation interface at the same time. In order to solve the problem of icon covering in the prior art, it is proposed to place TaskView (task view) in the desktop, and then display the interface of the desktop application in TaskView; because the TaskView opening method is easy to exit, the user needs to reopen the application.
[0037] In order to solve the above technical problems, the present application provides an application display method. In the first display interface of the display screen, a task container is created through a container interface, and the task container is used as a display area, so that the interface of the control application can be opened in the container. When the interface of the application is opened in the container, the display interface of the application can be displayed in the display area. And by starting the root interface, the display area is controlled to display the default application in the first scenario. The first scenario is a scenario where no trigger instructions from other applications are received. It is also achieved by starting the root interface to specify the default application for the display area, and the default application can be displayed in the form of a desktop. In this way, the task container is used as the display area of the application interface, and the default application is specified for the display area by starting the root interface. The interface of the default application can be displayed as the display interface. The application displayed on the desktop will not exit when no trigger instructions from other applications are received, which saves the user's time to find the opening time of commonly used applications, improves the user's experience, and improves the display efficiency and the flexibility of the display screen.
[0038] The solutions in the embodiments of the present application can be implemented using multiple programming languages such as hypertext markup language Html, JS (Javascript), CSS (Cascading Style Sheet), object-oriented programming language C#, .net, object-oriented programming language JAVA, general programming language C++, etc.
[0039] The solution in the embodiments of the present application can be applied to construct multi-interface application software systems such as WeChat, music, smart driving, navigation, and multi-interface software systems such as operating systems.
[0040] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments.
[0041] Reference Figure 1 , the present application provides an application display method, comprising the following steps:
[0042] Step 102: In the first display interface of the display screen, create a task container through a container interface, and use the task container as a display area.
[0043] In this step, the vehicle display screen includes a main display interface, and the main display interface can be used as the first display interface; the first display interface includes multiple application identifiers (i.e., desktop icons of various applications). In order to display commonly used applications on the desktop and prevent them from being easily exited, the display portion of the first display interface is used as TaskView, and then a task container (e.g., the task container can be named Task) is created in TaskView through a container interface (e.g., the container interface is the createRootTask interface), and the task container is used as a display area. The task container is used to display the application, so that the application can be displayed in desktop mode to avoid application exit. The SurfaceControl of the task container Task and the SurfaceControl of the TaskView in the first display interface can be bound through the reparent interface, so that the task container can be used as a display area.
[0044] Step 104: Control the display area to display a default application in a first scenario by starting the root interface, where the first scenario is a scenario in which no triggering instruction from other applications is received.
[0045] In this step, after the container is used as the display area, a default display application is assigned to the display area by starting the root interface, and the application is used as the display interface. The startup root interface is: WindowContainerTransaction.setLaunchRoot interface; the startup root interface controls the display area to display the default application in the scenario where no trigger instructions from other applications are received. For example, the default application can be an intelligent driving application, and the interface of the intelligent driving application can be used as the display interface. The default application can also be other applications such as calendar, alarm clock, navigation and other applications, which can be set according to actual needs and are not specifically limited in this application. The default application is displayed in an interface display mode, and it will not be exited whether it is through the return key or the Home key, thereby avoiding the need to search for the corresponding application in multiple interfaces after the commonly used application is exited, wasting search time, thereby improving the driver's driving experience.
[0046] Through steps 102-104, in the first display interface of the display screen, a task container is created through the container interface, and the task container is used as the display area, so that the interface of the control application can be opened in the container. When the interface of the application is opened in the container, the display interface of the application can be displayed in the display area. And by starting the root interface, the display area is controlled to display the default application in the first scene. The first scene is the scene where no trigger instructions from other applications are received. It is also achieved by starting the root interface to specify the default application for the display area, and the default application can be displayed in the form of a desktop. In this way, the task container is used as the display area of the application interface, and the default application is specified for the display area by starting the root interface. The interface of the default application can be displayed as the display interface. The application displayed on the desktop will not exit when no trigger instructions from other applications are received, which saves the user's time to find the opening time of commonly used applications, improves the user's experience, and at the same time improves the display efficiency and the flexibility of the display screen.
[0047] In some embodiments, in order to prevent desktop icons from being covered, a second display interface can be created based on the first display interface, so that the second display interface always covers the first display interface, thereby ensuring that the desktop icons are not covered. Specifically, it includes: creating a second display interface in the display screen, and the second display interface partially covers the first display interface; controlling the second display interface to display the logo of the existing application in the display screen.
[0048] Specifically, the controller can call the programming language in the configuration file for creating the display interface to create the second display interface based on the first display interface. The programming language in the configuration file also records the setting of the second display interface for displaying the identification of existing applications in the display screen (that is, a secondary display interface is created based on the main display interface, and the second display interface is set to display desktop application icons). Among them, when there are many desktop icons, the second display interface can also turn pages to find the corresponding application identification. The vehicle controller calls the configuration file and controls the second display interface to display the identification of existing applications in the display screen. Since the second display interface is partially covered on the first display interface, the identification of the application in the second display interface will not be blocked, and any application can be opened to facilitate user operation and improve the user's driving experience.
[0049] In some embodiments, Figure 2 As shown, since the driver may open multiple applications during driving, for example, the driver will view the intelligent driving interface and also need to view the navigation interface at the same time to facilitate self-driving takeover, it is necessary to display the interfaces of multiple applications on the display interface. Specifically, when opening multiple applications, the control method of the first display interface is as follows: wherein the number of display areas includes at least two, specifically including the following steps:
[0050] Step 202: In response to receiving an opening instruction of a target application, determining a display mode of the target application.
[0051] In this step, the display mode includes a full-screen display mode and a split-screen display mode. Clicking the application to be opened in the vehicle display screen, for example, clicking the smart driving desktop icon, also opens the smart driving application. The vehicle controller receives the smart driving opening instruction, and needs to determine whether the display mode of the opened target application is a full-screen display mode or a split-screen display mode. The vehicle controller will search the configuration file for whether the target application has a preset display mode, for example, the preset display mode is a split-screen display mode or a full-screen display mode. When the preset display mode is found, the display mode of the target application is obtained, and the target application can be controlled to display in the display mode. When it is determined that the display mode of the target application is a split-screen display mode, it is necessary to create at least two display areas on the first display interface (exemplarily, the display area can also be understood as creating at least two task containers Task, and the two task containers are used as at least two display areas). In order to display the interface of the target application using two display areas, the split-screen display of multiple tasks can be realized, and the display flexibility of the display screen can be improved. In this application, two display areas are taken as an example. Specifically, the vehicle controller can embed the first display interface into two TaskViews according to the programming language in the configuration file, and then create two task containers (for example, the task container can be named Task) in the two TaskViews through the container interface (for example, the container interface is the createRootTask interface), that is, two Tasks are created, and the SurfaceControl of the two task container Tasks is respectively bound to the SurfaceControl of the two TaskViews through the reparent interface, and then the ActivityOptions.setLaunchRootTask interface can be used to specify which Task a certain application is located in. For example, Figure 3 As shown, the left display area is set as the first display area and named TaskView1, and the left Task (i.e. the first display area TaskView1) is specified to display the container of the calendar application, the right display area is the second display area and named TaskView2, and the right Task (i.e. the second display area TaskView2) is used to display the container of the alarm clock application. You can also set the display area of all applications through the ActivityOptions.setLaunchRootTask interface to ensure that the application can be opened in the set display area.
[0052] When the target application is determined to be in full-screen display mode, it is necessary to control the target application to display in full screen and block the desktop icons. The target application opened at this time can be understood as an application that cannot be displayed synchronously with other applications. For example, when checking vehicle fault problems, the fault viewing application interface can be displayed in full-screen display mode to avoid vehicle faults while other applications are running, in order to ensure driving safety.
[0053] Step 204: In response to the display mode of the target application being a split-screen display mode, determine a target display area of the target application in the at least two display areas, and control the target application to be displayed in the target display area.
[0054] In this step, when the vehicle controller detects that the display mode of the target application is a split-screen display mode, it is necessary to determine the target display area of the target application in at least two display areas.
[0055] Based on the examples in the above steps, this application takes two display areas as an example. If the target application is a calendar, the target display area for the calendar is found in the configuration file as the first display area TaskView1, and the target application is controlled to display in the first display area. If the target application is an alarm clock, the target display area for the alarm clock is found in the configuration file as the second display area TaskView2, and the target application is controlled to display in the second display area. In this way, the problem of the target application opening in full screen mode and blocking the desktop elements is solved.
[0056] In some embodiments, the user can also customize the display mode of the target application. For example, the default mode of the music application is the full-screen display mode. The user can customize the display mode of the music to be split-screen display and store it in the configuration file. There is a default display area in the configuration file. Therefore, the target display area of the music can be determined as the default display area, or the user customizes the preset display area and stores it in the configuration file. The target display area of the music can be determined as the user-defined display area. Specifically as follows: Determining the target display area of the target application in the at least two display areas includes:
[0057] In response to not finding a preset display area corresponding to the target application in the at least two display areas in the preset configuration file, taking the display area with the largest area among the at least two display areas as the target display area of the target application.
[0058] Specifically, the vehicle controller searches for the target display area of the target application in at least two display areas in the preset configuration file. When the preset display area corresponding to the target application in at least two display areas is not found in the preset configuration file, it means that the user has not set the display area of the target application. Then, it can be displayed according to the default display area in the preset configuration file. In this embodiment, the default display area can be the largest display area, that is, the largest display area is used as the display area of the target application, and the target application is controlled to be displayed (for example, if the second display area is the largest display area, the second display area is used as the display area of the target application). The default display area in the preset configuration file can be the largest display area as the default display area, so that the display effect of the application is better and the user's driving experience is improved.
[0059] In some embodiments, in order to avoid covering the desktop icons when the target application is opened, the display mode and the corresponding display area are pre-configured for the application in the display screen, and all the configuration information is stored in a pre-configuration file. Then, when determining the target display area in the first display interface, it includes: in response to querying in the preset configuration file the preset display area corresponding to the target application in the at least two display areas, using the preset display area as the target display area of the target application in the at least two display areas.
[0060] Specifically, when determining the target display area of the target application in at least two display areas, the vehicle controller searches in a preset configuration file. If the preset display area corresponding to the target application in at least two display areas is found, the target display area of the target application in at least two display areas is determined to be the preset display area. For example, if the target application is a calendar, then the preset display area is the first display area TaskView1. By pre-configuring the display area of the target application (for example, the application configures which of the two display areas is the opening area through the ActivityOptions.setLaunchRootTask interface), the opening speed of the application can be increased, the control speed of the controller can be increased, and the user's driving experience can be improved.
[0061] In some embodiments, based on the above embodiments, the number of display areas includes at least two. Taking two display areas as an example, in order to diversify the control methods of the display screen, a separation control is provided between the adjacent display areas; the user can control the size of each display area in the first display interface through segmentation. Specifically, before taking the display area with the largest area among the at least two display areas as the target display area of the target application, it also includes:
[0062] In response to receiving a sliding operation for the partition control, the area of each display region is re-determined based on the end point position of the sliding operation.
[0063] Specifically, when receiving the user's operation on the separator control, the end position of the sliding operation is determined, that is, the area of each display area is determined according to the end position of the separator control. Figure 3 and Figure 4 As shown, by dragging the separator control to the right, the area of the first display area TaskView1 gradually increases, and the area of the second display area TaskView2 gradually decreases, thereby changing the left and right display positions of the target application and improving the control diversity of the display screen.
[0064] In some embodiments, based on the above embodiments, the separator control can adjust the area of each display area. When the display area adjusted by the separator control is small and cannot display the content, the display area can be hidden so that the other display area can be viewed in full screen. Specifically, after redetermining the area of each display area, it also includes: in response to the area of the display area being less than a preset threshold, hiding the display area and displaying a hidden icon.
[0065] Specifically, after the user adjusts the sliding operation of the partition space, the area of each display area is re-determined, and the vehicle controller obtains the area of each display area and performs detection. When it is detected that one of the display areas is smaller than a preset threshold, for example, the area of the second display area is smaller than 10 cubic millimeters, it is determined that the area of the second display area is too small to display the content, and the second display area is hidden, and only a hidden icon is displayed, such as an arrow (such as Figure 4 The size of the second display area can be changed by dragging the arrow, or the second display area can be restored to the default size by double-clicking the arrow. The arrow is displayed to remind the user that there is hidden display content; when a touch operation is received on the target logo, the hidden candidate area is displayed. This saves the user the steps of exiting the current application and reopening a new display page. On the basis of realizing flexible hiding, the hidden content can be conveniently viewed, further improving the convenience of operating the display screen.
[0066] Furthermore, when hiding the display area, illustratively, take the upper left corner of the display screen as the coordinate origin, the display screen size is 1920*1080, and the first display area is the left area of the display screen, and the second display area is the right area of the display screen. According to the display screen size, the valid full-screen display coordinates on the display screen are determined to be (0, 0, 1920, 1080); when the first display area is hidden, the position coordinates of the second display area are determined to be (0, 0, 1920, 1080), which are valid full-screen display coordinates, and the second display area is displayed in full screen; the position coordinates of the first display area are (-15, 0, -14, 1080), which indicate the position of the left outer side of the display screen, and the first display area is not displayed; when the second display area is hidden When the position coordinates of the first display area are determined to be (0, 0, 1920, 1080), which are valid full-screen display coordinates, the first display area is displayed in full screen; the position coordinates of the second display area are (1935, 0, 1934, 1080), which indicate the position of the right outer side of the display screen, the second display area is not displayed. It should be noted that since the second display interface blocks the first display interface, but the actual first display interface overlaps the second display interface, the above-mentioned example coordinates are given as full-screen coordinates. Through the above examples, one of the display areas can be hidden to achieve full-screen display of another display area, thus improving display efficiency and the flexibility of splitting the display screen. The full-screen display in this embodiment refers to full-screen display in the first display interface, and the second display interface at this time is still partially covered in the first display interface.
[0067] In some embodiments, in the field of vehicle autonomous driving, smart driving applications and navigation applications are commonly used applications. In order to save users from searching for the applications, the smart driving applications and navigation applications are used as the default applications in the split-screen display area in the split-screen display mode in this application, so that the driver's driving feeling can be improved. When the user opens other applications on the first display interface, the default application on the first display interface will be covered. Therefore, in response to receiving the exit instruction of the target application, the target application is closed in the target display area and the corresponding default application is displayed.
[0068] Specifically, after receiving the exit command of the target exit, the vehicle controller closes the target application in the target area and only displays the default application. That is, after other applications are closed, only the default application is displayed. For example, the default application is the smart driving application and the navigation application. In this way, the automatic driving can be quickly turned on during automatic driving to improve the driver's driving experience.
[0069] In some embodiments, when the vehicle controller finds in the configuration file that the target application is in full-screen display mode, the target application will be displayed in full screen. For example, the opened target application is a fault viewing application. In order to avoid other applications affecting the troubleshooting of the fault, the target application needs to be displayed in full screen. Specifically, in response to the display mode of the target application being full-screen display mode, the target application is displayed in the first display interface and the second display interface is closed.
[0070] Specifically, when the vehicle controller detects that the display mode of the target application is the full-screen display mode, it indicates that the target application needs to be displayed in full screen. In order to prevent the second display interface from affecting the display of the target application, the first display interface is displayed in full screen and the second display interface is closed to make the target application unobstructed and improve display efficiency.
[0071] In some embodiments, after creating a second display interface in a display screen, a first navigation bar and a second navigation bar are created in the display screen, wherein the first navigation bar is located at the bottom of the display screen and the second navigation bar is located at the top of the display screen, and the first navigation bar is controlled to display commonly used application logos, and the second navigation bar is controlled to display the application logo of the opened target application.
[0072] Specifically, when creating the first navigation bar and the second navigation bar, the controller calls the programming language in the configuration file for creating the display interface to create the first navigation bar. The controller of the vehicle controls the first navigation bar to display the commonly used applications displayed in the first navigation bar according to the programming language. For example, applications such as Bluetooth, clock, and settings display icons in the first navigation bar (specifically, Figure 3 and Figure 4 After the application is opened in the first display interface, the controller controls the second navigation bar to display the icon of the application opened in the first display interface. Among them, the first display interface can also display a preset common application logo, which is not specifically limited in this application.
[0073] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0074] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0075] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides an application display device.
[0076] refer to Figure 5 , the application display device comprises:
[0077] The creation module 302 is configured to create a task container in the first display interface of the display screen through a container interface, and use the task container as a display area;
[0078] The control module 304 is configured to control the display area to display a default application in a first scenario by starting the root interface, where the first scenario is a scenario in which no triggering instruction of other applications is received.
[0079] Specifically, in the first display interface of the display screen, a task container is created through a container interface, and the task container is used as a display area, so that the interface of the control application can be opened in the container. When the interface of the application is opened in the container, the display interface of the application can be displayed in the display area. And by starting the root interface, the display area is controlled to display the default application in the first scenario. The first scenario is a scenario where no trigger instructions from other applications are received. It is also achieved by starting the root interface to specify the default application for the display area, and the default application can be displayed in the form of a desktop. In this way, the task container is used as the display area of the application interface, and the default application is specified for the display area by starting the root interface. The interface of the default application can be displayed as the display interface. The application displayed on the desktop will not exit when no trigger instructions from other applications are received, which saves the user's time to find the opening time of commonly used applications, improves the user's experience, and at the same time improves the display efficiency and the flexibility of the display screen.
[0080] The creation module 302 is further configured to create a second display interface in the display screen, wherein the second display interface partially covers the first display interface; and control the second display interface to display the logo of the existing application in the display screen.
[0081] The control module 304 is also configured to determine the display mode of the target application in response to receiving a start instruction of the target application; in response to the display mode of the target application being a split-screen display mode, determine the target display area of the target application in the at least two display areas, and control the target application to be displayed in the target display area.
[0082] The control module 304 is further configured to determine the target display area of the target application among the at least two display areas, including: in response to not finding a preset display area corresponding to the target application in the at least two display areas in a preset configuration file, using the display area with the largest area among the at least two display areas as the target display area of the target application.
[0083] The control module 304 is further configured to, in response to querying in a preset configuration file a preset display area corresponding to the target application in the at least two display areas, use the preset display area as the target display area of the target application in the at least two display areas.
[0084] The control module 304 is further configured so that the number of the display areas includes at least two, and a separator control is provided between adjacent display areas; before the display area with the largest area among the at least two display areas is used as the target display area of the target application, it also includes: in response to receiving a sliding operation for the separator control, redetermining the area of each display area based on the end position of the sliding operation.
[0085] The control module 304 is further configured to, after re-determining the area of each display area, further include: in response to the area of the display area being smaller than a preset threshold, hide the display area and display a hidden icon.
[0086] The control module 304 is further configured to close the target application and display a corresponding default application in the target display area in response to receiving an exit instruction of the target application.
[0087] The control module 304 is further configured to display the target application in the first display interface and close the second display interface in response to the display mode of the target application being a full-screen display mode.
[0088] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or at least two software and / or hardware.
[0089] The device of the above embodiment is used to implement a corresponding application display method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0090] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, an application display method described in any of the above embodiments is implemented.
[0091] Figure 6 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0092] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or at least two integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0093] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0094] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0095] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0096] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0097] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0098] The electronic device of the above embodiment is used to implement a corresponding application display method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0099] Based on the same inventive concept, the present disclosure also provides a vehicle, comprising an electronic device as described above.
[0100] Specifically, in the first display interface of the display screen, a task container is created through a container interface, and the task container is used as a display area, so that the interface of the control application can be opened in the container. When the interface of the application is opened in the container, the display interface of the application can be displayed in the display area. And by starting the root interface, the display area is controlled to display the default application in the first scenario. The first scenario is a scenario where no trigger instructions from other applications are received. It is also achieved by starting the root interface to specify the default application for the display area, and the default application can be displayed in the form of a desktop. In this way, the task container is used as the display area of the application interface, and the default application is specified for the display area by starting the root interface. The interface of the default application can be displayed as the display interface. The application displayed on the desktop will not exit when no trigger instructions from other applications are received, which saves the user's time to find the opening time of commonly used applications, improves the user's experience, and at the same time improves the display efficiency and the flexibility of the display screen.
[0101] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute an application display method as described in any of the above embodiments.
[0102] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0103] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute an application display method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0104] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0105] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0106] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0107] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0108] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0109] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0110] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0111] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. An application display method, characterized in that: include: In the first display interface of the display screen, a task container is created through a container interface, and the task container is used as a display area; By starting the root interface, the display area is controlled to display a default application in a first scenario, where the first scenario is a scenario in which no triggering instruction of other applications is received.
2. The method according to claim 1, characterized in that The method further comprises: Creating a second display interface in the display screen, wherein the second display interface partially covers the first display interface; Control the second display interface to display the logo of the existing application on the display screen.
3. The method according to claim 2, characterized in that The number of the display areas includes at least two, and the method further includes: In response to receiving an opening instruction of a target application, determining a display mode of the target application; In response to the display mode of the target application being a split-screen display mode, a target display area of the target application in the at least two display areas is determined, and the target application is controlled to be displayed in the target display area.
4. The method according to claim 3, characterized in that The determining a target display area of the target application in the at least two display areas includes: In response to not finding a preset display area corresponding to the target application in the at least two display areas in the preset configuration file, taking the display area with the largest area among the at least two display areas as the target display area of the target application.
5. The method according to claim 4, characterized in that The method further comprises: In response to querying in a preset configuration file that a preset display area corresponding to the target application in the at least two display areas is found, the preset display area is used as a target display area of the target application in the at least two display areas.
6. The method according to claim 4, characterized in that The number of the display areas includes at least two, and a separation control is provided between adjacent display areas; Before taking the display area with the largest area among the at least two display areas as the target display area of the target application, the method further includes: In response to receiving a sliding operation for the partition control, the area of each display region is re-determined based on the end point position of the sliding operation.
7. The method according to claim 6, characterized in that After re-determining the area of each display area, it also includes: In response to the area of the display region being smaller than a preset threshold, the display region is hidden and a hidden icon is displayed.
8. The method according to claim 3, characterized in that The method further comprises: In response to receiving an exit instruction of the target application, closing the target application and displaying a corresponding default application in the target display area.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
10. A vehicle, characterized in that: An electronic device comprising the electronic device described in claim 9.
Citation Information
Cited By
Display method and device for vehicle screen partition and electronic equipment
CN121387412A