Service card display method and electronic equipment

By monitoring the user's operating behavior on the electronic device and dynamically updating the service card content, the problem of the rigid update method of the service card in the existing technology is solved, and the user experience and information satisfaction are improved.

CN118625966APending Publication Date: 2024-09-10HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310287931.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The content update method of existing service cards is too rigid, and periodic refresh based on time results in poor user experience and fails to meet users' immediate information needs.

Method used

By monitoring and analyzing user operating behavior on electronic devices, dynamically updating the content of service cards, predicting user needs based on the user's browsing behavior and operating history, and providing relevant information.

Benefits of technology

It improves user experience, meets users' immediate information needs, and provides more personalized and fresh information content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625966A
    Figure CN118625966A
Patent Text Reader

Abstract

The invention discloses a service card display method and electronic equipment. In the display method, the electronic equipment can update the content displayed by the service card based on the operation of the user. In the embodiment of the invention, the electronic equipment can firstly display the interface with the service card, then responds to the user operation and switches to the new interface, and then responds to the user operation and switches back to the interface with the service card, so that the content of the service card is updated. When the new interface is a non-application program interface, the updated content can be random information in the application program to which the service card belongs, and the user may be in an aimless browsing state at the moment, so that more new information can be provided for the user. And when the new interface is the application program interface, the updated content is related to the operation behaviors (such as browsing behaviors and information input behaviors) of the user in the new interface, so that the user demand can be predicted, and the information required by the user can be provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals, and in particular to a display method of a service card and an electronic device. Background Art

[0002] An electronic device can display service cards of multiple applications. Applications can display relevant information through service cards. For example, a clock card can display current time information, and a weather card can display current weather information where the user is located.

[0003] In addition, the content displayed in the service card of the application will be adaptively changed. At present, the content change of the card adopts the method of periodic refresh. However, such a card content change method is too rigid. The updated card content does not take the user's feelings into consideration and is simply changed to new content, which leads to poor user experience. Summary of the invention

[0004] The present application provides a method for displaying a service card, which can update the content displayed on the card according to the information browsed by the user, thereby providing the information required by the user.

[0005] In a first aspect, the present application provides a method for displaying a service card, which is applied to an electronic device, comprising: the electronic device displays a first interface, the first interface includes a first card, and the first card includes a first content. The electronic device responds to a first operation and displays a second interface. The electronic device responds to a second operation and displays the first interface. In response to displaying the first interface, the first content in the first card is directly updated to the second content.

[0006] As can be seen from the above, the electronic device in this method is different from triggering the change of the content displayed on the card through periodic time. When the second interface is a non-application interface, the content displayed on the first card can be arbitrarily updated to the information that can be displayed by the first card, so as to provide users with more fresh information; when the second interface is an application interface, the user's browsing behavior in the second interface can be obtained, the user's needs can be predicted, and the content displayed on the first card can be updated to information related to the user's needs, so as to provide the user with the information needed and improve the user experience.

[0007] In conjunction with the first aspect, in some embodiments, the second interface displayed in the present application is not an interface directly used to update the card content. Optionally, the second interface may be an interface of the application corresponding to the card, but is not an update interface for directly updating the card content in the application. For example, if the card corresponds to a game application, the second interface may be a game interface of the game application, but is not a setting interface for setting the card content in the game application.

[0008] In conjunction with the first aspect, in some implementations, the first content and the second content are provided by the application to which the first card belongs. In this way, the application can display some related information in the application through the first card.

[0009] In combination with the first aspect, in some implementations, the first content and the second content both include any of the following: text, pictures, animated pictures, videos, or function controls.

[0010] In conjunction with the first aspect, in some implementations, the first interface includes: any interface of a desktop on which multiple application icons are placed or a negative one screen main interface. Generally speaking, the first card is deployed in the above interface, and may also be deployed in other interfaces, which is not limited.

[0011] In combination with the first aspect, in some embodiments, when the second interface is any of the following: any interface of the desktop with multiple application icons, a notification bar interface, an interface including a pull-up status bar or a pull-down status bar, a negative-one-screen main interface, or a multi-tasking background interface, the second content includes random information in the application to which the first card belongs, or information related to the user's historical behavior in the application to which the first card belongs.

[0012] When the electronic device displays the second interface, the user is browsing aimlessly and expects to obtain new information. The electronic device can update the content displayed on the first card by switching interfaces. The content can be arbitrary and can be related to the user's historical behavior in the application. This can meet the user's need to obtain new information.

[0013] In combination with the first aspect, in some embodiments, after displaying the second interface, the method further includes: the electronic device displays a third interface in response to a third operation on the second interface. In this way, when the electronic device switches from displaying the first interface to displaying the second interface, the user can perform related operations in the application to which the second interface belongs.

[0014] In combination with the first aspect, in some implementations, the second interface and the third interface are interfaces in a target application.

[0015] In conjunction with the first aspect, in some implementations, the target application includes any of the following: a weather application, a clock application, an album application, an email application, an instant messaging application, a game application, a social application, a shopping application, and an audio-visual application. In the embodiments of the present application, the target application is not limited to the above applications, and may also include more applications.

[0016] In conjunction with the first aspect, in some implementations, the third operation includes any one of the following: a click operation on each control in the second interface, a sliding operation for enabling a user to browse, and an operation of a user inputting a voice message or a text message. In this way, the user can perform relevant operations in the target application, and these operations can reflect the user's needs.

[0017] In conjunction with the first aspect, in some implementations, the second content is related to the content displayed in the third interface. That is, the updated content of the first card is related to the user's operation in the target application, and the updated second content can reflect the user's needs.

[0018] In conjunction with the first aspect, in some embodiments, the second content is related to the content displayed in the third interface, specifically including: when the application to which the first card belongs is a weather application, the target application is a social application, and the third interface displays relevant information of the first city, the second content is the weather information of the first city. In other words, the user's viewing, browsing, inputting and other operations in the target application will trigger the display of relevant information, and the second content is related to the content viewed by the user. The above is only an exemplary description and is not limited to this.

[0019] In conjunction with the first aspect, in some embodiments, the target application is different from the application to which the first card belongs. In an embodiment of the present application, the application described in the first card is different from the application that the user browses. In this way, the user's historical behavior is not limited to the application described in the first card, and the scope of the user's operation behavior obtained by the electronic device can be expanded, that is, the electronic device can obtain the user's browsing behavior in various applications. User needs can be predicted more accurately.

[0020] In combination with the first aspect, in some implementations, before the electronic device displays the first interface, the method further includes: the electronic device selecting the first card from multiple cards on the first interface.

[0021] In combination with the first aspect, in some implementations, before the electronic device responds to the second operation and displays the first interface, the method further includes: the electronic device selecting the first card from multiple cards on the first interface.

[0022] In the present application, the electronic device may select the cards that can be updated when it is turned on, or may select the cards that can be updated after identifying the user's operation behavior (ie, the user's browsing behavior).

[0023] In conjunction with the first aspect, in some implementations, the first card is selected by the electronic device from multiple cards on the first interface based on one or more of card content, card type, card size, or card position. In the embodiments of the present application, this is not limited and can be selected based on more situations.

[0024] In conjunction with the first aspect, in some embodiments, the selection specifically includes: selecting a card whose application belongs to a card and whose running time is greater than a threshold from multiple cards on the first interface as the first card. In this way, the application to which the first card belongs can be selected as a commonly used application, and the first card of the commonly used application can be updated at any time, which is more in line with user expectations.

