Display method, electronic device, storage medium, and program product

WO2026174914A1PCT designated stage Publication Date: 2026-08-27HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/142520
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-02-19
Filing Date
2025-12-15
Publication Date
2026-08-27

Smart Images

  • Figure CN2025142520_27082026_PF_FP_ABST
    Figure CN2025142520_27082026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application relate to the technical field of terminals, and provide a display method, an electronic device, a storage medium, and a program product, which are conducive to simplifying the process in which a user searches for and opens a target application. The method is applied to an electronic device, and comprises: starting a driving mode, and displaying a first window, wherein the first window comprises a first area and a second area, the first area comprises application icons, and the second area comprises at least two of an address card, a media control card, a contact card, a payment service card, and a song list card; the electronic device currently displaying a first card in the second area, wherein the first card is a card other than the address card; and when the driving mode is started, if the application icons do not include a map application icon, displaying an icon of a first map application in the first area, and switching the first card displayed in the second area to the address card.
Need to check novelty before this filing date? Find Prior Art

Description

Display methods, electronic devices, storage media, and application products

[0001] This application claims priority to Chinese Patent Application No. 202510187050.3, filed on February 19, 2025, entitled “Display Method, Electronic Device, Storage Medium and Program Product”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminal technology, and in particular to a display method, electronic device, storage medium, and program product. Background Technology

[0003] People often need electronic devices to provide some assistance while driving, such as using navigation to clarify routes, listening to music to relieve driving fatigue, and so on.

[0004] However, for vehicles without an in-vehicle infotainment system or with only basic functions, the necessary assistance functions often need to be accessed through applications on other electronic devices (such as smartphones and tablets). These devices typically have a large number of applications pre-installed, and users can usually find and open them by swiping the screen. However, while driving, users should focus more on observing road conditions, and the complex process of finding and opening the desired application is too cumbersome for them. Summary of the Invention

[0005] This application provides a display method, electronic device, storage medium, and program product, which are applied in the field of terminal technology and help simplify the process for users to find and open target applications.

[0006] In a first aspect, embodiments of this application propose a display method applied to an electronic device. The method includes: activating a driving mode and displaying a first window. The first window includes a first area and a second area. The first area includes an application icon, and the second area includes at least two of an address card, a media control card, a contact card, a payment service card, and a playlist card. The electronic device currently displays a first card in the second area, which is a card other than an address card. When activating the driving mode, if the application icon does not include a map application icon, the icon of a first map application is displayed in the first area, and the first card displayed in the second area is switched to an address card.

[0007] It should be understood that the first window is the window displayed on the electronic device interface for the driving mode. It is the interface for the driving mode. For example, the first window can be 210 shown in Figure 6a. The first area can be the area corresponding to 601, and the second area can be the area corresponding to 602.

[0008] In this embodiment, after the driving mode is activated, the electronic device can display the application icons included in the first area and any one of the multiple cards included in the second area. Activating the driving mode can be understood as the user having a travel need, and the map application can be understood as the user's target application at this time. If the application icons displayed in the first area do not include the map application icon, then the icon of the first map application is displayed in the first area, and the first card displayed in the second area is switched to an address card. In this way, the user can use the first map application icon displayed on the electronic device to access the map application, or use the address card displayed on the electronic device to perform quick operations on the map application. This simplifies the process of finding and opening the target application in a travel scenario, allows the user to focus more on observing road conditions, and helps ensure the user's travel safety.

[0009] Optionally, the first map application is the most frequently used map application installed on the electronic device, or the first map application is a designated application.

[0010] In conjunction with the first aspect, in some implementations of the first aspect, when the moving speed of the electronic device exceeds a first value, or when the electronic device does not launch an audio application, the icon of the first audio application is displayed in the first area, and the card displayed in the second area is switched to a media control card.

[0011] For example, the case where the icon of the first audio application is displayed in the first area and the media control card is displayed in the second area can be as shown in h in FIG8. The icon of the first audio application can be, for example, icon 804, and the media control card can be, for example, 606 as shown in h in FIG8.

[0012] It should be understood that when the moving speed of an electronic device exceeds the first value or when the electronic device has not launched an audio application, it can be interpreted as meeting the condition that the electronic device recommends an audio application to the user. In this case, the electronic device displays the icon of the first audio application in the first area and switches the card displayed in the second area to the media control card. The user can then directly operate the media control card through the driving mode interface based on the electronic device's recommendation or enter the interface of the first audio application through the icon of the first audio application. In this way, when the user wants to use an audio application, they no longer need to search through the many applications installed on the electronic device, improving the convenience and safety of using the electronic device while driving.

[0013] In conjunction with the first aspect, in some implementations of the first aspect, when an audio application has been running for a first duration in an electronic device, or when a preset percentage of a driving trip has been completed, the icon of the first call application is displayed in the first area, and the card displayed in the second area is switched to a contact card.

[0014] For example, in the case where the icon of the first calling application is displayed in the first area and the contact card is displayed in the second area, it can be as shown in d of Figure 9. The icon of the first calling application can be, for example, icon 901 as shown in d of Figure 9, and the contact card can be, for example, control 606 as shown in d of Figure 9.

[0015] In this embodiment, when an audio application has been running for a first duration on the electronic device, or when a preset percentage of the driving trip has been completed, the user can directly operate the contact card through the driving mode interface based on the electronic device's recommendations, or enter the interface of the first calling application through the icon of the first calling application to achieve the purpose of making a call. In this way, the user no longer needs to search through the many applications installed on the electronic device when there is a need to make a call, thus improving the convenience of the user in using the electronic device.

[0016] In conjunction with the first aspect, in some implementations of the first aspect, when the electronic device is not in a preset position when the driving mode is activated, the icon of the first payment application is displayed in the first area, and the card displayed in the second area is switched to a payment service card.

[0017] For example, the case where the icon of the first payment application is displayed in the first area and the payment service card is displayed in the second area can be as shown in d of Figure 10. The icon of the first payment application can be, for example, icon 1001 shown in d of Figure 10, and the payment service card can be, for example, control 606 shown in d of Figure 10.

[0018] It should be understood that if the electronic device is not in the preset position when driving mode is activated, it can be interpreted as the user is about to leave a parking lot that requires payment. In this case, the icon of the first payment application is displayed in the first area, and the card displayed in the second area is switched to the payment service card, which helps the user to use the payment function quickly and saves the user time.

[0019] In conjunction with the first aspect, in some implementations of the first aspect, the first area also includes a service information icon, and the method further includes: displaying the service information icon in the first area when the target application is not displayed in the foreground and the target application has service information that needs to be updated in a timely manner.

[0020] Optionally, the service information icon may be navigation information that the map application needs to update in a timely manner when running in the background, such as turn reminders. The service information icon may be, for example, icon 1101 in Figure 11b or Figure 11d. This service information icon may disappear from the first area if the service information becomes invalid (e.g., the turn reminder has been passed).

[0021] The method provided in this application embodiment can help users not miss the real-time service information of certain applications when they are running in the background. In the case of map applications, it can help to promptly prompt users with route information and improve the user's travel experience.

[0022] In conjunction with the first aspect, in some implementations of the first aspect, before the icon of the first map application is displayed in the first area, the cards included in the second area are automatically rotated in a preset order and at a preset frequency in the second area. In this way, users can browse the cards included in the second area without user intervention, which is beneficial to user travel safety and also helps users understand all the cards included in the second area so that they can select them when needed.

[0023] In conjunction with the first aspect, in some implementations of the first aspect, when the icon of the first map application is displayed in the first area and the address card is displayed in the second area, if no operation on the address card is detected within the second time period, the cards before or after the address card in the preset order are automatically rotated in the second area at a preset frequency.

[0024] Optionally, the second duration may be the same as or different from the duration for which the card is displayed in the second area at a preset frequency; this application does not specifically limit this.

[0025] In conjunction with the first aspect, in some implementations of the first aspect, when the address card is displayed in the second area, in response to the user's swipe operation on the address card, the card before or after the address card in a preset order is displayed.

[0026] In conjunction with the first aspect, in some implementations of the first aspect, the card displayed in the second area is a playlist card. The playlist card includes a playlist switching control, and the playlist card is displayed based on user interaction or automatic rotation. The method also includes: responding to a trigger operation on the playlist switching control in the playlist card, changing the recommended playlist on the playlist card. This provides users with a quick entry point to select playlists, and the automatic switching of playlists eliminates the hassle of manual searching, allowing users to focus on driving safety and improving the user experience.

[0027] Optionally, the electronic device displays the playlist card interface in the second area as shown in Figure 6B. The control 606 in Figure 6B can be understood as a playlist card. The playlist switching control can be, for example, the "Change" control shown in Figure 6B. The playlist recommended by the playlist card may include one or more tracks. This application does not make any specific limitations on this.

[0028] In conjunction with the first aspect, in some implementations of the first aspect, when playing a playlist recommended by a playlist card, the playlist card disappears from the second area.

[0029] In conjunction with the first aspect, in some implementations of the first aspect, the first region includes a first sub-region and a second sub-region, the first sub-region being adjacent to the second sub-region, the first sub-region including a persistent first icon, and the second sub-region including one or more of the following: a second icon corresponding to an application recommended by the electronic device, an icon for service information, a third icon corresponding to an application recently used by the user, or a fourth icon corresponding to an application whose usage frequency exceeds a second value; wherein, the second icon includes one or more of the following: an icon for a first map application, an icon for a first audio application, an icon for a first call application, and an icon for a first payment application.

[0030] The first icon can be understood as icon 603 shown in Figure 6 (this icon is also marked as 603 in other attached figures besides Figure 6), and the second sub-region can be understood as the region corresponding to 604 shown in a in Figure 6.

[0031] In conjunction with the first aspect, in some implementations of the first aspect, the size of the first window is variable, and the second area also includes a first control used to collapse the second area. The method further includes: in response to a triggering operation on the first control, collapsing the second area in the first window and displaying only the first area. In this way, the first window occupies a smaller area, which is beneficial for users to view other content on the electronic device interface.

[0032] The first control can be, for example, control 605 as shown in Figure 6a. In the form shown in Figure 6a, when the electronic device responds to a trigger operation on control 605 by collapsing the first area and displaying the first area shown in Figure 6c, the display form of the driving mode shown in Figure 6c can be called the shortcut state, or the third display form of the driving mode. When the electronic device responds to a trigger operation on the first control by collapsing the second area of ​​the first window and displaying only the first area, it can be understood that the electronic device responds to a trigger operation on the first control by switching from the expanded state of the driving mode to the shortcut state of the driving mode.

[0033] In conjunction with the first aspect, in some implementations of the first aspect, in response to the first operation on the first icon, the second sub-region within the first area is collapsed, and only the first sub-region is displayed. Thus, when the user does not temporarily need the shortcut provided by the second sub-region and the second area, displaying only the first sub-region on the electronic device minimizes the obstruction of the electronic device interface and makes it easier for the user to view other content displayed on the electronic device interface.

[0034] In this case, the interface of the electronic device can be as shown in Figure 6b. The display form of the first window can be called the floating state of the driving mode, or the second display form of the driving mode.

[0035] The electronic device can respond to a first operation on the first icon, collapse the second sub-area in the first area, and only display the first sub-area. This can be understood as the electronic device responding to a first operation on the first icon, switching from the shortcut state of driving mode to the floating state of driving mode.

[0036] In conjunction with the first aspect, in some implementations of the first aspect, in response to a first operation on the first icon, a second sub-region is expanded to display a first region including the first and second sub-regions. This can be understood as the electronic device also being able to respond to the first operation on the first icon to return from the floating state of driving mode to the shortcut state of driving mode.

[0037] In this way, if the first area (or the first window) only includes the first sub-area, and the user has a need for the application icon in the second sub-area, the electronic device can also respond to the user's first operation on the first icon and then expand the second sub-area. The multiple display forms of the driving mode designed in this application are conducive to meeting various user needs and improving the user experience.

[0038] In conjunction with the first aspect, in some implementations of the first aspect, in response to a second operation on the first icon, a second area is expanded to display a first window comprising the first and second areas, wherein the second operation differs from the first operation. This can be understood as the electronic device also being able to further return from the shortcut state of driving mode to the expanded state of driving mode in response to the second operation on the first icon.

[0039] Optionally, the first operation can be a single-click operation and the second operation can be a double-click operation; or, the first operation can be a double-click operation and the second operation can be a single-click operation. This application does not make any specific limitations on this.

[0040] In this embodiment, the electronic device can respond to operations on the first control and the first icon to change the size of the first window. The change in the size of the first window can be understood as a change in the display form of the driving mode. This application provides a variety of display forms of driving modes for users to choose from, which can meet different user needs.

[0041] It should also be noted that the address cards, media control cards, contact cards, payment service cards, playlist cards, etc. included in the second area can also be expanded or collapsed along with the second area. When the second area is collapsed, the display of the first area is not affected.

[0042] In conjunction with the first aspect, in some implementations of the first aspect, if the first window is displayed for a third duration and there is no user input within that third duration, the second area and the second sub-area within the first area are collapsed, and only the first sub-area is displayed. This implementation can be understood as a direct switch from the expanded state of the driving mode to the floating state of the driving mode.

