Display method and apparatus
By collecting the card set as a button, the problem of excessive card set occupies too much display area in the desktop of the terminal device is solved, and the effect of saving space and improving efficiency is achieved.
Patent Information
- Application Number
- PCT/CN2024/141194
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-10
- Filing Date
- 2024-12-20
- Publication Date
- 2025-07-17
AI Technical Summary
The card set occupies too much display area in the desktop of the terminal device, which affects the beauty and efficiency.
By collecting the card set into a button, the display area occupied by the button is smaller than the display area occupied by the card set, saving desktop display space.
Effectively reduce the use of desktop display area and improve the beauty and efficiency of the user interface. Users can view card content flexibly through simple operations.
Smart Images

Figure CN2024141194_17072025_PF_FP_ABST
Abstract
Description
Display method and device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on January 10, 2024, with application number 202410047208.2 and application name “Display Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to a display method and device. Background Art
[0003] With the widespread adoption and development of the internet, mobile devices have become an integral part of people's lives and work. As mobile devices offer more and more services, the amount of content required to be displayed on the desktop is also increasing. The desktop can display one or more of the following: application icons, application cards, and card collections.
[0004] Typically, when an electronic device receives a card pushed by a system service, the card may be displayed on the top layer of a card set. Multiple cards pushed by a system service may be stacked in the card set.
[0005] However, the above display method occupies a relatively large display area of the desktop. Summary of the Invention
[0006] The embodiments of the present application provide a display method and device, which are applied to the field of terminal technology and can achieve the effect of reducing the occupied desktop display area.
[0007] In a first aspect, an embodiment of the present application provides a display method. The method includes: displaying a first interface, the first interface including a first card set and a first button, the first card set including N cards, the card displayed on the top of the N cards being the first card, where N is an integer greater than 0; in response to a first operation on the first button, displaying a second button on the first interface without displaying the first card set and the first button, the display area occupied by the second button being smaller than the display area occupied by the first card set; in response to a second operation on the second button, displaying the first card set and the first button on the first interface without displaying the second button.
[0008] The first interface may be the interface shown in a in FIG5 , the first button may be the first target button described in FIG5 , the first card may be card 102 , and the first operation may be a trigger operation for the first target button.
[0009] As shown in the interface of b in FIG. 5 , the second button may be a capsule button 502 , and the second operation may be a triggering operation on the capsule button 502 .
[0010] It is understandable that the electronic device can, based on the first operation, collapse the first card set into a second button. Since the display area occupied by the second button is smaller than the display area occupied by the first card set, the folding of the card set can save the desktop display area.
[0011] Furthermore, the electronic device may also expand the second button into the first card set based on the second operation, so that the user can flexibly view the card content through simple triggering.
[0012] In one possible implementation, a card located below a first card among the N cards is a second card, and displaying a second button on the first interface includes: displaying the second button and a third button on the first interface. The second button includes a logo of the first card, the third button includes a logo of the second card, and a display area occupied by the third button is smaller than a display area occupied by the second button.
[0013] In the case where the card set includes two cards, the electronic device can collapse the two cards into two buttons, one large and one small, to reduce the space occupied by the desktop display.
[0014] In one possible implementation, the method also includes: in response to a third operation on the third button, displaying the first button in the first interface and displaying the second card in the first card set; in response to a fourth operation on the first button, displaying the second button and the third button on the first interface, and not displaying the first card set and the first button.
[0015] Based on this, the electronic device can not only collapse the card set into a button, but also display the corresponding card in the card set based on the user's operation of expanding the button, so that the user can view the card content at any time.
[0016] In one possible implementation, the method also includes: in response to the fifth operation on the third button, displaying the first button in the first interface and displaying the second card in the first card set; in response to the operation on the second card, displaying the first interface; in response to the sixth operation on the first card set, displaying the first button in the first interface and displaying the second card in the first card set; in response to the seventh operation on the first button, displaying the fourth button and the fifth button on the first interface, the display area occupied by the fifth button is smaller than the display area occupied by the fourth button, the display area occupied by the fourth button is smaller than the display area occupied by the first card set, the fourth button includes the identifier of the second card, and the fifth button includes the identifier of the first card.
[0017] Based on this, when the user views card 104 and then views card 104 again by triggering an operation on the card set, the electronic device can display the capsule corresponding to card 104 when the card set is collapsed. In this way, the electronic device can identify cards that the user switches back and forth or views multiple times as more important cards and collapse them into capsules.
[0018] In one possible implementation, the first card is a card pushed by the first service, the second card is a card pushed by the second service, and the second button and the third button are displayed on the first interface, including: when the priority of the first service is higher than the priority of the second service, the second button and the third button are displayed on the first interface.
[0019] The electronic device can determine the content displayed in the button based on the priority of the service (or the priority of the card). For example, a service card with a high priority is displayed in a button that occupies a large display area, and a service card with a low priority is displayed in a button that occupies a small display area.
[0020] In a possible implementation, displaying the second button on the first interface includes: displaying the second button and first information on the first interface, where the first information includes one or more of the following: weather information, time information, or region information.
[0021] The electronic device may also display the first information while displaying the button, so that the user can view more other information while folding the card set.
[0022] In one possible implementation, after displaying the first interface, the method also includes: responding to the eighth operation on the first card set; displaying a first window on the first interface, the first window including: a sixth button for setting the display style; responding to the operation on the sixth button, displaying a second window in the first interface, the second window including: a seventh button for setting the first display style, the first display style being a weather clock + service capsule style; displaying the second button and the first information on the first interface, including: when the seventh button is selected, displaying the second button and the first information on the first interface.
[0023] Based on this, the electronic device can support the setting of the first display style, and the switching between the first display style and the card style, so that the user can choose an appropriate display style according to needs.
[0024] In one possible implementation, the method also includes: in response to the received third card, displaying the first button in the first interface and displaying the third card in the first card set; in response to the ninth operation on the first button, displaying the eighth button and the ninth button in the first interface, and not displaying the first card set and the first button, wherein the eighth button includes: the identifier of the third card, the ninth button includes: the identifier of the first card and the identifier of the second card, the display area occupied by the eighth button is smaller than the display area occupied by the first card set, and the display area occupied by the eighth button is larger than the display area occupied by the ninth button; in response to the operation on the ninth button, displaying the first card or the second card in the first card set.
[0025] As shown in the interface of b in FIG. 6 , the eighth button may be button 604 , and the ninth button may be a button composed of balls 605 and 606 (or referred to as a small button).
[0026] Based on this, when the card set includes three cards, the electronic device can collapse the three cards into two buttons, one large and one small. The small button can include the logos of the two cards to reduce the occupation of the desktop display space.
[0027] In one possible implementation, after responding to the received third card, the method also includes: in response to the received fourth card, displaying the first button in the first interface and displaying the fourth card in the first card set; in response to the tenth operation on the first button, displaying the tenth button and the eleventh button in the first interface, and not displaying the first card set and the first button, wherein the tenth button includes: the identifier of the fourth card, the eleventh button displays the first identifier and the second identifier, the second identifier includes two identifiers of the first card identifier, the second card identifier, and the third card identifier, the display area occupied by the tenth button is smaller than the display area occupied by the first card set, and the display area occupied by the eleventh button is smaller than the display area occupied by the tenth button; in response to the operation on the eleventh button, displaying the first card, or the second card, or the third card in the first card set.
[0028] Based on this, when the card set includes four cards, the electronic device can collapse the four cards into two buttons, one large and one small. The small button can include the logos of the two cards and an ellipsis logo to reduce the space occupied by the desktop display.
[0029] In a possible implementation, the first identifier is used to indicate that the electronic device has received at least M cards, where M is greater than or equal to 4.
[0030] In one possible implementation, the method also includes: in response to the fifth card and the sixth card received simultaneously, displaying the first button in the first interface, and displaying the fifth card and the sixth card in the first card set at the same time; in response to the eleventh operation on the first button, displaying the twelfth button and the thirteenth button in the first interface, and not displaying the first card set and the first button, wherein the display area occupied by the twelfth button is smaller than the display area occupied by the first card set, and the display area occupied by the twelfth button is larger than the display area occupied by the thirteenth button, and the twelfth button includes: the identification of the fifth card, and the thirteenth button includes: the identification of the sixth card.
[0031] Based on this, when the electronic device pushes two cards at the same time, the electronic device can also fold up the two cards to save desktop space.
[0032] In one possible implementation, when the fifth card is a card pushed by the third service and the sixth card is a card pushed by the fourth service, the twelfth button and the thirteenth button are displayed in the first interface, including: when the priority of the third service is higher than the priority of the fourth service, the twelfth button and the thirteenth button are displayed in the first interface.
[0033] When the electronic device receives two cards at the same time, the electronic device can also determine the content displayed in the button after the card set is folded based on the priority, such as displaying the content of the card with high priority in the large button, so that the user can view it at any time.
[0034] In a possible implementation, the method further includes: in response to a twelfth operation on the first card set, displaying a second interface, where the second interface includes: the first card and the second card.
[0035] The twelfth operation on the first card set can be understood as a long sliding operation on the first card set. The long sliding operation can be understood as an operation in which the sliding distance is greater than the distance threshold.
[0036] Based on this, due to the size limitation of the electronic device, the electronic device can display all cards in the card set in the second interface after receiving the user's long sliding operation, thereby improving the efficiency of the user viewing the cards.
[0037] In one possible implementation, after displaying the first interface, the method further includes: when the display time of the third interface reaches a first time threshold, displaying the second button on the first interface, and not displaying the first card set and the first button, and the third interface is an interface different from the first interface.
[0038] Based on this, the electronic device can switch from the card style to the capsule style after leaving the card set screen for a period of time, such as 15 seconds, to prevent the card set from occupying the display area for a long time.
[0039] In a possible implementation, after the second button is displayed on the first interface, the method further includes: in response to an operation of deleting the first card in the first card set, not displaying the second button.
[0040] Based on this, the electronic device can cancel the display of the button after all cards in the card set are removed, so as to achieve unity between the card set and the button.
[0041] In one possible implementation, the first interface also includes: a second card set, and the method also includes: in response to the fifth card and the sixth card received simultaneously, displaying the fourteenth button and the fifteenth button in the first interface, displaying the fifth card in the first card set, and displaying the sixth card in the second card set, and the display area occupied by the first card set is larger than the display area occupied by the second card set; in response to the operation on the fourteenth button or the fifteenth button, displaying the sixteenth button and the seventeenth button in the first interface, and not displaying the first card set, the second card set, the fourteenth button and the fifteenth button, wherein the display area occupied by the sixteenth button is smaller than the display area occupied by the first card set, and the display area occupied by the sixteenth button is larger than the display area occupied by the seventeenth button, the sixteenth button includes: the identifier of the fifth card, and the seventeenth button includes: the identifier of the sixth card.
[0042] When an electronic device includes multiple card sets, the electronic device can also collapse two card sets into buttons based on operations on any card, and display the logo of the larger card set in the button that occupies a larger display area, so that the user can check the status of the card at any time.
[0043] In a second aspect, an embodiment of the present application provides a display device, which may be an electronic device or a chip or chip system within an electronic device. The display device may include a display unit and a processing unit. When the display device is an electronic device, the display unit may be a display screen. The display unit is configured to execute the display step, so that the electronic device implements a display method described in the first aspect or any possible implementation of the first aspect. When the display device is an electronic device, the processing unit may be a processor. The display device may also include a storage unit, which may be a memory. The storage unit is configured to store instructions, and the processing unit executes the instructions stored in the storage unit, so that the electronic device implements a display method described in the first aspect or any possible implementation of the first aspect. When the display device is a chip or chip system within an electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit, so that the electronic device implements a display method described in the first aspect or any possible implementation of the first aspect. The storage unit may be a storage unit within the chip (e.g., a register, a cache, etc.), or a storage unit within the electronic device located outside the chip (e.g., a read-only memory, a random access memory, etc.).
[0044] Specifically, an embodiment of the present application provides a display device, which includes a processing unit and a display unit. The display unit is configured to display a first interface, wherein the first interface includes a first card set and a first button, wherein the first card set includes N cards, wherein the card displayed on the top layer of the N cards is the first card, and N is an integer greater than 0; in response to a first operation on the first button, the display unit is configured to display a second button on the first interface, and the processing unit is configured to not display the first card set and the first button, wherein the display area occupied by the second button is smaller than the display area occupied by the first card set; in response to a second operation on the second button, the display unit is configured to display the first card set and the first button on the first interface, and the processing unit is configured to not display the second button.
[0045] In a third aspect, an embodiment of the present application provides an electronic device, the 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 comprises 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 or any possible implementation of the first aspect.
[0046] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method described in the first aspect or any possible implementation of the first aspect.
[0047] In a fifth aspect, an embodiment of the present application provides a computer program product including a computer program. When the computer program product includes computer program code, when the computer program code runs on an electronic device, the electronic device executes the method described in the first aspect or any possible implementation of the first aspect.
[0048] In a sixth aspect, the present application provides a chip system, which is applied to an electronic device. The chip system includes one or more processors, and the one or more processors are used to call computer instructions to enable the electronic device to execute the method described in the first aspect or any possible implementation of the first aspect.
[0049] In one possible implementation, the chip system described above in this application further includes at least one memory, in which instructions are stored. The memory may be a storage unit within the chip system, such as a register, a cache, etc., or a storage unit of the chip system (e.g., a read-only memory, a random access memory, etc.).
[0050] It should be understood that the second to sixth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] FIG1 is a schematic diagram of a scenario provided by an embodiment of the present application;
[0052] FIG2 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0053] FIG3 is a schematic diagram of an interface for opening a capsule provided in an embodiment of the present application;
[0054] FIG4 is a schematic diagram of a capsule type provided in an embodiment of the present application;
[0055] FIG5 is a first schematic diagram of an interface for switching display styles provided in an embodiment of the present application;
[0056] FIG6 is a second schematic diagram of an interface for switching display styles provided in an embodiment of the present application;
[0057] FIG7 is a third schematic diagram of an interface for switching display styles provided in an embodiment of the present application;
[0058] FIG8 is a fourth schematic diagram of an interface for switching display styles provided in an embodiment of the present application;
[0059] FIG9 is a fifth schematic diagram of an interface for switching display styles provided in an embodiment of the present application;
[0060] FIG10 is a sixth schematic diagram of an interface for switching display styles provided in an embodiment of the present application;
[0061] FIG11 is a schematic diagram of an interface of a recovery application provided in an embodiment of the present application;
[0062] FIG12 is a schematic diagram of the steps of a display method provided in an embodiment of the present application;
[0063] FIG13 is a schematic structural diagram of a display device provided in an embodiment of the present application;
[0064] FIG14 is a schematic diagram of the hardware structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] To facilitate a clear description of the technical solutions of the embodiments of the present application, some of the terms and technologies involved in the embodiments of the present application are briefly introduced below:
[0066] 1. YOYO Suggestions
[0067] YOYO Suggestion can be a function that recognizes user intentions and recommends corresponding services.
[0068] For example, when a user arrives at an airport or high-speed rail station, YOYO suggests pushing a card with ticket gate information so that the user can quickly find the ticket gate. Alternatively, if a user has set up multiple meeting schedules, YOYO can push a card with meeting reminder information before each meeting starts to prevent the user from missing the meeting.
[0069] Generally speaking, YOYO Suggest can provide service recommendations in multiple scenarios such as flights, subways, express delivery, driving, sports and health, and schedule reminders.
[0070] The electronic device can display the cards in the YOYO suggestion in a card set, etc. The card set can be set in the negative first screen, desktop or lock screen interface of the electronic device, etc., which is not limited in the embodiments of the present application.
[0071] YOYO suggestion is only a function that can actively recommend services. YOYO suggestion may also have other names in different devices, which is not limited in the embodiments of the present application.
[0072] 2. Card Set
[0073] A card set can be understood as a container for storing N cards, where N is an integer greater than 0.
[0074] A card set can display one card at a time. For example, when an electronic device receives a new card pushed by a service, the electronic device can display the new card at the top of the card set.
[0075] A card set can display two cards at a time. For example, when an electronic device receives two cards pushed simultaneously by two services, the electronic device can display the two cards simultaneously at the top of the card set.
[0076] It can be understood that when the electronic device is a small-screen device such as a small-screen mobile phone or a watch, the electronic device can display one card set on the desktop; when the electronic device is a large-screen device such as a foldable mobile phone or a tablet, the electronic device can display two card sets on the desktop. This is not limited in the embodiments of the present application.
[0077] 3. Other terms
[0078] In the embodiments of this application, terms such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the terms "first chip" and "second chip" are used solely to distinguish between different chips and do not define their order. Those skilled in the art will understand that terms such as "first" and "second" do not define the quantity or execution order, and do not necessarily define differences.
[0079] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0080] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.
[0081] 4. Electronic devices
[0082] The electronic devices of the embodiments of the present application may include handheld devices with display functions, vehicle-mounted devices, etc. For example, some electronic devices may be: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, etc., but the embodiments of the present application are not limited to this.
[0083] Electronic devices can also be wearable devices, such as glasses, gloves, watches, clothing, and shoes.
[0084] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0085] The following is a schematic illustration of viewing the card set corresponding to YOYO suggestions in conjunction with the scenario shown in Figure 1. This illustration does not constitute a limitation on the embodiments of the present application.
[0086] For example, Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application. In the embodiment corresponding to Figure 1, an electronic device is taken as an example of a mobile phone, which does not constitute a limitation on the embodiment of the present application.
[0087] The electronic device displays an interface as shown in a of FIG1 , which may be referred to as a desktop interface. The desktop interface may display one or more of the following: a card set 101 (such as the area indicated by the dotted box), or application icons. The application icons may include one or more of the following: a daily news card, a music icon, a calendar icon, a document management icon, an email icon, a clock icon, a calculator icon, an album icon, or a memo icon.
[0088] The card set 101 may include at least two cards, such as the sports health card 102 (or simply card 102) shown in FIG1a, and the YOYO recommended introduction card 104 (or simply card 104) shown in FIG1b. Card 102 may be a card pushed by the sports health service, and card 104 may be a card pushed by YOYO. The sports health service may be one of the services recommended by YOYO.
[0089] When card 102 is displayed in card set 101, card name 103 may be: YOYO Suggestions·Sports Health. Card 102 may display one or more of the following: a logo of the sports health service (or sports health card), step count information (e.g., 0 steps), exercise time information (0 minutes), exercise energy consumption information (0 kcal), a login button, or information prompting the user to log in.
[0090] As shown in the interface of FIG1 a, in response to the user sliding up (or sliding down) in the card 102, the electronic device may display the interface shown in FIG1 b. The interface shown in FIG1 b may display the card set 101 (such as the area indicated by the dotted box). For other content displayed in the interface, please refer to the description of the interface shown in FIG1 a, and will not be repeated here.
[0091] When card 104 is displayed in card set 101, card name 105 may be displayed as: YOYO Suggestion Introduction. Card 104 may display: YOYO Suggestion function introduction information, which may be displayed as: YOYO Suggestion Intelligent Recommendation. Depending on the scene, the card set may dynamically push schedules, flights, subways, express delivery and other services.
[0092] It is understandable that when the card set 101 includes other cards, the user can view the card contents pushed by different services by triggering the card set 101 .
[0093] However, the card set 101 occupies a large display area on the desktop, which reduces the content efficiency of the desktop. In addition, the visual range occupied by the card set is too large and not beautiful enough.
[0094] In view of this, an embodiment of the present application provides a display method that allows an electronic device to fold a card set into a button, and the display area occupied by the button is smaller than the display area occupied by the card, thereby achieving the effect of not occupying the desktop display area.
[0095] In order to better understand the embodiments of the present application, the structure of the electronic device according to the embodiments of the present application is introduced below.
[0096] The electronic device 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, 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, an indicator 192, a camera 193, and a display screen 194, etc.
[0097] Among them, the sensor module 180 may include one or more of the following: pressure sensor, gyroscope sensor, air pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor, or bone conduction sensor (not shown in Figure 2), etc., which is not specifically limited in the embodiments of the present application.
[0098] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0099] The processor 110 may include one or more processing units. The different processing units may be independent devices or integrated into one or more processors. The processor 110 may also include a memory for storing instructions and data. For example, the processor 110 may be used to implement the steps performed in the data processing method provided in the embodiments of the present application.
[0100] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0101] The wireless communication module 160 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc.
[0102] The electronic device implements display functions through a GPU, display screen 194, and an application processor. The GPU is a microprocessor for image processing that connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
[0103] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. In some embodiments, the electronic device may include one or N display screens 194, where N is a positive integer greater than 1. For example, display screen 194 may be used to display cards in any interface of the desktop.
[0104] The electronic device can realize the shooting function through the ISP, camera 193, video codec, GPU, display 194 and application processor.
[0105] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The internal memory 121 can be used to store computer executable program code, which includes instructions. For example, the internal memory 121 can be used to store code programs executed in the data processing method.
[0106] The electronic device can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0107] The software system of the electronic device can adopt a layered architecture, event-driven architecture, micro-kernel architecture, microservice architecture, or cloud architecture, etc., which will not be described here.
[0108] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other. For the same or similar concepts or processes, some embodiments may not be described in detail.
[0109] In an embodiment of the present application, the electronic device may support YOYO suggestions to be displayed in a capsule style on the desktop. Furthermore, the electronic device may support switching the display style of YOYO suggestions between a card style and a capsule style. The card styles may include: the weather clock + sports health style described in Figure 3, and the weather clock card style.
[0110] Before describing the display method provided in the embodiment of the present application, the process of opening the capsule style can be schematically illustrated, referring to the embodiment corresponding to FIG3 .
[0111] For example, FIG3 is a schematic diagram of an interface for opening a capsule style provided in an embodiment of the present application.
[0112] In response to a user long-pressing the card set 101 in the interface shown in FIG1a, the electronic device displays the interface shown in FIG3a. The interface shown in FIG3a may include: the card set 101 and a settings window 301. The settings window 301 may include: a button for performing YOYO recommended settings and a button 302 for editing the default style. Other content displayed in the interface shown in FIG3a may be similar to the interface shown in FIG1a, and will not be repeated here.
[0113] In response to the user triggering button 302, the electronic device displays the interface shown in FIG3 b, which may include a window 303. Window 303 may display one or more of the following: a button 304 for switching to a default style, and an introduction to the current display style, which may be a weather clock card style.
[0114] In response to the user triggering button 304, the electronic device displays the interface shown in Figure 3c, which may include window 305. Window 305 may include: at least one display style and a selection button corresponding to the at least one display style, such as a weather clock + service capsule style and button 306. Functional information may be displayed around button 306, meaning that clicking the capsule expands the service card.
[0115] It is understood that when the user selects button 306, YOYO Suggestions can switch between card and capsule styles based on the user's operation. Furthermore, while the electronic device displays the capsule style, it can also display weather clock information. The weather clock information can include one or more of the following: weather information, time information, or region information.
[0116] In possible implementations, at least one display style may include a capsule style, which can expand a service card. For example, after the user selects the capsule style, the electronic device may display capsule button 307 and ball button 308 in the interface shown in FIG3(d), without displaying weather clock information. The capsule style can achieve the purpose of occupying a smaller desktop display area.
[0117] Window 305 may also include other display styles that YOYO recommends supporting, such as a weather clock + sports health style, a weather clock card style, and a weather clock transparent style.
[0118] In the weather clock + sports health style, the electronic device may display two cards by default at the location of the card set 101 , and the two cards may be a weather clock card and a sports health card respectively.
[0119] In the weather clock card style, the electronic device may display the weather clock card by default at the location of the card set 101 , and the card set 101 may support switching between the weather clock card and other cards.
[0120] In the weather clock transparent style, the electronic device may display the weather clock information in a transparent state by default at the location of the card set 101 .
[0121] In response to the user's triggering operation on button 306, the electronic device displays the interface shown in Figure 3d, which may display a capsule button 307, a ball button 308, and weather clock information. The capsule button 307 may display: the logo of the sports health card (or sports health service), and / or the prompt information pushed by the sports health service, such as the prompt information that can be displayed as 0 steps or immediate login. The ball button 308 may display the logo of the YOYO introduction card (or YOYO suggestion).
[0122] The weather clock information may include one or more of the following: time information (eg, December 6, or Wednesday), weather information (18 degrees Celsius, or a weather identifier), or region information (eg, XX region). XX region may be understood as a certain region.
[0123] Based on this, the electronic device can support YOYO suggestions to be displayed in capsule style. The display area occupied by the capsule button is smaller than the display area of the card set 101, which can reduce the desktop display area occupied and make the desktop more concise.
[0124] The following is an example of the capsule style when receiving different numbers of cards in conjunction with the embodiment corresponding to Figure 4. Figure 4 is a schematic diagram of a capsule style provided in an embodiment of the present application.
[0125] As shown in a of Figure 4, when the card set contains only one card 1, the electronic device can display a capsule button 401 when the card set is folded. The capsule button 401 can be understood as a button that allows triggering.
[0126] Capsule button 401 may correspond to card 1, which may be pushed by service 1. Capsule button 401 may display the logo of service 1 (or card 1) and / or prompt information corresponding to card 1. The logo may be an icon. Because capsule button 401 occupies a small display area, the prompt information corresponding to card 1 is generally brief.
[0127] As shown in FIG4 b, when the card set contains only two cards (e.g., card 1 and card 2), the electronic device may display a capsule button 401 and a ball button 402' when the card set is collapsed. Ball button 402' can be understood as a button that allows triggering, and the display area occupied by ball button 402' is smaller than the display area occupied by capsule button 401.
[0128] The capsule button 401 may correspond to card 1, and the ball button 402' may correspond to card 2, which may be pushed by service 2. The ball button 402' may display a logo of service 2 (or card 2).
[0129] The capsule button 401 may correspond to the primary push service, and the ball button 402' may correspond to the secondary push service. The electronic device may determine the content displayed in the capsule button or the ball button according to the priority of the service (or card).
[0130] For example, when the priority of service 1 is higher than that of service 2, the electronic device may determine service 1 as the primary service and service 2 as the secondary service, and then display the content corresponding to service 1 in the capsule button 401 and the logo of card 2 in the ball button 402'.
[0131] Alternatively, when the priority of service 2 is higher than that of service 1, the electronic device may determine service 2 as the primary service and service 1 as the secondary service, and then display the content corresponding to service 2 in the capsule button 401 and the logo of card 1 in the ball button 402'.
[0132] It is understandable that the priority of the service (or card) can be pre-set by the electronic device. The priority of the service is the same as the priority of the card, that is, when the priority of the service is high, the card pushed by the service also carries: a high priority flag.
[0133] In a possible implementation, in response to a user triggering operation on ball button 402', the electronic device may expand the card set and display card 2. When card 2 is displayed in the card set, after the user switches from card 2 to card 1 and then from card 1 to card 2, the electronic device collapses the card set and may display the identifier of card 2 in capsule button 401 and the identifier of card 1 (or card 2) in ball button 402'.
[0134] It is understood that the user can adjust the content displayed in the capsule button and the ball button by switching cards back and forth and collapsing the card set. In this scenario, the electronic device can record the exposure of the card and determine the content displayed in the capsule button and the ball button based on the exposure of the card.
[0135] As shown in c in FIG4 , when the card set contains only three cards (e.g., card 1, card 2, and card 3), the electronic device may display a capsule button 401, a ball 402, and a ball 403. Balls 402 and 403 may collectively serve as a trigger-enabled button 404. The display area occupied by button 404 is smaller than that occupied by capsule button 401.
[0136] Capsule button 401 may correspond to card 1, ball 402 may correspond to card 2, ball 403 may correspond to card 3, and card 3 may be pushed by service 3. Button 404 may include: the identification of card 2 and the identification of service card 3).
[0137] Capsule button 401 may correspond to the primary service, ball 402 may correspond to secondary service 1, and ball 403 may correspond to secondary service 2. The electronic device may determine the content displayed in the capsule button or ball according to the priority of the service. The specific process is similar to that described in b in Figure 4 and will not be repeated here.
[0138] As shown in d in FIG4 , when the card set contains only four cards (e.g., card 1, card 2, card 3, and card 4), the electronic device may display capsule button 401, balls 402, 403, and 405. Balls 402, 403, and 405 may collectively serve as a triggerable button 406. The display area occupied by button 406 is smaller than the display area occupied by capsule button 401.
[0139] Capsule button 401 may correspond to card 1, ball 402 may correspond to card 2, ball 403 may correspond to card 3, and card 4 may be pushed by service 4. Button 406 includes: a card 2 identifier, a card 3 identifier, and an ellipsis identifier.
[0140] Capsule button 401 may correspond to the primary service, ball 402 may correspond to secondary service 1, ball 403 may correspond to secondary service 2, and ball 405 may correspond to another service (e.g., service 4). The electronic device may determine the content displayed in the capsule button or ball according to the priority of the service. The specific process is similar to that described in b in Figure 4 and will not be repeated here.
[0141] An ellipsis icon may be displayed in ball 405. Ball 405 may also be referred to as a "more" icon, indicating that the electronic device currently receives push notifications for at least M services. M is greater than or equal to 4, which is not limited in the present embodiment.
[0142] It is understandable that when an electronic device receives at least M service pushes, the electronic device can display them based on the style shown in d in FIG. 4 , so as to achieve the purpose of reducing the desktop display space occupied.
[0143] It is understandable that the capsule button and the sphere described in FIG4 are merely examples. For example, the capsule button may also be displayed as a rectangle or an ellipse, and the sphere may also be displayed as a triangle or a rectangle, etc. This is not limited in the embodiments of the present application.
[0144] Based on this, electronic devices can provide a variety of capsule styles to achieve the goal of occupying a smaller display space.
[0145] When the capsule style is turned on based on the embodiment corresponding to FIG3 , the electronic device can implement the switching of YOYO suggestions between the card style and the capsule style based on the embodiments corresponding to FIG5 to FIG7 below.
[0146] Among them, when the card set contains 2 cards, the process of switching the display style can be referred to the description in Figure 5; when the card set contains 3 cards, the process of switching the display style can be referred to the description in Figure 6; when the card set contains at least 4 cards, the process of switching the display style can be referred to the description in Figure 7.
[0147] For example, FIG5 is a first schematic diagram of an interface for switching display styles provided in an embodiment of the present application.
[0148] The electronic device displays the interface shown in a in Figure 5, which can display: card 102, card name 103 and icon 501. Card 102, card name 103 and other contents displayed in the interface can be found in the description of a in Figure 1 and will not be repeated here.
[0149] Icon 501 may be displayed as a downward arrow, indicating that card 102 (or card set) is allowed to be collapsed. Icon 501 may be displayed around card 102, for example, to the right of card name 103; or, icon 501 may be displayed within the card set, which is not limited in the present embodiment.
[0150] The icon 501 can serve as the first target button, or the card name 103 can serve as the first target button, or the icon 501 and the card name 103 can serve as the first target button together, and the first target button is used to collapse the card 102 (or card set).
[0151] In response to the user's triggering operation on the first target button, the electronic device displays the interface shown in b in Figure 5, which displays: capsule button 502 and ball button 503. The content displayed in this interface can be found in the interface shown in d in Figure 3, which will not be repeated here.
[0152] In a possible implementation, in response to the user's triggering operation on the capsule button 502, the electronic device can display the interface shown in a of Figure 5. In this way, the electronic device can flexibly expand the card set based on the user's triggering operation on the capsule button 502.
[0153] When the electronic device displays the interface shown in a of FIG5 , the electronic device can switch from the card style to the capsule style after leaving the screen where the card set is located for a period of time such as 15 seconds to prevent the card set from occupying the display area for a long time.
[0154] In response to the user's sliding operation on card 102, the electronic device can display an interface as shown in c in Figure 5, which can display: card 104, card name 105 and icon 504. Card 104, card name 105 and other content displayed in the interface can be found in the description of b in Figure 1, and will not be repeated here.
[0155] The function of icon 504 and the location where icon 504 is displayed may be similar to that of icon 501 and will not be described in detail here.
[0156] The icon 504 can serve as a second target button, or the card name 105 can serve as a second target button, or the icon 504 and the card name 105 can serve as a second target button together, and the second target button is used to collapse the card 104 (or card set).
[0157] In response to the user's triggering operation on the second target button, the electronic device displays an interface as shown in d of FIG. 5 , which displays: a capsule button 505 and a ball button 506 .
[0158] The capsule button 505 may display the logo of the YOYO recommended introduction card and the prompt information corresponding to the YOYO recommended introduction card, such as the prompt information may be displayed as YOYO recommended introduction. The ball button 506 may display the logo of the sports health card.
[0159] In a possible implementation, in response to a triggering operation on the ball button 503 in the interface shown in FIG5 b, the electronic device displays the interface shown in FIG5 c. Further, in response to a user triggering operation on the second target button, the electronic device returns to the interface shown in FIG5 b.
[0160] It is understandable that when the user views the card 104 by triggering the ball button 503 and does not trigger the card 104, the electronic device can restore the display of the ball button 503 when the card set is folded.
[0161] In a possible implementation, in response to a user triggering the ball button 503 in the interface shown in FIG. 5 b, the electronic device displays the interface shown in FIG. 5 c. In response to a user sliding card 104 in the interface shown in FIG. 5 c, the electronic device may display the interface shown in FIG. 5 a. In response to a user sliding card 102 in the interface shown in FIG. 5 a, the electronic device again displays the interface shown in FIG. 5 c. Furthermore, in response to a user triggering the second target button, the electronic device may display the interface shown in FIG. 5 d.
[0162] It is understood that when the user views card 104 and then views card 104 again by triggering an operation on the card set, the electronic device can display the capsule corresponding to card 104 when the card set is collapsed. In this way, the electronic device can identify cards that the user switches back and forth or views multiple times as more important cards and collapse them into capsules.
[0163] In a possible implementation, in response to the user triggering the capsule button 505, the electronic device may display the interface shown in c in FIG. 5 ; or, in response to the user triggering the ball button 506, the electronic device may display the interface shown in a in FIG. 5 .
[0164] In a possible implementation, the role of the YOYO introduction card is only to introduce the functions of YOYO suggestions, and when the user is already familiar with YOYO suggestions, the YOYO suggestion introduction card does not need to be displayed all the time. Therefore, the YOYO introduction card can disappear from the card set after being displayed for up to one week or exposed for three times. Adaptively, the capsule button 505 (or the ball button 503) can disappear after being displayed for up to one week or exposed for three times, and then the electronic device displays the interface shown in e in Figure 5. Among them, exposing three times can be understood as the number of times the capsule button 505 (or the ball button 503) is displayed is up to three times.
[0165] As shown in the interface e in FIG. 5 , the interface may include: a capsule button 507 . The content displayed in the capsule button 507 may be the same as the content in the capsule button 502 , and will not be described in detail here.
[0166] Based on this, electronic devices can conveniently fold cards into capsule buttons based on user trigger operations to achieve the goal of saving desktop display space; or based on user trigger operations, expand capsule buttons or ball buttons into cards, so that users can view card contents at any time.
[0167] For example, FIG6 is a second schematic diagram of an interface for switching display styles provided in an embodiment of the present application.
[0168] Based on the embodiment corresponding to FIG5 , when the electronic device receives a today's schedule card pushed by the schedule service, the electronic device may display the interface shown in FIG6 a. In this scenario, the card set may include three cards: today's schedule card (such as card 601 below), a sports and health card, and a YOYO recommendation introduction card.
[0169] It is understandable that when the electronic device displays the capsule style, in response to receiving a new card pushed by the service, the electronic device can switch from the capsule style to the card style and display the new card in the card set.
[0170] As shown in the interface of Figure 6a, the interface may display: card 601, card name 602, and icon 603. Card 601 may be a today's schedule card, card name 602 may be displayed as: YOYO Suggestions·Today's Schedule, and the function and location of icon 603 may be similar to that of icon 501, and will not be repeated here.
[0171] Card 601 may display one or more of the following: information prompting a group meeting to be held from 08:30 to 09:30, information prompting a company meeting to be held at 09:30, or date information, etc.
[0172] In response to the user's triggering operation on icon 603 (and / or card name 602), the electronic device displays the interface shown in FIG6 b, which may include: a capsule button 604, a ball 605, and a ball 606, where ball 606 may be partially obscured by ball 605. Balls 605 and 606 may serve together as a triggerable button, which is within the dotted box.
[0173] The capsule button 604 may display: the card 601 logo, and / or a prompt indicating that the next schedule starts at 08:30. The user's triggering operation on the icon 603 (and / or the card name 602) may also be understood as an operation to collapse the card 601.
[0174] As depicted in c in Figure 4 , the calendar service can be the primary recommended service and therefore displayed in capsule button 604. In this scenario, the calendar service can have a higher priority than the health and fitness service, and a higher priority than the YOYO recommended services. Furthermore, the calendar service card can be the topmost card in the card stack. Since the calendar service card is the most recently received card by the electronic device, it can be displayed at the top of the card stack.
[0175] In a possible implementation, in response to the user triggering the capsule button 604 , the electronic device displays an interface as shown in a of FIG. 6 .
[0176] Balls 605 and 606 may be within a dotted frame. In response to a user triggering the dotted frame, the electronic device may display an interface as shown in c in FIG. 6 , in which card 607 may be displayed, and card 607 corresponds to ball 605 .
[0177] It is understandable that in the case where the desktop includes multiple balls, in response to the user's triggering operation on the area where the multiple balls are located, the electronic device can expand the card corresponding to the first ball.
[0178] In response to the user's operation of folding card 607 , the electronic device displays the interface shown in c in FIG. 6 .
[0179] In a possible implementation, in response to a user sliding through the card set in the interface shown in FIG6 c, switching to another card, and then switching to card 607, the electronic device may display the interface shown in FIG6 d. This interface may include: a capsule button 608, a ball 609, and a ball 610. Capsule button 608 may correspond to card 607, and ball 610 may correspond to card 601.
[0180] Based on this, when a card set contains three cards, the electronic device can display a capsule button and two balls according to the priority of the services when the card set is folded. Any ball can contain the card logo, so that the user can quickly identify which service initiated the push.
[0181] In a possible implementation, when a card set contains three or more cards, in response to the user's operation of folding the card set, the electronic device may also display a capsule button and two balls, and an ellipsis mark may be displayed in the last of the two balls. This is not limited in the embodiments of the present application.
[0182] For example, FIG7 is a third schematic diagram of an interface for switching display styles provided in an embodiment of the present application.
[0183] Based on Figure 6a or Figure 6b, when an electronic device receives a flight travel card pushed by the flight travel service, the electronic device may display the interface shown in Figure 7a. In this scenario, the card set may include four cards: a flight travel card (such as card 701 below), a today's schedule card, a sports and health card, and a YOYO recommendation card.
[0184] As shown in the interface of a in FIG7 , the interface may display: card 701. Card 701 may be a flight travel card, and the card name corresponding to card 701 may be displayed as: YOYO Suggestion·Flight Travel.
[0185] Card 701 may include: flight information and / or a button for indicating check-in seat selection. For example, the flight information may include one or more of the following: scheduled departure at 08:20, XX airport T2, or check-in counters F07-F11, etc.
[0186] In response to the operation of folding card 701, the electronic device displays the interface shown in Figure 7b, which may include: capsule button 702, ball 703, ball 704, and ball 705. Ball 704 and ball 705 may be partially obscured. Ball 703, ball 704, and ball 705 can collectively serve as a triggerable button, which is within the dotted box.
[0187] The capsule button 702 may display: the logo of the card 701 and / or prompt information for indicating the check-in seat selection F07-F11.
[0188] Ball 703 may correspond to the Today's Schedule card, ball 704 may correspond to the Sports and Health card, and ball 705 may correspond to other cards in the card set except card 701, Today's Schedule card, and Sports and Health card. Ball 705 may display an ellipsis mark.
[0189] As described in d in FIG. 4 , in order to save desktop space, the electronic device may display at most one capsule button and three balls on the desktop, with an ellipsis icon displayed inside the last of the three balls.
[0190] In a possible implementation, in response to the user's triggering operation on the capsule button 704 , the electronic device displays an interface as shown in a of FIG. 7 .
[0191] It is understood that balls 703, 704, and 705 are in the dotted frame. In response to the user's triggering operation on the dotted frame, the electronic device can expand the card content corresponding to ball 703. Further, when the user needs to view the card content corresponding to ball 705, he can swipe up or down to view the card content corresponding to ball 703.
[0192] In a possible implementation, in response to a user's long swipe operation on card 701, the electronic device displays an interface as shown in FIG7C , which may display multiple cards in the card set. The interface shown in FIG7C may include: card 701, card 601, card 102, and card 104.
[0193] A long swipe operation can be understood as an operation in which the swipe distance is greater than a distance threshold. Long swipe operations can include upward swipe operations and downward swipe operations. For example, when the swipe distance is greater than the distance threshold, the electronic device can expand all cards in the card collection; or, when the swipe distance is less than or equal to the distance threshold, the electronic device can view all cards in the card collection except card 701. This makes it easier for users to view multiple cards in the card collection at any time.
[0194] It is understandable that due to the size limitation of the electronic device, the electronic device can display a maximum of four cards in the interface shown in Figure 7c after receiving the user's long slide operation. In addition, the user can view other cards in the card set by sliding up and down on the interface shown in Figure 7c.
[0195] Based on this, when a card set contains four or more cards, the electronic device can display a capsule button and three balls when the card set is folded according to the priority of the service. The last of the three balls can display an ellipsis icon, so as to save desktop space.
[0196] It is understandable that the above-mentioned Figures 5 to 7 may be the display mode when the electronic device receives a single service push card, and Figure 8 may be the display mode when the electronic device receives two service push cards.
[0197] In a possible implementation, when two service push cards are received, the electronic device may simultaneously display the two cards in the form of a card sleeve, see the embodiment corresponding to FIG8 .
[0198] For example, FIG8 is a fourth schematic diagram of an interface for switching display styles provided in an embodiment of the present application.
[0199] When an electronic device receives push notifications from two services, and the two services meet the requirements of associated services or parallel services, the electronic device can display both cards simultaneously in the card set. As shown in FIG8(a), the interface may include: card 801 and card 802. Card 801 may be a push notification from the departure reminder service, and card 802 may be a push notification from the flight travel service.
[0200] In response to the user's operation of folding the card set, the electronic device may display an interface as shown in FIG8 b, which may include a capsule button 804 and a ball button 805. The electronic device may determine the content displayed in the capsule button 804 and the ball button 805 based on the priority of the services and the relationship between the two services (such as associated services or parallel services).
[0201] In one implementation, when the priority of the departure reminder service is lower than the priority of the flight travel service, the electronic device may display a card corresponding to the flight travel service in the capsule button 804 .
[0202] In another implementation, when the priority of the departure reminder service is the same as the priority of the flight travel service, the electronic device can display the card on the left side of the card set in the capsule button 804, and display the card on the right side of the card set in the ball button 805. This is not limited in the embodiment of the present application.
[0203] The meanings of associated services and parallel services can be found in the description in FIG9 , which will not be repeated here.
[0204] It can be understood that in response to the user's triggering operation on the capsule button 804, the electronic device can display the flight travel card in the card set shown in a in Figure 8; or, in response to the user's triggering operation on the ball button 805, the electronic device can display the departure reminder card in the card set shown in a in Figure 8.
[0205] Based on this, when the electronic device pushes two services at the same time, in response to the user's operation of folding the card set, the electronic device can display the capsule style corresponding to the card in the interface.
[0206] It is understood that Figures 3 to 8 above may be schematic diagrams when the electronic device is a mobile phone. When the electronic device is a large-screen device, the electronic device can switch the card style based on the embodiment corresponding to Figure 9 below. Among them, the large-screen device can be: a tablet, a foldable screen mobile phone, etc.
[0207] Figure 9 is a fifth schematic diagram of an interface for switching display styles provided in an embodiment of the present application. In the embodiment corresponding to Figure 9, the electronic device is a folding screen mobile phone as an example for schematic illustration, which does not constitute a limitation on the embodiment of the present application.
[0208] As shown in the interface a of Figure 9, the foldable screen mobile phone can support the simultaneous display of two YOYO suggestion card sets, namely card set 901 and card set 902. Card set 901 can display departure reminder cards, and card set 902 can display flight travel cards.
[0209] Generally, the area occupied by card set 902 is larger than the area occupied by card set 901. Therefore, when the electronic device receives a card pushed by a service, the pushed card can be displayed in card set 902. Card set 902 can serve as the primary card set, and card set 901 can serve as the secondary card set. The primary card set can be used to display cards pushed by services with higher priority, etc., which is not limited in the embodiments of this application.
[0210] When the electronic device receives cards pushed by two services, and the two services meet the requirements of associated services or parallel services, the electronic device may determine the cards to be displayed in the card set 901 and the card set 902 respectively based on the priorities of the services.
[0211] The associated service or the parallel service may be pre-set for the electronic device.
[0212] Associated services can be at least two services that are pushed simultaneously by an electronic device and have an associated relationship. Associated services can include important services and non-important services, and non-associated services are generated on the basis of important services. Generally, the priority of important services is higher than that of non-important services. For example, when an electronic device detects flight information, the flight travel service can push a flight travel card, and then the electronic device can obtain a departure reminder service associated with the flight travel service. The departure reminder service pushes a departure reminder card, so that the user can understand the distance from the current location to the airport. Among them, the important service can be a flight travel service, and the non-important service can be a departure reminder card.
[0213] In this scenario, the electronic device may display a flight travel card in card set 902 and a departure reminder card in card set 901 , as shown in the interface a in FIG. 9 .
[0214] It is understandable that when the electronic device detects two services and the two services meet the associated service requirements, the electronic device can determine the location of the card display based on the priority of the services.
[0215] Parallel services can be at least two services pushed simultaneously by the electronic device. For example, when the electronic device simultaneously detects the need to push a schedule and a YOYO suggestion introduction, the electronic device can display a today's schedule card (or a YOYO suggestion introduction card) in card set 901 and a YOYO suggestion introduction card (or today's schedule card) in card set 902, which is not shown in FIG9 .
[0216] It is understandable that when the electronic device detects two services and the two services meet the requirements of parallel services, the electronic device can display the two parallel services in two card sets respectively.
[0217] When the electronic device displays the interface shown in FIG9 a, in response to the user's operation of folding card set 901 or folding card set 902, the electronic device displays the interface shown in FIG9 b. The interface shown in FIG9 b may include: a capsule button 903, and balls 904 and 905. Balls 904 and 905 can together serve as a triggerable button, which is within the dotted line frame.
[0218] Capsule button 903 may correspond to the flight travel service in card set 902, ball 904 may correspond to the departure reminder service in card set 901, and ball 905 may correspond to the YOYO recommendation service in card set 902. The YOYO recommendation service may be overlaid on the flight travel service and therefore cannot be directly displayed in the interface shown in FIG9 a.
[0219] It can be understood that when two card sets are displayed on an electronic device, in response to the user's operation of folding any one of the card sets, the electronic device can bring the two card sets together.
[0220] When the electronic device displays the interface shown in FIG. 9 a, in response to a user long-swiping operation on card set 901 or card set 902, the electronic device displays the interface shown in FIG. The interface shown in FIG. 9 c may display all cards in the card set, namely, the departure reminder card, the flight travel card, and the YOYO recommendation introduction card.
[0221] It is understandable that the electronic device can provide a way to view all cards to improve the user's experience of using the card set.
[0222] Based on the description in FIG. 3 to FIG. 9 above, when the user removes all cards in the card set, the electronic device cannot display any capsule.
[0223] For example, Figure 10 is a sixth schematic diagram of an interface for display style switching provided in an embodiment of the present application. In the embodiment corresponding to Figure 10, the preset card is a YOYO suggestion introduction card as an example for illustration, which does not constitute a limitation on the embodiment of the present application.
[0224] The electronic device displays an interface as shown in a of FIG10 , which may include a capsule button 502 and a ball button 503 . The content displayed in the interface may be the same as that shown in b of FIG5 , and will not be repeated here.
[0225] In response to the user's triggering operation on the capsule button 502, the electronic device displays the interface shown in b of Figure 10, which may include a card set 101. The content displayed in the interface may be similar to the interface shown in a of Figure 5, and will not be repeated here.
[0226] In response to the user removing the Sports and Health card and the YOYO Recommendations card from the card set 101, the electronic device may jump to the interface shown in FIG10 c. The interface shown in FIG10 c may not display any capsule buttons. It is understood that the capsule buttons and the cards in the card set may be in a corresponding relationship. If there are no cards in the card set, the electronic device cannot collapse the card set to display the capsule button, thereby achieving a unified relationship between the card set and the buttons.
[0227] In a possible implementation, the electronic device can also provide a fallback strategy, that is, when the user removes all cards in the card collection, the electronic device can display the preset capsule button. In this scenario, even if the user deletes all cards in the card collection, the electronic device can retain the capsule button corresponding to the preset card to ensure the availability of the function.
[0228] In a possible implementation, when the electronic device deletes the sports health application, in response to the user selecting the weather clock+sports health style operation, the electronic device may prompt the user to restore the sports health application.
[0229] For example, FIG11 is a schematic diagram of an interface of a recovery application provided in an embodiment of the present application.
[0230] The electronic device displays an interface as shown in FIG11a, which may include a button 1101 for displaying a weather clock card and a sports and health card by default in the location of card set 101. The content displayed in this interface may be similar to the interface shown in FIG3c, and will not be repeated here.
[0231] As shown in the interface a in FIG11 , the current card may be in the style of a weather clock + service capsule.
[0232] When there is no sports health application in the electronic device, in response to the user's triggering operation on button 1101, the electronic device displays the interface shown in b in Figure 11, which may include window 1102. Window 1102 may include: prompt information indicating whether to restore the sports health application, a cancel button and a restore button 1103.
[0233] In response to the triggering operation of the restore button 1103, after the electronic device restores the sports health application, the electronic device can display the interface shown in c in Figure 11, in which the weather clock card and the sports health card can be displayed at the same time.
[0234] In response to the triggering operation of the restore button 1103, after the electronic device fails to restore the sports health application, the electronic device may display an interface as shown in Figure 11 (d), which may display a prompt message 1104, prompting that the sports health application has failed to be restored. In this scenario, the electronic device cannot switch to the weather clock + sports health style.
[0235] Based on this, the electronic device can prompt the user when the application download fails so that the user can provide other download methods in time.
[0236] Based on the descriptions in Figures 3-11, electronic devices can store cards on the desktop in smaller UI elements (such as capsule buttons or ball buttons). When a card is pushed, the electronic device can dynamically change the smaller UI element to reflect the service information that was reached. This reduces the impact of large service cards stacked on the desktop on the overall desktop aesthetics.
[0237] In possible implementations, the display method described in Figures 5-11 can be applied not only to card sets on the desktop, but also to card sets on the negative one screen, or card sets on the lock screen interface or other interfaces, etc., and this is not limited in the embodiments of the present application.
[0238] In combination with the descriptions in FIG. 3 to FIG. 11 above, FIG. 12 is a schematic diagram of the steps of a display method provided in an embodiment of the present application. The display method may include the following steps:
[0239] S1201: The electronic device displays a first interface.
[0240] The first interface includes a first card set and a first button. The first card set includes N cards. The card displayed on the top layer of the N cards is the first card, and N is an integer greater than 0.
[0241] The first interface may be the interface shown in a in FIG. 5 , the first button may be the first target button described in FIG. 5 , and the first card may be card 102 .
[0242] S1202. In response to a first operation on the first button, the electronic device displays the second button on the first interface, and does not display the first card set and the first button.
[0243] The display area occupied by the second button is smaller than the display area occupied by the first card set.
[0244] The first operation may be a trigger operation for a first target button. The meaning of the first target button may refer to the description in FIG. 5 .
[0245] As shown in the interface of b in FIG. 5 , the second button may be a capsule button 502 .
[0246] S1203: In response to the second operation on the second button, the electronic device displays the first card set and the first button on the first interface, and does not display the second button.
[0247] The second operation may be a triggering operation on the capsule button 502 .
[0248] It is understandable that the electronic device can, based on the first operation, collapse the first card set into a second button. Since the display area occupied by the second button is smaller than the display area occupied by the first card set, the folding of the card set can save the desktop display area.
[0249] Furthermore, the electronic device may also expand the second button into the first card set based on the second operation, so that the user can flexibly view the card content through simple triggering.
[0250] In a possible implementation, the card located below the first card among the N cards is the second card, and the second button is displayed on the first interface, including: displaying the second button and the third button on the first interface.
[0251] The second button includes the logo of the first card, the third button includes the logo of the second card, and the display area occupied by the third button is smaller than the display area occupied by the second button.
[0252] The second card may be card 104. As shown in the interface of b in FIG5, the third button may be a ball button 503.
[0253] In the case where the card set includes two cards, the electronic device can collapse the two cards into two buttons, one large and one small, to reduce the space occupied by the desktop display.
[0254] In one possible implementation, the method also includes: in response to a third operation on the third button, displaying the first button in the first interface and displaying the second card in the first card set; in response to a fourth operation on the first button, displaying the second button and the third button on the first interface, and not displaying the first card set and the first button.
[0255] The third operation may be a trigger operation on the ball button 503. In response to the third operation on the third button, the electronic device displays an interface as shown in c in FIG. 5 , and unfolds the card 104.
[0256] The fourth operation on the first button can be understood as an operation of folding the card set (or folding the card 104 ).
[0257] Based on this, the electronic device can not only collapse the card set into a button, but also display the corresponding card in the card set based on the user's operation of expanding the button, so that the user can view the card content at any time.
[0258] In one possible implementation, the method also includes: in response to the fifth operation on the third button, displaying the first button in the first interface and displaying the second card in the first card set; in response to the operation on the second card, displaying the first interface; in response to the sixth operation on the first card set, displaying the first button in the first interface and displaying the second card in the first card set; in response to the seventh operation on the first button, displaying the fourth button and the fifth button on the first interface, the display area occupied by the fifth button is smaller than the display area occupied by the fourth button, the display area occupied by the fourth button is smaller than the display area occupied by the first card set, the fourth button includes the identifier of the second card, and the fifth button includes the identifier of the first card.
[0259] The fifth operation can be a trigger operation for the ball button 503. The operation for the second card can be understood as the user sliding the second card, at which time the first card can be displayed in the first card set. The sixth operation for the first card set can be understood as the operation of sliding the first card set, at which time the second card can be displayed again in the first card set. The seventh operation for the first button can be understood as the operation of folding the first card set.
[0260] The fourth button may be a capsule button 505 , and the fifth button may be a ball button 506 .
[0261] Based on this, when the user views card 104 and then views card 104 again by triggering an operation on the card set, the electronic device can display the capsule corresponding to card 104 when the card set is collapsed. In this way, the electronic device can identify cards that the user switches back and forth or views multiple times as more important cards and collapse them into capsules.
[0262] In one possible implementation, the first card is a card pushed by the first service, the second card is a card pushed by the second service, and the second button and the third button are displayed on the first interface, including: when the priority of the first service is higher than the priority of the second service, the second button and the third button are displayed on the first interface.
[0263] The first service may be a sports and health service, and the second service may be a YOYO suggestion.
[0264] The electronic device can determine the content displayed in the button based on the priority of the service (or the priority of the card). For example, a service card with a high priority is displayed in a button that occupies a large display area, and a service card with a low priority is displayed in a button that occupies a small display area.
[0265] In a possible implementation, displaying the second button on the first interface includes: displaying the second button and first information on the first interface, where the first information includes one or more of the following: weather information, time information, or region information.
[0266] The electronic device may also display the first information while displaying the button, so that the user can view more other information while folding the card set.
[0267] In one possible implementation, after displaying the first interface, the method also includes: responding to the eighth operation on the first card set; displaying a first window on the first interface, the first window including: a sixth button for setting the display style; responding to the operation on the sixth button, displaying a second window in the first interface, the second window including: a seventh button for setting the first display style, the first display style being a weather clock + service capsule style; displaying the second button and the first information on the first interface, including: when the seventh button is selected, displaying the second button and the first information on the first interface.
[0268] The eighth operation for the first card set may be an operation for card set 101. As shown in the interface of FIG3 b, the first window may be window 303, and the sixth button may be button 304. As shown in the interface of FIG3 c, the second window may be window 305, and the seventh button may be button 306.
[0269] Based on this, the electronic device can support the setting of the first display style, and the switching between the first display style and the card style, so that the user can choose an appropriate display style according to needs.
[0270] In one possible implementation, the method also includes: in response to the received third card, displaying the first button in the first interface and displaying the third card in the first card set; in response to the ninth operation on the first button, displaying the eighth button and the ninth button in the first interface, and not displaying the first card set and the first button, wherein the eighth button includes: the identifier of the third card, the ninth button includes: the identifier of the first card and the identifier of the second card, the display area occupied by the eighth button is smaller than the display area occupied by the first card set, and the display area occupied by the eighth button is larger than the display area occupied by the ninth button; in response to the operation on the ninth button, displaying the first card or the second card in the first card set.
[0271] The third card may be the today's schedule card described in Figure 6. The ninth operation on the first button may be understood as an operation of folding the card set.
[0272] As shown in the interface of b in FIG. 6 , the eighth button may be button 604 , and the ninth button may be a button composed of balls 605 and 606 (or referred to as a small button).
[0273] Based on this, when the card set includes three cards, the electronic device can collapse the three cards into two buttons, one large and one small. The small button can include the logos of the two cards to reduce the occupation of the desktop display space.
[0274] In one possible implementation, after responding to the received third card, the method also includes: in response to the received fourth card, displaying the first button in the first interface and displaying the fourth card in the first card set; in response to the tenth operation on the first button, displaying the tenth button and the eleventh button in the first interface, and not displaying the first card set and the first button, wherein the tenth button includes: the identifier of the fourth card, the eleventh button displays the first identifier and the second identifier, the second identifier includes two identifiers of the first card identifier, the second card identifier, and the third card identifier, the display area occupied by the tenth button is smaller than the display area occupied by the first card set, and the display area occupied by the eleventh button is smaller than the display area occupied by the tenth button; in response to the operation on the eleventh button, displaying the first card, or the second card, or the third card in the first card set.
[0275] The fourth card may be the flight travel card described in Figure 7. The tenth operation on the first button may be understood as an operation of folding the card set.
[0276] As shown in the interface of b in FIG. 7 , the tenth button may be button 702 , and the eleventh button may be a button (or small button) composed of balls 703 , 704 and 705 .
[0277] The first identifier may be the ellipsis identifier in ball 705 , and the second identifier may include: the description in ball 703 and the identifier in ball 704 .
[0278] Based on this, when the card set includes four cards, the electronic device can collapse the four cards into two buttons, one large and one small. The small button can include the logos of the two cards and an ellipsis logo to reduce the space occupied by the desktop display.
[0279] In a possible implementation, the first identifier is used to indicate that the electronic device has received at least M cards, where M is greater than or equal to 4.
[0280] In one possible implementation, the method also includes: in response to the fifth card and the sixth card received simultaneously, displaying the first button in the first interface, and displaying the fifth card and the sixth card in the first card set at the same time; in response to the eleventh operation on the first button, displaying the twelfth button and the thirteenth button in the first interface, and not displaying the first card set and the first button, wherein the display area occupied by the twelfth button is smaller than the display area occupied by the first card set, and the display area occupied by the twelfth button is larger than the display area occupied by the thirteenth button, and the twelfth button includes: the identification of the fifth card, and the thirteenth button includes: the identification of the sixth card.
[0281] The fifth card may be the flight departure card described in Figure 8, and the sixth card may be the departure reminder card described in Figure 8. The eleventh operation on the first button may be understood as an operation of folding the card set.
[0282] As shown in the interface of b in FIG. 8 , the twelfth button may be button 804 , and the thirteenth button may be button 805 .
[0283] Based on this, when the electronic device pushes two cards at the same time, the electronic device can also fold up the two cards to save desktop space.
[0284] In one possible implementation, when the fifth card is a card pushed by the third service and the sixth card is a card pushed by the fourth service, the twelfth button and the thirteenth button are displayed in the first interface, including: when the priority of the third service is higher than the priority of the fourth service, the twelfth button and the thirteenth button are displayed in the first interface.
[0285] When the electronic device receives two cards at the same time, the electronic device can also determine the content displayed in the button after the card set is folded based on the priority, such as displaying the content of the card with high priority in the large button, so that the user can view it at any time.
[0286] In a possible implementation, the method further includes: in response to a twelfth operation on the first card set, displaying a second interface, where the second interface includes: the first card and the second card.
[0287] The twelfth operation on the first card set can be understood as a long sliding operation on the first card set. The long sliding operation can be understood as an operation in which the sliding distance is greater than the distance threshold.
[0288] The second interface may be the interface shown in c in FIG. 7 , or may be the interface shown in c in FIG. 9 .
[0289] Based on this, due to the size limitation of the electronic device, the electronic device can display all cards in the card set in the second interface after receiving the user's long sliding operation, thereby improving the efficiency of the user viewing the cards.
[0290] In one possible implementation, after displaying the first interface, the method further includes: when the display time of the third interface reaches a first time threshold, displaying the second button on the first interface, and not displaying the first card set and the first button, and the third interface is an interface different from the first interface.
[0291] The first time threshold may be a value such as 15 seconds.
[0292] Based on this, the electronic device can switch from the card style to the capsule style after leaving the card set screen for a period of time, such as 15 seconds, to prevent the card set from occupying the display area for a long time.
[0293] In a possible implementation, after the second button is displayed on the first interface, the method further includes: in response to an operation of deleting the first card in the first card set, not displaying the second button.
[0294] Based on this, the electronic device can cancel the display of the button after all cards in the card set are removed, so as to achieve unity between the card set and the button.
[0295] In one possible implementation, the first interface also includes: a second card set, and the method also includes: in response to the fifth card and the sixth card received simultaneously, displaying the fourteenth button and the fifteenth button in the first interface, displaying the fifth card in the first card set, and displaying the sixth card in the second card set, and the display area occupied by the first card set is larger than the display area occupied by the second card set; in response to the operation on the fourteenth button or the fifteenth button, displaying the sixteenth button and the seventeenth button in the first interface, and not displaying the first card set, the second card set, the fourteenth button and the fifteenth button, wherein the display area occupied by the sixteenth button is smaller than the display area occupied by the first card set, and the display area occupied by the sixteenth button is larger than the display area occupied by the seventeenth button, the sixteenth button includes: the identifier of the fifth card, and the seventeenth button includes: the identifier of the sixth card.
[0296] As shown in a in FIG9 , the first card set may be card set 902 , the second card set may be card set 901 , the fifth card may be the card displayed in card set 902 , and the sixth card may be the card displayed in card set 901 .
[0297] The fourteenth button may be a button for folding the first card set, the fifteenth button may be a button for folding the second card set, the sixteenth button may be button 903, and the seventeenth button may be a button formed by the area where the ball 904 is located.
[0298] When an electronic device includes multiple card sets, the electronic device can also collapse two card sets into buttons based on operations on any card, and display the logo of the larger card set in the button that occupies a larger display area, so that the user can check the status of the card at any time.
[0299] It should be noted that the module names involved in the embodiments of the present application can be defined as other names as long as the functions of each module can be achieved, and there is no specific restriction on the names of the modules.
[0300] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0301] The display method of the embodiment of the present application has been described above. The device for performing the above method provided by the embodiment of the present application is described below. Those skilled in the art will understand that the method and device can be combined and referenced with each other, and the relevant device provided by the embodiment of the present application can perform the steps in the above list sorting method.
[0302] As shown in FIG13 , FIG13 is a schematic structural diagram of a display device provided in an embodiment of the present application. The display device may be an electronic device in an embodiment of the present application, or a chip or chip system in an electronic device.
[0303] As shown in FIG13 , a display device 1300 can be used in a communication device, circuit, hardware component, or chip, and includes a display unit 1301 and a processing unit 1302. The display unit 1301 is used to support the display step of the display method; the processing unit 1302 is used to support the display device 1300 in performing the information processing step.
[0304] In a possible implementation, the display device 1300 may further include a communication unit 1303, and the communication unit 1303 is used to support the display device 1300 in executing steps such as receiving or sending messages.
[0305] The display devices described in the embodiments of the present application may include the units described in the embodiment corresponding to FIG. 13 .
[0306] Specifically, the processing unit 1302 and the display unit 1301 may be integrated together, and the processing unit 1302 and the display unit 1301 may communicate with each other.
[0307] In a possible implementation, the display device 1300 may further include a storage unit 1304. The storage unit 1304 may include one or more memories, and the memory may be a device in one or more devices or circuits for storing programs or data.
[0308] The storage unit 1304 can exist independently and be connected to the processing unit 1302 via a communication bus. The storage unit 1304 can also be integrated with the processing unit 1302.
[0309] Taking the example of a display device 1300 being a chip or chip system of an electronic device in an embodiment of the present application, the storage unit 1304 can store computer-executable instructions for the method of the electronic device, so that the processing unit 1302 executes the method of the electronic device in the above embodiment. The storage unit 1304 can be a register, a cache, or a random access memory (RAM), etc. The storage unit 1304 can be integrated with the processing unit 1302. The storage unit 1304 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions. The storage unit 1304 can be independent of the processing unit 1302.
[0310] In one possible implementation, the display device 1300 may further include a communication unit 1303. The communication unit 1303 is configured to support interaction between the display device 1300 and other devices. For example, when the display device 1300 is an electronic device, the communication unit 1303 may be a communication interface or interface circuit. When the display device 1300 is a chip or system-on-chip within the electronic device, the communication unit 1303 may be a communication interface. For example, the communication interface may be an input / output interface, pin, or circuit.
[0311] The device of this embodiment can be used to execute the steps executed in the above method embodiment. Its implementation principles and technical effects are similar and will not be described in detail here.
[0312] FIG14 is a schematic diagram of the hardware structure of another electronic device provided in an embodiment of the present application.
[0313] The electronic device includes a processor 1401, a communication line 1404 and at least one communication interface (the communication interface 1403 is used as an example in FIG. 14 ).
[0314] The processor 1401 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0315] Communications link 1404 may include circuitry to transmit information between the aforementioned components.
[0316] The communication interface 1403 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.
[0317] Possibly, the electronic device may further include a memory 1402 .
[0318] The memory 1402 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be independent and connected to the processor via a communication line 1404. The memory may also be integrated with the processor.
[0319] The memory 1402 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 1401. The processor 1401 is used to execute the computer-executable instructions stored in the memory 1402, thereby implementing the method provided by the embodiment of the present application.
[0320] Possibly, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, and the embodiments of the present application do not specifically limit this.
[0321] In a specific implementation, as an embodiment, the processor 1401 may include one or more CPUs, such as CPU0 and CPU1 in FIG14 .
[0322] In a specific implementation, as an embodiment, an electronic device may include multiple processors, such as processor 1401 and processor 1405 in FIG14 . Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0323] In the above embodiment, the instructions stored in the memory for execution by the processor may be implemented in the form of a computer program product, wherein the computer program product may be pre-written in the memory or downloaded and installed in the memory in the form of software.
[0324] The display method provided in the embodiment of the present application can be applied to electronic devices with communication functions. The electronic devices include terminal devices. The specific device form of the terminal device can refer to the above related descriptions and will not be repeated here.
[0325] An embodiment of the present application provides a terminal device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the above method.
[0326] The present embodiment provides a chip. The chip includes a processor configured to invoke a computer program stored in a memory to execute the technical solution of the above embodiment. The implementation principles and technical effects are similar to those of the above-mentioned related embodiments and will not be further described here.
[0327] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the above-mentioned method is implemented. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.
[0328] In one possible implementation, computer-readable media may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium designed to carry or store the desired program code in the form of instructions or data structures and accessible by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwave are used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and optical disk as used herein include optical disk, laser disk, optical disk, digital versatile disk (DVD), floppy disk and Blu-ray disk, where disks generally reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0329] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.
[0330] The present application embodiment is described with reference to the flow chart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application.It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processing unit of general-purpose computer, special-purpose computer, embedded processing machine or other programmable device to produce a machine, so that the instruction executed by the processing unit of computer or other programmable data processing device produces the device for realizing the function specified in one flow chart flow or multiple flows and / or one block or multiple blocks of block diagram.
[0331] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. A display method, characterized in that, including: displaying a first interface, where the first interface includes a first card set and a first button, the first card set includes N cards, the card displayed on the top layer among the N cards is the first card, and N is an integer greater than 0; in response to a first operation on the first button, displaying a second button on the first interface, and not displaying the first card set and the first button, and the display area occupied by the second button is smaller than the display area occupied by the first card set; in response to a second operation on the second button, displaying the first card set and the first button on the first interface, and not displaying the second button.
2. The method according to claim 1, wherein Among the N cards, the card located below the first card is the second card, and displaying the second button on the first interface includes: displaying the second button and a third button on the first interface, the second button includes the identifier of the first card, the third button includes the identifier of the second card, and the display area occupied by the third button is smaller than the display area occupied by the second button.
3. The method according to claim 2, wherein The method further includes: in response to a third operation on the third button, displaying the first button on the first interface and displaying the second card in the first card set; in response to a fourth operation on the first button, displaying the second button and the third button on the first interface, and not displaying the first card set and the first button.
4. The method according to claim 2, wherein The method further includes: in response to a fifth operation on the third button, displaying the first button on the first interface and displaying the second card in the first card set; in response to an operation on the second card, displaying the first interface; in response to a sixth operation on the first card set, displaying the first button on the first interface and displaying the second card in the first card set; in response to a seventh operation on the first button, displaying a fourth button and a fifth button on the first interface, the display area occupied by the fifth button is smaller than the display area occupied by the fourth button, the display area occupied by the fourth button is smaller than the display area occupied by the first card set, the fourth button includes the identifier of the second card, and the fifth button includes the identifier of the first card.
5. The method according to any one of claims 2-4, characterized in that, The first card is a card pushed by a first service, the second card is a card pushed by a second service, and displaying the second button and the third button on the first interface includes: when the priority of the first service is higher than the priority of the second service, displaying the second button and the third button on the first interface.
6. The method according to any one of claims 1-5, characterized in that, Displaying the second button on the first interface includes: displaying the second button and first information on the first interface, and the first information includes one or more of the following: weather information, time information, or area information.
7. The method according to claim 6, wherein, After displaying the first interface, the method further includes: in response to an eighth operation on the first card set; Display a first window on the first interface, where the first window includes: a sixth button for setting a display style; In response to an operation on the sixth button, display a second window on the first interface, where the second window includes: a seventh button for setting a first display style, and the first display style is a weather clock + service capsule style; Display the second button and first information on the first interface, including: when the seventh button is selected, display the second button and the first information on the first interface.
8. The method according to any one of claims 2-5, characterized in that, The method further includes: In response to a received third card, display the first button on the first interface and display the third card in the first card set; In response to a ninth operation on the first button, display an eighth button and a ninth button on the first interface, and do not display the first card set and the first button, where the eighth button includes: an identifier of the third card, and the ninth button includes: an identifier of the first card and an identifier of the second card, the display area occupied by the eighth button is smaller than the display area occupied by the first card set, and the display area occupied by the eighth button is larger than the display area occupied by the ninth button; In response to an operation on the ninth button, display the first card or the second card in the first card set.
9. The method according to claim 8, wherein After the response to the received third card, the method further includes: In response to a received fourth card, display the first button on the first interface and display the fourth card in the first card set; In response to a tenth operation on the first button, display a tenth button and an eleventh button on the first interface, and do not display the first card set and the first button, where the tenth button includes: an identifier of the fourth card, and the eleventh button displays a first identifier and a second identifier, and the second identifier includes two of the identifiers of the first card, the second card, and the third card, the display area occupied by the tenth button is smaller than the display area occupied by the first card set, and the display area occupied by the eleventh button is smaller than the display area occupied by the tenth button; In response to an operation on the eleventh button, display the first card, or the second card, or the third card in the first card set.
10. The method according to claim 9, characterized in that The first identifier is used to indicate that the electronic device has received at least M cards, and M is greater than or equal to 4.
11. The method according to any one of claims 1-10, characterized in that, The method further includes: In response to the simultaneously received fifth card and sixth card, display the first button on the first interface and simultaneously display the fifth card and the sixth card in the first card set; In response to an eleventh operation on the first button, a twelfth button and a thirteenth button are displayed in the first interface, and the first card set and the first button are not displayed, wherein the display area occupied by the twelfth button is smaller than the display area occupied by the first card set, the display area occupied by the twelfth button is larger than the display area occupied by the thirteenth button, the twelfth button includes: an identifier of the fifth card, and the thirteenth button includes: an identifier of the sixth card.
12. The method according to claim 11, wherein When the fifth card is a card pushed by a third service and the sixth card is a card pushed by a fourth service, the displaying of the twelfth button and the thirteenth button in the first interface includes: When the priority of the third service is higher than the priority of the fourth service, the twelfth button and the thirteenth button are displayed in the first interface.
13. The method according to any one of claims 1-10, characterized in that, The first interface further includes: a second card set, and the method further includes: In response to the fifth card and the sixth card received simultaneously, a fourteenth button and a fifteenth button are displayed in the first interface, the fifth card is displayed in the first card set, and the sixth card is displayed in the second card set, wherein the display area occupied by the first card set is larger than the display area occupied by the second card set; In response to an operation on the fourteenth button or the fifteenth button, a sixteenth button and a seventeenth button are displayed in the first interface, and the first card set, the second card set, the fourteenth button, and the fifteenth button are not displayed, wherein the display area occupied by the sixteenth button is smaller than the display area occupied by the first card set, the display area occupied by the sixteenth button is larger than the display area occupied by the seventeenth button, the sixteenth button includes: an identifier of the fifth card, and the seventeenth button includes: an identifier of the sixth card.
14. The method according to claim 2, 3, 4, 5, 8, 9, or 10, characterized in that, The method further includes: In response to a twelfth operation on the first card set, a second interface is displayed, and the second interface includes: the first card and the second card.
15. The method according to any one of claims 1 to 14, characterized in that, After the first interface is displayed, the method further includes: When the duration of displaying the third interface reaches a first time threshold, a second button is displayed in the first interface, and the first card set and the first button are not displayed, wherein the third interface is an interface different from the first interface.
16. The method according to any one of claims 1 to 15, characterized in that, After the second button is displayed in the first interface, the method further includes: In response to an operation of deleting the first card from the first card set, the second button is not displayed.
17. An electronic device, characterized in that, The electronic device includes: one or more processors and a memory; The memory is coupled to the one or more processors, and 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 cause the electronic device to execute the method according to any one of claims 1 to 16.
18. A chip system, characterized in that, The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are configured to call computer instructions to cause the electronic device to execute the method according to any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the computer instructions cause the electronic device to execute the method according to any one of claims 1 to 16.
20. A computer program product, characterized in that, The computer program product includes computer program code, and when the computer program code is run on the electronic device, the computer program code causes the electronic device to execute the method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Display method and device
CN120335908A
Method and system for presenting interface in terminal
CN103870130A
Interface display method and apparatus
CN105955598A
Method and device for managing application card
CN106201208A
Display panel with graphical user interface for data statistics preview
CN306461045S