[0025] In conjunction with the first aspect, in some implementations, the selection further includes: selecting a card whose card content is related to the content displayed in the third interface from the plurality of cards in the first interface as the first card. That is, the cards related to the user's browsing behavior among all the content that can be displayed by the card can be updated, and other cards that are not related to the user's browsing behavior may not be updated.

[0026] In combination with the first aspect, in some implementations, before obtaining the historical behavior of the user, the electronic device obtains authorization from the user to allow the electronic device to collect the historical behavior of the user.

[0027] In a second aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method described in the first aspect.

[0028] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute the method described in the first aspect.

[0029] In a fourth aspect, an embodiment of the present application provides a computer program product, comprising instructions, which, when executed on an electronic device, causes the electronic device to execute the method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1A-Figure 1C A user interface for displaying a service card on an electronic device is provided as an implementation example of the present application.

[0031] Figure 2A-2C A user interface for displaying a service card on an electronic device is provided as an implementation example of the present application.

[0032] Figure 3A-3C A user interface for displaying a service card on an electronic device is provided as an implementation example of the present application.

[0033] Figure 4A-4C Another electronic device provided in an implementation example of the present application displays a user interface for a service card.

[0034] Figure 5A-5C Another electronic device provided in an implementation example of the present application displays a user interface for a service card.

[0035] Figure 6A-6C Another electronic device provided in an implementation example of the present application displays a user interface for a service card.

[0036] Figure 7A-7C Another electronic device provided in an implementation example of the present application displays a user interface for a service card.

[0037] Figure 8A-8C Another electronic device provided in an implementation example of the present application displays a user interface for a service card.

[0038] Fig. 9 A flowchart of a method for displaying a service card provided for an implementation example of the present application.

[0039] Fig. 10A A schematic diagram of the architecture of an electronic device provided for an implementation example of the present application.

[0040] Fig. 10B A schematic diagram of the software architecture of an electronic device provided for an implementation example of the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0042] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0043] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0044] With the development and progress of electronic devices, electronic devices need to be more adaptable to the needs of users. Electronic devices can set and display service cards of applications. As a new form of displaying page content of applications installed on electronic devices, service cards can achieve the purpose of direct service and reduce experience levels by prepending the content or operations of applications to the cards.

[0045] The content displayed on the service card may be the relevant information in the application. Generally, the electronic device may periodically change the content displayed on the service card, that is, update and replace the content displayed on the service card at a certain interval. For example, if the weather card displays the weather conditions of a certain region, the electronic device may change the weather information of the region displayed on the weather card every one minute; if the shopping card displays the detailed information of a certain product, the electronic device may change the detailed information of the product displayed on the shopping card every ten minutes.

[0046] Since the change method of the content displayed on the above-mentioned service card is triggered based on time, the change method is too rigid, and the content displayed on the card is only updated purposelessly and arbitrarily, and the content displayed on the card after the update may not be the content that the user currently wants to know. The user cannot quickly obtain the required information through the card, that is, the update method of the content displayed on the card may not meet the user's immediate needs, which will result in a poor user experience.

[0047] The embodiment of the present application provides a method for displaying a service card. In the method, the electronic device can update and transform the content displayed on the service card based on user operations.

[0048] The display method is mainly divided into two cases:

[0049] Case 1: The electronic device displays a user interface on which a service card is placed. In response to a user operation (such as a sliding operation), the electronic device switches to a new user interface. In response to a user operation (such as a sliding operation) again, the electronic device switches back to the user interface on which the service card was previously placed. At this time, the content of the service card has been updated.

[0050] Here, the user interface where the service card is placed may include but is not limited to: any interface of the desktop where multiple application icons are placed, a negative one screen interface, and the like.

[0051] The new user interface after the above switching is not a user interface in a certain application, but a non-application interface. The non-application interface may include but is not limited to: any interface of the desktop with multiple application icons, a notification bar interface, an interface including a pull-up status bar or a pull-down status bar, a negative one screen main interface, and multiple background application interfaces (also called multi-tasking background interfaces), etc.

[0052] In this case, the user does not enter the application, but switches back and forth between the various interfaces of the desktop, or switches between the desktop and the negative one screen, or opens the notification bar on the desktop or the negative one screen, or opens the status bar on the desktop or the negative one screen, or enters the multitasking interface from the desktop or the negative one screen, etc. This shows that the analysis user may only need to take in fresh information. Therefore, in this case, updating the content displayed by the card can better meet the needs of users and improve the user experience compared to periodically updating the content.

[0053] The following describes how to display service cards in specific scenarios.

[0054] For example, Figure 1A-Figure 3C A method for displaying a service card when an electronic device is in the above situation in an embodiment of the present application is introduced.

[0055] Scenario 1: Update the content displayed in the card after browsing the notification bar.

[0056] Figure 1A The user interface 200 is shown as an example. The electronic device may display a desktop user interface 200, which may include multiple card icons, such as a clock card 101, a weather card 102, a shopping card 103, an album card 104, etc., and may also include more or fewer cards or other icons, without limitation.

[0057] Optionally, a page indicator is displayed below the page where the card icon is placed to indicate the total number of pages on the desktop and the positional relationship between the currently displayed page and other pages. For example, the main interface may include three pages, and the black dot in the page indicator is in the middle, which may indicate that the currently displayed page is a page in the middle of the three pages.

[0058] Optionally, a status bar is also displayed above the page where the card icon is placed. The status bar may include information such as a communication signal strength indicator, a battery level, and time.

[0059] The content displayed on the clock card 101 may be relevant information in the clock application, for example, any one or more of the following: time, time location, date, day of the week, set alarm, etc., without limitation.

[0060] The content displayed on the weather card 102 may be relevant information in a weather application, and may include, for example, any one or more of the following: current temperature, weather region, weather conditions, maximum temperature of the day, minimum temperature of the day, weather warning, weather conditions for the next 7 days, etc., without limitation.

[0061] The content displayed on the shopping card 103 may be relevant information in the shopping application, for example, may include any one or more of the following: product pictures, product original prices, product specials, product monthly sales, sales rankings, product logistics, etc., without limitation.

[0062] The content displayed on the album card 104 may be related information in the album application, for example, may include any one or more of the following: one or more pictures, picture shooting or saving information, video, etc., without limitation.

[0063] For example, Figure 1A As shown, the time displayed on the clock card 101 in the user interface 200 is "4:57", the location of the displayed time is "Shenzhen", and the date of the displayed time is "January 13". The temperature of the current moment displayed on the weather card 102 in the user interface 200 is "18°C", the displayed weather location is "Nanshan District, Shenzhen", the displayed weather condition is "clear and good air", and the maximum and minimum temperatures of the day are "21°C / 10°C" respectively. The original price of the item displayed on the shopping card 103 in the user interface 200 is 1999, and the special price of the displayed item is 199. The album card 104 in the user interface 200 displays a portrait picture, which may be the most recently taken or stored, or may be one of the most viewed pictures, without limitation.

[0064] In some implementations, the electronic device may receive a sliding operation of the user on the user interface 200, and in response to the sliding operation, update the content displayed on the clock card 101, the weather card 102, the shopping card 103, and the album card 104 in the user interface 200. Specifically, after receiving the sliding operation of the user, the electronic device may display other user interfaces, and then after receiving the sliding operation of the user again, the electronic device returns to the user interface 200, and the electronic device may update the content displayed on the card in the user interface 200.