[0043] In conjunction with the first aspect, in some implementations of the first aspect, in response to the first operation on the first icon, the second region and the second sub-region within the first region are collapsed, and only the first sub-region is displayed. This implementation can also be understood as a direct switch from the expanded state of the driving mode to the floating state of the driving mode.

[0044] In conjunction with the first aspect, in some implementations of the first aspect, when the electronic device displays a floating state of the driving mode, which is directly switched from the expanded state, in response to a first operation on the first icon, the second region and a second sub-region within the first region are expanded, and a first window including the first and second regions is displayed. That is, it directly returns from the floating state of the driving mode to the expanded state of the driving mode.

[0045] In conjunction with the first aspect, in some implementations of the first aspect, the size of the first window is variable, and the method further includes: in response to a triggering operation on an icon of the first map application, displaying a first interface and displaying a first window on the first interface, the first window comprising only a first sub-region, and the first interface being the interface of the first map application.

[0046] In other words, when a user selects to enter the first map application, the first window only displays the first sub-area, which means the driving mode is switched to floating mode. In this way, the display interface of the driving mode obstructs the first interface of the first map application less, which is beneficial for the user to operate on the first interface.

[0047] In conjunction with the first aspect, in some implementations of the first aspect, when the display duration of the first map application icon reaches the fourth duration, the first map application icon disappears from the second sub-region.

[0048] It should be understood that if the display duration of the icon of the first map application reaches the fourth time period, it can be assumed that the user has not performed any operation on the icon of the first map application within the fourth time period. This can be interpreted as the user not needing to use the application. In this case, the icon of the first map application disappears from the second sub-area, which helps to free up space in the second sub-area to display other application icons that the user may use.

[0049] In conjunction with the first aspect, in some implementations of the first aspect, the electronic device displays the first window in the following three ways.

[0050] The first type: The electronic device displays a first window in response to an operation on the driving mode icon on the desktop of the electronic device. For example, in response to a user's trigger operation on icon 209 shown in h in Figure 2, the electronic device displays the interface shown in g in Figure 2, which includes a floating window 210 (equivalent to the first window). For details, please refer to the description of Figure 2 in the text, which will not be repeated here.

[0051] The second type: The electronic device displays the first window in response to an operation of the activation control related to driving mode in the settings application menu. For example, the process shown in Figure 2, from a to b to c to d to e to f to g, can be referred to in the description of Figure 2 in the text, and will not be repeated here.

[0052] The third type: The electronic device responds to the operation of the quick launch entry for driving mode in the notification message and displays the first window; the notification message is a system message or a push message from the Smart Capsule application, which is pushed when the connection between the electronic device and the vehicle system is detected. For example, the process shown in Figure 3 or Figure 4 can be referred to the description of Figure 3 and Figure 4 in the text, which will not be repeated here.

[0053] This application provides multiple ways to activate driving modes, offering users a variety of choices and making it convenient for them to utilize driving modes.

[0054] Secondly, embodiments of this application provide a display device, which may be an electronic device, or a chip or chip system within an electronic device. The display device may include a display unit and a processing unit. When the display device is an electronic device, the display unit may be a display screen. The display unit is used to perform display steps to enable the electronic device to implement a display method described in the first aspect or any possible implementation of the first aspect. When the display device is an electronic device, the processing unit may be a processor. The display device may further include a storage unit, which may be a memory. The storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit to enable the electronic device to implement a display method described in the first aspect or any possible implementation of the first aspect. When the display device is a chip or chip system within an electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit to enable the electronic device to implement a display method described in the first aspect or any possible implementation of the first aspect. The storage unit may be a storage unit within the chip (e.g., a register, cache, etc.), or a storage unit located outside the chip within the electronic device (e.g., a read-only memory, random access memory, etc.).

[0055] Thirdly, embodiments of this application provide an electronic device including one or more processors and a memory, the memory being coupled to one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, and one or more processors calling the computer instructions to cause the electronic device to perform the methods described in the first aspect or any possible implementation of the first aspect.

[0056] Fourthly, embodiments of this application provide a computer-readable storage medium, which includes a computer program or instructions that, when executed on a computer, cause the computer to perform the methods described in the first aspect or any possible implementation thereof.

[0057] Fifthly, embodiments of this application provide a computer program product, which includes computer program code. When the computer program code is run on a computer, it causes the computer to perform the methods described in the first aspect or any possible implementation of the first aspect.

[0058] Sixthly, this application provides a chip or chip system including one or more processors and a communication interface. The communication interface and the one or more processors are interconnected via a circuit. The one or more processors are used to run computer programs or instructions to perform the methods described in the first aspect or any possible implementation of the first aspect. The communication interface in the chip can be an input / output interface, pins, or circuits, etc.

[0059] In one possible implementation, the chip or chip system described above in this application further includes at least one memory storing instructions. The memory can be an internal storage unit of the chip, such as a register or cache, or it can be a storage unit of the chip itself (e.g., read-only memory, random access memory, etc.).

[0060] It should be understood that the second to sixth aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description

[0061] Figure 1 is a schematic diagram of the usage process of an electronic device provided in an embodiment of this application;

[0062] Figure 2 is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0063] Figure 3 is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0064] Figure 4 is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0065] Figure 5 is a schematic diagram of the interface of an electronic device provided in an embodiment of this application;

[0066] Figure 6 is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0067] Figure 6A is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0068] Figure 6B is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0069] Figure 7 is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0070] Figure 8 is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0071] Figure 9 is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0072] Figure 10 is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0073] Figure 11 is a schematic diagram of the display process of an electronic device provided in an embodiment of this application;

[0074] Figure 12 is a software structure block diagram of an electronic device provided in an embodiment of this application;

[0075] Figure 13 is a hardware structure block diagram of an electronic device provided in an embodiment of this application;

[0076] Figure 14 is a block diagram of a chip structure provided in an embodiment of this application. Detailed Implementation

[0077] To facilitate a clear description of the technical solutions in the embodiments of this application, some terms and technologies involved in the embodiments of this application will be briefly introduced below:

[0078] 1. In-vehicle infotainment system: Also known as a vehicle infotainment system, it is an electronic device installed in a vehicle. Its core function is to enable information communication between people and the vehicle, and between the vehicle and the outside world. In some implementations, the in-vehicle infotainment system can provide services and functions such as music playback, movie viewing, games, route navigation, vehicle function control, and automatically dialing emergency rescue numbers in case of emergency.

[0079] However, some basic car infotainment systems can only receive radio broadcasts or play audio from a mobile phone after establishing a Bluetooth connection.

[0080] 2. Dynamic Capsule: Dynamic Capsule is a mobile application that is an interactive display element located at the top of the screen. It is displayed in the form of a "capsule" to show ongoing tasks, making it easy to view real-time status, perform quick operations, or quickly access applications.

[0081] In one implementation, the agile capsule can shrink into a "small ball" shape and then unfold back into an agile capsule after a period of time until the task state ends. The agile capsule can also unfold into a larger form to display dynamic notifications. The timing, duration, and interaction methods of the agile capsule's display vary depending on the task type.

[0082] In this embodiment of the application, the Agile Capsule can be used to push driving mode-related messages, display the real-time status of the driving mode, etc.

[0083] 3. Basic Terminology

[0084] In the embodiments of this application, terms such as "first" and "second" are used to distinguish identical or similar items with substantially the same function and purpose. For example, "first chip" and "second chip" are used only to distinguish different chips and do not limit their order of execution. Those skilled in the art will understand that terms such as "first" and "second" do not limit the quantity or execution order, and that "first" and "second" do not necessarily imply that they are different.

[0085] It should be noted that, in the embodiments of this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0086] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, and c can be single or multiple.

[0087] 4. Electronic equipment

[0088] The electronic devices in this application embodiment may include handheld devices with display functions, vehicle-mounted devices, etc. For example, some electronic devices include: mobile phones, tablets, PDAs, laptops, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving vehicles, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, electronic devices in 5G networks, or future evolution of public land mobile communication networks. The embodiments of this application do not limit the scope of electronic devices in a network (PLMN).

[0089] By way of example and not limitation, in this embodiment, the electronic device can also be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not merely hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are feature-rich, large in size, and can achieve complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those that focus on a specific type of application function and require the use of other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0090] Furthermore, in this application embodiment, the electronic device can also be an electronic device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.

[0091] The electronic device in this application embodiment may also be referred to as: electronic device, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent, or user device, etc.

[0092] In this embodiment, the electronic device includes a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and main memory. The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux, Unix, Android, iOS, or Windows. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.

[0093] People often need electronic devices to provide some assistance while driving, such as using navigation to clarify routes, listening to music to relieve driving fatigue, and so on.

[0094] However, for vehicles without an in-vehicle infotainment system, or with a very basic system (such as an infotainment system that can only make and receive calls and listen to music via Bluetooth, or one that only has a radio), the auxiliary functions that users need often need to be achieved through applications on other electronic devices (such as mobile phones, tablets, etc.).

[0095] In some implementations, as shown in Figure 1a and Figure 1b, the electronic device has many applications installed. Users can usually swipe on the screen shown in Figure 1a to display the application icons shown in Figure 1b. Users can find and open the corresponding application through the above swiping operation. However, while driving, users should pay more attention to observing the road conditions. The complicated process of opening the target application is too cumbersome for users and is not conducive to driving safety.

[0096] In view of this, embodiments of this application provide a display method, electronic device, storage medium, and program product that can intuitively display applications that users may use during driving on the screen of an electronic device, making it convenient for users to use. Compared with the complex process that users have to go through to open the target application in related technologies, it is more convenient and simple, which is conducive to improving the user experience and also helps to ensure the user's driving safety.

[0097] Optionally, the process of a user searching for an application shown in Figure 1 can be exemplary. Users can also search for applications by entering the application name in the search box, or by other methods disclosed in related technologies. This application does not specifically limit this method.

[0098] The following is a detailed description of a display method provided by an embodiment of this application, with reference to Figures 2 to 11. The hardware structure of the electronic device involved in the embodiments of this application may be as shown in Figure 13, and the software structure may be as shown in Figure 12, but this application does not limit this. In this embodiment, a mobile phone is used as an example for illustration; however, it should be noted that the form of the electronic device shown in the various figures of this application is merely exemplary, and the illustrated device form should not constitute a limitation on the electronic device to which the embodiments of this application apply.

[0099] In this embodiment of the application, the operation may include one or more of the following: swipe operation, multi-finger swipe operation, single-click operation, multi-tap operation, multi-finger single-click operation, multi-finger multi-tap operation, long-press operation. An operation may also consist of multiple sub-operations. This embodiment of the application does not specifically limit this.

