Card display method and electronic device

By displaying a card window in response to the user's shake action on the electronic device, the problem of cumbersome operation caused by too many icons on the electronic device desktop is solved, realizing convenient card display and real-time updates, and improving the user experience.

WO2026061061A1PCT designated stage Publication Date: 2026-03-26HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-06-28
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

When there are too many icons on the desktop of an electronic device, users need to swipe the screen to switch desktop pages to find the cards, which is a cumbersome operation.

Method used

By responding to the user's shaking action, a card window is displayed. The card window is located above the current interface, displays at least one target card, and supports updating and closing card data. The shaking action is detected by a sensor to improve accuracy.

Benefits of technology

It reduces the number of steps users need to take to view cards, improves the user experience, provides a convenient card display solution, supports real-time updates and quick closing, and meets users' needs for quick access to information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025105188_26032026_PF_FP_ABST
    Figure CN2025105188_26032026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a card display method and an electronic device. The method comprises: in response to a first shaking operation of a user, an electronic device displaying a card window, the card window being located above a first interface, and the first interface being the interface displayed by the electronic device before displaying the card window; and displaying at least one target card in the card window. By means of the solution, a user can trigger a first shaking operation on an electronic device to invoke a card window, and the card window can display at least one target card, thereby providing a convenient card display solution, reducing the number of operation steps required for users to view cards, and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Card display method and electronic device

[0001] Cross-reference to Related Applications

[0002] This application claims priority to the Chinese Patent Application No. 202411302995.7, filed on September 18, 2024, and entitled "Card display method and electronic device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application relates to the technical field of terminals, and in particular to a card display method and an electronic device. BACKGROUND

[0004] With the rich functions of electronic devices, the types and quantities of icons that can be displayed in the desktop of the electronic device are also increasing, such as application icons of applications, folders, cards, desktop widgets, etc. that can be displayed in the desktop of the electronic device, and the folder can accommodate multiple application icons. When there are more and more icons in the desktop of the electronic device, the desktop will manage multiple icons in split screens, and the desktop includes multiple desktop pages, each desktop page includes at least one icon, and the user needs to swipe the screen to switch the desktop page currently displayed by the electronic device to find the card that the user wants to view, which is relatively cumbersome. SUMMARY

[0005] The present application provides a card display method and an electronic device to provide a convenient card display scheme.

[0006] In a first aspect, the present application provides a card display method, which can be executed by an electronic device, and the method includes: in response to a first shaking operation of a user, the electronic device displays a card window, the card window is located above a first interface, the first interface is an interface displayed by the electronic device before displaying the card window; and displaying at least one target card in the card window.

[0007] In the above method, the user can trigger the first shaking operation of the electronic device to call out the card window, and at least one target card can be displayed in the card window, thereby providing a convenient card display scheme, reducing the operation steps of the user when viewing the card, and improving the user experience.

[0008] In a possible design, the method further includes: in response to a second operation of the user, obtaining data of the at least one target card; and updating content in the at least one target card in the card window according to the data of the at least one target card. With this design, the electronic device can update the content in the card displayed in the card window according to the operation of the user, thereby providing a method of updating the content in the card triggered by the user, so that the user can learn the latest information provided by the card in time.

[0009] For example, the second operation can be a shaking operation, for example, the second operation can be a clockwise shaking operation of the electronic device.

[0010] In a possible design, the method further includes: in response to a third operation of the user, closing the card window. With this design, the electronic device can quickly close the card window according to the operation of the user, and the electronic device can continue to display the previous first interface, thereby saving the operation step of the user for closing the card and improving the user experience.

[0011] For example, the third operation can be a shaking operation, for example, the third operation can be an anticlockwise shaking operation of the electronic device.

[0012] In a possible design, the at least one target card includes at least one of the following: a preconfigured card, a card customized by the user, a card with a use frequency greater than a preset threshold, a card recently used by the user, or a card determined based on a recommendation algorithm according to the use habit of the user. With this design, the card displayed in the card window of the electronic device can be determined according to multiple ways and multiple information, thereby presenting the card that the user can be interested in to the user and meeting the demand of the user for quickly obtaining the information of the card.

[0013] In a possible design, the first interface is any one of a desktop, a lock screen interface, an always-on display (AOD) interface, a negative one screen interface, or an application interface. With this design, the electronic device can display the card window on the interface when displaying multiple interfaces, so that the user can view the card window without exiting the interface currently viewed, thereby improving the user experience.

[0014] In a possible design, the displaying of the at least one target card in the card window includes: obtaining data of a cached first card, the first card being any one of the at least one target card; determining that the data of the cached first card is valid; and displaying the first card in the card window according to the data of the cached first card. With this design, the electronic device can cache the data of multiple cards, and the electronic device can display the card in the card window according to the data of the card that is not invalid, thereby improving the efficiency of displaying the card.

[0015] In a possible design, the displaying of the at least one target card in the card window includes: obtaining data of a second card from a first application to which the second card belongs, the second card being any one of the at least one target card; and displaying the second card in the card window according to the data of the second card. Through this design, the electronic device can obtain the data of the card from the application to which the card belongs, so as to guarantee the validity of the obtained data, and further provide the user with accurate and timely card information.

[0016] In a possible design, the displaying of the at least one target card in the card window includes: displaying the at least one target card in the card window according to a preset animation effect. Through this design, the electronic device can display the at least one card in the card window according to the preset animation effect, thereby improving the interestingness of the card display.