[0065] The above sliding operation may include but is not limited to up and down sliding operation, left and right sliding operation and other sliding operations, which are not limited in the embodiments of the present application. It is worth noting that the sliding operation is not for a specific card, but for the sliding operation of the entire user interface.

[0066] For example, Figure 1A As shown, the electronic device can receive a downward sliding operation of the user on the user interface 200, and in response to the sliding operation, display the following Figure 1B User interface 210 is shown. Figure 1B The user interface 210 is exemplarily shown, and the user interface 210 is a notification bar interface. At this time, the electronic device no longer displays the user interface 200. In other words, the electronic device has switched the user interface.

[0067] like Figure 1B As shown, the electronic device can receive an upward sliding operation of the user on the user interface 210, and in response to the operation, display the following Figure 1C The user interface 200 shown. Figure 1A-Figure 1C , the electronic device completes the switching of interfaces, and the electronic device does not enter a page of a certain application, which meets the above situation one.

[0068] Figure 1C The user interface 200 is shown as an example. The user interface 200 may also include multiple card icons, such as a clock card 105, a weather card 106, a shopping card 107, an album card 108, etc. It may also include more or fewer cards or other icons, which is not limited. Among them, the clock card 105 in the user interface 200 has updated content relative to the clock card 101, the weather card 106 in the user interface 200 has updated content relative to the weather card 102, the shopping card 107 in the user interface 200 has updated content relative to the shopping card 103, and the album card 108 in the user interface 200 has updated content relative to the album card 104.

[0069] When the application scenario of the embodiment of the present application is situation 1, the updating method of the card content may include but is not limited to the following two methods:

[0070] Method 1: The updated content is related to the user's historical behavior in the application to which the card belongs. In this way, it can better adapt to the user's habit of using electronic devices.

[0071] Method 2: The updated content can be any relevant information in the application to which the card belongs. In this way, more new information can be provided to users when they are bored.

[0072] For example, Figure 1C As shown, the time displayed on the clock card 105 in the user interface 200 is "5:02", the location of the displayed time is "Seoul", and the date of the displayed time is "January 13". It can be seen that the electronic device changes the content displayed in the clock card 101 in the user interface from the date and time of "Shenzhen" to the date and time of "Seoul" displayed on the clock card 105.

[0073] Several implementation methods for updating the content of the clock card 101 are introduced below.

[0074] In a possible implementation, since the user may have added the time of "Seoul" in the clock application or the user has browsed the time of "Seoul" in the clock application, the content of the clock card 105 obtained after the electronic device updates the content in the clock card 101 may be the time and date of "Seoul".

[0075] In another possible implementation, the content of the clock card 101 after the electronic device updates it is random, and the time and date of "Seoul" displayed in the clock card 105 has nothing to do with whether the user has browsed or viewed the time and date of "Seoul", that is, the content displayed on the clock card 105 is the relevant information in the clock application obtained after random refresh, for example, the time and date of "Seoul".

[0076] Further, the content after the electronic device updates the clock card 101 is not limited to the following: Figure 1C The clock card 105 may also display any other related information in the clock application, such as the alarm, day of the week, etc. set in the clock application, without limitation.

[0077] like Figure 1CAs shown, the current temperature displayed on the weather card 106 in the user interface 200 is "10°C", the weather region displayed is "Beijing Chaoyang District", the weather condition displayed is "cloudy with good air quality", and the highest and lowest temperatures displayed on the day are "15°C / 8°C" respectively. It can be seen that the electronic device changes the content displayed in the user interface weather card 102 from the weather temperature of "Shenzhen Nanshan District" to the weather temperature of "Beijing Chaoyang District" displayed on the weather card 106.

[0078] Several implementations of updating the content of the weather card 102 are described below.

[0079] In one possible implementation, since the user may have added the weather of "Chaoyang District, Beijing" in the weather application or the user has browsed the weather of "Chaoyang District, Beijing" in the clock application, or other similar historical behaviors, the electronic device updates the content of weather card 102 to obtain the weather temperature of "Chaoyang District, Beijing" in weather card 106.

[0080] In another possible implementation, the electronic device has randomness in the content of the weather card 102 after updating, and the weather temperature of "Chaoyang District, Beijing" displayed in the weather card 106 has nothing to do with whether the user has browsed or viewed the weather temperature of "Chaoyang District, Beijing", that is, the content displayed in the weather card 106 is the relevant information in the weather application obtained after random refresh, such as the weather temperature of "Chaoyang District, Beijing".

[0081] Further, the content of the weather card 102 after being updated by the electronic device is not limited to the following: Figure 1C The content of the weather card 106 shown, the weather card 106 can also display any other relevant information in the weather application, for example, weather warnings in the weather application, weather conditions in the next 7 days, etc., without limitation.

[0082] like Figure 1C As shown, the original price of the item "backpack" displayed in the shopping card 107 in the user interface 200 is 299, and the special price of the item "backpack" displayed is 99. The album card 108 in the user interface 200 displays a chat screenshot. The implementation method of updating the content of the shopping card 103 and the album card 104 here can refer to the implementation method of updating the content of the clock card 101 and the weather card 102, which will not be repeated here.

[0083] It is worth noting that the electronic device is not limited to the specific situation that the user interface 200 is switched to the user interface 210 and then switched back to the user interface 200. It can also respond to the user's sliding operation on the user interface 200 to the left or right, switch to other interfaces (such as the negative first layer main interface, the desktop interface with application icons placed thereon), and then respond to the user's sliding operation to the right or left, switch back to the user interface 200; it can also respond to the user's sliding operation on the user interface 200 to the upper left or upper right, switch to other interfaces (such as my service interface, multiple background application interfaces), and then respond to the user's sliding operation to the lower right or lower left, switch back to the user interface 200. This is not limited.

[0084] Scenario 2: Update the content displayed on the card after browsing other desktop pages.

[0085] For example, the electronic device may receive a user's request for Figure 2A The user interface 200 shown in FIG. 1 is slid to the right, and in response to the slid to the right operation, the following is displayed: Figure 2B User interface 220 is shown. Figure 2B The user interface 220 is shown as an example, and the user interface 220 may be a second page desktop interface, and the user interface 220 may include but is not limited to a variety of application icons. At this time, the electronic device no longer displays the user interface 200. In other words, the electronic device has switched the user interface.

[0086] The electronic device may also receive a leftward sliding operation of the user on the user interface 220, and in response to the operation, display the following Figure 2C The user interface 200 shown in FIG. 1 also meets the above situation 1 when the electronic device completes the back and forth interface switching and the electronic device does not enter a page of a certain application.

[0087] Scenario 3: Update the content displayed on the card after browsing the negative one screen page.

[0088] As another example, the electronic device may receive a user's request for Figure 3A The user interface 200 shown in FIG. 1 is slid to the left, and in response to the slid to the left operation, a display as shown in FIG. Figure 3B User interface 230 is shown. Figure 3B The user interface 230 is exemplarily shown. The user interface 230 is a negative one-screen interface. The user interface 230 may include but is not limited to a variety of widgets. At this time, the electronic device no longer displays the user interface 200. In other words, the electronic device has switched the user interface.