[0100] In this embodiment, the electronic device may provide a "driving mode," which can be displayed floating above the desktop or other application pages of the electronic device. The electronic device can use this driving mode to recommend applications that might be used in driving scenarios. The driving mode displayed by the electronic device can be a set of controls that can be moved freely within the display area of ​​the electronic device (which can also be understood as the area of ​​the electronic device's screen) in response to user operations; this application does not specifically limit this.

[0101] The following, with reference to Figures 2 to 5, will provide a detailed explanation of how electronic devices enter this driving mode (which can also be understood as how driving mode is activated).

[0102] Figure 2 illustrates an example of how to enter a driving mode.

[0103] In one possible implementation, the electronic device can enter driving mode as shown in Figure 2.

[0104] Optionally, the electronic device can enter driving mode as shown in Figure 2 after connecting to the vehicle's infotainment system. The connection between the electronic device and the infotainment system can be via Bluetooth, and the operating systems of the infotainment system and the electronic device can be the same or different; this application does not impose any specific limitations on either.

[0105] In some implementations, the electronic device can open the settings application in response to user operation, and enter driving mode through the settings application. As shown in Figure 2, the electronic device can display the interface shown in Figure 2 (b) in response to the user's click on icon 201 shown in Figure 2 (a). Icon 201 can be the icon of the "Settings" application, and the interface shown in Figure 2 (b) can be the menu interface corresponding to the settings application.

[0106] Furthermore, the electronic device can respond to a user's click operation on the area corresponding to 202 in the interface shown in Figure 2b, displaying the interface shown in Figure 2c. Optionally, the area corresponding to 202 can be named "More Connections" or any other arbitrary name. The interface displayed by the electronic device after clicking this area (i.e., the interface shown in Figure 2c) can be used to establish functional connections for the electronic device, such as near field communication (NFC), vehicle-to-everything (V2X) connectivity, wireless screen projection, connecting the electronic device to a computer, connecting the electronic device to a printer, establishing a virtual private network (VPN) connection, and a domain name system (DNS) connection. This application does not specifically limit the naming of the area corresponding to 202 or the functions that the electronic device can perform in response to a user's click on the area corresponding to 202.

[0107] When the electronic device displays the interface shown in Figure 2c, it can respond to the user's click on the area corresponding to 203 shown in Figure 2c and display the interface shown in Figure 2d. Optionally, the area corresponding to 203 can be named "Vehicle Connectivity" or any other arbitrary name. On the interface shown in Figure 2d, in some implementations, the electronic device can respond to user operations to achieve intelligent interconnection between the electronic device and the vehicle. When the vehicle system is relatively intelligent, various services of the electronic device can be transferred to the vehicle screen for display.

[0108] In some possible implementations, the user can also click on the area corresponding to 205 on the interface shown as d in Figure 2 to complete the connection between the electronic device and the vehicle system. The area corresponding to 205 can be named "Connect Vehicle", but this application does not specifically limit it in this regard.

[0109] Furthermore, the electronic device can respond to a user's click on the control 204 shown in Figure 2 (d) and display a card 206 as shown in Figure 2 (e). This card 206 includes a corresponding area 207 (control 207) and a corresponding area 208 (control 208). The corresponding area 207 is used to create a shortcut for the driving mode on the electronic device's desktop, and the corresponding area 208 is used to access the interface shown in Figure 2 (f). Optionally, the corresponding area 207 can be named "Create Desktop Shortcut" or any other arbitrary name, and the corresponding area 208 can be named "Driving Mode" or any other arbitrary name. This application does not specifically limit the naming or specific function of the corresponding areas 207 and 208.

[0110] In one implementation, the electronic device can respond to a user's click operation on the area corresponding to 207 shown in Figure 2 (e), displaying a driving mode icon on the desktop of the electronic device. This driving mode icon could be, for example, icon 209 shown in Figure 2 (h). Furthermore, the electronic device can respond to a user's click operation on icon 209 in Figure 2 (h), displaying the interface shown in Figure 2 (g), which includes a floating window 210 enclosed by a dashed box. This floating window 210 can be understood as a display form of the "driving mode".

[0111] In another implementation, the electronic device can respond to a user's click operation on the area corresponding to 208 shown in Figure 2 (e), displaying the interface shown in Figure 2 (f). This interface includes the area corresponding to 211 (control 211) and the area corresponding to 212 (control 212). The area corresponding to 211 can be used to create a shortcut corresponding to the driving mode on the desktop of the electronic device, and the area corresponding to 212 can be used to enter the interface shown in Figure 2 (f). Optionally, the area corresponding to 211 can be named "Create Desktop Icon" or any other arbitrary name, and the area corresponding to 212 can be named "Enter Driving Mode" or any other arbitrary name. However, this application does not specifically limit the naming of the areas corresponding to 211 and 212 or their specific functions.

[0112] When the electronic device displays the interface shown in f of Figure 2, the electronic device can respond to the user's click operation on the area corresponding to 211 and display the driving mode icon on the desktop of the electronic device. The driving mode icon can be, for example, the icon 209 shown in h of Figure 2. Then, the electronic device can further respond to the user's click operation on the icon 209 in h of Figure 2 and display the interface shown in g of Figure 2 on the screen of the electronic device. This interface includes the floating window 210 enclosed by the dashed box. Alternatively, the electronic device can respond to the user's click operation on the area corresponding to 212 and display the interface shown in g of Figure 2. This interface includes the floating window 210 enclosed by the dashed box.

[0113] It should be noted that the floating window 210 on the electronic device can be interpreted as the electronic device having entered driving mode or the electronic device having activated driving mode.

[0114] It should be noted that, in the embodiments of this application, the area displayed in the application interface that the user can operate and the electronic device can perform corresponding actions in response to the user's operation can be referred to as a control, button, icon, etc.

[0115] Figure 3 illustrates an alternative method for entering a driving mode. With the connection between the electronic device and the vehicle's infotainment system automatically established and the electronic device displaying a lock screen, the electronic device can display a notification message 301 on the lock screen shown in Figure 3a. This notification message 301 prompts the user that the driving mode is ready. In response to the user's click on the control 302 included in the notification message 301, the electronic device can display the interface shown in Figure 3b after unlocking. This interface includes a floating window 210 enclosed by a dashed box.

[0116] In one possible implementation, when the connection between the electronic device and the vehicle system has been established, the electronic device determines that the type of the connected vehicle system is a preset type, and the electronic device displays a lock screen interface, the electronic device can display notification message 301 on the lock screen interface shown in Figure 3a.

[0117] Optionally, the preset type can be used to indicate that the vehicle system does not have the ability to provide application services, or in layman's terms, that the preset type of vehicle system has a low level of intelligence. For example, the preset type can be a bicycle, an electric bicycle, or a car manufactured before a preset year, etc., and this application does not make specific limitations in this regard.

[0118] Figure 4 illustrates another way to enter a driving mode. With the connection between the electronic device and the vehicle system established and the screen of the electronic device unlocked, the electronic device can display a notification message 401 on the interface shown in Figure 4a. The notification message 401 is used to prompt the user that the driving mode is ready. In response to the user's click on the control 402 contained in the notification message 401, the electronic device can display the interface shown in Figure 4b after the electronic device is unlocked. This interface includes the floating window 210 enclosed by the dashed box.

[0119] In one possible implementation, when the connection between the electronic device and the vehicle system has been established, the electronic device determines that the connected vehicle system is of a preset type, and the electronic device has unlocked its screen, the electronic device can display notification message 401 on the interface shown in Figure 4a.

[0120] Optionally, the notification message can be a pop-up message at the top of the electronic device screen as shown in Figure 4a, or it can be a pop-up message displayed in any other location on the electronic device screen. This application does not specifically limit the display location of the message.

[0121] Optionally, if the electronic device allows pop-up messages related to driving mode, or if the electronic device allows pop-up messages for system messages, the notification message 401 can be a system message; if the electronic device does not allow pop-up messages related to driving mode, or if pop-up messages for system messages are not allowed in the electronic device, but the Lingdong Capsule application is allowed to push messages, the notification message 401 can be a message pushed by the Lingdong Capsule application.

[0122] It is worth noting that when a user uses the driving mode function for the first time with the electronic device, the electronic device can display the card 501 shown in Figure 5 in response to the user's click operation on the area corresponding to 212 shown in Figure 2f, the click operation on the icon 209 shown in Figure 2h, the click operation on the control 302 shown in Figure 3a, or the click operation on the control 402 shown in Figure 4a. After the user reads the various agreements and clicks the "agree" control, the electronic device can display an interface including the floating window 210 in response to the user's click operation on the "agree" control.

[0123] It should be noted that the actual display interface of the electronic device may not include the dashed box of 210. The dashed boxes in g in Figure 2, b in Figure 3, and b in Figure 4 are only for highlighting the selected content and are not the content actually displayed on the display interface.

[0124] The following sections, in conjunction with Figures 6 to 11, will provide a detailed description of the various display forms of the driving modes, including the floating window 210.

[0125] The display form of the driving mode in the floating window 210 shown in Figure 6a can be understood as the first display form of the driving mode. This display form includes the corresponding area 601 and the corresponding area 602. This display form can also be called the unfolded state. After entering the driving mode in the manner shown in Figures 2 to 4 of this application, the unfolded state of the driving mode can be directly presented.

[0126] The expanded state can include all information content in driving mode: the home button (e.g., icon 603 shown in Figure 6a), recently used and frequently used applications (e.g., the icons included in the area corresponding to 604 shown in Figure 6a); and the right-hand title bar (e.g., the area occupied by control 605, the "Driving Mode" text, control 607, and control 608 shown in Figure 6a), indicators (e.g., 609 shown in Figure 6a), and card content (e.g., control 606 shown in Figure 6a). Optionally, when the electronic device recommends applications and service information to the user through driving mode, the area corresponding to 604 may also include recommended applications and service information.

[0127] In other words, the area corresponding to 601 can display the home button, recommended apps, service information, recently used apps, frequently used apps, etc., while the card area corresponding to 602 can display information such as the title bar and card content.

[0128] Optionally, the applications recently used by the user may include one or more applications that the user most recently used; the applications frequently used by the user may include one or more applications that the user has used more than a threshold 1 in the course of using the electronic device in the past (or in a certain period of time in the past), but this application does not make any specific limitations on this.

[0129] It should be noted that, in one possible implementation, the apps recently used by the user and / or the apps frequently used by the user can be the result of statistics on the user's app usage in driving mode.

[0130] The size of the area corresponding to 601 can be dynamically adjusted according to the amount of content displayed. The content displayed in the area corresponding to 601 may include icons, such as application icons. This embodiment of the application does not specifically limit the number of icons that can be displayed in this area.

[0131] As shown in Figure 6a, the area corresponding to 601 may include the persistent icon 603 (home button) and the area corresponding to 604 for displaying other icons. In some implementations, the icons displayed in the area corresponding to 604 may include application icons. These application icons may be arranged sequentially based on icon 603, according to the order of the user's most recently used application icons and the user's most frequently used application icons. However, this application does not specifically limit the specific icons included in the area corresponding to 604 or their arrangement order, nor does it specifically limit the specific number of the user's most recently used applications or the specific number of the user's most frequently used application icons included in the area corresponding to 604.

[0132] In some implementations, users can switch driving mode display modes by clicking or double-clicking icon 603. For example, when the electronic device displays the interface shown in Figure 6a, it can respond to the user's click on icon 603 and display the interface shown in Figure 6b. Alternatively, the electronic device can display the interface shown in Figure 6b if there is no user input during the first display mode's time period 1. In Figure 6b, the area corresponding to 601 only includes icon 603. This display mode, where the area corresponding to 601 only includes icon 603, can be understood as the second display mode of driving mode, also known as the floating mode. In the floating mode, only the home button is displayed.

[0133] Optionally, time period 1 can be 3 seconds, but this application does not specifically limit it.

[0134] Furthermore, when the second display mode of the driving mode is directly switched from the first display mode of the driving mode, the electronic device can also respond to the user's click operation on the icon 603 in the second display mode of the driving mode to switch the display mode of the driving mode from the second display mode of the driving mode back to the first display mode of the driving mode, for example, from switching from as shown in b in Figure 6 to as shown in a in Figure 6.

[0135] Optionally, the second display mode of the driving mode may be switched directly from the first display mode of the driving mode. This may include the electronic device switching the display mode of the driving mode from the second display mode of the driving mode back to the first display mode of the driving mode in response to the user's click operation on the icon 603 in the first display mode of the driving mode.

[0136] As shown in Figure 6a, the area corresponding to 602 may include control 606 and indicator 609. This application does not limit the specific number of indicators shown by indicator 609.

[0137] It is worth noting that the content displayed by control 606 can be changed. Control 606 can be multiple cards stacked together, and the card displayed on the top layer can be switched by sliding. In some implementations, the electronic device can switch the content displayed in the control in response to the user's sliding operation on the corresponding area of ​​control 606. The sliding operation can be a left or right swipe, but this application does not specifically limit it.

[0138] Optionally, the control 606 can also be called a card 606. The content that the card 606 can display may include several preset types, such as address cards related to map applications that include the user's frequently used addresses, media control cards that can be used to control the playback of various audio-related applications in electronic devices, contact cards related to call applications, payment service cards related to payment applications, and playlist cards of a music application, etc.

[0139] In the first implementation, regardless of which application's icon is displayed in the area corresponding to 604, control 606 randomly displays any of the aforementioned cards.

[0140] Optionally, when the user slides the corresponding area of ​​control 606, the content displayed in control 606 can be switched one by one among the aforementioned cards; or, the content displayed in control 606 can automatically rotate all the aforementioned cards based on a preset order and preset frequency; or, if the user does not operate within a preset time period after control 606 displays a certain card, control 606 automatically rotates the next card in a preset order and preset frequency. The preset time period can be the same as or different from the time interval of the preset frequency, and this application does not specifically limit it in this regard.

[0141] Optionally, in addition to switching card content, the state displayed by the indicator 609 below the control 606 can also change. In one possible implementation, the preset order can be, for example, an order in which address cards, media control cards, contact cards, payment service cards, and playlist cards are arranged sequentially and can cycle from the beginning. If the control 606 displays an address card, the first indicator from left to right in the indicator 609 shown in Figure 6 is displayed as selected. Then, if the control 606 displays a media playback card, the second indicator from left to right in the indicator 609 is displayed as selected. If the control 606 displays a contact card, the third indicator from left to right in the indicator 609 is displayed as selected, and so on. The number of indicators shown in the figure is merely exemplary. In a specific implementation, the number of indicators may be more or less than the number shown in the figure. The illustrations in this application do not constitute a specific limitation on the embodiments of this application.

[0142] It should be understood that when an indicator is displayed as selected, its shape, size, line color, or fill color can distinguish it from other unselected indicators.

[0143] In the second implementation, the content displayed in control 606 is associated with the icon displayed in the corresponding area of ​​604.

[0144] For example, before user interaction, control 606 displays content associated with the application corresponding to icon 607, such as an address card. In response to a user's first left swipe on control 606, the electronic device can display content associated with the application corresponding to icon 608, such as a media control card, in the corresponding area of ​​control 606. In response to another left swipe on control 606, the electronic device can display content associated with the application corresponding to icon 609, such as a contact card, in the corresponding area of ​​control 606. In one implementation of this, when control 606 displays content associated with the application corresponding to icon 607, the first indicator in 609 is shown as selected; when control 606 displays content associated with the application corresponding to icon 608, the second indicator in 609 is shown as selected, and so on. Further details are omitted.

[0145] In the third implementation, if the icon of the recommended application does not appear in area 604, the display method of control 606 can be either the first or the second implementation. If the area corresponding to 604 includes the icon of the recommended application of the electronic device, control 606 displays the card associated with the recommended application.

[0146] Of course, after the control 606 displays the card associated with the recommended application, if the user does not perform any operation within a preset time period, the control 606 can still automatically rotate to the next card according to the preset order. This application does not make any specific limitations on this.

[0147] Optionally, the indicator 609 can also be located on the left or right side of the corresponding area of ​​602, arranged from top to bottom, in the same way as the icons in area 604. Correspondingly, the user can also switch the content displayed by the control 606 by sliding up or down, but this application does not specifically limit this.

[0148] As shown in Figure 6a, the area corresponding to 602 also includes controls 607 and 608.

[0149] Control 607 is used to exit driving mode (or can be understood as turning off driving mode). In one possible implementation, when the user clicks control 607, the floating window 210 shown in Figure 6a disappears from the interface.

[0150] Control 608 is used to set the driving mode. The electronic device can respond to the user's click operation on control 608 and display the interface shown in Figure 6A. This interface can be understood as the driving mode setting interface. This interface includes controls such as automatic cruise control switch 610, application recommendation switch 611, and music recommendation switch 612. This application does not make specific limitations on these controls.

[0151] It should be understood that when switch control 610 is in the open state, the map application can provide real-time traffic information, automatic route adjustment, electronic eye reminders, traffic light status reminders, and other functions when the user uses the map application; when switch control 611 is in the open state, the electronic device can recommend applications to the user through the driving mode interface; when switch control 612 is in the open state, the electronic device can recommend music or music playlists to the user through the driving mode interface.

[0152] In one possible implementation, when the driving mode is first activated, the aforementioned switch controls 610, 611, and 612 can all be in the on state. The implementation of this application further provides users with the freedom to choose whether to enable or disable the corresponding function switch controls. Users can enter the interface shown in Figure 6A to disable the function controls they want to disable, respecting the user's right to choose independently, which is conducive to improving the user experience.

[0153] In one possible implementation, when the switch control 611 is in the on state, the electronic device can recommend applications that the user may need. The specific implementation is described in detail below with reference to Figures 8 to 11, and will not be explained in detail here.

[0154] In one possible implementation, when the switch control 612 is in the on state, the content displayed by control 606 may include a playlist card, as shown in Figure 6B. This playlist card may include a recommended playlist cover image, the playlist name, a play / pause control (which can be understood as a control that combines playback and pause functions; clicking this control during song playback pauses the song, and clicking it while the song is paused resumes playback), and a "Change" control. Clicking the play / pause control plays or pauses the track, and clicking the "Change" control changes the playlist. For example, as shown in Figure 6B, after clicking the "Change" control, the playlist corresponding to this playlist card changes from playlist A to playlist B.

[0155] Optionally, the playlist card can always be associated with a preset music application, which is beneficial to the promotion of that music application; or, the user can set the music application associated with the playlist card; or, the music application associated with the playlist card can be random, and this application does not make specific limitations on this.

[0156] In some implementations, when a user clicks the play control to play the track displayed on the playlist card, the playlist card may no longer be displayed in the corresponding area of ​​control 606. In simpler terms, when the track displayed on the playlist card is played, the playlist card disappears from the corresponding area of ​​control 606. Simultaneously, the media control card can be displayed on top, showing the song currently playing from the aforementioned playlist. The media control card provides playback control functions for the playlist, such as play, pause, switch to the next track, switch to the previous track, and add the song to favorites.

[0157] Optionally, when the switch control 612 is in the off state, the content that the control 606 can display may not include the playlist card.

[0158] In one possible implementation, the address card could be, for example, displayed as control 606 shown in Figure 6a. This address card could include a destination recommended by the electronic device to the user, the distance of that destination in kilometers from the current location, a "Navigation" control, and a "More Locations" control. In response to the user clicking the "Navigation" control, the electronic device could directly begin navigation from the current location to that destination. If the user wants to select a different address, they can also directly click the "More Locations" control. In response to the user's action, the electronic device would enter a map application, for example, the interface shown in Figure 8c, to input other addresses for further processing.

[0159] In one possible implementation, the media control card described above can be, for example, displayed as control 606 shown in h of Figure 8. This media control card can include text content such as the user's most recently opened audio application, the lyrics of the most recently played song, song title, and artist information. It can also display play / pause controls (which can be understood as controls that combine playback and pause functions; clicking the control pauses the song during playback, and resuming playback when the song is paused), controls for switching to the previous track, and controls for switching to the next track. The electronic device can respond to the user's operation on the play / pause controls and directly resume playing the user's most recently played audio.

[0160] In one possible implementation, the contact card could be, for example, displayed as control 606 shown in Figure 8a. This contact card could include one or more frequently used contact icons; when a user clicks one of these icons, the electronic device can respond to the user's action by directly initiating a phone call to the corresponding contact.

[0161] In one possible implementation, the aforementioned payment service card may be, for example, displayed as control 606 shown in Figure 10 (d). This payment service card may include one or more application QR code payment shortcut icons and / or payment code quick display icons. A user can click any QR code payment shortcut icon, and the electronic device can respond to this operation by entering the corresponding application's scan interface. Alternatively, a user can also click any payment code quick display icon, and the electronic device can respond to this operation by directly displaying the corresponding application's payment code.

[0162] As shown in Figure 6a, the area corresponding to 602 also includes control 605. Control 605 can also be understood as a back button.

[0163] In one possible implementation, the rectangular area jointly occupied by control 605, the area corresponding to the word "driving mode", control 607, and control 608 can be understood as the title bar area.

[0164] In some implementations, the electronic device can respond to the user's click on control 605 (back button), collapsing the area corresponding to 602 and displaying the interface shown in Figure 6c. The difference between the driving mode shown in Figure 6c and the driving mode shown in Figure 6a is that the interface shown in Figure 6c does not include the area corresponding to 602, and the area corresponding to 601 does not only include icon 603. This display form, which excludes the area corresponding to 602 and where the area corresponding to 601 does not only include icon 603, can be understood as the third display form of driving mode, also known as the shortcut state.

[0165] Furthermore, in the third display mode of the driving mode shown in Figure 6c, the electronic device can also respond to the user's click operation on icon 603 and display the second display mode of the driving mode shown in Figure 6b.

[0166] When the second display mode of the driving mode shown in Figure 6b on the electronic device is obtained in response to the user's click operation on icon 603 shown in Figure 6c, which is the third display mode of the driving mode shown in Figure 6c, the electronic device can switch the display mode of the driving mode from the second display mode shown in Figure 6b back to the third display mode shown in Figure 6c in response to the user's click operation on icon 603.

[0167] Therefore, if the electronic device displays the first display mode of the driving mode before displaying the second display mode, then when the electronic device displays the second display mode of the driving mode, it can switch the display mode of the driving mode back to the first display mode in response to the user's click operation on icon 603; if the electronic device displays the third display mode of the driving mode before displaying the second display mode of the driving mode, then when the electronic device displays the second display mode of the driving mode, it can switch the display mode of the driving mode back to the third display mode in response to the user's click operation on icon 603.

[0168] In some implementations, the electronic device can also display the first display mode of the driving mode shown in Figure 6a in response to the user's double-click operation on icon 603, while displaying the third display mode of the driving mode shown in Figure 6c.

[0169] As mentioned above, icon 603 can be called the home button, the first display form of the driving mode can be called the expanded state of the driving mode, the second display form of the driving mode can be called the floating state of the driving mode, and the third display form of the driving mode can be called the shortcut state of the driving mode, but this application does not make any specific limitations on these.

[0170] The area corresponding to 601 shown in Figure 6 can be understood as being expanded downwards from icon 603. Optionally, this area can also be expanded to the left, right, or any other direction from icon 603. The icons contained in the area corresponding to 601 can be presented in a fully expanded manner as shown in Figure 6, or in a stacked manner, or in any other manner. The relative positions of the area corresponding to 601 and the area corresponding to 602 can also be any relative positions, such as 601 above 602, or 602 above 601, or 602 to the left 601 to the right, etc. This application does not make any specific limitations on these positions.

[0171] Taking the first display form of driving mode as an example, in some implementations, when the icons in the area corresponding to 601 are presented in a stacked manner, the electronic device can respond to the user's click operation on the stacked position and unfold the stacked icons in sequence for the user to select. For example, it can be a switch from Figure 7a to Figure 7b. The "stacked position" can be understood as the position circled by the dashed box shown in Figure 7a, where the icon placed on the lower layer is partially obscured by the icon on the upper layer. However, this application does not limit the specific implementation of stacking. The dashed box in the figure is only used to emphasize the location of the stacked position and is not displayed on the electronic device. After the stacked icons are unfolded, as shown in Figure 7b, they can cover the card. Clicking the stacked position again can collapse the unfolded icons.

[0172] The icons in the 601 area are presented in a stacked manner, which helps to recommend more applications in the 601 area and makes it easier for users to choose.

[0173] In this embodiment of the application, the driving mode may also have a fourth display form, which may be derived from any of the first, second, or third display forms of the driving mode when the electronic device determines that there is recommended content (such as recommended applications or service information) that meets preset conditions.

[0174] Optionally, the fourth display mode of the driving mode can be called the recommended mode, but this application does not specifically limit it. In the fourth mode of the driving mode, the area corresponding to 601 may include recommended application and / or service information.

[0175] The following uses driving as an example application scenario. User behaviors in driving scenarios typically include getting into the car, driving out of the parking spot (e.g., garage), driving, and arriving at the destination. This application embodiment uses the above user behaviors as an example and combines the content recommendation logic in the driving mode to describe in detail the fourth display form of the driving mode, which is a variation of any one of the first, second, or third display forms of the above driving mode.

[0176] In one possible implementation, after the electronic device enters driving mode, it may first display the first mode of driving mode, as shown in Figure 8a. Then, upon detecting that driving mode has been activated, the electronic device assumes the user is in a vehicle-getting scenario. In this scenario, the electronic device can recommend map application 1 to the user based on condition 1. The activation of driving mode indicates the user is in a vehicle-getting scenario, meaning the user has a travel need. Since map applications are frequently used by most users during travel, recommending map application 1 eliminates the need for the user to search through numerous applications, facilitating their travel.

[0177] The electronic device can recommend map application 1 to the user by displaying the application icon of map application 1 in the corresponding area of ​​601 through the driving mode interface, such as icon 801 shown in Figure 8b. Optionally, the icon 801 has a recommendation mark 802, which is used to indicate to the user that the application is recommended by the electronic device.

[0178] Optionally, this application does not limit the relative position of the recommendation logo and the application icon, nor the specific style of the recommendation logo.

[0179] In one possible implementation, condition 1 for the electronic device to recommend map application 1 to the user can be either 1) or 2) below. Preset conditions include condition 1.