[0017] In a possible design, the method further includes: obtaining a sensor parameter of the electronic device, determining an acceleration parameter of the electronic device in a plurality of directions of a set coordinate system according to the sensor parameter, and determining that the first shaking operation is triggered by the user when the acceleration parameter meets a preset condition; wherein the sensor parameter is collected from at least one of the following sensor devices in the electronic device: a gyroscope sensor, an acceleration sensor or a gravity sensor. Through this design, the electronic device can detect that the first shaking operation is triggered by the user according to the sensor data obtained by the sensor, so as to guarantee the accuracy of the detection of the first shaking operation by the electronic device.

[0018] In a possible design, each of the at least one target card includes a control and / or multimedia content.

[0019] In a second aspect, the present application provides an electronic device, including a plurality of function modules; the plurality of function modules interact with each other to implement the method performed by the electronic device in any of the aspects and the embodiments thereof. The plurality of function modules can be implemented based on software, hardware or the combination of software and hardware, and the plurality of function modules can be arbitrarily combined or divided based on the specific implementation.

[0020] In a third aspect, the present application provides an electronic device, including at least one processor and at least one memory, the at least one memory storing computer program instructions, and the electronic device, when running, the at least one processor executing the method performed by the electronic device in any of the aspects and the embodiments thereof.

[0021] In a fourth aspect, the present application further provides a computer program product including instructions, when the computer program product runs on a computer, so that the computer executes the method performed by the electronic device in any of the aspects and the embodiments thereof.

[0022] In a fifth aspect, a computer readable storage medium is provided, which stores a computer program. When the computer program is executed by a computer, the computer is enabled to perform the method performed by the server or the electronic device in any one of the above aspects and embodiments.

[0023] In a sixth aspect, a chip is provided, which is used to read a computer program stored in a memory, and perform the method performed by the electronic device in any one of the above aspects and embodiments.

[0024] In a seventh aspect, a chip system is provided, which comprises a processor, and is used to support a computer device to perform the method performed by the electronic device in any one of the above aspects and embodiments. In a possible design, the chip system further comprises a memory, which is used to store necessary programs and data of the computer device. The chip system can be composed of a chip, or can include a chip and other discrete devices. BRIEF DESCRIPTION OF DRAWINGS

[0025] FIG. 1 is a schematic diagram of an electronic device displaying a card;

[0026] FIG. 2 is a schematic diagram of a scenario to which a card display method provided by an embodiment of the present application is applicable;

[0027] FIG. 3 is a schematic diagram of a structure of an electronic device provided by an embodiment of the present application;

[0028] FIG. 4 is a software structure block diagram of an electronic device provided by an embodiment of the present application;

[0029] FIG. 5 is a schematic diagram of a card display method provided by an embodiment of the present application;

[0030] FIG. 6 is a schematic diagram of a card display method provided by an embodiment of the present application;

[0031] FIG. 7 is a schematic diagram of a card display method provided by an embodiment of the present application;

[0032] FIG. 8 is a schematic diagram of a card display method provided by an embodiment of the present application;

[0033] FIG. 9 is a schematic diagram of a card display method provided by an embodiment of the present application;

[0034] FIG. 10 is a schematic diagram of a card display method provided by an embodiment of the present application;

[0035] FIG. 11 is a schematic diagram of a card display method provided by an embodiment of the present application;

[0036] FIG. 12 is a flowchart of a card display method according to an embodiment of the present application;

[0037] FIG. 13 is a flowchart of a card display method according to an embodiment of the present application;

[0038] FIG. 14 is a structural diagram of a card display device according to an embodiment of the present application;

[0039] FIG. 15 is a structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings. In the description of the embodiments of the present application, the terms “first” and “second” are used only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with “first” and “second” can explicitly or implicitly include one or more of the features.

[0041] It should be understood that “at least one” in the embodiments of the present application means one or more, and “multiple” means two or more. “And / or” describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can mean that A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character “ / ” generally represents an “or” relationship between the associated objects. “At least one of the following” or the like means any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b or c, can mean a, b, c, a and b, a and c, b and c, or a, b and c, where a, b and c can be single or multiple.

[0042] The desktop of the electronic device can display multiple types of icons, such as application icons of applications installed in the electronic device, shortcut icons, folders, cards, desktop widgets, etc., wherein the folders can be further divided into large folders and small folders, and the folders can be used to store multiple application icons or shortcuts. When the number of icons in the electronic device is large, the electronic device needs to manage multiple icons in split screens, and at this time, the desktop of the electronic device includes multiple desktop pages, each of which includes at least one icon, and the user needs to swipe the screen to switch the currently displayed desktop page of the electronic device to find the card that the user wants to view, which is relatively cumbersome to operate.

[0043] For example, the user can add the card to a desktop, a negative one screen and the like of the electronic device, FIG. 1 is a schematic diagram of an electronic device displaying a card, referring to (a) of FIG. 1, the negative one screen of the electronic device can display the card of the application, such as the card 101 of the weather application, the card 102 of the parking navigation of the map application and the like, referring to (b) of FIG. 1, the desktop of the electronic device can also display the card of the application, such as the card 101 of the weather application in the desktop. When the user wants to view the card of a certain application, the user needs to operate the electronic device to display the negative one screen, or operate the electronic device to display the desktop page where the card is located.

[0044] Based on the above problems, the embodiment of the present application provides a card display method, FIG. 2 is a schematic diagram of a scene suitable for the card display method provided by the embodiment of the present application, referring to FIG. 2, the scene includes an electronic device 201, optionally, the scene can also include a server 202, the server 202 can be a manufacturer server, a cloud server of the electronic device, or can be an application server of a third-party application installed in the electronic device 201. The server 202 can be used to provide the data corresponding to the card to the electronic device 201, so that the electronic device 201 can display the card according to the data corresponding to the card obtained.