[0089] The electronic device can also receive a rightward sliding operation of the user for the user interface 230, and the rightward sliding operation is displayed as follows: Figure 3CThe user interface 200 shown in FIG. 1 also meets the above situation 1 when the electronic device completes the back and forth interface switching and the electronic device does not enter a page of a certain application.

[0090] By the above Figure 1A-Figure 3C It can be seen that after the electronic device switches from user interface 200 to user interface 210 or user interface 220 or user interface 230 and then switches back to user interface 200, the content of each service card in user interface 200 is updated. In this way, the user can obtain new information without a clear browsing purpose, thereby updating the content of the service card to better meet the needs of the user and improve the user experience.

[0091] Case 2: The electronic device displays a user interface with a service card, responds to a user operation (such as a click operation), switches to a new user interface, responds to a user operation (such as a click operation) again, and displays the user interface with the service card. At this time, the content of the service card has been updated.

[0092] Here, the user interface where the service card is placed may include but is not limited to: any interface of the desktop where multiple application icons are placed, a negative one screen interface, and the like.

[0093] It is worth noting that the new user interface after switching in situation 2 is different from situation 1. The new user interface here is an application interface. The application interface referred to here may include user interfaces provided by other applications other than some system applications (such as desktop applications, negative one screen applications, notification bar applications, status bar applications, etc.), such as: user interfaces provided by weather applications, user interfaces provided by clock applications, user interfaces provided by photo album applications, user interfaces provided by instant messaging applications, user interfaces provided by game applications, user interfaces provided by video applications, user interfaces provided by shopping application applications, user interfaces provided by mail application applications, etc.

[0094] In the second case, the updated content of the service card will refer to the user's operation in the new user interface, that is, the updated content displayed on the service card may be related to the content that the user wants to browse. In this case, the electronic device can predict the user's needs based on the user's operation behavior in other applications, and thus provide the information that the user may need. Compared with periodically updating the card content, it can enhance the user experience, provide better services to users, and meet user needs.

[0095] The following describes the display method of the service card in situation 2 in combination with a specific scenario.

[0096] For example, Figures 4A-8CA method for displaying a service card when an electronic device is in the above-mentioned situation 2 in an embodiment of the present application is introduced.

[0097] Scenario 1: Update the content displayed in the weather card after browsing relevant information about other regions in other applications.

[0098] Figure 4A A user interface 300 is shown as an example.

[0099] First, the electronic device may display a user interface 300 , which may include but is not limited to a weather card 301 and a social application icon 302 , and may also include more or fewer cards or other icons, without limitation.

[0100] For example, the current temperature displayed on the weather card 301 in the user interface 300 is "18°C", the weather region displayed is "Nanshan District, Shenzhen", the weather condition displayed is "clear and good air", and the highest and lowest temperatures of the day displayed are "21°C / 10°C" respectively. Generally speaking, the weather card 301 in the user interface 300 displayed after the electronic device is turned on will display the weather information of the user's local area, but the content displayed on the weather card 301 is not limited to the local weather information, and can also be the weather information of other random areas. For detailed introduction, please refer to the above Figure 1A-Figure 1C The relevant description is not repeated here.

[0101] Then, the electronic device can respond to the user's click operation on the social application icon 302 and enter the social application. The electronic device can display the following Figure 4B User interface 310 in the social application shown. User interface 310 can be a dynamic specific content under a certain topic. The user can browse the relevant information of a certain area in user interface 310. Exemplarily, user interface 310 is a dynamic interface that introduces the relevant information of Chongqing tourism in the topic of "Chongqing Tourism Guide", which can specifically include: for example, the cost, time, reason and attractions of Chongqing tourism. At this time, the electronic device intercepts the user's operation of browsing Chongqing tourism information.

[0102] Afterwards, the electronic device can respond to the user's operation and display the following Figure 4CUser interface 310 shown. The user interface 310 may include, but is not limited to, a weather card 303 and a social application icon 302. Because before this, the electronic device has obtained the user's operation of browsing relevant information in Chongqing, and determines that the user may now need to know the weather conditions in Chongqing, the content of the weather card 303 is updated relative to the weather card 301. Exemplarily, the temperature at the current moment displayed by the weather card 303 in the user interface 310 is "11°C", the displayed weather belongs to the "Nan'an District, Chongqing", the displayed weather condition is "cloudy with good air", and the displayed maximum and minimum temperatures of the day are "15°C / 10°C" respectively. This is only an exemplary explanation, and the content displayed by the weather card 303 may also include more or less weather information.

[0103] It is worth noting that it is not limited to the above-mentioned social applications, but can also be any application installed on the electronic device. It is not limited to the user browsing tourism information of other regions, but can also be browsing ticket information to other regions, or browsing areas with major weather disasters, etc. The electronic device can intercept the operation information of the user browsing other regions.

[0104] In this way, the electronic device can predict the information the user expects to know (such as relevant information about Chongqing) based on the user's behavioral operations in other applications (such as browsing Chongqing travel information), and update the content on the card (such as Chongqing's weather conditions) according to the predicted user needs, so as to better meet the user's needs.

[0105] Scenario 2: Update the content displayed in the album card after browsing the picture information in other applications.

[0106] Figure 5A A user interface 400 is shown as an example.

[0107] First, the electronic device may display a user interface 400 , which may include but is not limited to an album card 401 and a social application icon 402 , and may also include more or fewer cards or other icons, without limitation.

[0108] For example, the album card 401 in the user interface 400 displays a portrait picture, which may be the most recently taken or stored, or may be one of the most viewed pictures, without limitation. In the embodiment of the present application, the content displayed in the album card 401 is not limited, and may also be other relevant information in the album application.

[0109] Then, the electronic device may respond to the user's click operation on the social application icon 402 and enter the social application. The electronic device may display the following Figure 5BUser interface 410 in the social application shown. The user can browse pictures and related information in user interface 410. Exemplarily, user interface 410 is a dynamic interface of a cat shared in the topic of "recent picture sharing", which may specifically include: photos of the cat and related text information. At this time, the electronic device intercepts the user's operation of browsing pet pictures.

[0110] Afterwards, the electronic device can respond to the user's operation and display the following Figure 5C The user interface 410 shown in FIG. 410 may include, but is not limited to, an album card 403 and a social application icon 402. Because the electronic device has previously acquired the user's operation of browsing pet pictures and determined that the user may currently want to view pet pictures, the content of the album card 403 is updated relative to the album card 401. Exemplarily, the album card 403 in the user interface 410 displays a picture of a puppy. This is only an exemplary description, and the content displayed in the weather card 303 may also be other pet-related picture information.

[0111] It is worth noting that it is not limited to the above social applications, but can also be any application installed in the electronic device. Furthermore, if the user browses pictures of landscapes in the social application, the content displayed in the album card 403 can also be pictures of landscapes, and this is not limited.

[0112] In this way, the electronic device can predict the information the user expects to know (such as viewing pet pictures stored in an album) based on the user's behavioral operations in other applications (such as browsing pet pictures), and update the content on the card (such as puppy pictures) based on the predicted user needs, thereby better meeting the user's needs.

[0113] Scenario 3: Update the content displayed on the shopping card after browsing the relevant information of the item in other applications.

[0114] Fig. 6A A user interface 500 is shown as an example.

[0115] First, the electronic device may display a user interface 500 , which may include but is not limited to a shopping card 501 and a social application icon 502 , and may also include more or fewer cards or other icons, without limitation.