[0180] 1) No map application icon is displayed in the area corresponding to 601 and / or no map application is launched on the electronic device.

[0181] As described above, after the electronic device enters driving mode based on user operation, in the initial stage of driving mode startup (or when the timing of meeting the preset conditions has not occurred), the area corresponding to 601 can be, from top to bottom, a permanent icon 603, one or more recently used applications, one or more frequently used applications, etc. In the embodiments of this application, the number of recently used applications and one or more frequently used applications included in the area corresponding to 601 can be designed according to the capacity of the icons in the area corresponding to 601, and this application does not make specific limitations on this.

[0182] In one possible implementation, the applications recently used by the user or frequently used by the user may include map applications, or there may be map applications running in the background of the electronic device. In this case, the user can already see the icon of a map application in the area corresponding to 601, or is already using a map application. To reduce the complexity of user use and save the power consumption of the electronic device, the electronic device may recommend map application 1 to the user even if the icon of a map application is not displayed in the area corresponding to 601 and / or the electronic device has not launched any map applications.

[0183] Optionally, if there are recommended applications for electronic devices in the area corresponding to 601, the area corresponding to 601 can be, from top to bottom, a persistent icon 603, recommended applications, one or more applications recently used by the user, and one or more applications frequently used by the user, but this application does not make specific limitations on this.

[0184] Optionally, in this case, map application 1 can be the map application that the user uses most frequently among the map applications installed on the electronic device; or, a map application specified by the electronic device manufacturer. This application does not make any specific limitation on this.

[0185] 2) The icon for Map Application 1 is not displayed in the area corresponding to 601, and / or the electronic device has not started Map Application 1.

[0186] In this case, map application 1 can be a specific map application designated by the electronic device manufacturer. This application does not specifically limit which map application it is. When the electronic device detects that driving mode has been activated, and the map application displayed in the area corresponding to 601 is not map application 1 and / or the map application activated by the electronic device is not map application 1, the electronic device can recommend map application 1 in the area corresponding to 601, which is beneficial for promoting map application 1.

[0187] It should be understood that the user being in the vehicle scenario described here is a general term, including but not limited to: the user's electronic device driving mode has been activated, the user has approached the vehicle (e.g., the user is carrying an electronic device into the Bluetooth connection range with the vehicle's infotainment system), the user has opened the vehicle door, the user is getting into the vehicle, the user has entered the vehicle, etc., or the duration after the user's electronic device has activated the driving mode has reached a certain duration threshold.

[0188] For example, taking condition 1) above as an example, when the electronic device starts the driving mode according to the user's operation, but the map application does not appear in the driving mode (for example, the map application icon does not appear in the area corresponding to 601 shown in Figure 8a), and the electronic device is not currently using the map application for navigation (or the map application is not started), the electronic device recommends map application 1 to the user (the icon 801 appearing in the area corresponding to 601 shown in Figure 8b can be, for example, the icon of map application 1).