[0045] In the card display method provided by the embodiment of the present application, in response to the first shaking operation of the user, the electronic device displays a card window, the card window is located above the first interface, the first interface is the interface displayed by the electronic device before displaying the card window, and the electronic device displays at least one target card in the card window. Through this way, the user can trigger the first shaking operation of the electronic device to call out the card window, the card window can include at least one target card, a convenient card display scheme is provided, the operation steps of the user when viewing the card are reduced, and the user experience is improved.

[0046] The following describes embodiments of electronic devices and for using such electronic devices. The electronic device of the embodiment of the present application can be a tablet computer, a mobile phone, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a wearable device and the like, and the specific type of the electronic device is not limited in the embodiment of the present application.

[0047] In some embodiments of the present application, the electronic device can also be a portable terminal device that further includes other functions such as personal digital assistant and / or music player functions. Exemplary embodiments of the portable terminal device include, but are not limited to, portable terminal devices equipped with or other operating systems.

[0048] FIG. 3 is a structural schematic diagram of an electronic device 100 according to an embodiment of the present application. As shown in FIG. 3, the electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0049] The processor 110 can include one or more processing units. For example, the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors. The controller can be the nervous system and command center of the electronic device 100. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions. The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that have just been used or are frequently used by the processor 110. If the processor 110 needs to use the instructions or data again, it can directly call them from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the system.

[0050] The USB interface 130 is an interface conforming to the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and a peripheral device. The charging management module 140 is configured to receive charging input from the charger. The power management module 141 is configured to connect the battery 142 and the charging management module 140. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160, etc.

[0051] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc. The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0052] The mobile communication module 150 can provide a solution including 2G / 3G / 4G / 5G wireless communication applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert the signals into electromagnetic waves to be radiated by the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be arranged in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 can be arranged in the same device.

[0053] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave via the antenna 2, frequency-modulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and radiate it as an electromagnetic wave via the antenna 2.

[0054] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0055] The display screen 194 is configured to display a display interface of an application, for example, a display page of an application installed on the electronic device 100, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the electronic device 100 can include one or N display screens 194, where N is a positive integer greater than 1.

[0056] The camera 193 is configured to capture a still image or a video. An object generates an optical image through a lens and projects the optical image to a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts an optical signal into an electrical signal, and then transmits the electrical signal to an ISP to convert the electrical signal into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into an image signal in a standard format, such as RGB, YUV, or the like. In some embodiments, the electronic device 100 can include one or N cameras 193, where N is a positive integer greater than 1.

[0057] The internal memory 121 can be configured to store computer-executable program codes including instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, software codes of at least one application program, and the like. The data storage area can store data generated during use of the electronic device 100, such as captured images, recorded videos, and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can further include a non-volatile memory, such as at least one of a magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.

[0058] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to extend the memory capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures and videos are saved in the external memory card.

[0059] The electronic device 100 can implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music playing, recording, etc.

[0060] The sensor module 180 can include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, a gyroscope sensor 180D, etc.

[0061] The pressure sensor 180A is used to sense a pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194.

[0062] The touch sensor 180C is also referred to as a "touch panel". The touch sensor 180C can be disposed on the display screen 194, and the touch sensor 180C and the display screen 194 together form a touch screen, also referred to as a "touch screen". The touch sensor 180C is used to detect a touch operation acting on or near the touch sensor 180C. The touch sensor can transmit the detected touch operation to the application processor to determine the touch event type. The display screen 194 can provide visual output related to the touch operation. In other embodiments, the touch sensor 180C can also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0063] In the embodiments of the present application, the acceleration sensor 180B and the gyroscope sensor 180D of the electronic device can detect the change in the posture of the user when holding the electronic device to obtain the acceleration data of the X, Y, and Z directions of the electronic device in a set coordinate system, and then the electronic device can determine whether the current user operation is a preset operation according to the acceleration data, such as whether the user triggers the operation of rotating the electronic device clockwise.

[0064] The keys 190 include a power key, a volume key, and the like. The keys 190 can be mechanical keys. Alternatively, the keys 190 can be touch keys. The electronic device 100 can receive key input, and generate key signal input related to user settings and function control of the electronic device 100. The motor 191 can generate a vibration cue. The motor 191 can be used for incoming call vibration cues, and can be used for touch vibration feedback. For example, touch operations for different applications (e.g., photographing, audio playback, and the like) can correspond to different vibration feedback effects. The touch vibration feedback effects can also be customizable. The indicator 192 can be an indicator light, and can be used to indicate a charging state, a power change, and can be used to indicate a message, a missed call, a notification, and the like. The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the electronic device 100.

[0065] It can be understood that the components shown in FIG. 3 do not constitute a specific limitation on the electronic device 100, and the electronic device can further include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. In addition, the combination / connection relationship between the components in FIG. 3 can also be adjusted and modified.

[0066] FIG. 4 is a software structure block diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 4, the software structure of the electronic device can be a layered architecture, for example, the software can be divided into several layers, each layer has a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the operating system is divided into four layers, from top to bottom, the application layer, the application framework layer (FWK), the runtime and system library, and the kernel layer.

[0067] The application layer can include a series of application packages. As shown in FIG. 4, the application layer can include a camera, a setting, a skin module, a user interface (UI), a third-party application, and the like. Among them, the third-party application can include a gallery, a calendar, a call, a map, a navigation, a WLAN, a Bluetooth, music, a video, a short message, and the like.

[0068] The application framework layer provides an application programming interface (API) and a programming framework for the applications of the application layer. The application framework layer can include some pre-defined functions. As shown in FIG. 4, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager.

[0069] The window manager is used to manage windows programs. The window manager can get the display screen size, determine whether there is a status bar, lock the screen, and take screenshots, etc. The content provider is used to store and obtain data, and make the data accessible to the application program. The data can include videos, images, audio, dialed and received calls, browsing history and bookmarks, phonebook, etc.