[0116] For example, the original price of the product "handbag" displayed on the shopping card 501 in the user interface 500 is 1999, and the special price of the product "handbag" displayed is 199. In the embodiment of the present application, the content displayed on the shopping card 501 is not limited, and can also be other relevant information in the shopping application.

[0117] Then, the electronic device may respond to the user's click operation on the social application icon 502 and enter the social application. The electronic device may display the following Figure 6B User interface 510 in the social application shown. The user can browse pictures and related information in user interface 510. For example, user interface 510 is a dynamic interface for recommending sweatpants in the topic of "outfit recommendation", which may specifically include: pictures of people's outfits and related text information. At this time, the electronic device intercepts the user's operation of browsing the sweatpants picture.

[0118] Afterwards, the electronic device can respond to the user's operation and display the following Figure 6C User interface 500 shown. The user interface 500 may include, but is not limited to, a shopping card 503 and a social application icon 502. Because the electronic device has previously acquired the user's operation of browsing the recommended outfits for sweatpants, and has determined that the user may currently want to view or purchase similar sports products, the content of shopping card 503 is updated relative to shopping card 501. Exemplarily, the original price of the item "sweatpants" displayed on shopping card 503 in user interface 500 is 399, and the special price of the item "sweatpants" displayed is 99. This is only an exemplary explanation, and the content displayed on shopping card 503 may also be other product information related to sweatpants.

[0119] In this way, the electronic device can predict the information the user expects to know (such as viewing or purchasing sports products) based on the user's behavioral operations in other applications (such as browsing sports-related outfit recommendations), and update the content on the card (such as relevant information about sports pants) based on the predicted user needs, thereby better meeting the user's needs.

[0120] Scenario 4: Update the content displayed on the takeaway card after browsing the relevant information of the food in other applications.

[0121] Fig. 7A A user interface 600 is shown as an example.

[0122] First, the electronic device may display a user interface 600 , which may include but is not limited to a takeaway card 601 and a social application icon 602 , and may also include more or fewer cards or other icons, without limitation.

[0123] For example, the takeaway store displayed on the takeaway card 601 in the user interface 600 is "Daxiaoxie (Headquarters)", and the rating of the store is "4.5 points". In the embodiment of the present application, the content displayed on the takeaway card 601 is not limited, and can also be other relevant information in the takeaway application.

[0124] Then, the electronic device can respond to the user's click operation on the social application icon 602 and enter the social application. The electronic device can display the following Figure 7B User interface 610 in the social application shown. The user can browse pictures and related information in user interface 610. Exemplarily, user interface 610 is a dynamic interface for recommending milk tea in the topic of "food recommendation", which may specifically include: displaying milk tea pictures and related text information. At this time, the electronic device intercepts the user's operation of browsing food (such as milk tea) pictures.

[0125] Afterwards, the electronic device can respond to the user's operation and display the following Figure 7C User interface 600 shown. The user interface 600 may include, but is not limited to, a takeaway card 603 and a social application icon 602. Because before this, the electronic device has obtained the operation that the user has browsed the food recommendation of milk tea, and judged that the user may currently want to view or buy similar food, the content of takeaway card 603 is updated relative to takeaway card 601. Exemplarily, the takeaway store displayed on takeaway card 603 in user interface 600 is "Xingxing Milk Tea (Headquarters)", and the rating of the store is "4.8 points". This is only an exemplary explanation, and the content displayed on takeaway card 603 can also be other product information related to the pictures browsed by the user.

[0126] In this way, the electronic device can predict the information the user expects to know (such as viewing or purchasing milk tea products) based on the user's behavioral operations in other applications (such as browsing food recommendations related to milk tea), and update the content on the card (such as milk tea shops) based on the predicted user needs, thereby better meeting the user's needs.

[0127] Scenario 5: Update the content displayed in the social card after browsing the relevant information of the video in other applications.

[0128] Fig. 8A A user interface 700 is shown as an example.

[0129] First, the electronic device may display a user interface 700 , which may include but is not limited to a social card 701 and a video and audio playback application icon 702 , and may also include more or fewer cards or other icons, without limitation.

[0130] Exemplarily, the content displayed by the social card 701 in the user interface 700 is "outfit recommendation" and related pictures. In the embodiment of the present application, the content displayed by the social card 701 is not limited, and can also be other related information in the social application.

[0131] Then, the electronic device can respond to the user's click operation on the video and audio playback application icon 702 and enter the video and audio playback application. The electronic device can display the following Figure 8B The user interface 710 in the video playback application is shown. The user can browse pictures and related information in the user interface 710. For example, the user interface 710 is a playback interface of the movie "Step Bravely", which may specifically include: the movie and the related text introduction of the movie. At this time, the electronic device intercepts the user's operation of browsing the movie.

[0132] Afterwards, the electronic device can respond to the user's operation and display the following Figure 8C The user interface 700 shown in FIG. 700 may include, but is not limited to, a social card 703 and a video player application icon 702. Because the electronic device has previously acquired the user's operation of browsing movies and determined that the user may currently want to view more relevant information about the movie, the content of the social card 703 is updated relative to the social card 701. Exemplarily, the content displayed by the social card 703 in the user interface 700 is "Recommendations for movie reviews related to "Step Bravely". This is only an exemplary description, and the content displayed by the social card 703 may also be other information related to the movies browsed by the user.

[0133] In this way, the electronic device can predict the information the user expects to know (such as viewing more information about a movie) based on the user's behavioral operations in other applications (such as browsing movies), and update the content on the card (such as movies) based on the predicted user needs, thereby better meeting the user's needs.

[0134] It is worth noting that the above-mentioned electronic device predicts user needs by obtaining the user's operational behavior of browsing certain information is only an example. The electronic device can also predict user needs through other operational behaviors of the user. The user's operational behavior can be understood as the user's information input behavior, and the information input behavior can specifically include but is not limited to: the user's behavior of inputting text when chatting with friends, the user's behavior of copying and pasting text or pictures, the user's behavior of text input or voice input when searching, the user's behavior of taking pictures, etc., without limitation.

[0135] Based on the above Figures 1A to 8C In the application scenario shown, a method for displaying a service card provided in an embodiment of the present application is introduced below.

[0136] Fig. 9 A flow chart of a method for displaying a service card provided in an embodiment of the present application is shown.

[0137] like Fig. 9As shown, this method is mainly divided into two branches:

[0138] The method for displaying the service card specifically includes:

[0139] S901. An electronic device displays a first interface, where the first interface includes a first card, and the first card includes first content.

[0140] In some implementations, the electronic device may display a first interface. The first interface may refer to a user interface on which a service card is placed. The first interface may include, but is not limited to: a desktop first page interface, a negative first screen, a desktop second page interface, and the like.

[0141] In some implementations, since the service card is a form of displaying page content by the application, and the application can have multiple forms of displaying page content, then one application can include one or more service cards. Moreover, different applications may also include different service cards. Therefore, the service card in the first interface can be one or more, that is, the number of the first card can be one or more.

[0142] In some implementations, the first card may have a variety of different shapes, such as a square, a rectangle, a circle, a triangle, or any other irregular shape, without limitation.

[0143] In some implementations, the size of the first card should not exceed the range of the first interface at most, and should be at least sufficient to ensure that the user can clearly view the content displayed on the first card.