[0189] In one example, the electronic device displays the first display mode of the driving mode as shown in Figure 8a. Then, if the electronic device determines that condition 1 is met, it can switch the display mode of the driving mode from the mode shown in Figure 8a to the mode shown in Figure 8b. That is, the application icon 801 recommended by the electronic device (icon 801 with recommended icon 802 shown in Figure 8b) replaces icon 805 in Figure 8a. In the driving mode display mode shown in Figure 8b, the area corresponding to 601 can contain the application icon 801 with the recommended identifier 802.

[0190] In one implementation, the application icon with the recommendation label can replace the icon adjacent to icon 603 before the application is recommended, as shown in Figure 8a to Figure 8b; in another implementation, the application icon with the recommendation label is displayed in the position adjacent to icon 603, and other icons in area 604 can be moved down in sequence.

[0191] Optionally, the first display form of the driving mode shown in Figure 8a does not include a map application. However, when the electronic device recommends map application 1 through the driving mode interface, the display form of the driving mode shown in Figure 8b may include an icon of map application 1, such as icon 801 shown in Figure 8b. The lower right corner of icon 801 may display a recommendation indicator 802, and the display content in control 606 is also switched to content related to the map application, such as address cards.

[0192] Optionally, if the user does not perform any operation on the address card displayed by the control 606 within a preset time period, the control 606 can automatically rotate to the next card according to a preset order.

[0193] Optionally, the display form of the driving mode shown in Figure 8b can be understood as the display form of the first display form of the driving mode when the preset conditions are met, or it can be broadly understood as the first display form of the driving mode (or it can be said to be the recommended state under the expanded state); or it can be understood as an implementation of the fourth display form of the driving mode.

[0194] Furthermore, when the electronic device displays the driving mode shown in Figure 8b, it can respond to the user's click on icon 801 and display the interface shown in Figure 8c. This interface may include the interface of map application 1, such as the homepage of map application 1. Then, in response to the user's input of key information such as the navigation starting point in the map application 1 interface, the electronic device can display routes, recommend various travel options, etc., for example, displaying the interface shown in Figure 8d.

[0195] In some implementations, the electronic device can display the destination that the user may want to navigate to in the corresponding area of ​​the control 606 based on the user's usage habits (such as frequently occurring navigation start location information). In this way, the electronic device can switch from the interface shown in Figure 8b to the interface shown in Figure 8d in response to the user's click operation on the icon 803.

[0196] Then, the electronic device can respond to the user's click on the "Start Navigation" control shown in Figure 8 (d) and enter the navigation interface shown in Figure 8 (e), thereby providing navigation services to the user, who can then drive according to the navigation guidance. Alternatively, the electronic device can respond to the user's click on icon 803 and directly display the navigation interface shown in Figure 8 (e).

[0197] It should be noted that when an electronic device launches the application recommended by the driving mode and enters the application interface, the display mode of the driving mode can be a second display mode of the driving mode, such as shown in Figure 8c, Figure 8d, and Figure 8e.

[0198] Furthermore, the electronic device detects that the vehicle is moving (this movement can be determined by the electronic device based on its own sensors or a global positioning system; the movement of the electronic device can be understood as the movement of the vehicle), which can be understood as a scenario where the electronic device is driving. The preset conditions in this scenario can include condition 2, such as: the vehicle speed exceeding threshold 2, or no audio-related applications being launched on the electronic device. The driving mode of the electronic device can recommend audio applications to the user when condition 2 is met. The display format of the driving mode can change from what is shown in Figure 8e to what is shown in Figure 8f. This change can be achieved by expanding downwards from icon 603 to a larger area 601, with application icons 804 displayed below and adjacent to icon 603.

[0199] Optionally, audio applications can be, for example, music applications, audiobook applications, etc., and this application does not specifically limit them. In the driving mode display shown in Figure 8f, a music application is recommended as an example. Icon 804 can be a music application icon, and icon 804 can also have a recommendation label 802.

[0200] Optionally, f in Figure 8 could represent a third display mode for the driving mode: when the electronic device displays the second display mode of the driving mode, if there is recommended content that meets preset conditions, the display mode changes to the third display mode. This third display mode can also be understood as another implementation of the fourth display mode of the driving mode. In this display mode, the driving mode interface includes the area corresponding to 601, which includes a persistent icon 603 and application icons recommended by the driving mode 804.

[0201] In one implementation, when the electronic device displays the interface shown in f in Figure 8, the electronic device can respond to the user's click on icon 804 and enter the interface shown in g in Figure 8. This interface includes the interface of the application corresponding to icon 804. The user can directly enter the interface of the application based on the driving mode recommendation, without having to search through the many applications installed on the electronic device, thereby improving the convenience and safety of the user's use of the electronic device while driving.

[0202] In another implementation, when the driving mode is displayed as shown in f in Figure 8, the electronic device can respond to a double-click operation on icon 603 and display the interface shown in h in Figure 8.

[0203] As shown in h in Figure 8, when the electronic device displays its recommended audio application (icon 804) in the area corresponding to 601, the control 606 shown in h in Figure 8 can display a media control card. As described above, the content of this media control card is related to the audio application that the user recently opened. Therefore, it is worth noting that if the application corresponding to icon 804 is the audio application that the user recently opened, then the audio displayed in the media control card comes from the application corresponding to icon 804; if the application corresponding to icon 804 is not the audio application that the user recently opened, then the audio displayed in the media control card does not come from the application corresponding to icon 804.

[0204] Optionally, the icon 806 shown in h in Figure 8 can be used to indicate the source of the audio displayed by the current media control card. The icon 806 can be the application icon corresponding to the audio source, and this application does not make any specific limitation in this regard.

[0205] It should also be noted that if the application corresponding to icon 804 is not an audio application recently opened by the user, and the audio displayed in the media control card does not originate from the application corresponding to icon 804, then if the user clicks icon 804, the electronic device responds to this operation and launches the application corresponding to icon 804. In this case, the application corresponding to icon 804 becomes the audio application recently opened by the user, and the electronic device can refresh the media control card. The audio displayed in the refreshed media control card comes from the application corresponding to icon 804. This means that the application associated with the media control card is not static, but changes depending on the audio application launched by the user.

[0206] Furthermore, users can conveniently perform audio playback operations by manipulating the control 606 shown in h in Figure 8. It should be noted that when users directly operate the control 606 shown in h in Figure 8, the display interface of the electronic device can remain on the current interface, that is, the electronic device does not need to open the interface of the application associated with the current control 606 (i.e., the media control card).

[0207] Optionally, if the user does not perform any operation on the control 606 within a preset time period, the control 606 can automatically rotate to the next card according to a preset order, as described above, and will not be repeated here.

[0208] In another possible implementation, the control 606 shown in h in Figure 8 can also be a playlist card. The relevant content about playlist cards can be found in the description of the above embodiments.

[0209] As mentioned above, when the electronic device displays the third display mode of the driving mode, it can respond to the user's double-click operation on icon 603 to switch the display mode from the third display mode (shortcut mode) to the first display mode (expanded mode). The driving mode display mode shown in Figure 8f can be understood as the third display mode. Therefore, the electronic device can respond to the double-click operation on icon 603 in Figure 8f to display the driving mode display mode corresponding to Figure 8h. This display mode can be understood as the first display mode of the driving mode when preset conditions are met. Its form still conforms to the first display mode of the driving mode (including the icon display area corresponding to 601 and the card area corresponding to 602). Since the area corresponding to 601 contains recommended applications for the driving mode, it can also be understood as another implementation of the fourth display mode of the driving mode.

[0210] It should be noted that users can also double-click icon 804, and in response to the user's double-click operation, the interface displayed on the electronic device will switch from the interface shown in f in Figure 8 to the interface shown in g in Figure 8; or, users can also click icon 804, and in response to the user's click operation, the interface displayed on the electronic device will switch from the interface shown in f in Figure 8 to the interface shown in g in Figure 8. This application does not limit the specific operation method of the user on the icon.

[0211] Optionally, the display form of the driving mode shown in h in Figure 8 and the display form of the driving mode shown in b in Figure 8 can be understood as being of the same type.

[0212] It should be understood that, in scenarios where electronic devices are in motion, the display format for recommended audiobook or phone call apps in driving mode can be similar to the display format for recommended music apps, and will not be elaborated further here. In some implementations, the priority order for recommending audio apps in driving mode, from highest to lowest, may be: music apps > audiobook apps, but this application does not specifically limit this.

[0213] For example, in some implementations, the preset condition may also include condition 3, which could be: the duration of time period 2 that the music application on the electronic device has been running, or X percent of the user's current trip has been completed, where X is a non-negative number. If the electronic device detects that condition 3 has been met, the driving mode can recommend a phone application to the user. This allows the user to pull over and make a call when needed, without requiring other complex operations, thus simplifying the user's workflow. This application does not impose any restrictions on the specific duration of time period 2 or the specific value of X.

[0214] In one possible scenario, when the electronic device displays the second display mode of the driving mode, the driving mode recommends a phone call application to the user. Exemplarily, before recommending the phone call application, the electronic device's display interface can be as shown in Figure 9a (similar to Figure 8e). Upon detecting that condition 3 is met, the electronic device changes the display mode of the driving mode from that shown in Figure 9a to that shown in Figure 9b. This change can be a larger area 601 expanding downwards from icon 603, with icon 901 displayed below and adjacent to icon 603. Icon 901 shown in Figure 9b can be a phone application icon, which may include a recommendation label 802.

[0215] The display form of the driving mode shown in Figure 9b and the display form of the driving mode shown in Figure 8f can be understood as being of the same type, and will not be described further.

[0216] Optionally, the electronic device may respond to a user's click on icon 901 shown in Figure 9b to display the interface shown in Figure 9c. It should be noted that in the interface shown in Figure 9c, the driving mode is displayed in the second display mode.

[0217] Alternatively, the electronic device may also respond to a user's double-click operation on icon 603 shown in Figure 9b, displaying the interface shown in Figure 9d. In the interface shown in Figure 9d, the driving mode display includes areas corresponding to 601 and 602. Area 601 includes icon 901 with a recommendation indicator 802, and area 602 includes control 606, which can display a contact card. The content of this contact card can originate from the application corresponding to icon 901 or from other calling applications; this application does not specifically limit this. In response to a user's operation on the frequently used contact icons in the interface shown in Figure 9d, the electronic device can make a phone call to the contact or conduct a voice / video call.

[0218] Optionally, if the user does not perform any operation on the contact card displayed by the control 606 within a preset time period, the control 606 can automatically rotate to the next card according to a preset order.

[0219] The driving mode display shown in d in Figure 9 can be understood as being of the same type as the driving mode display shown in b and h in Figure 8, and will not be described further.

[0220] In some implementations, the preset conditions may also include condition 4, which could be: the vehicle's starting location (or departure location) is not a preset location. A preset location could be, for example, the user's marked home or workplace location. When the electronic device detects that condition 4 is met, it determines that the user is exiting a parking lot. The driving mode can then recommend applications that support QR code payments to simplify the user's operation of the electronic device in this scenario.

[0221] In one possible scenario, when the electronic device displays the second display mode of the driving mode, the driving mode recommends an application that supports QR code payment to the user. Exemplarily, before recommending the application, the electronic device's display interface can be as shown in Figure 10a (similar to Figure 8e). When condition 4 is met, the electronic device changes the display mode of the driving mode from Figure 10a to Figure 10b. The icon 1001 shown in Figure 10b can be an application icon that supports QR code payment. This icon 1001 may include a recommendation label 802. This change can be achieved by expanding a larger area 601 downwards from icon 603, displaying the application icon 1001 below and adjacent to icon 603. It should be noted that the icon 1001 shown in Figure 10b can also be the "scan" or "payment" function icon of an application that supports payment; this embodiment does not limit this.

[0222] Optionally, the electronic device may respond to a user's click on icon 1001 shown in Figure 10b to display the interface shown in Figure 10c. It should be noted that in the interface shown in Figure 10c, the driving mode is displayed in the second display mode.

[0223] Alternatively, the electronic device can also respond to a user's double-click operation on icon 603 shown in Figure 10 (b) and display the interface shown in Figure 10 (d). In the interface shown in Figure 10 (d), the driving mode display includes icon 1001 with a recommendation label 802. The right-side control 606 displays one or more application QR code payment shortcut icons and / or payment code shortcut display icons. If the user clicks a specific function entry icon in control 606, such as the QR code payment shortcut icon, the electronic device can display the QR code interface shown in Figure 10 (c). Of course, if the user clicks the payment code shortcut display icon, the interface shown in Figure 10 (c) can also be the payment code interface.

[0224] Optionally, when control 606 displays multiple application QR code payment shortcut entry icons and / or payment code shortcut display entry icons, each icon can be distinguished by the color of its source application to identify which payment application it originates from, or each icon can carry the identifier of its source application in the lower right corner or other arbitrary position, which is not limited in this application.

[0225] Optionally, the application entered by the user clicking icon 1001 and the application entered by the user clicking a specific function entry icon in control 606 can be the same application or different applications. This application does not make specific limitations on this.