[0070] The view system includes visual controls, such as controls that display text, controls that display pictures, etc. The view system can be used to build an application program. A display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon can include a view that displays text and a view that displays a picture.

[0071] The phone manager is used to provide the communication function of the electronic device. For example, the management of the call state (including call connection, call hang-up, etc.).

[0072] The resource manager provides various resources for the application program, such as localized strings, icons, pictures, layout files, video files, etc.

[0073] The notification manager enables the application program to display notification information in the status bar, which can be used to convey a type of message that can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform the completion of the download, message reminders, etc. The notification manager can also be a notification that appears in the form of a chart or a scroll bar text in the top status bar of the system, such as a notification of an application program running in the background, and can also be a notification that appears in the form of a dialogue window on the screen. For example, prompting text information in the status bar, issuing a prompt sound, the electronic device vibrating, the indicator light flashing, etc.

[0074] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.

[0075] The core library contains two parts: one part is the function function that the java language needs to call, and the other part is the core library of the operating system. The application program layer and the application program framework layer run in the virtual machine. The virtual machine executes the java file of the application program layer and the application program framework layer into a binary file. The virtual machine is used to perform the management of the object life cycle, the stack management, the thread management, the security and exception management, and the garbage collection, etc.

[0076] The system library can include multiple functional modules. For example: surface manager, media library, three-dimensional graphics processing library (for example: OpenGL ES), two-dimensional graphics engine (for example: SGL), image processing library, etc.

[0077] The surface manager is used to manage the display subsystem and provides 2D and 3D layer fusion for multiple applications.

[0078] The media library supports playback and recording of multiple commonly used audio, video formats, and static image files. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, and the like.

[0079] The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, synthesis, and layer processing.

[0080] The 2D graphics engine is a drawing engine for 2D drawing.

[0081] The kernel layer is a layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.

[0082] The hardware layer can include various sensors, such as an acceleration sensor, a gyroscope sensor, and a touch sensor.

[0083] It should be noted that the structure shown in FIG. 3 and FIG. 4 is only an example of the electronic device provided by the embodiments of the present application, and cannot limit the electronic device provided by the embodiments of the present application in any way. In specific implementation, the electronic device can have more or fewer devices or modules than the structure shown in FIG. 3 or FIG. 4.

[0084] The card display method provided by the embodiments of the present application is described below.

[0085] Firstly, the card involved in the embodiments of the present application is introduced. The card can also be referred to as an application card. The card, as an interface display form, can provide part of the functions of an application. The card can include controls and / or multimedia content. The card can interact with the corresponding application to implement corresponding functions when receiving a control operation on the corresponding control. For example, the card of a payment application can display a payment code, a collection code, etc. The card of a music application can provide a play / pause button, a next song button, a previous song button, etc. The card is usually customized by a third party (for example, a developer of an application program). The card can be used to be embedded into other applications to be displayed as part of the interface of the application. For example, the card can be allowed to be embedded into the interface (for example, an activity component of an Android operating system) of a user (such as a desktop application) to be displayed. In the embodiments of the present application, the card can be embedded into a card window to be displayed. That is, for any application, the card corresponding to the application is independent of the application. The card can interact with the application to add or update important information or operation content of the application to the card. The card set based on an Android operating system can be referred to as a widget or a widget card. The card set based on a Hongmeng operating system can be referred to as a service card, such as a form ability (FA).

[0086] In the embodiments of the present application, in response to a first shaking operation of a user, an electronic device displays a card window located above a first interface. The first interface is an interface displayed by the electronic device before the card window is displayed. The electronic device displays at least one target card in the card window. The card window can be a window provided by the electronic device for quickly displaying a card. For example, the card window can be a floating window located on the first interface. The at least one target card displayed in the card window can come from any system service or application in the electronic device. The card can include controls and / or multimedia content.

[0087] Optionally, the first shaking operation can be, for example, a clockwise shaking operation of the electronic device, or the first shaking operation can also be an operation in other shaking modes, such as shaking towards the direction facing the user, etc. The embodiments of the present application do not limit this. For example, taking the case where the first shaking operation is a clockwise shaking operation of the electronic device as an example, the manner in which the electronic device detects that the user triggers the first shaking operation is introduced: The gyroscope sensor, the acceleration sensor, and the gravity sensor of the electronic device can obtain sensor parameters when the user shakes the electronic device. When the acceleration parameters in the X, Y, and Z directions of the set coordinate system determined by the electronic device based on the obtained sensor parameters satisfy a preset condition, for example, when the acceleration parameters are greater than or equal to a preset threshold, the electronic device can determine that the user triggers the first shaking operation.

[0088] For example, FIG. 5 is a schematic diagram of a card display method according to an embodiment of the present application. Referring to FIG. 5, the user triggers the operation of rotating the electronic device clockwise, and the electronic device can display a card window, such as the card window in FIG. 5, which can be a floating window on the desktop. The card window can include a card of a music player application. Referring to FIG. 5, the card can include controls for controlling music playing, pausing, the previous song, the next song, and the like. The card can also include multimedia content, such as a cover picture of the music.

[0089] In some embodiments, at least one target card in the card window displayed by the electronic device can include at least one of a preconfigured card, a card customized by the user, a card used by the user more frequently than a preset threshold, a card last used by the user, and a card determined based on a recommendation algorithm according to the user's usage habits. Optionally, the user's use of the card can include that the function of the card is in the background, the user triggers an operation of updating card data on the card, the user adds the card to a position such as the desktop or the negative one screen of the electronic device, the user triggers an operation on a control on the card, and the like. For example, referring to FIG. 5, the card window displayed by the electronic device can also include a setting option. After the user clicks the setting option, the electronic device can display a card management interface. The card management interface can include a plurality of cards created in the electronic device. The user can select at least one target card displayed in the card window in the interface.