[0144] In some implementations, the first card may be set when the electronic device leaves the factory, or may be set by the user. Exemplarily, the electronic device may display an "add card" control in response to a user's long press operation on the application to which the first card belongs, and the electronic device may display the first card in an empty space in the user interface in response to a user's click operation on the "add card" control.

[0145] In some implementations, the position of the first card in the first interface is not fixed, and the user can adjust the position of the first card in the first interface. For example, the electronic device can adjust the position of the first card in response to the user's drag operation (i.e., a sliding operation after long pressing) on ​​the first card.

[0146] It can be understood that the application to which the first card referred to here belongs may refer to an application that comes with the system in the electronic device (for example, a weather application, an album application, etc.), or it may refer to a third-party application that is normally installed in the electronic device (for example, a shopping application, a food delivery application, and an audio and video playback application, etc.), without limitation.

[0147] In some implementations, the form of the first content may include, but is not limited to, any one or more of the following: text, pictures, animated pictures, videos, function controls, etc., without limitation. The first content is derived from the application to which the first card belongs. In other words, the first content may refer to relevant information in the application to which the first card belongs. Displaying the first content in the first card allows the user to directly view and understand the relevant information of the application without having to enter the application to which the first card belongs.

[0148] Exemplarily, the first interface may be the above Figure 1A , Figure 2A , Figure 3A , Figure 4A , Figure 5A , Fig. 6A , Fig. 7A as well as Fig. 8A The first content may refer to the user interface shown. Figure 1A , Figure 2A , Figure 3A , Figure 4A , Figure 5A , Fig. 6A , Fig. 7A as well as Fig. 8A The content on the service card shown in the above description, etc. In the embodiment of the present application, the first interface may further include more user interfaces, and the first content may further include more content, which is not limited thereto.

[0149] After step S901, according to the type of the interface opened by the subsequent user, Fig. 9 The method shown can be divided into two branches, branch one is S902-S903, and branch two is S904-S906. The electronic device can select a branch to execute according to the category of the interface triggered to be opened by the user.

[0150] S902: The electronic device responds to the first operation and displays a second interface, where the second interface is a non-application program interface.

[0151] The first operation is used to switch the electronic device from displaying the first interface to displaying the second interface which is not an application program interface. The first operation may be implemented in a variety of forms, such as but not limited to: a click operation, a slide operation, a voice command, a gesture command, and the like.

[0152] The above-mentioned second interface is a non-application interface, which may refer to an interface other than the interfaces in all applications, and may specifically include but is not limited to: any interface of the desktop with multiple application icons, a notification bar interface, an interface including a pull-up status bar or a pull-down status bar, a negative-one-screen main interface, and multiple background application interfaces (also called multi-tasking interfaces) and other interfaces.

[0153] Exemplarily, the first operation may refer to making Figure 1A The user interface 200 shown in the figure switches to the user interface 210 by sliding downward, and the second interface may be the above-mentioned Figure 1B The user interface 210 shown in FIG. 10A further exemplary embodiment may be a first operation that causes the Figure 2A The user interface 200 shown in the figure switches to the right sliding operation of the user interface 220, and the second interface can be the above Figure 2B The user interface 220 shown in FIG. 10 is shown in FIG. 11 . As another example, the first operation may refer to making the following Figure 3A The user interface 200 shown in the figure switches to the left sliding operation of the user interface 230, and the second interface can be the above Figure 3B User interface 230 is shown.

[0154] When S902 is executed, the user may be in a state of casually checking the mobile phone. At this time, the electronic device cannot obtain the user's behavior operation, and it can be learned that the user may not have a clear browsing purpose.

[0155] S903: The electronic device responds to the second operation, displays the first interface, and updates the first content in the first card to the second content.

[0156] The second operation is used to switch the electronic device from displaying the second interface to displaying the first interface. The second operation may include but is not limited to: a click operation, a slide operation, a voice command, a gesture command, etc.

[0157] Exemplarily, the second operation may be to switch the user interface 210 to Figure 1C The upward sliding operation of the user interface 200 shown in FIG. 1 may also refer to switching the user interface 220 to the Figure 1C The left sliding operation of the user interface 200 shown in FIG. 1 may also refer to switching the user interface 230 to the Figure 1C The rightward sliding operation of the user interface 200 shown is not limited to this.

[0158] If the first interface includes multiple first cards, in step S903, the electronic device may update the contents of some or all of the multiple first cards.

[0159] If the electronic device updates the contents of all first cards in the first interface, the electronic device does not need to determine the first cards that need to be updated, and the more first cards that are updated, the more new information the user can obtain.

[0160] If the electronic device only updates the content of part of the first cards in the first interface, the part of the first cards can be determined in the following way: the part of the first cards can be arbitrarily selected by the electronic device, or the part of the cards can be pre-set by the user, etc. The embodiment of the present application is not limited to this.

[0161] For the first card that needs to be updated in the first interface, the updated second content in the first card is provided by the application to which the first card belongs. The form of the second content may include but is not limited to any one or more of: text, pictures, animated pictures, videos, function controls, etc., without limitation. The second content comes from the application to which the first card belongs. In other words, the second content may refer to relevant information in the application to which the first card belongs.

[0162] The electronic device may obtain the second content in any of the following ways:

[0163] 1. The second content is any random related information in the application to which the first card belongs.

[0164] The electronic device can randomly select one or more pieces of information from the relevant information of the application to which the first card belongs and display them on the first card.

[0165] For example, the electronic device can respond to the user's upward sliding operation in the user interface 210 and display the clock card 105 in the user interface 200, and the content displayed in the clock card 105 is the time and date of "Seoul". Figure 1C The user interface shown has not previously browsed the relevant information of "Seoul", so the electronic device randomly selects the time and date information of a certain city in the clock application.

[0166] From the above content, it can be seen that the reason why the electronic device randomly displays the second content is that it takes into account the user's operation, but the user may perform the operation in an aimless state. The user may expect to view different information, so the electronic device randomly updates the content on the card to meet the user's need to absorb fresh information.

[0167] 2. The second content is related to the user's historical behavior in the application to which the first card belongs.

[0168] Specifically, the electronic device can obtain the user's historical behavior in the application described in the first card, and the user's historical behavior can include the user's previous browsing behavior and information input behavior in the application. The user's historical behavior actually reflects the user's needs in the application, such as preferences for the application, habits of using the application, etc. Then, the electronic device can determine the second content related to the historical behavior based on the user's historical behavior.

[0169] For example, the electronic device can respond to the user's upward sliding operation in the user interface 210 and display a clock card, and the content displayed on the clock card can be the alarm information previously set by the user. In this way, the electronic device can better adapt to the user's usage habits and better fit the user.

[0170] In a possible implementation, when the electronic device displays multiple first cards belonging to the same application in the first interface, the electronic device can update the content displayed in the multiple first cards, and the updated contents in the multiple first cards are related to each other. For example, card a and card b of a game application are displayed in the first interface, and the first content displayed on card a is game character c, and the first content displayed on card b is game character d. The electronic device displays the second interface in response to the user operation, and then the electronic device displays the first interface in response to the user operation. At this time, the second content displayed in card a is that game character c and game character d are in an interactive state, and the second content displayed in card b is the text message "dropping by". In this way, the fun of the card display can be increased, and a better display effect can be provided to the user.

[0171] S904: The electronic device responds to the first operation and displays a second interface, where the second interface is an application program interface.

