Display method and device
By collecting the card set as a button, the problem of excessive card set occupies the display area in the terminal device desktop is solved, and the effect of saving display area and improving user experience is achieved.
Patent Information
- Application Number
- CN202410047208.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-10
- Publication Date
- 2025-07-18
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 card set, saving the desktop display area.
Effectively reduce the use of desktop display area, improve user experience and aesthetics, and users can flexibly view card content through simple operations.
Smart Images

Figure CN120335908A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of terminals, and particularly to a display method and apparatus. Background Art
[0002] With the popularization and development of the Internet, terminal devices have become an integral part of people's work and life. As the number of services provided by terminal devices increases, the content to be displayed on the desktop also gradually increases. The desktop can display one or more of the following, for example: application icons, application cards, card sets, etc.
[0003] Generally, when an electronic device receives a card pushed by a system service, the card can be displayed on the top layer of the card set. Multiple cards pushed by the system service can be stacked in the card set.
[0004] However, the above display method occupies a relatively large display area on the desktop. Summary of the Invention
[0005] Embodiments of this application provide a display method and apparatus, which are applied to the technical field of terminals and can achieve the effect of reducing the occupation of the desktop display area.
[0006] In a first aspect, embodiments of this application propose a display method. The method includes: 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 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, displaying a second button on the first interface, and not displaying the first card set and the first button, where 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.
[0007] The first interface may be Figure 5 the interface shown in a of Figure 5 , the first button may be the first target button described in
[0008] As Figure 5 shown in b of
[0009] , the second button may be the capsule button 502, and the second operation may be a trigger operation on the capsule button 502.
[0010] Further, the electronic device may also expand the second button into a first card set based on a second operation, enabling the user to flexibly view the card content with a simple trigger.
[0011] In a possible implementation, among the N cards, the card located below the first card is the second card. Displaying the second button on the first interface includes: displaying the second button and the third button on the first interface. The second button includes the identifier of the first card, and the third button includes the identifier of the second card. The display area occupied by the third button is smaller than the display area occupied by the second button.
[0012] In the case where the card set includes two cards, the electronic device can collapse the two cards into two buttons of different sizes to reduce the occupation of the desktop display space.
[0013] In a possible implementation, 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.
[0014] Based on this, the electronic device can not only collapse the card set into buttons, but also display the corresponding cards in the card set based on the user's operation of expanding the buttons, facilitating the user to view the card content at any time.
[0015] In a possible implementation, 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 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.
[0016] Based on this, when the user views card 104 and views card 104 again through a trigger operation on the card set, the electronic device can display the capsule corresponding to card 104 when collapsing the card set. In this way, the electronic device can identify the cards that the user switches back and forth or views multiple times as relatively important cards and collapse the cards into capsules.
[0017] In a possible implementation, the first card is a card pushed by the first service, and the second card is a card pushed by the second service. Displaying a second button and a third button on the first interface includes: when the priority of the first service is higher than that of the second service, displaying the second button and the third button on the first interface.
[0018] 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, display the service card with a higher priority in the button that occupies a larger display area, and display the service card with a lower priority in the button that occupies a smaller display area.
[0019] In a possible implementation, displaying a second button on the first interface includes: displaying a 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 location information.
[0020] The electronic device can also display the first information while displaying the button, so that the user can view more other information while closing the card set.
[0021] In a possible implementation, after displaying the first interface, the method further includes: in response to an eighth operation on the first card set; displaying a first window on the first interface, where the first window includes: a sixth button for setting the display style; in response to an operation on the sixth button, displaying 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; displaying a second button and first information on the first interface includes: when the seventh button is selected, displaying the second button and first information on the first interface.
[0022] 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, facilitating the user to select a suitable display style according to needs.
[0023] In a possible implementation, the method further includes: in response to receiving a third card, displaying a first button on the first interface and displaying the third card in the first card set; in response to a ninth operation on the first button, displaying an eighth button and a ninth button on the first interface, and not displaying 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, displaying the first card or the second card in the first card set.
[0024] Such as Figure 6In the interface shown by b in [description], the eighth button can be button 604, and the ninth button can be a button composed of ball 605 and ball 606 (or called a small button).
[0025] Based on this, when there are three cards in the card set, the electronic device can implement folding the three cards into two buttons, one large and one small. The small button can include the identifiers of two cards to reduce the occupation of the desktop display space.
[0026] In a possible implementation manner, after receiving the third card, the method further includes: in response to receiving the fourth card, displaying a first button in the first interface and displaying the fourth card in the first card set; in response to a tenth operation on the first button, displaying a tenth button and an eleventh button in the first interface, and not displaying the first card set and the first button, where the tenth button includes the identifier of the fourth card, 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, displaying the first card, or the second card, or the third card in the first card set.
[0027] Based on this, when there are four cards in the card set, the electronic device can implement folding the four cards into two buttons, one large and one small. The small button can include the identifiers of two cards and an ellipsis identifier to reduce the occupation of the desktop display space.
[0028] In a possible implementation manner, 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.
[0029] In a possible implementation manner, the method further includes: in response to simultaneously receiving the fifth card and the sixth card, displaying a first button in the first interface and simultaneously displaying the fifth card and the sixth card in the first card set; in response to an eleventh operation on the first button, displaying a twelfth button and a thirteenth button in the first interface, and not displaying the first card set and the first button, where 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 the identifier of the fifth card, and the thirteenth button includes the identifier of the sixth card.
[0030] Based on this, when the electronic device simultaneously pushes two cards, the electronic device can also implement folding the two cards to achieve the purpose of saving desktop space.
[0031] In a 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 that of the fourth service, the twelfth button and the thirteenth button are displayed in the first interface.
[0032] When the electronic device receives two cards simultaneously, the electronic device can also determine the content displayed in the button after folding the card set based on the priority when folding the card set. For example, the content of the card with a higher priority is displayed in the large button, which is convenient for the user to view at any time.
[0033] 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: a first card and a second card.
[0034] 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 with a sliding distance greater than the distance threshold.
[0035] Based on this, due to the limitation of the electronic device size, the electronic device can display all the cards in the card set in the second interface after receiving the long sliding operation of the user, improving the efficiency of the user to view the cards.
[0036] In a possible implementation, after displaying the first interface, the method further includes: when the display duration of the third interface reaches a first time threshold, displaying a second button in the first interface and not displaying the first card set and the first button, where the third interface is an interface different from the first interface.
[0037] Based on this, the electronic device can switch from the card style to the capsule style after the display area of the screen where the card set is located has been left for a duration of 15 seconds or other equal durations. This avoids the card set occupying the display area for a long time.
[0038] In a possible implementation, after displaying the second button in 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.
[0039] Based on this, the electronic device can cancel the display of the button after all the cards in the card set are removed, so as to achieve the unity between the card set and the button.
[0040] In a possible implementation, the first interface further includes: a second card set. The method further includes: in response to receiving a fifth card and a sixth card simultaneously, displaying a fourteenth button and a 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, wherein the display area occupied by the first card set is larger than that occupied by the second card set; in response to an operation on the fourteenth button or the fifteenth button, displaying a sixteenth button and a 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 that occupied by the first card set, the display area occupied by the sixteenth button is larger than that 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.
[0041] In the case where an electronic device includes multiple card sets, the electronic device can also, based on an operation on any card, collapse two card sets into buttons, and display an identifier of the larger card set in the button that occupies a larger display area, facilitating the user to view the situation of the cards at any time.
[0042] In a second aspect, an embodiment of the present application provides a display device, which may be an electronic device, or a chip or a chip system within the 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 here. The display unit is used to perform the display steps 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 further include a storage unit, and the storage unit may be a memory. The storage unit is used 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 a chip system within the 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 (for example, a register, a cache, etc.), or a storage unit outside the chip within the electronic device (for example, a read-only memory, a random access memory, etc.).
[0043] 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, and the first interface includes a first card set and a first button. The first card set includes N cards, and the card displayed at the topmost layer among the N cards is the first card, where 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 not to display 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, 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 not to display the second button.
[0044] In a third aspect, an embodiment of the present application provides an electronic device, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is configured to store computer program code, and 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 described in the first aspect or any one of the possible implementation manners of the first aspect.
[0045] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions, and when the computer instructions run on an electronic device, the electronic device is caused to execute the method described in the first aspect or any one of the possible implementation manners of the first aspect.
[0046] 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, and when the computer program code runs on an electronic device, the electronic device is caused to execute the method described in the first aspect or any one of the possible implementation manners of the first aspect.
[0047] 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 configured to call computer instructions to cause the electronic device to execute the method described in the first aspect or any one of the possible implementation manners of the first aspect.
[0048] In a possible implementation, the chip system described above in the present application further includes at least one memory, and instructions are stored in the at least one memory. The memory may be an internal storage unit of the chip system, for example, a register, a cache, etc., or may be a storage unit of the chip system (for example, a read-only memory, a random access memory, etc.).
[0049] It should be understood that the technical solutions of the second to sixth aspects of this application correspond to those of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation manners are similar, so they will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a schematic diagram of a scenario provided by an embodiment of this application;
[0051] Figure 2 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of this application;
[0052] Figure 3 It is a schematic diagram of an interface in an open capsule style provided by an embodiment of this application;
[0053] Figure 4 It is a schematic diagram of a capsule style provided by an embodiment of this application;
[0054] Figure 5 It is a schematic diagram of an interface for display style switching provided by an embodiment of this application Figure 1 ;
[0055] Figure 6 It is a schematic diagram of an interface for display style switching provided by an embodiment of this application Figure 2 ;
[0056] Figure 7 It is a schematic diagram of an interface for display style switching provided by an embodiment of this application Figure 3 ;
[0057] Figure 8 It is a schematic diagram of an interface for display style switching provided by an embodiment of this application Figure 4 ;
[0058] Figure 9 It is a schematic diagram of an interface for display style switching provided by an embodiment of this application Figure 5 ;
[0059] Figure 10 It is a schematic diagram of an interface for display style switching provided by an embodiment of this application Figure 6 ;
[0060] Figure 11 It is a schematic diagram of an interface for restoring an application provided by an embodiment of this application;
[0061] Figure 12 It is a schematic diagram of the steps of a display method provided by an embodiment of this application;
[0062] Figure 13 It is a schematic diagram of the structure of a display device provided by an embodiment of this application;
[0063] Figure 14 This is a schematic diagram of the hardware structure of another electronic device provided by an embodiment of the present application. Detailed implementation manners
[0064] To facilitate a clear description of the technical solutions of the embodiments of the present application, the following briefly introduces some terms and technologies involved in the embodiments of the present application:
[0065] 1. YOYO Suggestion
[0066] YOYO Suggestion can be a function that recognizes the user's intention and recommends corresponding services.
[0067] For example, when the user arrives at a location such as an airport or a high-speed railway station, YOYO Suggestion can push a card with gate information so that the user can quickly find the gate. Or, when the user has set multiple meeting schedules, YOYO Suggestion can push a card with meeting reminder information before any meeting starts to prevent the user from missing the meeting.
[0068] Generally, YOYO Suggestion can provide service recommendations in multiple scenarios such as flights, subways, express deliveries, driving, sports health, and schedule reminders.
[0069] The electronic device can display the cards in YOYO Suggestion in the form of a card set. The card set can be set on the negative first screen, desktop, or lock screen of the electronic device, etc., and the embodiments of the present application do not limit this.
[0070] YOYO Suggestion is only a schematic illustration of a function that can actively recommend services. In different devices, YOYO Suggestion may have other names, and the embodiments of the present application do not limit this.
[0071] 2. Card set
[0072] A card set can be understood as a container for storing N cards, where N is an integer greater than 0.
[0073] The card set can display one card at a time. For example, when the electronic device receives a new card pushed by a service, the electronic device can display the new card on the top layer of the card set.
[0074] The card set can display two cards at a time. For example, when the electronic device receives two cards pushed by two services at the same time, the electronic device can display the two cards on the top layer of the card set at the same time.
[0075] 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 folding-screen mobile phone or a tablet, the electronic device can display two card sets on the desktop, and the embodiments of the present application do not limit this.
[0076] 3. Other Terms
[0077] In the embodiments of the present application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and roles. For example, the first chip and the second chip are only used to distinguish different chips, and do not limit their sequence. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and "first", "second", etc. do not necessarily mean different.
[0078] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific manner.
[0079] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (item) or plural items (items). For example, at least one (item) of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or multiple.
[0080] 4. Electronic Devices
[0081] The electronic devices in 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, handheld computers, laptop computers, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, etc. The embodiments of the present application are not limited thereto.
[0082] The electronic device may also be a wearable device, such as glasses, gloves, watches, clothing, shoes, etc.
[0083] The electronic device in the embodiments of the present application may also be referred to as: terminal device, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile terminal, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc.
[0084] The following Figure 1 illustrates the card set corresponding to the YOYO suggestion with reference to the
[0085] exemplary Figure 1 scenario diagram provided by the embodiments of the present application. In Figure 1 the corresponding embodiment, a mobile phone is taken as an example of the electronic device for illustration, and this example does not limit the embodiments of the present application.
[0086] The electronic device displays an interface as shown in Figure 1 a in the figure, and this interface may be referred to as a desktop interface. One or more of the following may be displayed in the desktop interface: card set 101 (the area indicated by the dashed box), or application icons, etc. The application icons may include one or more of the following: daily news card, music icon, calendar icon, document management icon, mail icon, clock icon, calculator icon, photo album icon, or memo icon, etc.
[0087] At least two cards may be included in the card set 101, such as Figure 1 the sports health card 102 (or simply referred to as card 102) shown in Figure 1 a in the figure, and the YOYO suggestion introduction card 104 (or simply referred to as card 104) shown in
[0088] b in the figure. Among them, card 102 may be a card pushed by the sports health service, and card 104 may be a card pushed by the YOYO suggestion. The sports construction service may be one of the services supported by the YOYO suggestion.
[0089] As shown in Figure 1 a in the figure, in response to the user's operation of swiping up (or down) in card 102, the electronic device may display as shown in Figure 1The interface shown as b in Figure 1 In the interface shown as b in Figure 1 the card set 101 (the area indicated by the dashed box) can be displayed, and for other content displayed in this interface, reference can be made to
[0090] the description in the interface shown as a in
[0091] and details are not repeated here. When the card 104 is displayed in the card set 101, the card name 105 can be displayed as: YOYO Suggestion · Introduction. In the card 104, the YOYO Suggestion function introduction information can be displayed, and the YOYO Suggestion function introduction information can be displayed as: YOYO Suggestion intelligent recommendation. According to the scene, services such as schedule, flight, subway, and express delivery can be dynamically pushed on the card set.
[0092] However, the card set 101 occupies a large display area on the desktop, reducing the content efficiency of the desktop. Also, it is not aesthetically pleasing that the visual range occupied by the card set is too large.
[0093] In view of this, the embodiments of the present application provide a display method, enabling the electronic device to collapse the card set into a button, and the display area occupied by the button is smaller than that occupied by the card, so the effect of not occupying the desktop display area can be achieved.
[0094] To better understand the embodiments of the present application, the structure of the electronic device in the embodiments of the present application is introduced below. Exemplarily, Figure 2 is a schematic diagram of the hardware structure of an electronic device provided by the embodiments of the present application.
[0095] 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, a headphone interface 170D, a sensor module 180, a button 190, an indicator 192, a camera 193, and a display screen 194, etc.
[0096] Among them, the sensor module 180 may include one or more of the following: a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, or a bone conduction sensor ( Figure 2Such as (not shown in the figure), etc., and specific limitations are not made in the embodiments of the present application in this regard.
[0097] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0098] The processor 110 may include one or more processing units. Among them, different processing units may be independent devices or integrated in one or more processors. A memory may also be provided in the processor 110 for storing instructions and data. For example, the processor 110 may be used to implement the steps executed in the data processing method provided in the embodiments of the present application.
[0099] The wireless communication function of the electronic device may be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modulation and demodulation processor, baseband processor, etc.
[0100] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc.
[0101] The electronic device realizes the display function through the GPU, display screen 194, application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
[0102] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1. For example, the display screen 194 may be used to display cards in any interface of the desktop.
[0103] The electronic device can realize the shooting function through the ISP, camera 193, video codec, GPU, display screen 194, application processor, etc.
[0104] The external memory interface 120 can be used to connect to an external memory card, such as a Micro SD card, to implement the storage capacity expansion of the electronic device. The internal memory 121 can be used to store computer-executable program codes, and the executable program codes include instructions. For example, the internal memory 121 can be used to store the code programs executed in the data processing method.
[0105] The electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.
[0106] The software system of the electronic device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture, etc., which will not be elaborated here.
[0107] The following uses specific embodiments to detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems. These several specific embodiments can be implemented independently or in combination with each other. For the same or similar concepts or processes, they may not be elaborated in some embodiments.
[0108] In the embodiments of the present application, the electronic device can support the display of YOYO suggestions in a capsule style on the desktop. Moreover, the electronic device can support the switching of the display style of YOYO suggestions between the card style and the capsule style. Among them, the card style can include: Figure 3 the weather clock + sports health style described in, and the weather clock card style.
[0109] Before describing the display method provided in the embodiments of the present application, the process of enabling the capsule style can be schematically described. Refer to Figure 3 the corresponding embodiment.
[0110] Exemplarily, Figure 3 is a schematic diagram of an interface for enabling the capsule style provided in the embodiments of the present application.
[0111] In response to the user's long-press operation on the card set 101 in the interface shown in a of Figure 1 , the electronic device displays the interface shown in a of Figure 3 . Figure 3 The interface shown in a of Figure 3 may include: the card set 101 and the setting window 301. The setting window 301 may include: a button for YOYO suggestion setting and a button 302 for editing the default style. Figure 1 The other contents displayed in the interface shown in a of
[0112] In response to a user's triggering operation on button 302, the electronic device displays an interface as shown in b of Figure 3 . The interface may include: window 303. In window 303, one or more of the following may be displayed: a button 304 for switching the default style, and an introduction corresponding to the currently displayed style, where the currently displayed style may be: the weather clock card style. Figure 3 In response to a user's triggering operation on button 304, the electronic device displays an interface as shown in c of Figure 3 . The interface 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 the weather clock + service capsule style and button 306. Function introduction may be displayed around button 306, that is, clicking on the capsule can expand the service card.
[0113] In response to a user's triggering operation on button 304, the electronic device displays an interface as shown in c of Figure 3 . The interface 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 the weather clock + service capsule style and button 306. Function introduction may be displayed around button 306, that is, clicking on the capsule can expand the service card. Figure 3 In response to a user's triggering operation on button 304, the electronic device displays an interface as shown in c of Figure 3 . The interface 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 the weather clock + service capsule style and button 306. Function introduction may be displayed around button 306, that is, clicking on the capsule can expand the service card.
[0114] It can be understood that when the user selects button 306, YOYO suggestions can be switched between the card style and the capsule style based on the user's operation. And while the electronic device displays the capsule style, weather clock information may be displayed. The weather clock information may include one or more of the following: weather information, time information, or area information, etc.
[0115] In a possible implementation, the at least one display style may also include: the capsule style, and the capsule style can implement the function of expanding the service card. For example, after the user selects the capsule style, the electronic device may display a capsule button 307 and a sphere button 308 in the interface shown in d of Figure 3 , and does not display the weather clock information. The capsule style can achieve the purpose of occupying a smaller desktop display area. Figure 3 In a possible implementation, the at least one display style may also include: the capsule style, and the capsule style can implement the function of expanding the service card. For example, after the user selects the capsule style, the electronic device may display a capsule button 307 and a sphere button 308 in the interface shown in d of Figure 3 , and does not display the weather clock information. The capsule style can achieve the purpose of occupying a smaller desktop display area.
[0116] Window 305 may also include other display styles supported by other YOYO suggestions, such as the weather clock + sports health style, the weather clock card style, and the weather clock transparent style.
[0117] In the weather clock + sports health style, the electronic device may default to displaying two cards at the location of card set 101. The two cards may be a weather clock card and a sports health card respectively.
[0118] In the weather clock card style, the electronic device may default to displaying a weather clock card at the location of card set 101, and card set 101 may support switching between the weather clock card and other cards.
[0119] In the weather clock transparent style, the electronic device may default to displaying weather clock information in a transparent state at the location of card set 101.
[0120] In response to a triggering operation of the user on button 306, the electronic device displays an interface as shown in Figure 3 d, in which a capsule button 307, a spherical button 308, and weather clock information can be displayed. In the capsule button 307, the identifier of the sports health card (or sports health service) and / or the prompt information pushed by the sports health service can be displayed. For example, the prompt information can be displayed as 0 steps and log in immediately. In the spherical button 308, the identifier of the YOYO introduction card (or YOYO suggestion) can be displayed.
[0121] The weather clock information may include one or more of the following: time information (e.g., December 6th, or Wednesday), weather information (18 degrees Celsius, or weather icon), or regional information (such as XX district). XX district can be understood as a certain region.
[0122] Based on this, the electronic device can support the display of YOYO suggestions in a capsule style. The display area occupied by the capsule button is smaller than that of the card set 101, which can achieve the effect of reducing the occupation of the desktop display area and making the desktop more concise.
[0123] Next, in combination with Figure 4 the corresponding embodiments, the capsule styles when different numbers of cards are received are exemplified. Figure 4 This is a schematic diagram of a capsule style provided by an embodiment of the present application.
[0124] As Figure 4 shown in a of, when only one card 1 is included in the card set, the electronic device can display a capsule button 401 when the card set is collapsed. The capsule button 401 can be understood as a button that allows triggering.
[0125] The capsule button 401 can correspond to card 1, and card 1 can be pushed by service 1. In the capsule button 401, the identifier of service 1 (or card 1) and / or the corresponding prompt information of card 1 can be displayed. The identifier can be an icon. Since the display area occupied by the capsule button 401 is small, the prompt information corresponding to card 1 is generally brief.
[0126] As Figure 4 shown in b of, when only two cards (such as card 1 and card 2) are included in the card set, the electronic device can display a capsule button 401 and a spherical button 402' when the card set is collapsed. The spherical button 402' can be understood as a button that allows triggering, and the display area occupied by the spherical button 402' is smaller than that occupied by the capsule button 401.
[0127] The capsule button 401 may correspond to the card 1, and the ball button 402' may correspond to the card 2, which may be pushed by the service 2. The ball button 402' may display the logo of the service 2 (or the card 2).
[0128] The capsule button 401 may correspond to the main 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).
[0129] Exemplarily, 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'.
[0130] 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 capsule button 401 and the logo of card 1 in ball button 402'.
[0131] It is understandable that the priority of the service (or card) may 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 an indication of high priority.
[0132] In a possible implementation, in response to a user triggering operation on the ball button 402', the electronic device can expand the card set and display card 2. In the case where card 2 is displayed in the card set, when 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 the electronic device can display the logo of card 2 in the capsule button 401 and the logo of card 1 (or card 2) in the ball button 402'.
[0133] It is understandable that the user can adjust the content displayed in the capsule button and the ball button by switching cards back and forth and folding 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.
[0134] like Figure 4 As shown in c in FIG. 1 , when the card set contains only three cards (such as card 1, card 2, and card 3), the electronic device can display a capsule button 401, a ball 402, and a ball 403. Balls 402 and 403 can be used together as a trigger-allowed button 404. The display area occupied by button 404 is smaller than the display area occupied by capsule button 401.
[0135] The capsule button 401 can correspond to card 1, the sphere 402 can correspond to card 2, the sphere 403 can correspond to card 3, and card 3 can be pushed by service 3. The button 404 can include: the identifier of card 2 and the identifier of card 3).
[0136] The capsule button 401 can correspond to the main promoted service, the sphere 402 can correspond to the secondary promoted service 1, and the sphere 403 can correspond to the secondary promoted service 2. The electronic device can determine the content displayed in the capsule button or the sphere according to the priority of the service. The specific process is similar to that described in b of Figure 4 and will not be elaborated here.
[0137] As Figure 4 shown in d of
[0138] When there are only four cards in the card set (such as card 1, card 2, card 3, and card 4), the electronic device can display the capsule button 401, the spheres 402, 403, and 405. The spheres 402, 403, and 405 can jointly serve as a triggerable button 406. The display area occupied by the button 406 is smaller than the display area occupied by the capsule button 401.
[0139] The capsule button 401 can correspond to card 1, the sphere 402 can correspond to card 2, the sphere 403 can correspond to card 3, and card 4 can be pushed by service 4. The button 406 contains: the identifier of card 2, the identifier of card 3, and an ellipsis identifier. Figure 4 The capsule button 401 can correspond to the main promoted service, the sphere 402 can correspond to the secondary promoted service 1, the sphere 403 can correspond to the secondary promoted service 2, and the sphere 405 can correspond to other services (such as service 4). The electronic device can determine the content displayed in the capsule button or the sphere according to the priority of the service. The specific process is similar to that described in b of
[0140] An ellipsis identifier can be displayed in the sphere 405. The sphere 405 can also be called a "more" icon, which is used to indicate that the electronic device has received at least M service pushes currently. M is greater than or equal to 4, and this is not limited in the embodiments of the present application.
[0141] It can be understood that when the electronic device receives at least M service pushes, the electronic device can display based on the Figure 4 style shown in d of
[0142] It can be understood that Figure 4The capsule button and the spherical ball described are only examples. For example, the capsule button can also be displayed in a rectangular shape or an elliptical shape, etc., and the spherical ball can also be displayed in a triangular shape or a rectangular shape, etc. The embodiments of the present application do not limit this.
[0143] Based on this, the electronic device can provide various capsule styles to achieve the purpose of occupying less display space.
[0144] In Figure 3 corresponding embodiments when the capsule style is enabled, the electronic device can, based on the following Figures 5 - 7 corresponding embodiments, implement the switching of YOYO suggestions between the card style and the capsule style.
[0145] Among them, when there are 2 cards in the card set, the process of display style switching can be referred to Figure 5 the description in; when there are 3 cards in the card set, the process of display style switching can be referred to Figure 6 the description in; when there are at least 4 cards in the card set, the process of display style switching can be referred to Figure 7 the description in.
[0146] Exemplarily, Figure 5 is a schematic diagram of an interface for display style switching provided by an embodiment of the present application Figure 1 .
[0147] The electronic device displays an interface as shown in Figure 5 a in. In this interface, it can display: card 102, card name 103, and icon 501. For card 102, card name 103, and other content displayed in this interface, reference can be made to Figure 1 the description in a, which will not be elaborated here.
[0148] The icon 501 can be displayed as a downward arrow. The icon 501 can indicate that the card 102 (or card set) allows to be collapsed. The icon 501 can be displayed around the card 102, for example, on the right side of the card name 103; or, the icon 501 can also be displayed inside the card set. The embodiments of the present application do not limit this.
[0149] The icon 501 can be used as the first target button, or the card name 103 can be used as the first target button, or the icon 501 and the card name 103 can be used together as the first target button. The first target button is used to collapse the card 102 (or card set).
[0150] In response to the user's triggering operation on the first target button, the electronic device displays as shown in Figure 5The interface shown in b, which shows: the capsule button 502 and the spherical button 503. For the content shown in this interface, please refer to Figure 3 the interface shown in d, which will not be elaborated here.
[0151] In a possible implementation, in response to a user's trigger operation on the capsule button 502, the electronic device can display Figure 5 the interface shown in a. In this way, the electronic device can flexibly expand the card set based on the user's trigger operation on the capsule button 502.
[0152] When the electronic device displays the interface shown in Figure 5 a, the electronic device can switch from the card style to the capsule style after a duration of 15 seconds or other such durations when leaving the screen where the card set is located. This avoids the card set occupying the display area for a long time.
[0153] In response to a user's swipe operation on the card 102, the electronic device can display the interface shown in Figure 5 c, which can show: the card 104, the card name 105, and the icon 504. For the description of the card 104, the card name 105, and other content shown in this interface, please refer to Figure 1 the description in b, which will not be elaborated here.
[0154] The function of the icon 504 and the position where the icon 504 is displayed can be similar to the position of the icon 501, which will not be elaborated here.
[0155] The icon 504 can be used as the second target button, or the card name 105 can be used as the second target button, or both the icon 504 and the card name 105 can be used together as the second target button. The second target button is used to collapse the card 104 (or the card set).
[0156] In response to a user's trigger operation on the second target button, the electronic device displays the interface shown in Figure 5 d, which shows: the capsule button 505 and the spherical button 506.
[0157] The capsule button 505 can display the identifier of the YOYO suggestion introduction card, as well as the corresponding prompt information for the YOYO suggestion introduction card. For example, the prompt information can be displayed as YOYO suggestion introduction. The spherical button 506 can display the identifier of the sports health card.
[0158] In a possible implementation, in response to Figure 5 a trigger operation on the spherical button 503 in the interface shown in b, the electronic device displays the interface shown in Figure 5the interface shown in c. Further, in response to a triggering operation of the user on the second target button, the electronic device returns to Figure 5 the interface shown in b.
[0159] It can be understood 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 collapsed.
[0160] In a possible implementation, in response to a triggering operation of the user on Figure 5 the ball button 503 in the interface shown in b, the electronic device displays as Figure 5 shown in c. In response to the user's operation of swiping the card 104 in the Figure 5 interface shown in c, the electronic device can display as Figure 5 shown in a. In response to the user's operation of swiping the card 102 in the Figure 5 interface shown in a, the electronic device displays again as Figure 5 shown in c. Further, in response to a triggering operation of the user on the second target button, the electronic device can display as Figure 5 shown in d.
[0161] It can be understood that when the user views the card 104 and views the card 104 again through a triggering operation on the card set, the electronic device can display the capsule corresponding to the card 104 when the card set is collapsed. In this way, the electronic device can identify the cards that the user switches back and forth or views multiple times as relatively important cards and collapse the cards into capsules.
[0162] In a possible implementation, in response to a triggering operation of the user on the capsule button 505, the electronic device can display Figure 5 the interface shown in c; or, in response to a triggering operation of the user on the ball button 506, the electronic device can display Figure 5 the interface shown in a.
[0163] In a possible implementation, the function of the YOYO establishment introduction card is only to introduce the function of YOYO suggestions, and when the user is already familiar with YOYO suggestions, the YOYO suggestion introduction card does not need to be always displayed. Therefore, the YOYO establishment introduction card can disappear from the card set after being displayed for up to one week or after being exposed three times. Accordingly, the capsule button 505 (or the ball button 503) can disappear after being displayed for up to one week or after being exposed three times, and then the electronic device displays as Figure 5 shown in e. Here, being exposed three times can be understood as the number of times the capsule button 505 (or the ball button 503) is displayed reaching three times.
[0164] As shown Figure 5 in interface e shown in Figure 5 , the interface may include: a capsule button 507, and the content displayed in the capsule button 507 may be the same as the content in the capsule button 502, which will not be elaborated here.
[0165] Based on this, the electronic device can conveniently collapse the card into a capsule button based on the user's trigger operation to achieve the goal of saving desktop display space; or expand the capsule button or the spherical button into a card based on the user's trigger operation to facilitate the user to view the card content at any time.
[0166] Exemplarily, Figure 6 is a schematic diagram of an interface for switching display styles provided by an embodiment of the present application. Figure 2 .
[0167] In Figure 5 the corresponding embodiment, when the electronic device receives the today's schedule card pushed by the schedule service, the electronic device can display an interface as shown in Figure 6 a in Figure 6 . In this scenario, the card set may include three cards, such as the today's schedule card (such as the following card 601), the sports health card, and the YOYO suggestion introduction card.
[0168] It can be understood 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.
[0169] As Figure 6 shown in a in Figure 6 , the following can be displayed in this interface: a card 601, a card name 602, and an icon 603. The card 601 may be the today's schedule card, the card name 602 may be displayed as: YOYO suggestion · today's schedule, and the function and position of the icon 603 may be similar to the position of the icon 501, which will not be elaborated here.
[0170] The following one or more may be displayed in the card 601: information prompting a team meeting at 08:30 - 09:30, information prompting a company meeting at 09:30, or date information, etc.
[0171] In response to the user's trigger operation on the icon 603 (and / or the card name 602), the electronic device displays an interface as shown in Figure 6 b in Figure 6 . The following may be included in this interface: a capsule button 604, a sphere 605, and a sphere 606. The sphere 606 may be partially blocked by the sphere 605. The sphere 605 and the sphere 606 may jointly serve as a triggerable button, and this triggerable button is within the dashed box.
[0172] Among them, the capsule button 604 can display: the identifier of the card 601 and / or a prompt message for indicating the start of the next schedule at 08:30. Among them, the triggering operation of the user on the icon 603 (and / or the card name 602) can also be understood as an operation to collapse the card 601.
[0173] As Figure 4 described in c of, the schedule service can be the main push service and thus is displayed in the capsule button 604. In this scenario, the priority of the schedule service can be higher than the priority of the sports health service and the priority of the schedule service is higher than the priority of the YOYO suggestion introduction, and / or, the schedule service card is the card placed at the top layer of the card set. Among them, since the schedule service card is the card that the electronic device has received most recently, the schedule service card can be displayed at the top layer of the card set.
[0174] In a possible implementation, in response to the triggering operation of the user on the capsule button 604, the electronic device displays as Figure 6 shown in a of.
[0175] The sphere 605 and the sphere 606 can be within the dashed box. In response to the triggering operation of the user on the dashed box, the electronic device can display as Figure 6 shown in c of, and a card 607 can be displayed in this interface, and the card 607 corresponds to the sphere 605.
[0176] It can be understood that in the case where there are multiple spheres on the desktop, in response to the triggering operation of the user on the area where the multiple spheres are located, the electronic device can expand the card corresponding to the first sphere.
[0177] In response to the operation of the user to collapse the card 607, the electronic device displays as Figure 6 shown in c of.
[0178] In a possible implementation, in response to the user sliding the card set in the Figure 6 interface shown in c of, switching to other cards, and then switching to the card 607, the electronic device can display as Figure 6 shown in d of. This interface can include: a capsule button 608, a sphere 609, and a sphere 610. The capsule button 608 can correspond to the card 607, and the sphere 610 can correspond to the card 601.
[0179] Based on this, in the case where there are three cards in the card set, the electronic device can, according to the priority of the services, display a capsule button and two spheres when the card set is collapsed, and the identifier of the card can be included in any one of the spheres, so that the user can quickly identify which service initiated the push.
[0180] In a possible implementation, when there are three or more cards in the card set, in response to the user's operation of collapsing the card set, the electronic device may also display a capsule button and two spheres. An ellipsis icon may be displayed in the last sphere of the two spheres. This is not limited in the embodiments of the present application.
[0181] Exemplarily, Figure 7 is an interface schematic diagram of a display style switch provided by an embodiment of the present application Figure 3 。
[0182] In Figure 6 a or Figure 6 b of, when the electronic device receives a flight travel card pushed by the flight travel service, the electronic device may display an interface as shown in Figure 7 a. In this scenario, the card set may include four cards, which are, in sequence: a flight travel card (such as the following card 701), a today's schedule card, a sports health card, and a YOYO suggestion introduction card.
[0183] As Figure 7 shown in a, the interface may display: card 701. Card 701 may be a flight travel card, and the corresponding card name of card 701 may be displayed as: YOYO Suggestion · Flight Travel.
[0184] Card 701 may include: flight information and / or a button for indicating seat selection for check-in. For example, the flight information may include one or more of the following: scheduled to take off at 08:20, XX Airport T2, or check-in counter F07 - F11, etc.
[0185] In response to the operation of collapsing card 701, the electronic device displays an interface as shown in Figure 7 b. The interface may include: a capsule button 702, a sphere 703, a sphere 704, and a sphere 705. Sphere 704 and sphere 705 may be partially blocked. Sphere 703, sphere 704, and sphere 705 may jointly serve as a triggerable button, and the triggerable button is within a dashed box.
[0186] The capsule button 702 may display: the identifier of card 701 and / or a prompt message for indicating seat selection F07 - F11.
[0187] Sphere 703 may correspond to the today's schedule card, sphere 704 may correspond to the sports health card, and sphere 705 may correspond to other cards in the card set except card 701, the today's schedule card, and the sports health card. An ellipsis icon may be displayed in sphere 705.
[0188] As Figure 4Regarding the description of d, to save desktop space, the electronic device can display at most one capsule button and three spheres on the desktop, and an ellipsis icon is displayed inside the last sphere among the three spheres.
[0189] In a possible implementation, in response to a triggering operation by the user on the capsule button 704, the electronic device displays the interface as shown in Figure 7 a in
[0190] It can be understood that the spheres 703, 704, and 705 are within a dashed box. In response to a triggering operation by the user on the dashed box, the electronic device can expand the card content corresponding to the sphere 703. Further, when the user needs to view the card content corresponding to the sphere 705, the user can slide the card content corresponding to the sphere 703 up or down.
[0191] In a possible implementation, in response to a long sliding operation by the user on the card 701, the electronic device displays the interface as shown in Figure 7 c in Figure 7 The interface shown in c in
[0192] may include: the card 701, the card 601, the card 102, and the card 104.
[0193] It can be understood that due to the limitation of the size of the electronic device, after the electronic device receives a long sliding operation by the user, it can display at most 4 cards in the interface shown in Figure 7 c in Figure 7 And the user can view other cards in the card set by performing an up and down sliding operation on the interface shown in
[0194] Based on this, in the case where there are four or more cards in the card set, the electronic device can, according to the priority of the services, display one capsule button and three spheres when the card set is collapsed, and an ellipsis icon can be displayed inside the last sphere among the three spheres, so as to achieve the purpose of saving desktop space.
[0195] It can be understood that the above Figures 5 - 7 can be the display method when the electronic device receives a single service push card. Figure 8It can be the display mode when the electronic device receives two service push cards.
[0196] In a possible implementation, when receiving two service push cards, the electronic device can display the two cards simultaneously in the form of a card sleeve. Refer to Figure 8 the corresponding embodiment.
[0197] Exemplarily, Figure 8 This is a schematic diagram of an interface for display style switching provided by an embodiment of the present application. Figure 4 .
[0198] When the electronic device receives two service push cards and the two services meet the conditions of associated services or parallel services, the electronic device can display the two cards simultaneously in the card set. As shown in the interface of Figure 8 a, this interface may include: card 801 and card 802. Card 801 may be a card pushed by the departure reminder service, and card 802 may be a card pushed by the flight travel service.
[0199] In response to the user's operation of folding up the card set, the electronic device can display the interface as shown in Figure 8 b. This interface may include a capsule button 804 and a spherical button 805. Among them, the electronic device can determine the content displayed in the capsule button 804 and the spherical button 805 based on the priority of the service and the relationship between the two services (such as associated services or parallel services, etc.).
[0200] In one implementation, when the priority of the departure reminder service is lower than the priority of the flight travel service, the electronic device can display the card corresponding to the flight travel service in the capsule button 804.
[0201] 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 left card in the card set in the capsule button 804 and display the right card in the card set in the spherical button 805. This is not limited in the embodiments of the present application.
[0202] Among them, the meanings of associated services and parallel services can be referred to Figure 9 for the description, and will not be elaborated here.
[0203] 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 Figure 8 card set shown in a; or, in response to the user's triggering operation on the spherical button 805, the electronic device can display the departure reminder card in the Figure 8 card set shown in a.
[0204] Based on this, when the electronic device simultaneously pushes two services, in response to the user's operation of putting away the card set, the electronic device can display the capsule style corresponding to the card in the interface.
[0205] It can be understood that the above Figures 3 - 8 can be a schematic illustration when the electronic device is a mobile phone. When the electronic device is a large-screen device, the electronic device can perform card style switching based on the following Figure 9 corresponding embodiments. Among them, the large-screen device can be: a tablet, a foldable mobile phone, etc.
[0206] Figure 9 This is an interface schematic for display style switching provided by the embodiments of the present application Figure 5 . In Figure 9 the corresponding embodiment, taking the electronic device as a foldable mobile phone as an example for illustration, this illustration does not limit the embodiments of the present application.
[0207] As Figure 9 shown in the interface a in, the foldable mobile phone can support simultaneously displaying two YOYO suggestion card sets, namely card set 901 and card set 902. A departure reminder card can be displayed in card set 901, and a flight travel card can be displayed in card set 902.
[0208] 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 be used as the main card set, and card set 901 can be used as the secondary card set. The main card set can be used to display cards pushed by services with higher priorities, etc., and the embodiments of the present application do not limit this.
[0209] When the electronic device receives cards pushed by two services, and the two services satisfy associated services or parallel services, the electronic device can determine the cards to be displayed in card set 901 and card set 902 respectively based on the priority of the services.
[0210] The associated services or parallel services can be preset by the electronic device.
[0211] An associated service can be at least two services that are pushed to an electronic device simultaneously and have an associated relationship. The associated services can include important services and non-important services. The non-associated services are generated based on the important services. Generally, the priority of important services is higher than that of non-important services. For example, when the 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, enabling the user to understand the journey from the current location to the airport. Among them, the important service can be the flight travel service, and the non-important service can be the departure reminder card.
[0212] In this scenario, the electronic device can display the flight travel card in card set 902 and display the departure reminder card in card set 901, such as Figure 9 the interface shown in a of.
[0213] It can be understood that when the electronic device detects two services and the two services meet the conditions of associated services, the electronic device can determine the display position of the cards based on the priority of the services.
[0214] Parallel services can be at least two services that are pushed to an electronic device simultaneously. For example, when the electronic device simultaneously detects the need to push a schedule and introduce YOYO suggestions, the electronic device can display the today's schedule card (or YOYO suggestion introduction card) in card set 901 and display the YOYO suggestion introduction card (or today's schedule card) in card set 902, Figure 9 not shown in.
[0215] It can be understood that when the electronic device detects two services and the two services meet the conditions of parallel services, the electronic device can display the two parallel services in two card sets respectively.
[0216] When the electronic device displays the interface shown in a of Figure 9 , in response to the user's operation of collapsing card set 901 or collapsing card set 902, the electronic device displays the interface shown in Figure 9 b of. Figure 9 The interface shown in b of can include: a capsule button 903, a sphere 904, and a sphere 905. The sphere 904 and the sphere 905 can jointly serve as a triggerable button, and this triggerable button is within a dotted box.
[0217] The capsule button 903 can correspond to the flight travel service in the card set 902, the spherical ball 904 can correspond to the departure reminder service in the card set 901, and the spherical ball 905 can correspond to the YOYO suggestion introduction service in the card set 902. The YOYO suggestion introduction service can be covered under the flight travel service, so it cannot be directly displayed in the Figure 9 interface shown in a of
[0218] It can be understood that when two card sets are displayed on the electronic device, in response to the user's operation of folding up any one of the card sets, the electronic device can put the two card sets together.
[0219] When the electronic device displays the interface shown in Figure 9 a of Figure 9 in response to the user's long sliding operation on the card set 901 or the card set 902, the electronic device displays the interface shown in Figure 9 c of
[0220] All the cards in the card set can be displayed in the interface shown in c of
[0221] i.e., the departure reminder card, the flight travel card, and the YOYO suggestion introduction card. Figures 3 - 9 Based on the above
[0222] description, when the user removes all the cards in the card set, the electronic device cannot display any capsule. Figure 10 Exemplarily, Figure 6 is a schematic diagram of an interface for switching display styles provided by an embodiment of the present application. Figure 10 In the corresponding embodiment, taking the preset card as the YOYO suggestion introduction card as an example for illustration, this illustration does not constitute a limitation on the embodiment of the present application.
[0223] The electronic device displays the interface shown in Figure 10 a of Figure 5 This interface may include: a capsule button 502 and a spherical ball button 503. The content displayed in this interface may be the same as that shown in
[0224] b of Figure 10 and will not be described in detail here. Figure 5 In response to the user's triggering operation on the capsule button 502, the electronic device displays the interface shown in b of
[0225] In response to the user removing the sports health card and the YOYO recommendation introduction card from the card set 101, the electronic device can jump to Figure 10 the interface shown in c of Figure 10 In the interface shown in c of
[0226] In a possible implementation, the electronic device can also provide a fallback strategy, that is, when the user removes all the cards in the card set, the electronic device can display a preset capsule button. In this scenario, even if the user deletes all the cards in the card set, the electronic device can retain the capsule button corresponding to the preset card to ensure the availability of the function.
[0227] In a possible implementation, when the electronic device deletes the sports health application, in response to the user's operation of selecting the weather clock + sports health style, the electronic device can prompt the user to restore the sports health application.
[0228] Exemplarily, Figure 11 is a schematic diagram of an interface for restoring an application provided by an embodiment of the present application.
[0229] The electronic device displays an interface as shown in Figure 11 a of Figure 3 This interface may include: a button 1101, and the button 1101 is used to default display a weather clock card and a sports health card at the position where the card set 101 is located. The content displayed in this interface may be similar to the interface shown in
[0230] As Figure 11 shown in a of
[0231] In the case where there is no sports health application in the electronic device, in response to the user's triggering operation on the button 1101, the electronic device displays an interface as shown in Figure 11 b of
[0232] This interface may include a window 1102, and the window 1102 may include: a prompt message for indicating whether to restore the sports health application, a cancel button, and a restore button 1103. Figure 11 In response to the triggering operation on the restore button 1103, after the electronic device restores the sports health application, the electronic device can display an interface as shown in
[0233] In response to a trigger operation on the recovery button 1103, after the electronic device fails to recover the sports health application, the electronic device may display an interface as shown in Figure 11 d in the figure. A prompt message 1104 may be displayed in this interface, and the prompt message 1104 is used to prompt that the recovery of the sports health application fails. In this scenario, the electronic device cannot switch to the weather clock + sports health style.
[0234] 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.
[0235] Based on Figures 3 - 11 the description in the figure, the electronic device can store the desktop cards in smaller UI elements (such as capsule buttons or spherical buttons, etc.). When there is a card push, the electronic device can use the dynamic change of the smaller UI elements to feedback the service information reached. Reduce the impact on the overall desktop aesthetics when large service cards are stacked on the desktop.
[0236] In a possible implementation, Figures 5 - 11 the display method described in the figure can be applied not only to the card set on the desktop, but also to the card set on the negative first screen, or the card set on the lock screen interface or other interfaces, etc. This application embodiment does not make a limitation in this regard.
[0237] Combined with the above Figures 3 - 11 description, Figure 12 is a schematic diagram of the steps of a display method provided by an embodiment of this application. The display method may include the following steps:
[0238] S1201. The electronic device displays a first interface.
[0239] The first interface includes a first card set and a first button. The first card set includes N cards, and the card displayed on the top layer among the N cards is the first card, where N is an integer greater than 0.
[0240] The first interface may be Figure 5 the interface shown in a in the figure, the first button may be Figure 5 the first target button described in the figure, and the first card may be card 102.
[0241] S1202. In response to a first operation on the first button, the electronic device displays a second button in the first interface and does not display the first card set and the first button.
[0242] The display area occupied by the second button is smaller than the display area occupied by the first card set.
[0243] The first operation may be a trigger operation on the first target button, and the meaning of the first target button may be referred to Figure 5the description in
[0244] such as Figure 5 For the interface shown in b in , the second button may be the capsule button 502.
[0245] S1203. In response to a second operation on the second button, the electronic device displays a first card set and a first button on the first interface, and does not display the second button.
[0246] The second operation may be a triggering operation on the capsule button 502.
[0247] It can be understood that the electronic device can, based on the first operation, implement the folding of the first card set into the second button. Since the display area occupied by the second button is smaller than that occupied by the first card set, the folding of the card set achieves the effect of saving the desktop display area.
[0248] Furthermore, the electronic device can also, based on the second operation, expand the second button into the first card set, enabling the user to flexibly view the card content through a simple trigger.
[0249] In a possible implementation, among the N cards, the card located below the first card is the second card. Displaying the second button on the first interface includes: displaying the second button and a third button on the first interface.
[0250] Among them, 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 that occupied by the second button.
[0251] The second card may be card 104. Such as Figure 5 For the interface shown in b in , the third button may be the spherical button 503.
[0252] In the case where the card set includes two cards, the electronic device can implement the folding of the two cards into two buttons of different sizes to reduce the occupation of the desktop display space.
[0253] In a possible implementation, 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.
[0254] The third operation may be a triggering operation on the spherical button 503. After responding to the third operation on the third button, the electronic device displays the interface shown in c in and expands card 104. Figure 5 For the interface shown in c in .
[0255] The fourth operation on the first button can be understood as an operation to collapse the card set (or collapse card 104).
[0256] Based on this, the electronic device can not only collapse the card set into a button, but also, based on the user's operation of expanding the button, display the corresponding cards in the card set, facilitating the user to view the card content at any time.
[0257] In a possible implementation, the method further includes: in response to a 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 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 in the first interface and displaying the second card in the first card set; in response to a seventh operation on the first button, displaying the fourth button and the fifth button in the first interface, where 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 an identifier of the second card, and the fifth button includes an identifier of the first card.
[0258] The fifth operation can be a triggering operation on the spherical button 503. The operation on the second card can be understood as the user's operation of swiping the second card, and at this time, the first card can be displayed in the first card set. The sixth operation on the first card set can be understood as the operation of swiping the first card set, and at this time, the second card can be displayed again in the first card set. The seventh operation on the first button can be understood as the operation of collapsing the first card set.
[0259] The fourth button can be the capsule button 505, and the fifth button can be the spherical button 506.
[0260] Based on this, when the user views card 104 and views card 104 again through a triggering operation on the card set, the electronic device can display the capsule corresponding to card 104 when collapsing the card set. In this way, the electronic device can identify the cards that the user switches back and forth or views multiple times as relatively important cards and collapse the cards into capsules.
[0261] In a possible implementation, the first card is a card pushed by the first service, and the second card is a card pushed by the second service. Displaying the second button and the third button in 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 in the first interface.
[0262] The first service can be a sports health service, and the second service can be YOYO suggestions.
[0263] 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 higher priority is displayed in a button that occupies a larger display area, and a service card with a lower priority is displayed in a button that occupies a smaller display area.
[0264] In a possible implementation, displaying a second button on the first interface includes: displaying a 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 location information.
[0265] The electronic device can also display the first information while displaying the button, so that the user can view more other information while closing the card set.
[0266] In a possible implementation, after displaying the first interface, the method further includes: in response to an eighth operation on the first card set; displaying a first window on the first interface, where the first window includes: a sixth button for setting the display style; in response to an operation on the sixth button, displaying 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; displaying the second button and the first information on the first interface includes: when the seventh button is selected, displaying the second button and the first information on the first interface.
[0267] The eighth operation on the first card set can be an operation on card set 101. As Figure 3 shown in the interface b in, the first window can be window 303, and the sixth button can be button 304. As Figure 3 shown in the interface c in, the second window can be window 305, and the seventh button can be button 306.
[0268] 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, facilitating the user to select a suitable display style according to needs.
[0269] In a possible implementation, the method further includes: in response to receiving a third card, displaying a first button on the first interface and displaying the third card in the first card set; in response to a ninth operation on the first button, displaying an eighth button and a ninth button on the first interface, and not displaying 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, displaying the first card or the second card in the first card set.
[0270] The third card may be Figure 6 the today's schedule card described in. The ninth operation on the first button can be understood as an operation to collapse the card set.
[0271] As Figure 6 shown in b of, the eighth button may be button 604, and the ninth button may be a button (or a small button) composed of sphere 605 and sphere 606.
[0272] Based on this, when there are three cards in the card set, the electronic device can implement collapsing the three cards into two buttons, one large and one small. The small button may include the identifiers of two cards to reduce the occupation of the desktop display space.
[0273] In a possible implementation, after receiving the third card, the method further includes: in response to receiving the 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, where the tenth button includes: the identifier of the fourth card, the eleventh button displays the first identifier and the 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 the operation on the eleventh button, displaying the first card, or the second card, or the third card in the first card set.
[0274] The fourth card may be Figure 7 the flight travel card described in. The tenth operation on the first button can be understood as an operation to collapse the card set.
[0275] As Figure 7 shown in b of, the tenth button may be button 702, and the eleventh button may be a button (or a small button) composed of sphere 703, sphere 704, and sphere 705.
[0276] The first identifier may be the ellipsis identifier in sphere 705, and the second identifier may include: the description in sphere 703 and the identifier in sphere 704.
[0277] Based on this, when there are four cards in the card set, the electronic device can implement collapsing the four cards into two buttons, one large and one small. The small button may include the identifiers of two cards and an ellipsis identifier to reduce the occupation of the desktop display space.
[0278] 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.
[0279] In a possible implementation, the method further includes: in response to receiving the fifth card and the sixth card simultaneously, displaying a first button in the first interface, and simultaneously displaying the fifth card and the sixth card in the first card set; in response to an eleventh operation on the first button, displaying a twelfth button and a thirteenth button in the first interface, and not displaying the first card set and the first button, where 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: the identifier of the fifth card, and the thirteenth button includes: the identifier of the sixth card.
[0280] The fifth card may be Figure 8 the flight travel card described in Figure 8 and the sixth card may be
[0281] the departure reminder card described in Figure 8 As shown in the interface b in
[0282] Based on this, when the electronic device simultaneously pushes two cards, the electronic device can also achieve the folding up of the two cards to save desktop space.
[0283] In a possible implementation, when the fifth card is a card pushed by a third service and the sixth card is a card pushed by a fourth service, displaying 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, displaying the twelfth button and the thirteenth button in the first interface.
[0284] When the electronic device simultaneously receives two cards, the electronic device can also determine the content displayed in the button after folding up based on the priority when folding up the card set, such as displaying the content of the card with a higher priority in the large button for the user to view at any time.
[0285] 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: a first card and a second card.
[0286] 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 with a sliding distance greater than a distance threshold.
[0287] The second interface may beFigure 7 the interface shown as c in Figure 9 the interface shown as c in
[0288] Based on this, due to the limitation of the size of the electronic device, the electronic device can display all the cards in the card set in the second interface after receiving a long sliding operation from the user, improving the efficiency of the user to view the cards.
[0289] In a possible implementation, after displaying the first interface, the method further includes: when the display duration of the third interface reaches a first time threshold, displaying a second button in the first interface, and not displaying the first card set and the first button, where the third interface is an interface different from the first interface.
[0290] The first time threshold can be a value such as 15 seconds.
[0291] Based on this, the electronic device can switch from the card style to the capsule style after the duration of leaving the screen where the card set is located reaches a duration such as 15 seconds. Avoiding the card set occupying the display area for a long time.
[0292] In a possible implementation, after displaying the second button in 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.
[0293] Based on this, the electronic device can cancel the display of the button after all the cards in the card set are removed, so as to achieve the unity between the card set and the button.
[0294] In a possible implementation, the first interface further includes: a second card set, and the method further includes: in response to receiving the fifth card and the sixth card simultaneously, displaying a fourteenth button and a 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, where 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, displaying a sixteenth button and a seventeenth button in the first interface, and not displaying the first card set, the second card set, the fourteenth button, and the fifteenth button, where 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.
[0295] Such as Figure 9 shown as a in
[0296] The fourteenth button may be a button for collapsing the first card set, and the fifteenth button may be a button for collapsing 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 sphere 904 is located.
[0297] In the case where an electronic device includes multiple card sets, the electronic device may also, based on an operation on any card, collapse two card sets into buttons and display the identifier of the larger card set in the button that occupies a larger display area, facilitating the user to view the situation of the cards at any time.
[0298] It should be noted that the module names involved in the embodiments of the present application can all be defined as other names, as long as the functions of each module can be achieved, and no specific restrictions are imposed on the module names.
[0299] 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 for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data that have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation entrances are provided for the user to select authorization or rejection.
[0300] The display method of the embodiments of the present application has been described above. Next, a device for executing the above method provided by the embodiments of the present application will be described. Those skilled in the art can understand that the method and the device can be combined and cited with each other, and the relevant device provided by the embodiments of the present application can execute the steps in the above list sorting method.
[0301] As Figure 13 shown, Figure 13 is a schematic structural diagram of a display device provided by an embodiment of the present application. The display device may be the electronic device in the embodiment of the present application, or a chip or a chip system in the electronic device.
[0302] As Figure 13 shown, the display device 1300 may be used in a communication device, a circuit, a hardware component, or a chip. The display device 1300 includes: a display unit 1301 and a processing unit 1302. Among them, the display unit 1301 is used to support the display steps of the display method; the processing unit 1302 is used to support the information processing steps of the display device 1300.
[0303] In a possible implementation manner, the display device 1300 may further include a communication unit 1303, and the communication unit 1303 is used to support the display device 1300 to execute steps such as receiving or sending messages.
[0304] The display devices described in the embodiments of the present application may all include Figure 13 the units described in the corresponding embodiments.
[0305] Specifically, the processing unit 1302 and the display unit 1301 may be integrated together, and communication may occur between the processing unit 1302 and the display unit 1301.
[0306] In a possible implementation manner, the display device 1300 may further include: a storage unit 1304. Wherein, the storage unit 1304 may include one or more memories, and the memory may be a device or a component in one or more devices or circuits for storing programs or data.
[0307] The storage unit 1304 may exist independently and be connected to the processing unit 1302 through a communication bus. The storage unit 1304 may also be integrated with the processing unit 1302.
[0308] Taking the display device 1300 as an example of a chip or a chip system of an electronic device in the embodiments of the present application, the storage unit 1304 may 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 embodiments. The storage unit 1304 may be a register, a cache, or a random access memory (RAM), etc., and the storage unit 1304 may be integrated with the processing unit 1302. The storage unit 1304 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, and the storage unit 1304 may be independent of the processing unit 1302.
[0309] In a possible implementation manner, the display device 1300 may further include: a communication unit 1303. Wherein, the communication unit 1303 is used to support the display device 1300 to interact with other devices. Exemplarily, when the display device 1300 is an electronic device, the communication unit 1303 may be a communication interface or an interface circuit. When the display device 1300 is a chip or a chip system inside an electronic device, the communication unit 1303 may be a communication interface. For example, the communication interface may be an input / output interface, a pin, or a circuit, etc.
[0310] The device in this embodiment can correspondingly be used to execute the steps executed in the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here.
[0311] Figure 14 It is a schematic diagram of the hardware structure of another electronic device provided by the embodiments of the present application.
[0312] The electronic device includes a processor 1401, a communication line 1404, and at least one communication interface ( Figure 14 exemplarily, the communication interface 1403 is taken as an example for illustration).
[0313] The processor 1401 can 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 solution.
[0314] The communication line 1404 may include a circuit for transmitting information between the above components.
[0315] The communication interface 1403 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.
[0316] Possibly, the electronic device may further include a memory 1402.
[0317] The memory 1402 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or it can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store the 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 can exist independently and be connected to the processor through the communication line 1404. The memory can also be integrated with the processor.
[0318] Among them, the memory 1402 is used to store computer execution instructions for executing the present application solution, and is controlled by the processor 1401 to execute. The processor 1401 is used to execute the computer execution instructions stored in the memory 1402, so as to implement the method provided by the embodiments of the present application.
[0319] 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 make specific limitations in this regard.
[0320] In a specific implementation, as an embodiment, the processor 1401 may include one or more CPUs. For example, Figure 14 CPU0 and CPU1 in
[0321] In a specific implementation, as an embodiment, an electronic device may include multiple processors. For example, Figure 14 processor 1401 and processor 1405 in
[0322] In the above embodiments, the instructions stored in the memory for the processor to execute may be implemented in the form of a computer program product. Among them, the computer program product may be pre-written in the memory or may be downloaded and installed in the memory in the form of software.
[0323] The display method provided by the embodiments of the present application can be applied to an electronic device with a communication function. The electronic device includes a terminal device, and the specific device form of the terminal device and the like can refer to the above relevant descriptions, which will not be elaborated here.
[0324] The embodiments of the present application provide 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.
[0325] The embodiments of the present application provide a chip. The chip includes a processor, and the processor is used to call a computer program in the memory to execute the technical solutions in the above embodiments. The implementation principle and technical effects are similar to the above relevant embodiments, which will not be elaborated here.
[0326] 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 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. The computer-readable medium may include a computer storage medium and a communication medium, and may also include any medium that can transfer a computer program from one place to another. The storage medium may be any target medium accessible by a computer.
[0327] In one possible implementation, the computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM), or other optical disc storage, magnetic disk storage, or any other medium targeted to carry or store the required program code in the form of instructions or data structures and accessible by a computer. Moreover, any connection is properly termed a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. As used herein, disk and optical disc include optical disc, laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically, while optical discs utilize lasers to optically reproduce data. Combinations of the above should also be included within the scope of computer-readable media.
[0328] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run, it causes the computer to execute the above method.
[0329] Embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to generate a machine, such that the instructions executed by the processing unit of the computer or other programmable data processing device generate means for implementing the functions specified in one Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0330] The above specific implementation manners further elaborate on the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above are only specific implementation manners of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solution of the present invention should be included within the protection scope 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, characterized in that, 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, characterized in that, 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 to 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; A first window is displayed on the first interface, and the first window includes: a sixth button for setting a display style; In response to an operation on the sixth button, a second window is displayed in the first interface, and 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; The second button and first information are displayed on the first interface, including: when the seventh button is selected, the second button and the first information are displayed 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, the first button is displayed on the first interface, and the third card is displayed in the first card set; In response to a ninth operation on the first button, an eighth button and a ninth button are displayed on the first interface, and the first card set and the first button are not displayed. 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, the first card or the second card is displayed 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, the first button is displayed on the first interface, and the fourth card is displayed in the first card set; In response to a tenth operation on the first button, a tenth button and an eleventh button are displayed on the first interface, and the first card set and the first button are not displayed. The tenth button includes: an identifier of the fourth card, and the eleventh button displays a first identifier and a second identifier. The second identifier includes two identifiers of the identifier of the first card, the identifier of the second card, and the identifier of 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, the first card, or the second card, or the third card is displayed 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 to 10, characterized in that, The method further includes: In response to a simultaneously received fifth card and sixth card, the first button is displayed on the first interface, and the fifth card and the sixth card are simultaneously displayed 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 enable 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 an 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 an 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
Cited By
Display method and apparatus
EP4760498A1
Display method and apparatus
WO2025148662A1