[0090] Optionally, the electronic device also supports the user's operation of adding a card displayed in a position such as the desktop or the negative one screen of the electronic device to the card window, or the user can select to add the created card to the card window when creating the card. For example, FIG. 6 is a schematic diagram of a card display method according to an embodiment of the present application. Referring to FIG. 6, the desktop of the electronic device displays a card of a weather application. The user can long press the card, and the electronic device displays a setting option corresponding to the card, such as the setting option in FIG. 6, which includes an "add to card window" option. The user can click the "add to card window" option, thereby adding the card of the weather application to the card window. When the user next invokes the card window, at least one target card displayed in the card window includes the card of the weather application.

[0091] In the embodiments of the present application, after detecting the first shaking operation triggered by the user, the electronic device displays at least one target card in the card window. The electronic device can obtain the data of the target card. Optionally, if the electronic device has cached the data of the target card and the data of the target card is valid, the electronic device can display the target card in the card window according to the cached data of the target card. If the electronic device has not cached the data of the target card or the cached data of the target card has been invalidated, the electronic device can request the data of the target card from the application to which the target card belongs. It should be noted that the data of the target card can correspond to a valid time. If the current time is within the valid time, the electronic device can determine that the data of the target card is valid. If the current time is not within the valid time, the electronic device can determine that the data of the target card is invalid. For example, when the target card is a today's weather card of a weather application, the valid time of the card can be within 24 hours of the day. For another example, when the target card is a push card of a news application, the valid time of the card can be a preset time period after the push message, such as within 30 minutes after the push message.

[0092] The electronic device can display the card window on any currently displayed interface. For example, when the electronic device displays the card window on the first interface, the first interface can be any one of the desktop, the application interface, the negative one screen interface, the lock screen interface, and the always on display (AOD) interface. Optionally, when the electronic device displays the card window on different interfaces, the styles of the card window can be different. For example, when the electronic device displays the card window on the application interface, in order to avoid that the card window blocks too much application interface, the electronic device can display a semi-transparent card window.

[0093] For example, FIG. 7 is a schematic diagram of a card display method provided in the embodiments of the present application. Referring to FIG. 7, when the electronic device displays a chat window of an instant messaging application, the user triggers the operation of shaking the electronic device clockwise. The electronic device can display a card window. As shown in FIG. 7, the positions in the card window except the card can be transparent regions. As shown in FIG. 7, the card window includes a card corresponding to the "scan to share" function. The user can use the "scan to share" function through the card without manually searching for the "scan to share" function after exiting the chat interface.

[0094] As introduced above, the card window displayed by the electronic device in the embodiments of the present application can include at least one target card. When the card window includes multiple target cards, the styles and layout manners of the multiple cards can be preconfigured or customized by the user, that is, the user can also edit the positions and card styles of the multiple cards. For example, the setting application of the electronic device can include a setting option of the card window, and the user can select at least one target card displayed in the card window and set the style and layout manner of the at least one target card in the setting interface of the card window, so as to better meet the user's demand for quickly viewing the cards.

[0095] For example, FIG. 8 is a schematic diagram of a card display method provided in the embodiments of the present application. As shown in FIG. 8, when the electronic device displays a desktop, the user triggers the operation of rotating the electronic device clockwise, and the electronic device can display a card window. The card window can include multiple cards, for example, the card window in FIG. 8 includes three cards: a weather card of a weather application, a card of a music player application, a push card of a news application, and a card of a calendar application.

[0096] In some embodiments, when the electronic device displays at least one target card in the card window, the electronic device can display the at least one target card according to a preset animation effect. The preset animation effect can be a system default animation effect, or the preset animation effect can be an animation effect selected by the user from multiple animation effects. For example, the animation effect can include a fan-shaped animation, a louver animation, a fade-in and fade-out animation, a progressive animation, a water drop unfolding animation, etc.

[0097] For example, the electronic device can display at least one target card in the card window according to a fan-shaped unfolding animation. FIG. 9 is a schematic diagram of a card display method provided in the embodiments of the present application. As shown in FIG. 9(a), the electronic device can display a weather card of a weather application according to a fan-shaped unfolding animation. As shown in FIG. 9(b), when the card window includes multiple cards, the electronic device can also display the multiple cards according to a fan-shaped unfolding animation.

[0098] In the embodiments of the present application, when displaying the card window, the electronic device can obtain data of at least one target card in the card window in response to a second operation of the user, and update the content of the at least one target card in the card window according to the obtained data. The second operation may, for example, be that the user rotates the electronic device clockwise. Alternatively, when part of the at least one target card is a card that does not need to be updated or a card that does not support content updating, the electronic device can not update the content of the part of the card, but update the content of the card that supports content updating. In an implementation, the electronic device can send a request message to an application to which the target card belongs to obtain data corresponding to the target card. In this way, the electronic device can provide a quick way to refresh the content of the card, so that the user can view the card with updated content in time.

[0099] For example, FIG. 10 is a schematic diagram of a card display method provided in the embodiments of the present application. Referring to FIG. 10, the electronic device displays a card window, the card window includes a push card of a news application, the user rotates the electronic device clockwise, and the electronic device can obtain data corresponding to the push card from the news application and update the content displayed in the push card according to the obtained data.

[0100] Alternatively, when displaying the card window, the electronic device can also update the content displayed in part or all of the at least one target card according to a preset period, so as to ensure the timeliness of the content displayed in the card. In the implementation, the electronic device can determine whether the content of the card needs to be automatically updated according to the business scenario and the type of the card.