[0172] The first operation can be used to switch the electronic device from displaying the first interface to displaying the second interface. The first operation may include, but is not limited to: click operation, sliding operation, voice command, gesture command, etc. The second interface is an application interface. The application interface may refer to any interface in any application. The application interface referred to here may include user interfaces provided by other applications other than some system applications (such as desktop applications, negative one screen applications, notification bar applications, status bar applications, etc.), such as: a user interface provided by a weather application, a user interface provided by a clock application, a user interface provided by an album application, a user interface provided by an instant messaging application, a user interface provided by a game application, a user interface provided by a video application, a user interface provided by a shopping application, a user interface provided by an email application, and the like.

[0173] Exemplarily, the first operation may be a pointer to Figure 4A The click operation of the social application icon 302 shown in the figure is not limited to this. Figure 4B , Figure 5B , Figure 6B , Figure 7B as well as Figure 8B The user interface shown. In the embodiment of the present application, the second interface may also include more application interfaces, which is not limited. It is understandable that the icons of the applications described in the first card and the second interface may be located in the same user interface or in different user interfaces. Figure 4A , Figure 5A , Fig. 6A , Fig. 7A ,as well as Fig. 8A This is merely an example and is not intended to be limiting.

[0174] When S904 is executed, the user performs interactive operations with the electronic device with a purpose, and the user uses the electronic device with personal expectations.

[0175] S905: The electronic device obtains a user operation behavior in the second interface.

[0176] In some implementations, the electronic device may switch between multiple application interfaces while a user is using an application.

[0177] The second interface belonging to the application program interface may refer to the last application program interface before the electronic device exits a certain application program, or may refer to all application program interfaces of the electronic device in a certain application program, or may refer to any application program interface by which the electronic device can capture information related to the user's operating behavior, without limitation.

[0178] Exemplarily, the electronic device enters the browser application, first displays a search interface, and then displays related search content according to the information entered by the user. Here, the second interface can refer to the search interface where the information has been entered, or can refer to the application interface that displays the search content.

[0179] This is because electronic devices need to predict the content required by users based on their behavior. Electronic devices can understand user needs by capturing the information entered by users in a search interface where input information has been completed, or by identifying the content displayed after the search.

[0180] In one possible implementation, since the electronic device needs to obtain the user's operating behavior, and there are cases where the user does not expect his or her relevant information to be known, the electronic device needs to obtain the user's authorization to avoid infringing the user's privacy. Specifically, the electronic device can ask the user whether to grant permission to obtain the user's operating behavior when the application is first launched. For example, in the login interface of an application, a check box is displayed for the user to confirm, and the check box can display the text message "I have read and agree to obtain my operating behavior."

[0181] In some implementations, the user's browsing behavior may be an operation behavior of sliding a pointer on the second interface, or an operation behavior of sliding on the second interface from time to time, pausing sliding and long pressing from time to time within a period of time, or other user browsing behaviors, which are not limited. The user's information input behavior may refer to various information input behaviors, such as text input behavior, voice input behavior, camera input behavior, copy and paste, screenshot and screen recording, etc.

[0182] In some implementations, the electronic device can predict the user's needs based on the user's operating behavior in the second interface, and the user's operating behavior may include but is not limited to information browsed by the user, or information input by the user.

[0183] Specifically, after obtaining the browsing behavior of the user, the electronic device can obtain the information browsed by the user, thereby predicting the possible needs of the user. The information browsed by the user may include but is not limited to: information in the form of pictures, text, videos, etc.

[0184] Exemplarily, after the electronic device obtains the user's browsing behavior of user interface 310, it obtains the keywords browsed by the user, such as "Chongqing", "travel", etc., and thus can judge the user's possible need of "checking the weather in Chongqing"; exemplarily, after the electronic device obtains the user's browsing behavior of user interface 410, it obtains the cat pictures browsed by the user and keywords such as "cat", and thus can judge the user's possible need of "viewing local pet pictures".

[0185] After obtaining the information input by the user, the electronic device can also understand the user's general needs. The information input by the user may include but is not limited to: information in the form of pictures, text, audio, pictures, videos, etc. For example, the electronic device can obtain the text information "I want to travel to Chongqing recently" entered by the user in the chat interface, and then the electronic device determines that the user's possible need is "check the weather in Chongqing" based on the text information.

[0186] In a possible implementation, when the second interface displayed by the electronic device includes multiple, and the multiple second interfaces include both non-application interfaces and application interfaces, the electronic device can determine that the user has a browsing purpose, and the electronic device can obtain the user's behavior operation and predict the user's possible needs. That is, when the multiple second interfaces displayed by the electronic device include non-application interfaces and application interfaces, S904 is executed.

[0187] S906. The electronic device responds to the second operation, displays the first interface, and updates the first content in the first card to the second content, where the second content is related to the user operation behavior in the second interface.

[0188] In some implementations, the second operation may be used to switch the electronic device from displaying the second interface to displaying the first interface. The first operation may include, but is not limited to: a click operation, a slide operation, a voice command, a gesture command, and the like.

[0189] Exemplarily, the second operation may refer to making Figure 4B The user interface 310 shown switches to Figure 4C The operation of the user interface 300 shown is not limited thereto.

[0190] If the first interface includes multiple first cards, in step S906, the electronic device may update the content of some or all of the multiple first cards.

[0191] If the electronic device updates the contents of all first cards in the first interface, the electronic device does not need to determine the first cards that need to be updated, and the more first cards that are updated, the more new information the user can obtain.

[0192] If the electronic device only updates the content of part of the first cards in the first interface, the part of the first cards can be determined in the following way: the part of the first cards can be arbitrarily selected by the electronic device, or the part of the cards can be pre-set by the user, etc. The embodiment of the present application is not limited to this.

[0193] For the first card that needs to be updated in the first interface, the updated second content in the first card is information related to the user operation behavior provided by the application to which the first card belongs in the electronic device. The second content may be in the form of any one or more of: text, picture, animated picture, video, function control, etc., without limitation.

[0194] The user operation behavior includes the user browsing behavior and information input behavior, which actually reflects the user's current needs, such as the user's preferences, needs and habitual characteristics. Therefore, the electronic device can obtain the second content that can meet the user's preferences, needs and habits according to the user operation behavior.

[0195] Specifically, the electronic device may generate the second content described above in the following two ways:

[0196] 1. The system of the electronic device determines the second content of the first card.

[0197] In some implementations, the system of the electronic device can obtain all the contents of all the first cards displayed in the first interface, that is, a content set can be generated for each first card. After the electronic device obtains the user's authorization, it obtains key information from the user's operation behavior obtained by the electronic device, matches the key information with the content set of the first card displayed in the first user interface, and selects the content with the highest matching degree as the second content.

[0198] 2. The application to which the first card belongs determines the second content of the first card.

[0199] In some implementations, after obtaining the user's authorization, the electronic device obtains key information based on the user's operating behavior obtained by the electronic device, and sends the key information to each application that has a first card displayed on the first interface. The application to which the first card belongs selects the second content.

[0200] In the embodiment of the present application, determining the second content is not limited to the above-mentioned method, and there may be more methods, which are not limited to this.

[0201] For example, the electronic device may respond to the user's operation in the user interface 310 and display the weather card 303 in the user interface 300. Since the user browses related information such as "Chongqing" and "travel" in the user interface 310, the electronic device predicts that the user may want to "travel to Chongqing", so the second content may be related to "Chongqing". Therefore, the content displayed in the weather card 303 is the weather conditions of "Chongqing".