[0226] Optionally, if the user does not perform any operation on the payment service card displayed by the control 606 within a preset time period after the electronic device displays the payment service card, the control 606 can automatically rotate to the next card according to a preset order.

[0227] It should be understood that the understanding of the display form of the driving mode shown in b in Figure 10 can be similar to the understanding of the display form of the driving mode shown in b in Figure 9 above, and the understanding of the display form of the driving mode shown in d in Figure 10 can be similar to the understanding of the display form of the driving mode shown in d in Figure 9 above, and will not be repeated here.

[0228] In one possible scenario, the recommended content for the driving mode may also include application service information. Optionally, the preset conditions may also include condition 5, which may be: the target application has been launched but not displayed in the foreground and the target application has service information that needs to be updated in a timely manner. When the electronic device determines that service information that meets condition 5 exists, it displays the service information that meets condition 5. This service information may, for example, include 1101 in the area corresponding to 601 shown in Figure 11b.

[0229] In one implementation, when the electronic device displays the second display form of the driving mode (as shown in Figure 11a), the electronic device determines that there is service information that meets condition 5. For example, the application that has been started in the electronic device and has service information that needs to be updated in a timely manner can be a map application. The service information can be, for example, navigation information that needs to be updated in a timely manner (such as the turn reminder shown in Figure 11b). Then the display form of the driving mode changes from the form shown in Figure 11a to the form shown in Figure 11b. That is, a larger area 601 is expanded downward from the icon 603, and the service information 1101 is displayed below the icon 603, as shown in the area corresponding to 601 in Figure 11b.

[0230] Optionally, the service information may be presented in the shape of a black capsule, but this application does not limit this.

[0231] Optionally, the electronic device may switch from b in Figure 11 to c in Figure 11 in response to a user's click operation on the area corresponding to 1101 in b in Figure 11. The interface shown in c in Figure 11 includes a map application interface.

[0232] It should be understood that the recommended content of the driving mode can include application and service information at the same time. If both appear, they can both be displayed in the corresponding area 601, as shown in d in Figure 11. The corresponding area 601 includes service information 1101 and the application 1102 recommended by the driving mode with recommendation label 802.

[0233] Optionally, when the recommended content for the driving mode includes both application and service information, the priority order from high to low may be that the service information has a higher priority than the application, but this application does not limit this.

[0234] In some implementations, the priority of recommended content can be used to determine the order in which application and service information is displayed in the area corresponding to 601. For example, if the priority of service information is higher than that of applications, then in the area corresponding to 601, service information can be arranged first, and then application icons can be arranged in sequence, with icon 603 as the base.

[0235] It should also be understood that, due to the time-sensitivity of service information, such as the turning information of a map application, if the electronic device detects that the vehicle has turned the corner, the service information becomes invalid. The display form of the driving mode can be changed as shown in e of Figure 11. The area corresponding to 601 can only include icon 603 and recommended applications. If the recommended application is not launched after the display period 3, the recommended application can disappear from the display interface of the electronic device. The display form of the driving mode can also be switched back to its initial form, as shown in a of Figure 11, but this application does not make specific limitations on this.

[0236] Of course, if the electronic device displays the first and third display forms of the driving mode, and if there is recommended content that meets condition 5, the display form of the electronic device can also change from the first display form of the driving mode to a display form containing service information, or from the third display form of the driving mode to a display form containing service information. The display method can be to fill the service information in the corresponding area of ​​601 (for example, fill it in the position closest to the permanent icon in the corresponding area of ​​601). The change logic is similar to the change logic shown in Figure 11, and this change will not be described again here.

[0237] It should be understood that b, d, and e in Figure 11 above can be understood as the third display form of the driving mode, or as multiple implementations of the fourth display form of the driving mode.

[0238] This application also provides a display method applicable to an electronic device. The software structure of the electronic device can be as shown in Figure 12, and the hardware structure can be as shown in Figure 13, but this application does not specifically limit the specifics. The electronic device includes a driving mode. After the driving mode is activated, its display form includes four states: home state (i.e., the floating state described above, or the second display form of the driving mode), recommended state (the fourth display form of the driving mode described above), quick state (the third display form of the driving mode described above), and expanded state (the first display form of the driving mode described above). These four states can be switched at will.

[0239] The expanded state displays all the information of the driving mode, including the always-present home button, recently used applications, frequently used applications, and the title bar and card content on the right, as shown in Figure 6a.

[0240] The following describes how to switch between the hover mode, quick mode, and extended mode of the driving mode.

[0241] Upon entering driving mode, the electronic device directly displays the driving mode in its expanded state, as shown in Figure 6a. In one implementation, if the user does not interact with the device within 3 seconds of the expanded driving mode display, the expanded state automatically collapses into a floating state, as shown in Figure 6b. In another implementation, if the user manually clicks the home button in the upper left corner of the expanded driving mode display, the expanded state can also be directly collapsed into a floating state. In both implementations, after achieving the floating state, clicking the home button again will quickly switch the driving mode from the floating state back to the expanded state.

[0242] In one implementation, when the electronic device displays the expanded state of the driving mode, it can respond to the user's click on the back button (control 605) in the upper left corner of the right-side content area to enter the shortcut state of the driving mode. In this state, the electronic device only displays the area corresponding to 601 shown in Figure 6a, as shown in Figure 6c. Clicking the home button in this shortcut state will collapse the area corresponding to 604, which is included in the area corresponding to 601, into a floating state containing only the home button, as shown in Figure 6b. If the home button is clicked in the current floating state, the shortcut state is entered again; however, if the home button is double-clicked in the current floating state, the shortcut state can be quickly exited and the expanded state can be entered directly.

[0243] In short, after entering the driving mode shortcut, clicking the home button (the driving mode icon) will expand or collapse the area corresponding to 604 in the shortcut. Double-clicking the home button will exit the shortcut and directly enter the expanded state.

[0244] The recommended driving modes are described below.

[0245] The recommended driving mode is only displayed in the shortcut and expanded modes, meaning the recommended mode has a parent-child relationship with the shortcut and expanded modes. The recommended mode includes two parts: application recommendations and service information. Application recommendations will display a smart recommendation badge in the lower right corner of the recommended application, such as badge 802 shown in Figure 8. If service information and application recommendations appear simultaneously, the service information will be displayed first, followed by the application recommendations, as shown in d in Figure 11.

[0246] When an electronic device recommends service information, if the recommended service information has been completed or the service information has expired, the recommendation disappears. For example, as in the path from d to e in Figure 11, the turn indicated by service information 1101 in path d of Figure 11 has been completed, so the black capsule information at the turn in path e of Figure 11 disappears.

[0247] When recommended content is present on the electronic device, the display rules for area 601 of the driving mode display interface are as follows: home is always present, followed by service information (or status information), recommended applications, recently used applications, and frequently used applications, which are then filled and displayed in that order.

[0248] In one implementation where recommended applications exist on an electronic device, if a recommended application has been displayed for 3 minutes and the user has not interacted with it, the recommended application disappears. After the recommended application disappears, if there is no service information, the 601 area of ​​the driving mode display interface continues to display applications in the order of the persistent home button, the user's recently used applications, and the user's frequently used applications.

[0249] When the electronic device displays the driving mode in a floating state, if content that meets the recommendation criteria is available, it will expand downwards to display the recommended content, as shown in Figures 8e to 8f. The area corresponding to 601 expands downwards to display the icon 801 of the recommended application. Clicking on the recommended application will directly take the user into that application. Simultaneously, the recommended application will also be displayed in the expanded state, meaning that when the electronic device responds to the user's operation of the home button to switch from a floating state to an expanded state, the recommended content will continue to be displayed until the recommended content meets the disappearance criteria and is no longer displayed, as shown in Figures 8f to 8h. In Figure 8h, the icon 801 of the recommended application is still displayed.

[0250] When the electronic device displays the driving mode shortcut, and the recommended content appears at the right time, it will dynamically display the currently recommended content by extending downwards from the home button. In one implementation, the recommended content replaces the icon closest to the home button; in another implementation, the recommended content is displayed near the home button, and the other icons move downwards in sequence. In this case, when the user clicks on the recommended content, the electronic device will jump to the corresponding application interface.

[0251] When recommended content is in shortcut mode, clicking the home button collapses the recommended content, and clicking it again expands it. Double-clicking the home button exits shortcut mode and directly enters expanded mode, where the recommended content continues to be displayed. If the recommended content disappears in shortcut mode and then the home button is double-clicked to enter expanded mode, the previously recommended content will not be displayed upon re-entering expanded mode.

[0252] It should be understood that a user's entire driving journey mainly includes four key touchpoints: getting into the car, exiting the parking garage, driving, and arriving at the destination. These touchpoints encompass a variety of user needs, such as searching for the car keys or checking the destination upon entering the vehicle. Content recommendations during the driving process are intelligently suggested based on principles such as safety first, high-frequency use, and importance.

[0253] In one implementation, when the driving mode is activated, if no map application appears in the current driving mode and / or no map is being used for navigation (equivalent to condition 1 above), the driving mode will recommend map applications and frequently used address cards to the user based on two dimensions: high frequency of use and importance. For example, the interface switching from a to b in Figure 8 is shown.

[0254] Optionally, after a user clicks on a recommended application, they are directly redirected to that application. Once inside the application, the electronic device does not display the recommended content, as shown in Figure 8b.

[0255] In one implementation, when the driving mode is activated, if map application 1 is not present in the current driving mode and / or navigation is not being performed using map application 1 (equivalent to condition 2 in the above condition 1), or if the electronic device is currently displaying the icon of map application 2, or if map application 3 is already running on the electronic device, the electronic device can still recommend map application 1 to the user in order to promote map application 1.

[0256] Furthermore, when a user's vehicle starts and leaves the parking lot, if the current location is outside of home or work (equivalent to condition 4 described above), the electronic device recommends a QR code scanning function and a payment service card to the user, as shown in Figure 10b or Figure 10d, to assist the user in leaving quickly. When the user clicks the QR code scanning function (e.g., clicks icon 1001 shown in Figure 10b), they are directly taken to the scan page, as shown in Figure 10c. Clicking the payment service card redirects to the corresponding payment page. When the recommended content is displayed in the expanded state of driving mode, it can be as shown in Figure 10d; when the recommended content is displayed in the floating state of driving mode, it can be as shown in Figure 10b.

[0257] Furthermore, while the user continues driving, if the launched map application is not displayed in the foreground and needs to be updated promptly (e.g., turn information), the latest navigation information will be displayed on the left side of the driving mode (area corresponding to 601), as shown in Figure 11b, presented as service information 1101 in the form of a black capsule. The user can quickly switch back to the map application by clicking on this black capsule area. After turning, the service information for that turn will no longer be displayed in area 601, and the position of this service information will be replaced by recommended applications, recently used applications, and frequently used applications in sequence.

[0258] Furthermore, during driving, electronic devices can also recommend audio applications, with the following order of recommendation: music applications, audiobook applications, and phone applications.

[0259] The recommendation logic for music and audiobook apps can be as follows: when the speed exceeds 15 km / h (equivalent to one possible value of threshold 2 described above) and the user has not turned on audio (equivalent to condition 2 described above), music apps and music playback cards (displayed in the expanded state) are recommended to the user, as shown in h in Figure 8. Clicking the music icon recommended by the electronic device (e.g., icon 804 in Figure 8) will directly redirect the user to that music app, while clicking the music playback card (control 606 shown in h in Figure 8, which can also be called a media control card) will keep the user on the current page. Music recommendations are displayed in both the recommended and expanded states in driving mode, and these recommendations include music apps and music playback cards.

[0260] The recommendation logic for the phone app can be as follows: when the user has driven halfway through their trip or has had audio on for half an hour (equivalent to condition 3 described above), the phone app and contact cards are recommended to the user for convenience and to ensure driving safety. Clicking the phone app will directly take the user to the phone app interface, while clicking a frequently used contact card will directly dial that contact's number. The recommended content can be displayed in both the expanded and floating states of the driving mode, and the two states can be switched between each other.

[0261] As shown in Figure 6a, control 608 is the driving mode settings control. After the user clicks the driving mode settings control, the electronic device responds to the operation and can directly enter the driving mode settings page, as shown in Figure 6A. This settings page includes on / off settings for automatic cruise control, application recommendations, and music recommendations. Automatic cruise control manages the cruise function of the map application, while application recommendations manage the application recommendation function of driving mode. Music recommendations manage the music playlist recommendation cards.

[0262] This card appears when the music playlist is in floating mode while driving, as shown in Figure 6B. Users can click the "Change" button to directly change the playlist displayed on the electronic device's interface, and clicking the play button will directly play the music in that playlist, at which point the card disappears.

[0263] The control 607 shown in Figure 6a can be used to exit driving mode. When the user clicks the control 607, the electronic device can respond to the operation by directly shutting down and exiting the current driving mode.

[0264] This application embodiment also provides a display method, which can be applied to an electronic device. The software structure of the electronic device can be as shown in FIG12, and the hardware structure of the electronic device can be as shown in FIG13, but this application does not specifically limit it.

[0265] The method includes: activating a driving mode and displaying a first window, the first window including a first area and a second area, the first area including an application icon, the second area including at least two of an address card, a media control card, a contact card, a payment service card, and a playlist card, the electronic device currently displaying a first card in the second area, the first card being a card other than an address card; when activating the driving mode, if the application icons do not include a map application icon, displaying an icon of a first map application in the first area, and switching the first card displayed in the second area to an address card.