[0101] When displaying the card window, the electronic device can close the card window in response to a third operation of the user. The third operation may, for example, be that the user rotates the electronic device counterclockwise. In this way, the electronic device provides a convenient way to close the card window, the user can quickly close the card window and continue to use other functions of the electronic device, reduces the manual operation steps, and improves the user experience.

[0102] For example, FIG. 11 is a schematic diagram of a card display method provided in the embodiments of the present application. Referring to FIG. 11, the electronic device displays a card window, the card window includes a card corresponding to a "scan to scan" function, the user rotates the electronic device counterclockwise, and the electronic device closes the card window.

[0103] It should be noted that the second operation and the third operation in the above embodiments are only examples of the present application, and the second operation and the third operation can have other implementations in actual implementation. For example, the second operation can also be an operation of clicking the card, the third operation can also be an operation of clicking any position outside the card window, or the second operation and the third operation can also be other gesture operations, which are not limited in the embodiments of the present application.

[0104] In some embodiments, the card display method provided by the embodiments of the present application can be executed by the electronic device and the application server, and further can be executed by the desktop application, the card management service and the application in the electronic device, for example, by the card sub-process in the application. FIG. 12 is a flowchart of a card display method provided by the embodiments of the present application. Referring to FIG. 12, the method includes the following steps:

[0105] S1201: In response to a first shaking operation of a user, the desktop application wakes up the card window.

[0106] For example, the first operation can be an operation of shaking the electronic device clockwise.

[0107] S1202: The desktop application sends a first request message to the card management service.

[0108] The first request message is used to request to obtain data of at least one target card in the card window. In the following steps, at least one target card includes the first card and the second card as an example.

[0109] S1203: The card management service obtains the cached data of the first card, and determines that the data of the first card is valid.

[0110] S1204: The data of the first card is sent to the desktop application.

[0111] S1205: The card management service obtains the cached data of the second card, and determines that the data of the second card is invalid.

[0112] S1206: The card management service sends a second request message to the first application to which the second card belongs.

[0113] The second request message is used to request to obtain the data of the second card.

[0114] S1207: The first application sends a third request message to the application server.

[0115] The third request message is used to request to obtain the data of the second card.

[0116] S1208: The application server sends the data of the second card to the first application.

[0117] S1209: The first application sends data of the second card to the card management service.

[0118] S1210: The card management service sends the data of the second card to the desktop application.

[0119] It should be noted that there is no execution order between S1203-S1204 and S1206-S1210. S1203-S1204 can be executed first and then S1206-S1210 can be executed, or S1206-S1210 can be executed first and then S1203-S1204 can be executed, or S1203-S1204 and S1206-S1210 can be executed at the same time. The embodiments of the present application do not limit this.

[0120] In addition, S1203-S1204 and S1206-S1210 are optional steps. In implementation, whether to execute S1203-S1204 and S1206-S1210 can be determined according to whether the data of the card is cached in the electronic device, whether the cached data of the card is invalid, and the like. In the embodiment shown in FIG. 12, S1203-S1204 and S1206-S1210 are only an example and not a limitation. The at least one target card that can be displayed in the card window can have more or less number. The repeated parts will not be described again.

[0121] S1211: The desktop application displays the first card in the card window according to the data corresponding to the first card, and displays the second card in the card window according to the data corresponding to the second card.

[0122] Optionally, the desktop application can display the first card and the second card in the card window with a preset animation effect.

[0123] S1212: In response to a second operation of the user, the desktop application sends a fourth request message to the card management service.

[0124] The second operation may, for example, be an operation of shaking the mobile phone clockwise. The fourth request message can be used to request to update the content in the at least one target card in the card window.

[0125] S1213: The card management service sends a fifth request message to the second application to which the first card belongs.

[0126] The fifth request message can be used to request to obtain the data of the first card.

[0127] S1214: The second application sends the data of the first card to the card management service.

[0128] S1215: The card management service sends the data of the first card to the desktop application.

[0129] S1216: The desktop application updates the content in the first card in the card window according to the data of the first card.

[0130] It should be noted that S1212-S1216 are optional steps, and the content in the first card is taken as an example for description in S1212-S1216. In implementation, the electronic device can update each target card in the at least one target card in the card window, or when part of the cards do not need to be updated, the electronic device can perform update processing on the cards in the at least one target card that can update the content. In implementation, reference can be made to S1212-S1216, and repeated descriptions are omitted.

[0131] S1217: In response to a third operation of the user, the desktop card closes the card window.

[0132] For example, the third operation can be an operation of the user shaking the electronic device counterclockwise.

[0133] Based on the same concept, the embodiments of the present application also provide a card display method, which can be executed by an electronic device. FIG. 13 is a flowchart of a card display method provided by an embodiment of the present application. Referring to FIG. 13, the method comprises the following steps:

[0134] S1301: In response to a first shaking operation of the user, the electronic device displays a card window, and the card window is located above a first interface.

[0135] The first interface is an interface displayed by the electronic device before the card window is displayed.

[0136] For example, the first shaking operation can be an operation of shaking the electronic device clockwise. Referring to FIG. 5 of the embodiments of the present application, when the user shakes the electronic device clockwise, the electronic device can display a card window, which can be a floating window located above the first interface. For example, the first interface can be a home interface, as shown in FIG. 5. For another example, the first interface can also be an application interface, or the first interface can also be any one of a lock screen interface, an AOD interface, or a negative one screen interface.

[0137] Optionally, when detecting that the user triggers the first operation, the electronic device can acquire a sensor parameter of the electronic device, determine an acceleration parameter of the electronic device in a plurality of directions of a set coordinate system according to the sensor parameter, and determine that the user triggers the first shaking operation when the acceleration parameter meets a preset condition. The sensor parameter is collected from at least one of the following sensor devices in the electronic device: a gyroscope sensor, an acceleration sensor, or a gravity sensor.