[0202] From the above content, it can be seen that electronic devices can predict user needs based on the user's browsing behavior and information input behavior, and update the content on the card to content related to the user's possible needs, thereby providing information that fits the user's needs and better meeting the user's needs.

[0203] Fig. 10A A schematic structural diagram of an electronic device 100 is shown.

[0204] The electronic device 100 may be equipped with Or a portable terminal device of other operating systems, the electronic device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle, a vehicle-mounted device, a smart home device and / or a smart city device, but not limited thereto, the electronic device 100 can also include a laptop computer with a touch-sensitive surface or a touch panel, a desktop computer with a touch-sensitive surface or a touch panel, and other non-portable terminal devices, etc. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device 100.

[0205] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light 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.

[0206] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0207] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0208] In some implementations, the processor 110 may be used to obtain various relevant information in the application to which the first card belongs. The processor 110 may also be used to obtain the user's historical behavior in the application to which the first card belongs. The processor 110 may also be used to obtain the user's browsing behavior and information input behavior to predict the user's needs. The processor 110 may also be used to capture key information related to the user in the second interface, such as text and pictures. The processor 110 may also be used to determine the second content of the first card based on the predicted user needs, the processor 110 may also be used to determine the second content of the first card based on the user's historical behavior in the application to which the first card belongs, and the processor 110 may also be used to randomly determine the second content of the first card.

[0209] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0210] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0211] The charging management module 140 is used to receive charging input from a charger.

[0212] The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0213] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.

[0214] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0215] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.

[0216] The mobile communication module 150 can provide wireless communication solutions including 2G / 3G / 4G / 5G etc. applied on the electronic device 100 .

[0217] In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be provided in the same device.

[0218] The modulation and demodulation processor may include a modulator and a demodulator, wherein the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal.

[0219] In some embodiments, the modem processor may be a stand-alone device.

[0220] In other embodiments, the modem processor may be independent of the processor 110 and provided in the same device as the mobile communication module 150 or other functional modules.

[0221] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module.

[0222] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.

[0223] The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0224] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0225] In some implementations, the display screen 194 can be used to display the first content of the first card in the first interface, and the display screen 194 can also be used to display the second content of the first card in the first interface.

[0226] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0227] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted to the camera photosensitive element through the lens, and the light signal is converted into an electrical signal. The camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. In some embodiments, the ISP can be set in the camera 193.

[0228] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0229] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0230] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0231] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0232] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0233] In some implementations, the internal memory 121 may be used to store all content that can be displayed by the first card, including the first content and the second content. The internal memory 121 may also be used to store data on user browsing behavior and information input behavior. The internal memory 121 may also be used to store user history behavior data in the application to which the first card belongs.

[0234] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; non-volatile memory may include disk storage devices and flash memory.

[0235] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0236] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0237] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0238] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0239] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0240] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0241] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0242] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0243] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0244] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0245] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0246] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0247] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0248] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0249] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0250] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0251] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0252] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0253] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0254] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0255] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0256] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0257] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.

[0258] Fig. 10B 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.

[0259] The layered architecture divides the software into several layers, each with clear roles and division of labor. The 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 library, and the kernel layer.

[0260] The application layer can include a series of application packages.

[0261] like Fig. 10B As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0262] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0263] like Fig. 10B As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0264] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0265] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0266] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0267] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0268] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0269] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0270] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

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

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

[0273] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0274] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0275] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0276] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0277] A 2D graphics engine is a drawing engine for 2D drawings.

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

[0279] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0280] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.

[0281] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0282] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for displaying a service card, the method being applied to an electronic device, It is characterized in that include: The electronic device displays a first interface, the first interface includes a first card, and the first card includes a first content; The electronic device displays a second interface in response to the first operation; The electronic device displays the first interface in response to the second operation; In response to displaying the first interface, the first content in the first card is updated to second content.

2. The method according to claim 1, It is characterized in that The method further comprises: The first content and the second content are provided by an application to which the first card belongs.

3. The method according to claim 1 or 2, It is characterized in that The first content and the second content both include any of the following: text, pictures, animated pictures, videos or function controls.

4. The method according to any one of claims 1 to 3, It is characterized in that The first interface includes: any interface of the desktop on which multiple application icons are placed or a negative one screen main interface.

5. The method according to any one of claims 1 to 4, It is characterized in that When the second interface is any of the following: any interface of the desktop with multiple application icons, a notification bar interface, an interface including a pull-up status bar or a pull-down status bar, a negative-one-screen main interface or a multi-tasking background interface, the second content includes random information in the application to which the first card belongs, or information related to the user's historical behavior in the application to which the first card belongs.

6. The method according to any one of claims 1 to 4, It is characterized in that After displaying the second interface, the method further includes: The electronic device displays a third interface in response to a third operation performed on the second interface.

7. The method according to claim 6, It is characterized in that The second interface and the third interface are interfaces in a target application.

8. The method according to claim 7, It is characterized in that The target application includes any of the following: a weather application, a clock application, an album application, an email application, an instant messaging application, a game application, a social application, a shopping application, and an audio-visual application.

9. The method according to claim 6, It is characterized in that The third operation includes any one of the following: a click operation on each control in the second interface, a sliding operation for the user to browse, and an operation of the user inputting voice information or text information.

10. The method according to claim 6 or 7, It is characterized in that The second content is related to the content displayed in the third interface.

11. The method according to claim 10, It is characterized in that The second content is related to the content displayed in the third interface, and specifically includes: When the application to which the first card belongs is a weather application, the target application is a social application, and the third interface displays relevant information of the first city, the second content is the weather information of the first city.

12. The method according to claim 7 or 11, It is characterized in that The target application is different from the application to which the first card belongs.

13. The method according to any one of claims 1 to 12, It is characterized in that Before the electronic device displays the first interface, the method further includes: The electronic device selects the first card from a plurality of cards on the first interface.

14. The method according to any one of claims 6 to 12, It is characterized in that Before the electronic device responds to the second operation and displays the first interface, the method further includes: The electronic device selects the first card from a plurality of cards on the first interface.

15. The method according to claim 13 or 14, It is characterized in that The first card is selected by the electronic device from multiple cards on the first interface according to one or more of card content, card type, card size or card position.

16. The method according to claim 13 or 15, It is characterized in that The options specifically include: A card to which the running time of an application program to which the card belongs is greater than a threshold is selected from a plurality of cards on the first interface as the first card.

17. The method according to claim 14 or 15, It is characterized in that The options specifically include: A card whose card content is related to the content displayed in the third interface is selected from multiple cards in the first interface as the first card.

18. The method according to claim 5, It is characterized in that The method further comprises: Before acquiring the user's historical behavior, the electronic device acquires authorization from the user to allow the electronic device to collect the user's historical behavior.

19. An electronic device, It is characterized in that The electronic device comprises a memory, one or more processors, and one or more programs; when the one or more processors execute the one or more programs, the electronic device implements the method as claimed in any one of claims 1 to 18.

20. A computer-readable storage medium comprising instructions, It is characterized in that When the instructions are executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 18.

Citation Information

Cited By

  • Method for acquiring weather information, electronic equipment, readable storage medium, chip and program product

    CN122028001A

  • Display method for application interface, and electronic device

    WO2026086274A1