[0266] It should be understood that the first window is the window displayed on the electronic device interface for the driving mode. It is the interface for the driving mode. For example, the first window can be 210 shown in Figure 6a. The first area can be the area corresponding to 601, and the second area can be the area corresponding to 602.

[0267] In this embodiment, after the driving mode is activated, the electronic device can display the application icons included in the first area and any one of the multiple cards included in the second area. Activating the driving mode can be understood as the user having a travel need. If the application icons displayed in the first area do not include a map application icon (equivalent to condition 1 described above), then the icon of the first map application is displayed in the first area, and the first card displayed in the second area is switched to an address card. In this way, the user can quickly access the corresponding application using the first map application icon or address card displayed on the electronic device. This simplifies the process of finding and opening the target application in a travel scenario, allows the user to focus more on observing road conditions, and helps ensure the user's travel safety.

[0268] Optionally, the first map application can be understood as the map application 1 described above. The characteristics of the area where the card is located in the second area are similar to those of the control 606 described above. The characteristics of the address card are also similar to those of the address card described above, and will not be repeated here.

[0269] Optionally, the first map application is the most frequently used map application installed on the electronic device, or the first map application is a designated application.

[0270] It should be understood that the first window including both a first area and a second area can be referred to as the first display form of the driving mode, or the expanded state. In the embodiments of this application, the expanded state can be displayed directly after the driving mode is activated.

[0271] As an optional embodiment, if the moving speed of the electronic device exceeds a first value, or if the electronic device does not launch an audio application, the icon of the first audio application is displayed in the first area, and the card displayed in the second area is switched to a media control card.

[0272] It should be understood that in the scenario of user travel, electronic devices follow the user's movement, and the detection of movement speed by electronic devices can be obtained by the electronic devices based on their own sensors or global positioning system. This application does not make specific limitations on this.

[0273] Optionally, the first value may have a similar meaning to the threshold 2 described above, but this application does not specifically limit it.

[0274] For example, the case where the icon of the first audio application is displayed in the first area and the media control card is displayed in the second area can be as shown in h in FIG8. The icon of the first audio application can be, for example, icon 804, and the media control card can be, for example, 606 as shown in h in FIG8.

[0275] It should be understood that the situation where the moving speed of the electronic device exceeds the first value or the electronic device does not launch an audio application can be interpreted as meeting the condition that the electronic device recommends an audio application to the user (similar to the situation described above that meets condition 2). In this case, the electronic device displays the icon of the first audio application in the first area and switches the card displayed in the second area to the media control card. The user can then directly operate the media control card through the driving mode interface based on the electronic device's recommendation or enter the interface of the first audio application through the icon of the first audio application. In this way, the user does not need to search through the many applications installed on the electronic device when they want to use an audio application, which improves the convenience and safety of the user's use of the electronic device while driving.

[0276] The characteristics of media control cards, their relationship with audio applications in electronic devices, and their association with the primary audio application are similar to the description of media control cards above, and will not be repeated here.

[0277] As an optional embodiment, when an audio application has been running for a first duration in an electronic device, or when a preset percentage of the driving trip has been completed, the icon of the first call application is displayed in the first area, and the card displayed in the second area is switched to a contact card.

[0278] Optionally, the first duration can be similar to the meaning of time period 2 described above, such as half an hour, and the preset ratio can be similar to the meaning of percentage X described above, such as 50%. This application does not make any specific limitations on these.

[0279] For example, in the case where the icon of the first calling application is displayed in the first area and the contact card is displayed in the second area, it can be as shown in d of Figure 9. The icon of the first calling application can be, for example, icon 901 as shown in d of Figure 9, and the contact card can be, for example, control 606 as shown in d of Figure 9.

[0280] The features of the contact card and its relationship with the First Call application are similar to the description of the contact card above, and will not be repeated here.

[0281] In this embodiment, when an audio application has been running for a first duration on the electronic device, or when a preset percentage of the driving trip has been completed (equivalent to condition 3 described above), the user can directly operate the contact card through the driving mode interface based on the electronic device's recommendation, or enter the interface of the first calling application through the icon of the first calling application to achieve the purpose of making a call. In this way, when the user has a call need, there is no need to search through the many applications installed on the electronic device, which improves the convenience of the user in using the electronic device.

[0282] As an optional embodiment, if the electronic device is not in a preset position when the driving mode is activated, the icon of the first payment application is displayed in the first area, and the card displayed in the second area is switched to a payment service card.

[0283] Optionally, the preset location can be any location, such as the location corresponding to the user's home address or company address, but this application does not specifically limit it.

[0284] For example, the case where the icon of the first payment application is displayed in the first area and the payment service card is displayed in the second area can be as shown in d of Figure 10. The icon of the first payment application can be, for example, icon 1001 shown in d of Figure 10, and the payment service card can be, for example, control 606 shown in d of Figure 10.

[0285] The contents of the payment service card and its relationship with the first payment application are similar to the description of the payment service card above, and will not be repeated here.

[0286] It should be understood that if the electronic device is not in the preset position when the driving mode is activated (equivalent to condition 4 described above), it can be understood that the user is about to leave the parking lot that requires payment. In this case, the icon of the first payment application is displayed in the first area, and the card displayed in the second area is switched to the payment service card, which is conducive to the user using the payment function quickly and saves the user time.

[0287] As one possible embodiment, the first area also includes a service information icon, and the method further includes: displaying the service information icon in the first area when the target application is not displayed in the foreground and the target application has service information that needs to be updated in a timely manner.

[0288] Optionally, the service information icon may be navigation information that the map application needs to update in a timely manner when running in the background, such as turn reminders. The service information icon may be, for example, icon 1101 in b or d of Figure 11.

[0289] As mentioned above, the service information icon can disappear from the first area if the service information is invalid (e.g., the corner corresponding to the corner reminder has been passed).

[0290] The method provided in this application embodiment can help users not miss the real-time service information of certain applications when they are running in the background. In the case of map applications, it can help to promptly prompt users with route information and improve the user's travel experience.

[0291] As an optional embodiment, before the icon of the first map application is displayed in the first area, the cards included in the second area are automatically rotated in a preset order and frequency in the second area. In this way, users can browse the cards included in the second area without user operation, which is beneficial to user travel safety and also helps users understand all the cards included in the second area so that they can select them when needed.

[0292] It should be understood that the multiple cards included in the second area can be stacked together, and the electronic device can display one of the multiple cards in the second area at the same time. In one implementation, these cards can be automatically rotated in the second area in a preset order and at a preset frequency; in another implementation, the electronic device can respond to the user's swiping operation on the second area and switch the cards displayed on the top layer in a preset order.

[0293] As an optional embodiment, if the icon of the first map application is displayed in the first area and the address card is displayed in the second area, if no operation on the address card is detected within the second time period, the cards before or after the address card in the preset order are automatically rotated in the second area at a preset frequency.

[0294] It should be understood that if the user interacts with the address card during the second time period, the electronic device will display the corresponding interface in response to the user's interaction. In one possible implementation, if the user's interaction is a swipe gesture on the address card, the electronic device will display cards that appear before or after the address cards in a preset order in response to the user's swipe gesture.

[0295] Optionally, the second duration may be the same as or different from the duration for which the card is displayed in the second area at a preset frequency; this application does not specifically limit this.

[0296] As an optional embodiment, the card displayed in the second area is a playlist card, which includes a playlist switching control. The playlist card is displayed based on user operation or automatic rotation. The method further includes: in response to a trigger operation on the playlist switching control in the playlist card, changing the recommended playlist on the playlist card. This provides users with a quick entry point to select playlists, and the automatic switching of playlists eliminates the hassle of manual searching, allowing users to focus on driving safety and improving the user experience.

[0297] Optionally, the electronic device displays the playlist card interface in the second area as shown in Figure 6B. The control 606 in Figure 6B can be understood as a playlist card. The playlist switching control can be, for example, the "Change" control shown in Figure 6B. The playlist recommended by the playlist card may include one or more tracks. This application does not make any specific limitations on this.

[0298] As an optional implementation, when playing a playlist recommended by a playlist card, the playlist card disappears from the second area. Simultaneously, the second area displays a media control card, which the user can use to continue controlling the currently playing playlist, such as controlling playback, pause, play the previous track, or play the next track.

[0299] As an optional embodiment, the first region includes a first sub-region and a second sub-region, which are adjacent to each other. The first sub-region includes a persistent first icon, and the second sub-region includes one or more of the following: a second icon corresponding to an application recommended by the electronic device, an icon for service information, a third icon corresponding to an application recently used by the user, or a fourth icon corresponding to an application whose usage frequency exceeds a second value; wherein, the second icon includes one or more of the following: an icon for a first map application, an icon for a first audio application, an icon for a first call application, and an icon for a first payment application.

[0300] The first icon can be understood as icon 603 shown in Figure 6 (this icon is also labeled 603 in other attached figures besides Figure 6), and the second sub-region can be understood as the region corresponding to 604 shown in a of Figure 6. As described above, when there is recommended content that meets the conditions, the second sub-region may include the second icon corresponding to the application recommended by the electronic device or / or the icon of the service information. When there is no recommended content that meets the conditions, the second sub-region includes the third icon corresponding to the application most recently used by the user and / or the fourth icon corresponding to the application whose usage frequency exceeds the second value.

[0301] The second value can be similar in meaning to the threshold 1 described above. There can be one or more applications that the user uses more frequently than the second value, and there can also be one or more applications that the user used most recently. This application does not make any specific limitations on these.

[0302] As an optional embodiment, the size of the first window is variable, and the second area also includes a first control for collapsing the second area. The method further includes: in response to a triggering operation on the first control, collapsing the second area in the first window and displaying only the first area. This results in a smaller area occupied by the first window, making it easier for the user to view other content on the electronic device interface.

[0303] The first control can be, for example, the control 605 shown in Figure 6a. As shown in Figure 6c, in the form shown in Figure 6a, when the electronic device responds to the trigger operation of the control 605 to collapse the first area and display the first area shown in Figure 6c, the display form of the driving mode shown in Figure 6c can be called the shortcut state, or the third display form of the driving mode.

[0304] In response to a trigger operation on the first control, the electronic device collapses the second area in the first window and displays only the first area. This can be understood as the electronic device switching from the expanded state of driving mode to the shortcut state of driving mode in response to a trigger operation on the first control.

[0305] Furthermore, in response to a first operation on the first icon, the electronic device can collapse the second sub-region within the first area, displaying only the first sub-region. This way, when the user doesn't temporarily need the shortcuts provided by the second sub-region, displaying only the first sub-region minimizes the obstruction of the electronic device's interface, making it easier for the user to view other content displayed on the screen.

[0306] In this case, the interface of the electronic device can be as shown in Figure 6b. The display form of the first window can be called the floating state of the driving mode, or the second display form of the driving mode.

[0307] The electronic device can respond to a first operation on the first icon, collapse the second sub-area in the first area, and only display the first sub-area. This can be understood as the electronic device responding to a first operation on the first icon, switching from the shortcut state of driving mode to the floating state of driving mode.

[0308] Furthermore, even when the electronic device only displays the first sub-area, it can also expand the second sub-area in response to a first operation on the first icon, displaying the first area that includes both the first and second sub-areas. This can be understood as the electronic device also being able to return from the floating state of driving mode to the shortcut state of driving mode in response to the first operation on the first icon.

[0309] In this way, if the first area (or the first window) only includes the first sub-area, and the user has a need for the application icon in the second sub-area, the electronic device can also respond to the user's first operation on the first icon and then expand the second sub-area. The multiple display forms of the driving mode designed in this application are conducive to meeting various user needs and improving the user experience.

[0310] Furthermore, when the electronic device displays a first area including a first sub-area and a second sub-area, the electronic device can also respond to a second operation on the first icon to expand the second area and display a first window including the first area and the second area. This can be understood as the electronic device can also respond to a second operation on the first icon to further return from the shortcut state of driving mode to the expanded state of driving mode. The second operation is different from the first operation.

[0311] Optionally, the first operation can be a single-click operation and the second operation can be a double-click operation; or, the first operation can be a double-click operation and the second operation can be a single-click operation. This application does not make any specific limitations on this.

[0312] In this embodiment, the electronic device can respond to operations on the first control and the first icon to change the size of the first window. The change in the size of the first window can be understood as a change in the display form of the driving mode. This application provides a variety of display forms of driving modes for users to choose from, which can meet different user needs.

[0313] As an optional embodiment, the electronic device displays a first window, which includes a first area and a second area. The first area includes a first sub-area and a second sub-area. If the first window is displayed for a third duration and there is no user input within the third duration, the second area and the second sub-area within the first area are collapsed, and only the first sub-area is displayed. This can be understood as a direct switch from the expanded state of the driving mode to the floating state of the driving mode.

[0314] Optionally, the third duration can have a similar meaning to the time period 1 mentioned above, which will not be elaborated here.

[0315] In one implementation, the electronic device displays a first window, which includes a first region and a second region. If the first region includes a first sub-region and a second sub-region, the electronic device can also respond to a first operation on a first icon by collapsing the second region and the second sub-region within the first region, displaying only the first sub-region. This implementation can also be understood as a direct switch from the expanded state of the driving mode to the floating state of the driving mode.