[0138] S1302: The electronic device displays at least one target card in the card window.

[0139] In an embodiment of the present application, the electronic device can display at least one target card in the card window. For example, the electronic device can display one card in the card window as shown in FIG. 5 or FIG. 7, or the electronic device can display multiple cards in the card window as shown in FIG. 8. Optionally, the at least one target card includes at least one of a pre-configured card, a user-defined card, a card used by the user more frequently than a preset threshold, a card last used by the user, or a card determined based on a recommendation algorithm according to the user's usage habits. Each card can include a control and / or multimedia content.

[0140] In an optional embodiment, after displaying the card window, the electronic device acquires data of the at least one target card in response to a second operation of the user, and updates the content of the at least one target card in the card window according to the data of the at least one target card. For example, the second operation can be a clockwise shaking operation of the electronic device. Referring to FIG. 10, when the electronic device displays the card window, the user shakes the electronic device clockwise, and the electronic device can acquire data of the card displayed in the card window and update the content displayed in the card according to the acquired data. For example, the card shown in FIG. 10 is a "today's news" card, and after the user shakes the electronic device clockwise, the electronic device updates the news content displayed in the card.

[0141] In an optional embodiment, in response to a third operation of the user, the electronic device closes the card window. For example, the third operation can be a counterclockwise shaking operation of the electronic device. Referring to FIG. 11, when the electronic device displays the card window, the user shakes the electronic device counterclockwise, and the electronic device can close the card window and continue to display the first interface.

[0142] In an optional embodiment, when the electronic device displays at least one target card in the card window, the electronic device can acquire data of the cached target card or acquire data of the target card from an application to which the target card belongs. For example, the at least one target card includes a first card, the electronic device can acquire data of the cached first card, determine that the data of the cached first card is valid, and display the first card in the card window according to the data of the cached first card. For another example, the at least one target card includes a second card, the electronic device can acquire data of the second card from a first application to which the second card belongs, and display the second card in the card window according to the data of the second card.

[0143] In an optional implementation, when the electronic device displays the at least one target card in the card window, the electronic device can display the at least one target card in the card window according to a preset animation effect. For example, referring to FIG. 9, the preset animation effect can be a fan-shaped animation, and the electronic device can display the at least one target card in the card window in a fan-shaped unfolding animation.

[0144] It can be understood that, in order to implement the functions of the electronic device in the above embodiments, the electronic device includes hardware structures and / or software structures corresponding to the functions. Those skilled in the art should easily realize that, in combination with the units and method steps of the examples described in the embodiments disclosed in the present application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application scenario and design constraints of the technical solution.

[0145] FIG. 14 is a structural schematic diagram of a card display apparatus provided by an embodiment of the present application. Referring to FIG. 14, the card display apparatus can include a processing unit 1401 and a display unit 1402. The card display apparatus can be used to implement the method performed by the electronic device in the above embodiments, and the card display apparatus can be the electronic device itself, or a chip or chip set or part of a chip in the electronic device for performing the functions of the related method.

[0146] In an implementation, the card display apparatus shown in FIG. 14 can be used to implement the method performed by the electronic device in the embodiments of the present application. The processing unit 1401 is configured to detect a first operation of a user; the display unit 1402 is configured to display a card window, the card window being located above a first interface, the first interface being an interface displayed by the electronic device before the card window is displayed; and the display unit 1402 is configured to display at least one target card in the card window.

[0147] Optionally, the processing unit 1401 is further configured to: in response to a second operation of the user, acquire data of the at least one target card; and update content in the at least one target card in the card window according to the data of the at least one target card.

[0148] Optionally, the processing unit 1401 is further configured to: in response to a third operation of the user, close the card window.

[0149] For example, the at least one target card includes at least one of the following: a preconfigured card, a card customized by the user, a card used by the user more frequently than a preset threshold, a card used by the user most recently, or a card determined based on a recommendation algorithm according to a use habit of the user.

[0150] For example, the first interface is any one of a desktop, a lock screen interface, an always-on display (AOD) interface, a negative one screen interface, or an application interface.

[0151] Optionally, the processing unit 1401 is further configured to: acquire the cached data of the first card, the first card being any one of the at least one target card; determine that the cached data of the first card is valid; and the display unit 1402 is configured to: display the first card in the card window according to the cached data of the first card.

[0152] Optionally, the processing unit 1401 is further configured to: acquire the data of the second card from the first application to which the second card belongs, the second card being any one of the at least one target card; and the display unit 1402 is configured to: display the second card in the card window according to the data of the second card.

[0153] Optionally, the display unit 1402 is further configured to: display the at least one target card in the card window according to a preset animation effect.

[0154] Optionally, the processing unit 1401 is specifically configured to: acquire a sensor parameter of the electronic device, determine an acceleration parameter of the electronic device in a plurality of directions of a set coordinate system according to the sensor parameter, and determine that the first shaking operation is triggered by the user when the acceleration parameter meets a preset condition; wherein the sensor parameter is collected from at least one of the following sensor devices in the electronic device: a gyroscope sensor, an acceleration sensor, or a gravity sensor.

[0155] The division of the units (function modules) in the embodiments of the present application is illustrative, and is merely a logical function division. In actual implementation, another division manner can be used. In addition, each unit in each embodiment of the present application can be integrated in one processor, or can be a separate physical existence, or two or more units can be integrated in one module. The integrated unit can be realized in the form of hardware, or in the form of a software function module. It can be understood that the functions or implementation of each unit in the embodiments of the present application can be further referred to the related description of the method embodiments.

[0156] FIG. 15 is a possible structural example diagram of an electronic device provided by the embodiments of the present application, which can be used to implement the functions of the electronic device in the above embodiments, and thus can also achieve the beneficial effects possessed by the above embodiments.

[0157] Referring to FIG. 15, the electronic device 1500 can include a processor 1501, a memory 1502, a communication interface 1503, and a display screen 1504. The processor 1501, the memory 1502, the communication interface 1503, and the display screen 1504 are coupled to each other. Optionally, the memory 1502 can be used to store instructions executed by the processor 1501 or to store input data required for the processor 1501 to execute instructions or to store data generated after the processor 1501 executes instructions. The communication interface 1503 can be a transceiver or an input / output interface. The display screen 1504 is used to display an interface, such as a main interface, an application interface, and a card window provided by the embodiments of the present application.

[0158] Optionally, referring to FIG. 15, the processor 1501, the memory 1502, the communication interface 1503, and the display screen 1504 are connected to each other through a bus 1505. The bus 1505 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG. 15, but it does not mean that there is only one bus or only one type of bus.

[0159] The processor 1501 in the electronic device 1500 can be used to implement the processing functions of the electronic device in the above embodiments. For example, the processor 1501 can be used to execute the actions of the processing unit 1401 in the card display device shown in FIG. 14. The display screen 1504 is used to execute the actions of the display unit 1402 in the card display device shown in FIG. 14. The communication interface 1503 can be used to implement the transceiving functions of the electronic device in the above embodiments.

[0160] It can be understood that the processor 1501 in the embodiments of the present application can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.

[0161] The memory 1502 in FIG. 15 can be volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. In one embodiment, nonvolatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically EPROM (EEPROM), or flash memory. Note that the memory described herein is intended to include, among other things, these and any other memory suitable for storing instructions for use by the processors 1501.

[0162] Based on the above embodiments, the present application also provides a computer program product containing instructions which, when the computer program product runs on a computer, make the computer execute the methods described in the embodiments of the present application.

[0163] Based on the above embodiments, the present application also provides a computer readable storage medium, in which a computer program is stored, and the computer program, when executed by a computer, makes the computer execute the methods described in the embodiments of the present application.

[0164] Based on the above embodiments, the present application also provides a chip for reading a computer program stored in a memory, and implementing the methods described in the embodiments of the present application.

[0165] Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the methods described in the embodiments of the present application. In one possible design, the chip system further includes a memory for storing the necessary programs and data of the computer device. The chip system can be composed of a chip, or can include a chip and other discrete devices.

[0166] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage etc.) containing computer-usable program code.

[0167] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.

[0168] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks.

[0169] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.

[0170] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the claims and their equivalents, the application can be practiced otherwise than as specifically described.

Claims

1. A card display method characterized by comprising: The method is applied to an electronic device, and the method comprises: In response to a first shaking operation of a user, a card window is displayed, the card window is located above a first interface, and the first interface is an interface displayed by the electronic device before the card window is displayed; At least one target card is displayed in the card window.

2. The method of claim 1, wherein, The method further comprises: In response to a second operation of the user, data of the at least one target card is acquired; Content in the at least one target card in the card window is updated according to the data of the at least one target card.

3. The method of claim 1 or 2, wherein, The method further comprises: In response to a third operation of the user, the card window is closed.

4. The method according to any one of claims 1 to 3, characterized in that, The at least one target card comprises at least one of the following: A preconfigured card, a card customized by the user, a card with a use frequency greater than a preset threshold, a card last used by the user, or a card determined based on a recommendation algorithm according to a use habit of the user.

5. The method according to any one of claims 1 to 4, wherein The first interface is any one of a desktop, a lock screen interface, an all-weather display (AOD) interface, a negative one screen interface, or an application interface.

6. The method according to any one of claims 1 to 5, wherein, The at least one target card displayed in the card window comprises: Data of a first card cached in the electronic device is acquired, the first card being any one of the at least one target card; It is determined that the data of the first card cached is valid; The first card is displayed in the card window according to the data of the first card cached.

7. The method according to any one of claims 1 to 5, wherein The at least one target card displayed in the card window comprises: Data of a second card is acquired from a first application to which the second card belongs, the second card being any one of the at least one target card; The second card is displayed in the card window according to the data of the second card.

8. The method according to any one of claims 1 to 7, wherein The at least one target card displayed in the card window comprises: The at least one target card is displayed in the card window according to a preset animation effect.

9. The method according to any one of claims 1 to 8, wherein, The method further comprises: A sensor parameter of the electronic device is acquired, an acceleration parameter of the electronic device in a plurality of directions of a set coordinate system is determined according to the sensor parameter, and it is determined that the first shaking operation is triggered by the user when the acceleration parameter meets a preset condition; wherein the sensor parameter is collected from at least one sensor device in the electronic device, such as a gyroscope sensor, an acceleration sensor, or a gravity sensor.

10. An electronic device, comprising: The at least one processor is coupled with the at least one memory, and the at least one processor is configured to read a computer program stored in the at least one memory to execute the method in any one of claims 1-9.

11. A computer program product comprising instructions, characterized in that, When the computer program product runs on the computer, the computer is caused to execute the method in any one of claims 1-9.

12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores instructions, and when the instructions run on the computer, the computer is caused to execute the method in any one of claims 1-9.

13. A chip system, characterized by The chip system comprises processing circuitry and a storage medium, and the storage medium stores instructions; when the instructions are executed by the processing circuitry, the method in any one of claims 1-9 is implemented.

Citation Information

Patent Citations

  • File display method and device

    CN106878464A

  • Display method and electronic equipment

    CN114911390A

  • Card sharing method and device

    CN117785340A

  • Module for executing application program installed mobile terminal and protective case for mobile terminal having the same

    KR1020170142259A

  • Terminal and operating method therefor

    US20210374717A1