[0316] Furthermore, when the electronic device displays a floating state of the driving mode, which is directly switched from the unfolded state, the electronic device can also respond to a first operation on the first icon to unfold the second area and the second sub-area in the first area, and display a first window including the first area and the second area, that is, directly return from the floating state of the driving mode to the unfolded state of the driving mode.

[0317] As an optional embodiment, the size of the first window is variable, and the method further includes: displaying a first interface in response to a triggering operation on an icon of a first map application, and displaying a first window on the first interface, wherein the first window includes only a first sub-region, and the first interface is the interface of the first map application.

[0318] In other words, when a user selects to enter the first map application, the first window only displays the first sub-area, which means the driving mode is switched to floating mode. In this way, the display interface of the driving mode obstructs the first interface of the first map application less, which is beneficial for the user to operate on the first interface.

[0319] As an optional embodiment, if the display duration of the first map application icon reaches the fourth duration, the first map application icon disappears from the second sub-area.

[0320] Alternatively, the fourth duration can have a similar meaning to the time period 3 described above.

[0321] It should be understood that if the display duration of the icon of the first map application reaches the fourth time period, it can be assumed that the user has not performed any operation on the icon of the first map application within the fourth time period. This can be interpreted as the user not needing to use the application. In this case, the icon of the first map application disappears from the second sub-area, which helps to free up space in the second sub-area to display other application icons that the user may use.

[0322] As an optional embodiment, the electronic device may display the first window in the following three ways.

[0323] The first type: The electronic device displays a first window in response to an operation on the driving mode icon on the desktop of the electronic device. For example, in response to a user's trigger operation on icon 209 shown in h in Figure 2, the electronic device displays the interface shown in g in Figure 2, which includes a floating window 210 (equivalent to the first window). For details, please refer to the description of Figure 2 above, which will not be repeated here.

[0324] The second type: The electronic device displays the first window in response to an operation on the activation control related to driving mode in the settings application menu. For example, the process shown in Figure 2, from a to b to c to d to e to f to g, can be referred to the description of Figure 2 above, and will not be repeated here.

[0325] The third type: The electronic device responds to the operation of the quick launch entry for driving mode in the notification message and displays the first window; the notification message is a system message or a push message from the Smart Capsule application, which is pushed when the connection between the electronic device and the vehicle system is detected. For example, the process shown in Figure 3 or Figure 4 can be referred to the description of Figure 3 and Figure 4 above, and will not be repeated here.

[0326] This application provides multiple ways to activate driving modes, offering users a variety of choices and making it convenient for them to utilize driving modes.

[0327] The display method of the embodiments of this application has been described above. The electronic device for performing the above method provided in the embodiments of this application is described below. Those skilled in the art will understand that the methods and apparatus can be combined with and referenced by each other, and the related apparatus provided in the embodiments of this application can perform the steps in the above method.

[0328] First, the software structure of the electronic device is introduced. The software system of this electronic device can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the software structure of the electronic device. Figure 12 exemplarily shows a block diagram of the software structure of the electronic device according to an embodiment of this application.

[0329] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0330] The application layer can include a series of application packages. As shown in Figure 12, an application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.

[0331] The driving modes described in the embodiments of this application can also be understood as an application.

[0332] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications within the application layer. The application framework layer includes predefined functions. As shown in Figure 12, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0333] The notification manager allows applications to display notification information in the status bar, such as system notifications or other types of notifications indicating that the driving mode is ready, as described in the above embodiment.

[0334] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0335] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0336] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0337] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0338] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0339] The hardware structure of the electronic device provided in the embodiments of this application will be described next. Figure 13 shows an exemplary block diagram of the hardware structure of the electronic device.

[0340] Electronic device 1300 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0341] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 1300. In other embodiments of this application, the electronic device 1300 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0342] The processor 110 may include one or more processing units and may also include a memory for storing instructions and data that can implement the embodiments of this application. In the embodiments of this application, the processor 110 can be used to execute instructions that implement the embodiments of this application.

[0343] The display screen 194 is used to display images, such as the various display interfaces described in the embodiments of this application. The display screen 194 includes a display panel. In some embodiments, the electronic device 1300 may include one or N display screens 194, where N is a positive integer greater than 1.

[0344] Pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, pressure sensor 180A may be located on display screen 194. In some implementations, the sensor may be used to monitor user touch on the screen and trigger the electronic device to execute corresponding procedures.

[0345] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 1300. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 1300 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used to detect the motion attitude and speed of the electronic device, and can be used for navigation.

[0346] It should be noted that the module names involved in the embodiments of this application can all be defined as other names, as long as they can achieve the function of each module, and no specific restrictions are placed on the module names.

[0347] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0348] Figure 14 illustrates, by way of example, a schematic diagram of the structure of a chip provided in an embodiment. The chip 1400 includes one or more (including two) processors 1401, communication lines 1402, communication interfaces 1403, and memory 1404.

[0349] In some implementations, memory 1404 stores elements such as executable modules or data structures, or subsets thereof, or extended sets thereof.

[0350] The methods described in the embodiments of this application can be applied to, or implemented by, processor 1401. Processor 1401 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above methods can be completed by integrated logic circuits in the hardware of processor 1401 or by instructions in software form. Processor 1401 may be a general-purpose processor (e.g., a microprocessor or conventional processor), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates, transistor logic devices, or discrete hardware components. Processor 1401 can implement or execute the various processing-related methods, steps, and logic block diagrams disclosed in the embodiments of this application.

[0351] The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules can be located in mature storage media in the art, such as random access memory, read-only memory, programmable read-only memory, or electrically erasable programmable read-only memory (EEPROM). This storage medium is located in memory 1404, and processor 1401 reads information from memory 1404 and, in conjunction with its hardware, completes the steps of the above method.

[0352] The processor 1401, memory 1404 and communication interface 1403 can communicate with each other via communication line 1402.

[0353] In the above embodiments, the instructions stored in the memory for the processor to execute can be implemented in the form of a computer program product. This computer program product can be pre-written into the memory, or it can be downloaded and installed into the memory as software.

[0354] In the embodiments of this application, the chip 1400 may also be a chip system, such as a system on chip (SOC), and this application does not limit it in this way.

[0355] This application provides an electronic device, which includes: one or more processors and a memory; the memory is coupled to one or more processors, and stores computer program code, which includes computer instructions; one or more processors invoke the computer instructions to cause the electronic device to perform the methods described in the above embodiments.

[0356] This application provides a chip or chip system. The chip or chip system is applied to an electronic device and includes one or more processors. These processors invoke computer instructions to cause the electronic device to execute the methods described in the above embodiments. Its implementation principle and technical effects are similar to the related embodiments described above, and will not be repeated here.

[0357] This application also provides a computer-readable storage medium. The computer-readable storage medium includes computer instructions. When these computer instructions are executed on an electronic device, they cause the electronic device to perform the methods described in the above embodiments. The methods described in the above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. If implemented in software, the functionality can be stored as one or more instructions or code on or transmitted on the computer-readable medium. The computer-readable medium can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium accessible by a computer.

[0358] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage or other magnetic storage devices, or any other medium targeted to carry or to store the required program code in the form of instructions or data structures, and accessible by a computer. Furthermore, any connection is appropriately referred to as a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. As used herein, disks and optical discs include optical discs, laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs reproduce data using laser optics. Combinations of the above should also be included within the scope of computer-readable media.

[0359] This application provides a computer program product, which includes computer program code. When the computer program code is run on an electronic device, the electronic device performs the method described in the above embodiments.

[0360] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing device, create means for implementing the functions specified in one or more flowchart illustrations and / or one or more block diagrams.

[0361] The above specific embodiments further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solution of the present invention should be included within the scope of protection of the present invention.

Claims

1. A display method, characterized in that, Applied to electronic devices, the method includes: Activate driving mode and display a first window. The first window includes a first area and a second area. The first area includes an application icon. The second area includes at least two of the following: an address card, a media control card, a contact card, a payment service card, and a playlist card. The electronic device currently displays the first card in the second area. The first card is a card other than the address card. When the driving mode is activated, if the application icon does not include a map application icon, the icon of the first map application is displayed in the first area, and the first card displayed in the second area is switched to the address card.

2. The method according to claim 1, characterized in that, The method further includes: If the moving speed of the electronic device exceeds a first value, or if the electronic device does not launch an audio application, the icon of the first audio application is displayed in the first area, and the card displayed in the second area is switched to the media control card.

3. The method according to claim 1 or 2, characterized in that, The method further includes: When an audio application has been running for a first duration in the electronic device, or when a preset percentage of the driving trip has been completed, the icon of the first calling application is displayed in the first area, and the card displayed in the second area is switched to the contact card.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If the electronic device is not in a preset position when the driving mode is activated, the icon of the first payment application is displayed in the first area, and the card displayed in the second area is switched to the payment service card.

5. The method according to any one of claims 1 to 4, characterized in that, The first area also includes a service information icon, and the method further includes: If the target application is not displayed in the foreground and the target application has service information that needs to be updated in a timely manner, the icon of the service information shall be displayed in the first area.

6. The method according to any one of claims 1 to 5, characterized in that, Before the icon of the first map application is displayed in the first area, the cards included in the second area are automatically rotated in the second area in a preset order and at a preset frequency.

7. The method according to any one of claims 1 to 5, characterized in that, If the icon of the first map application is displayed in the first area and the address card is displayed in the second area, and no operation on the address card is detected within a second time period, then cards before or after the address card in a preset order will be automatically rotated in the second area at a preset frequency.

8. The method according to any one of claims 1 to 7, characterized in that, When the address card is displayed in the second area, in response to the user's swipe operation on the address card, cards that appear before or after the address card in a preset order are displayed.

9. The method according to any one of claims 6 to 8, characterized in that, The card displayed in the second area is the playlist card, which includes a playlist switching control. The playlist card is displayed based on user operation or automatic rotation. The method further includes: In response to a trigger operation on the playlist switching control in the playlist card, the recommended playlist in the playlist card is changed.

10. The method according to claim 9, characterized in that, The method further includes: When a playlist recommended by the playlist card is played, the playlist card disappears from the second area.

11. The method according to any one of claims 1 to 10, characterized in that, The first area includes a first sub-area and a second sub-area. The first sub-area is adjacent to the second sub-area. The first sub-area includes a persistent first icon. The second sub-area includes one or more of the following: a second icon corresponding to the application recommended by the electronic device, an icon for service information, a third icon corresponding to the application most recently used by the user, or a fourth icon corresponding to an application whose usage frequency exceeds a second value. The second icon includes one or more of the following: the icon of the first map application, the icon of the first audio application, the icon of the first call application, and the icon of the first payment application.

12. The method according to claim 11, characterized in that, The size of the first window is variable, and the second area also includes a first control used to collapse the second area. The method further includes: In response to a trigger operation on the first control, the second area in the first window is collapsed, and only the first area is displayed.

13. The method according to claim 11, characterized in that, The method further includes: In response to a first operation on the first icon, the second sub-region in the first region is collapsed, and only the first sub-region is displayed.

14. The method according to claim 13, characterized in that, The method further includes: In response to a first operation on the first icon, the second sub-region is expanded to display the first region, which includes the first sub-region and the second sub-region.

15. The method according to claim 14, characterized in that, The method further includes: In response to a second operation on the first icon, the second area is expanded to display the first window, which includes the first area and the second area. The second operation is different from the first operation.

16. The method according to claim 11, characterized in that, If the first window is displayed for a third duration and there is no operation input within the third duration, the second area and the second sub-area in the first area are collapsed, and only the first sub-area is displayed.

17. The method according to claim 16, characterized in that, The method further includes: In response to a first operation on the first icon, the second region and the second sub-region within the first region are collapsed, and only the first sub-region is displayed.

18. The method according to claim 16 or 17, characterized in that, The method further includes: In response to a first operation on the first icon, the second region and a second sub-region within the first region are expanded, and the first window, including the first region and the second region, is displayed.

19. The method according to claim 11, characterized in that, The size of the first window is variable, and the method further includes: In response to a trigger operation on the icon of the first map application, a first interface is displayed, and a first window is displayed on the first interface, the first window including only the first sub-area, and the first interface is the interface of the first map application.

20. The method according to claim 11, characterized in that, The method further includes: When the display duration of the first map application icon reaches the fourth duration, the first map application icon disappears from the second sub-area.

21. The method according to any one of claims 1 to 20, characterized in that, The first map application is the most frequently used map application installed on the electronic device, or the first map application is a designated application.

22. The method according to any one of claims 1 to 21, characterized in that, The first window display includes: In response to an operation on the icon of the driving mode on the desktop of the electronic device, the first window is displayed; or, The first window is displayed in response to an operation on the launch control related to the driving mode in the settings application menu; or, In response to an operation on the quick launch entry for the driving mode mentioned in the notification message, the first window is displayed; the notification message is a system message or a push message from the Smart Capsule application, and the notification message is pushed when the electronic device is detected to have established a connection with the vehicle system.

23. An electronic device, characterized in that, The electronic device includes: one or more processors and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 22.

24. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 22.

25. A computer program product, characterized in that, The computer program product includes computer program code that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1 to 22.