Card display method, electronic device, storage medium and program product

By displaying cards of multiple folder icons on the desktop of electronic devices and supporting customization and operation functions, the problems of insufficient information display and low security of existing cards are solved, and the safe display and convenient management of large amounts of information are achieved.

CN120281845APending Publication Date: 2025-07-08HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510372579.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-01-20
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

The existing card display method has limited information, which cannot meet the needs of large amount of information display in actual applications, and there is a problem of low security.

Method used

Provides a card display method. By displaying cards including multiple folder icons on the desktop of an electronic device, users can customize folder contents and view more information through sliding or clicking operations. Supports customization of folder paths and functional options of the card menu bar to ensure information security.

Benefits of technology

It realizes the display of a large amount of information, improves the user experience, ensures information security, and does not expose user personal information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120281845A_ABST
    Figure CN120281845A_ABST
Patent Text Reader

Abstract

The invention provides a card display method, electronic equipment, a storage medium and a program product, and relates to the technical field of information display. According to the scheme, desktop cards of various specifications are provided for a user to select, for example, the desktop cards provide common folder paths which can be customized by the user, and / or the desktop cards can support rolling switching display of recently processed files, and the user can select the files according to actual use requirements. And the card suitable for the use habit of the user is selected to be added to the desktop for display. As the desktop card presents the folder form or the file name to the user and does not present the specific information of the file, the personal information of the user is not exposed, and the user can check the corresponding information only by opening the folder in the desktop card when needed, so that the user experience is improved. Or all files recently used by the electronic equipment can be visually checked only by sliding operation on the desktop card, a large amount of information can be displayed, convenience and rapidness are achieved, and safety is good.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of a Chinese patent application submitted to the National Intellectual Property Administration on January 20, 2022, with the application number 202210068707.0 and the application title "Card Display Method, Electronic Device, Chip System, Storage Medium and Program Product". Technical Field

[0002] This application relates to the field of information display, and in particular, to a card display method, an electronic device, a storage medium and a program product. Background Art

[0003] Generally, users can implement various functions through different applications (APPs) installed on an electronic device, and thus a large number of files will be stored. For example, files such as documents, audio, video or pictures are received or sent through third-party APPs such as instant messaging APPs, or installation packages are downloaded through the application market APP, or audio files are downloaded through the audio APP, or pictures or video files are obtained by shooting through the camera APP. Correspondingly, the electronic device needs to store a large number of files and files from different sources will be stored in different storage paths.

[0004] Currently, cards can be created on the desktop, and various file information can be displayed through the cards to achieve fast management of files. A card is an information carrier that intuitively and quickly provides important or closely related information in a condensed form for the display of important information. Users can intuitively and conveniently view relevant information by viewing the cards on the desktop.

[0005] However, the existing ways of displaying information on cards have deficiencies. For example, the amount of displayed information is limited and cannot meet the need to display a large amount of information in practical applications, and the existing ways of displaying information on cards will expose users' personal information, reducing the user experience. Summary of the Invention

[0006] This application provides a card display method, an electronic device, a storage medium and a program product, which solve the problems of limited amount of displayed information and low security in the existing ways of displaying information on cards.

[0007] To achieve the above object, this application adopts the following technical solutions:

[0008] In a first aspect, the present application provides a method for displaying a card. The method includes: receiving a first operation of a user on an electronic device; in response to the first operation, displaying a first card on the desktop of the electronic device, where the first card includes M folder icons, and each of the M folder icons corresponds to a folder in the electronic device, and M is a positive integer; receiving a second operation of the user on the first folder icon in the first card, where the first folder icon corresponds to a first folder in the electronic device; and in response to the second operation, switching from the display desktop to: displaying the interface of the first folder.

[0009] Through the solution of the present application, a card including multiple folders can be added to the desktop according to user needs. For example, each folder in the card can be set as a frequently used folder by the user or a folder for storing files downloaded or received by the electronic device. In this way, when needed, the user can quickly view the corresponding information of certain folders through the card on the desktop. Compared with the solution in the related art that only displays the content of the recently downloaded files, the solution of the present application can display a larger amount of information, and since it displays folders instead of specific file information, the confidentiality is good. The solution of the present application is convenient, fast and secure in file management.

[0010] Among them, the first operation can be an operation for adding a card by the user on the card addition interface set in the system, or an operation for adding a card by other means, which can be specifically determined according to actual usage requirements, and the embodiments of the present application do not make limitations.

[0011] In some possible implementation manners, the above method for displaying a card may further include: receiving a third operation of the user on the first card; and in response to the third operation, displaying a card menu bar, where the card menu bar includes at least one of the following: an edit option, a more card option, and a removal option.

[0012] In some possible implementation manners, the above third operation is an operation of the user sliding on the first card along a preset direction, such as a upward sliding operation; or, the above third operation is an operation of the user touching the first card for a duration greater than or equal to a first duration, which can be simply referred to as a long press operation.

[0013] In some possible implementation manners, the card menu bar includes an edit option. After displaying the card menu bar, the method further includes:

[0014] receiving a fourth operation (such as a click operation) of the user on the edit option; and in response to the fourth operation, displaying a first folder path option and a second folder path option;

[0015] When receiving an operation (such as a click operation) from the user on the first folder path option, set the M folders recommended by the system as the M folders in the first card; or,

[0016] When receiving an operation (such as a click operation) from the user on the second folder path option, set the N folders in the first card according to the folders selected by the user, where N is a positive integer less than or equal to M.

[0017] In some possible implementation manners, when receiving an operation from the user on the second folder path option, setting at least one folder in the first card according to the folders selected by the user includes:

[0018] When receiving an operation from the user on the second folder path option, display N folder setting items;

[0019] When receiving an operation (such as a click operation) from the user on the first setting item among the N folder setting items, display a folder selection interface, where one or more folder options are displayed in the folder selection interface, and each folder option corresponds to a folder;

[0020] When receiving an operation (such as a click operation) from the user on the target folder option in the folder selection interface, set the folder corresponding to the target folder option as one of the folders in the first card.

[0021] Through the solution of this application, desktop cards of various specifications are provided for the user to choose. The user can, according to actual usage requirements, choose to add the cards suitable for their usage habits to the desktop display. Moreover, the user can customize the storage paths of the folders in the desktop card. When needed, the user only needs to open the folders in the desktop card to view the corresponding information, which can display a large amount of information, is convenient and fast, and has good security.

[0022] In some possible implementation manners, the folder selection interface includes system folder options and / or application folder options. The system folder options correspond to the folders preset by the system in the electronic device, and the application folder options correspond to the folders corresponding to the applications installed in the electronic device;

[0023] Wherein, the target folder option is the system folder option and / or the application folder option.

[0024] In some possible implementation manners, the first folder is any one of the following: Folder 1, which is used to store the user's personal files; Folder 2, which is used to store the files downloaded by the electronic device within a recent preset time period; Folder 3, which is used to store all the files downloaded and received by the electronic device; Folder 4, which is used to store all the files downloaded through the first application installed in the electronic device.

[0025] Through the solution of the present application, since what is presented to the user in the desktop card is in the form of a folder or a file name, rather than the specific information of the file, the user's personal information will not be exposed.

[0026] In some possible implementation manners, the card menu bar includes the more card options; after the card menu bar is displayed, the method further includes:

[0027] Receiving a fifth operation (such as a click operation) of the user on the more card options; in response to the fifth operation, displaying a plurality of card preview images, where the plurality of card preview images respectively correspond to cards of different specifications;

[0028] Receiving a sixth operation (such as a click operation) of the user on the second card preview image among the plurality of card preview images, where the second card preview image corresponds to a second card; in response to the sixth operation, adding and displaying the second card on the desktop of the electronic device.

[0029] In some possible implementation manners, the second card is used to display the file attribute information of the file downloaded by the electronic device last time, and the file attribute information includes at least one of the following: file name, file download time, file occupied space size, file type.

[0030] In some possible implementation manners, after the second card is displayed, the method further includes: receiving a seventh operation (such as a click operation) of the user on the second card; in response to the seventh operation, opening the file downloaded last time and displaying the file content of the file downloaded last time.

[0031] In some possible implementation manners, the second card includes a first control, and the first control is used to trigger the transmission of the file displayed in the second card to other electronic devices;

[0032] After the second card is displayed, the method further includes:

[0033] When receiving an operation (such as a click operation) of the user on the first control, displaying a first interface, where the first interface includes one or more sharing method icons, and each sharing method icon corresponds to a file transmission method and / or a file transmission object;

[0034] When an operation of a user on a first sharing mode icon (such as a click operation) is received and the first sharing mode icon corresponds to a first file transfer object, the file displayed in the second card is sent to the first file transfer object; or,

[0035] When an operation of a user on a second sharing mode icon (such as a click operation) is received and the second sharing mode icon corresponds to a first file transfer mode, a plurality of file transfer objects are displayed; when an operation of the user on a first object among the plurality of file transfer objects is received, the file displayed in the second card is sent to the first object in the first file transfer mode;

[0036] Wherein, the first sharing mode icon and the second sharing mode icon are respectively icons among the one or more sharing mode icons.

[0037] In some possible implementation manners, the second card includes a second control, and the second control is used to trigger moving the file displayed in the second card to a certain storage path in the electronic device.

[0038] After the second card is displayed, the method further includes: when an operation of the user on the second control (such as a click operation) is received, a second interface is displayed, and the second interface includes one or more folder identifiers, and each folder identifier corresponds to a folder and its storage path; when an operation of the user on a first folder identifier (such as a click operation) is received, the file displayed in the second card is moved to the folder corresponding to the first folder identifier according to the storage path corresponding to the first folder identifier.

[0039] In some possible implementation manners, after the second card is displayed, the method further includes: receiving an eighth operation of the user on the second card (such as a sliding operation); in response to the eighth operation, in the second card, the file attribute information of the files downloaded by the electronic device in a recent preset period is sequentially updated and displayed.

[0040] The solution of the present application provides desktop cards of various specifications for users to select. For example, the desktop card supports scrolling and switching display of recently processed files. The user only needs to perform a sliding operation on the desktop card to intuitively view all the files recently used by the electronic device, which is convenient and fast.

[0041] In some possible implementation manners, the sequentially updating and displaying the file attribute information of the files downloaded by the electronic device in a recent preset period includes: sequentially updating and displaying the file attribute information of the files downloaded by the electronic device in a recent preset period in the order of file download time.

[0042] In some possible implementations, the first card may include a first area and a second area, where the first area is used to display the M folder icons, and the second area is used to display the file attribute information of the file that was most recently downloaded by the electronic device; where the file attribute information includes at least one of the following: file name, file download time, file occupied space size, file type.

[0043] In some possible implementations, the method further includes: receiving a dragging operation of the user on a target card, where the target card is the first card or the second card; in response to the dragging operation, updating the display position of the target card on the desktop.

[0044] In some possible implementations, the card menu bar includes the removal option; after the card menu bar is displayed, the method further includes: receiving a ninth operation (such as a click operation) of the user on the removal option; in response to the ninth operation, removing the first card from the desktop.

[0045] Through the solution of this application, the user can, according to actual usage requirements, choose to add cards that suit their usage habits to the desktop display. When needed, the user only needs to open the folder in the desktop card to view the corresponding information, or only needs to perform a sliding operation on the desktop card to intuitively view all the files that the electronic device has recently used, which can display a large amount of information, is convenient and fast, and has good security.

[0046] In a second aspect, this application provides a card display device, and the device includes units for executing the method in the first aspect above. The device can correspond to executing the method described in the first aspect above. For the relevant descriptions of the units in the device, please refer to the description in the first aspect above. For the sake of brevity, they will not be repeated here.

[0047] Among them, the method described in the first aspect above can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, a processing module or unit, a display module or unit, etc.

[0048] In a third aspect, this application provides an electronic device, the electronic device includes a processor, the processor is coupled to a memory, the memory is used to store computer programs or instructions, and the processor is used to execute the computer programs or instructions stored in the memory, so that the method in the first aspect is executed. For example, the processor is used to execute the computer programs or instructions stored in the memory, so that the device executes the method in the first aspect.

[0049] Fourthly, the present application provides a computer-readable storage medium, on which a computer program (which may also be referred to as instructions or code) for implementing the method in the first aspect is stored. For example, when the computer program is executed by a computer, the computer can execute the method in the first aspect.

[0050] Fifthly, the present application provides a chip, including a processor. The processor is configured to read and execute a computer program stored in a memory to execute the method in the first aspect and any possible implementation manners thereof. Optionally, the chip further includes a memory, and the memory is connected to the processor through a circuit or a wire.

[0051] Sixthly, the present application provides a chip system, including a processor. The processor is configured to read and execute a computer program stored in a memory to execute the method in the first aspect and any possible implementation manners thereof. Optionally, the chip system further includes a memory, and the memory is connected to the processor through a circuit or a wire.

[0052] Seventhly, the present application provides a computer program product, which includes a computer program (which may also be referred to as instructions or code), and when the computer program is executed by a computer, the computer implements the method in the first aspect.

[0053] It can be understood that the beneficial effects of the above second aspect to the seventh aspect can be referred to the relevant descriptions in the above first aspect, and will not be elaborated herein. Description of the Drawings

[0054] Figure 1 is a schematic structural diagram of an electronic device to which the card display method provided in an embodiment of the present application is applied;

[0055] Figure 2 is a software structure block diagram of an electronic device to which the card display method provided in an embodiment of the present application is applied;

[0056] Figure 3 is a schematic interface diagram for finding a file through file management provided in an embodiment of the present application;

[0057] Figure 4 is a schematic interface diagram of a card display method provided in an embodiment of the present application;

[0058] Figure 5 is a schematic interface diagram of a card display method provided in an embodiment of the present application;

[0059] Figure 6A is an interactive schematic diagram of a setting interface for calling out a desktop card provided in an embodiment of the present application;

[0060] Figure 6BA schematic diagram of the interface of cards of different specifications provided in the embodiment of the present application;

[0061] Figure 6C A schematic diagram of an interface provided in an embodiment of the present application in which an electronic device adds a card to a desktop after a user selects a card of a certain specification;

[0062] Figure 7 A schematic diagram of an interface for calling out multiple function options by operating a desktop card provided in an embodiment of the present application;

[0063] Figure 8 A schematic diagram of an interface for calling up cards of various specifications for user selection and adding the cards to the desktop provided in an embodiment of the present application;

[0064] Figure 9 A schematic diagram of an interface for calling up cards of various specifications for user selection and adding the cards to the desktop provided in an embodiment of the present application;

[0065] Figure 10A A schematic diagram of an interface for displaying a custom file after operating edit items in multiple function options provided in an embodiment of the present application;

[0066] Figure 10B A schematic diagram of an interface for user-defined folder path settings provided in an embodiment of the present application;

[0067] Figure 11 A schematic diagram of an interface for displaying multiple files in a file card that can be switched according to an embodiment of the present application;

[0068] Figure 12 A schematic diagram of the interface of the sharing control in the file card provided in the embodiment of the present application when in use;

[0069] Figure 13 A schematic diagram of the interface of the Send To control in the file card provided in the embodiment of the present application when in use;

[0070] Figure 14 A schematic diagram of the interface of the "My Files" folder in the folder card provided in the embodiment of the present application when in use;

[0071] Figure 15 A schematic diagram of the interface of the "Recent" folder in the folder card provided in an embodiment of the present application when in use;

[0072] Figure 16 A schematic diagram of the interface of the "Download and Receive" folder in the folder card provided in the embodiment of the present application when in use;

[0073] Figure 17Schematic diagram of the interface of the "Instant Messaging" folder in the folder card provided by the embodiment of the present application when applied;

[0074] Figure 18 Schematic diagram of file cards in various display forms provided by the embodiment of the present application;

[0075] Figure 19 Schematic diagram of file cards in various content forms provided by the embodiment of the present application;

[0076] Figure 20 Schematic diagram of the file card when the card display method provided by the embodiment of the present application is applied to camera shooting management;

[0077] Figure 21 Software architecture diagram of the card display method provided by the embodiment of the present application;

[0078] Figure 22 Flow schematic diagram of the card display method provided by the embodiment of the present application;

[0079] Figure 23 Schematic diagram of the structure of the card display device provided by the embodiment of the present application. Detailed implementation manners

[0080] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some but not all of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0081] The term "and / or" in this article is an association relationship describing associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The symbol " / " in this article represents an "or" relationship between associated objects. For example, A / B represents A or B.

[0082] The terms "first" and "second" in the description and claims of this article are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first card and the second card are used to distinguish different cards, rather than to describe the specific order of the cards.

[0083] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0084] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality of" refers to two or more. For example, a plurality of processing units refers to two or more processing units, etc.; a plurality of elements refers to two or more elements, etc.

[0085] The card display method provided by the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0086] Exemplarily, Figure 1 FIG. 11 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone 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. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0087] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figures, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0088] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics 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. Among them, different processing units may be independent devices or integrated in one or more processors.

[0089] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0090] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

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

[0092] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface to implement the touch function of the electronic device 100.

[0093] The I2S interface may be used for audio communication. In some embodiments, the processor 110 may include multiple groups of I2S buses. The processor 110 may be coupled to the audio module 170 through the I2S bus to implement communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface to implement the function of answering a call through a Bluetooth headset.

[0094] The PCM interface may also be used for audio communication to sample, quantize, and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through the PCM bus interface. In some embodiments, the audio module 170 may also transmit an audio signal to the wireless communication module 160 through the PCM interface to implement the function of answering a call through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0095] The UART interface is a general-purpose serial data bus for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface to implement the function of playing music through Bluetooth headphones.

[0096] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.

[0097] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0098] The USB interface 130 is an interface that complies with the USB standard specification, and can specifically 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 for data transmission between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. This interface can also be used to connect other electronic devices, such as AR devices, etc.

[0099] It can be understood that the interface connection relationships between the modules illustrated in the embodiments of the present application are only illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

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

[0101] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be provided in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be provided in the same device.

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

[0103] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Figure 1 The structures of the antenna 1 and the antenna 2 in [description] are only one example. Each antenna in the electronic device 100 can be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0104] The mobile communication module 150 may provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be provided in the same device.

[0105] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, receiver 170B, etc.), or displays images or videos through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and provided in the same device as the mobile communication module 150 or other functional modules.

[0106] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive signals to be sent from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.

[0107] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, such that electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may 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 may 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).

[0108] Electronic device 100 implements a display function through a GPU, display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

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

[0110] The electronic device 100 can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, etc.

[0111] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and light passes through the lens and is transmitted to the camera sensor. The light signal is converted into an electrical signal, and the camera sensor transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image through algorithms. The ISP can also optimize parameters such as the exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

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

[0113] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0114] The video codec is used to compress or decompress digital videos. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple coding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

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

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

[0117] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes 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 storage program area and a storage data area. Among them, the storage program area can store the operating system, application programs required for at least one function (such as the sound playback function, the image playback function, etc.). The storage data area can store the data created during the use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the internal memory 121 can include high-speed random access memory and can also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0118] The electronic device 100 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.

[0119] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.

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

[0121] The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a call or a voice message, the voice can be listened to by placing the receiver 170B close to the human ear.

[0122] The microphone 170C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak by placing the mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also implement a noise reduction function. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, and implement functions such as directional recording.

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

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

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

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

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

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

[0129] A distance sensor 180F for measuring distance. The electronic device 100 can measure distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve rapid focusing.

[0130] The proximity light sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The light-emitting diode may be an infrared light-emitting diode. The electronic device 100 emits infrared light outward through the light-emitting diode. The electronic device 100 uses the photodiode to detect the infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for a call, so as to automatically turn off the screen to achieve the purpose of power saving. The proximity light sensor 180G can also be used for automatic unlocking and locking of the holster mode and pocket mode.

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

[0132] A fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint taking pictures, fingerprint answering calls, etc.

[0133] A temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 executes a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by low temperature. In still other embodiments, when the temperature is lower than yet another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0134] The touch sensor 180K, also known as the "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch display screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from that of the display screen 194.

[0135] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals of the vibrating bone mass of the human vocal tract. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulsation signals. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone to form a bone conduction earphone. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bone mass acquired by the bone conduction sensor 180M to implement the voice function. The application processor can parse out heart rate information based on the blood pressure pulsation signals acquired by the bone conduction sensor 180M to implement the heart rate detection function.

[0136] The button 190 includes a power-on button, a volume button, etc. The button 190 can be a mechanical button or a touch button. The electronic device 100 can receive button inputs to generate key signal inputs related to the user settings and function control of the electronic device 100.

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

[0138] The indicator 192 can be an indicator light and can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc.

[0139] The SIM card interface 195 is used to connect to a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation from the electronic device 100. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0140] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of this application, the Android system with a layered architecture is taken as an example to exemplarily illustrate the software structure of the electronic device 100.

[0141] Figure 2 It is the software structure block diagram of the electronic device 100 in the embodiments of this application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom, namely the application layer, the system framework layer, the system library and runtime layer, the hardware abstraction layer, and the kernel layer. The application layer can include a series of application packages.

[0142] Such as Figure 2 shown, the application packages can include programs such as a desktop manager, contacts, a calendar, text messages, music, etc. Among them, the desktop manager is used to manage and display the icons of all ordinary application programs and their corresponding card information, and it has no icon on the desktop; when the user triggers the card display operation, it loads and displays the card information. Ordinary application programs, such as programs that can be clicked on the desktop like contacts and calendars, are used to provide data related to card display.

[0143] The system framework layer provides application programming interfaces (APIs) and programming frameworks for the application programs in the application layer, including various components and services to support developers' Android development. The system framework layer includes some predefined functions.

[0144] Such as Figure 3As shown in the figure, the system framework layer may include a view system, an input manager, a card service manager, a resource manager, a window manager, a content provider, etc. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build application programs. The display interface can be composed of one or more views. The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The input manager is used to manage touch events and implement the dispatching of touch events.

[0145] The card service manager is used to receive the card information published by the application (APP) on the desktop and save it. At the same time, it provides an interface for the desktop program to query the card information of the APP. Taking the Android system as an example, the card service manager can be a Service process that resides in the Android system all the time. It provides a remote call interface to receive the card information published by the APP, and at the same time provides another remote call interface for the desktop program to query the card information. The card service manager saves the unique ID of the APP and the card information corresponding to the APP. Among them, the card information corresponding to the APP is published and saved in the form of a data structure. The unique ID of the APP can be the application package name (PackageName) of the APP or the hash code of the application package name.

[0146] The resource manager provides various resources for application programs, such as localized strings, icons, pictures, layout files, video files, etc. The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make this data accessible to application programs. The data may include videos, images, audio, dialed and received calls, browsing history and bookmarks, phone books, etc.

[0147] The system library and runtime layer include the system library and the Android Runtime. The system library can include multiple functional modules. For example: browser kernel, 3D graphics library (such as: OpenGL ES), font library, etc. The browser kernel is responsible for interpreting the syntax of web pages (such as HTML, JavaScript, an application under the Standard Generalized Markup Language) and rendering (displaying) web pages. The 3D graphics library is used to implement three-dimensional graphics drawing, image rendering, synthesis and layer processing, etc. The font library is used to implement the input of different fonts. The Android Runtime includes a core library and a virtual machine. The Android Runtime is responsible for the scheduling and management of the Android system.

[0148] The core library consists of two parts: one is the functional functions that need to be called by the Java language, and the other is the core library of Android. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0149] The hardware abstraction layer is an abstract interface for device kernel drivers, which realizes the application programming interface for accessing the underlying devices to a higher-level Java API framework. HAL contains multiple library modules, and each library module implements an interface for a specific type of hardware component.

[0150] The kernel layer is the layer between hardware and software. The kernel layer includes at least camera drivers, display drivers, Bluetooth drivers, audio drivers, sensor drivers, touch drivers, and WLAN. The kernel layer is the foundation of the TM system. All the final function implementations of the TM system are completed through the kernel layer.

[0151] For ease of understanding, the following embodiments of this application will take an electronic device with the Figure 1 and Figure 2 shown structure as an example, and in combination with the accompanying drawings and application scenarios, specifically elaborate on the card display method provided by the embodiments of this application.

[0152] Currently, an electronic device can receive and download various files such as documents, pictures, audio, or video sent by other electronic devices through third-party APPs such as instant messaging APPs and email APPs, and can also download various files from the network through third-party APPs such as browser APPs and video APPs. In actual use, the electronic device will receive and download a large number of files through different APPs. In the traditional Android system, the path for the electronic device to store the received files is complex, and the save paths of the files received by different APPs are not necessarily the same. After the files from third-party APPs are saved locally on the electronic device, they are not easy to find.

[0153] Specifically, when a user wants to find a file named "Document 1" received from an instant messaging APP, they need to know the default file save path of this instant messaging APP in the Android system, and then operate the electronic device to enter the file management APP and search according to the default save path of this instant messaging APP in the Android system. Generally, the files received by third-party APPs can be saved in the "My Phone" folder. Suppose the default path for this third-party APP to save files is Android>Data>com.tencent.mm>MicroMsg>Download, as Figure 3As shown, the user first clicks on the icon of the file management APP on the desktop to enter the interface of the file management APP, then clicks on the "My Phone" folder, and then accesses the directories Data>com.tencent.mm>MicroMsg>Download step by step ( Figure 4 not all levels of directories are shown in full), in the Download folder the user can see the icon of Document 1 (as shown in the dashed box in Figure 3 ), and then the user can operate on Document 1. Since users usually do not know the storage file path of the Android system, it is difficult to find the required files, resulting in difficulties in finding files and a low user experience.

[0154] In view of this, the electronic device can display a file type card on the desktop, and display the recently received and downloaded files through the file type card, so as to facilitate the user to quickly view the recently used files. Exemplarily, as Figure 4 shown, the mobile phone can display Card 11 on the desktop, and Card 11 includes four file columns, and each file column is used to display information of the recently used (such as downloaded) files.

[0155] For example, assuming that the preset path is the storage path of the instant messaging APP, when the mobile phone successfully downloads a file through the instant messaging APP each time, the mobile phone will sequentially display the relevant information of the files recently downloaded through the instant messaging APP in each file column of Card 11. Another example, assuming that the preset path is the browser APP, when the mobile phone successfully downloads a file through the browser APP each time, the mobile phone will sequentially display the relevant information of the files recently downloaded through the browser APP in each file column of Card 11.

[0156] Among them, the relevant information of the files displayed in the above file columns may include file name, download time, file size, and / or file type. In addition, when the number of recently downloaded files is less than four, the remaining file columns do not display content.

[0157] However, there are various deficiencies in the above way of displaying the information of recently used files through the card. For example, the card form is single and not flexible enough, and it can only display the information of one or more files located in the same preset storage path or location; another example is that the number of files displayed is limited, and in the card as shown in Figure 4 , at most four files' relevant information can be displayed, and the amount of information is small; another example is that since the above card displays the specific information of the files, the user's personal information may be exposed, which may be an unwanted situation for the user.

[0158] The embodiments of the present application provide a method for displaying cards, which provides desktop cards of various specifications for users to choose from. For example, the desktop cards provide commonly used folder paths that users can customize, and / or the desktop cards support scrolling and switching display of recently processed files. Users can, according to their actual usage needs, select the cards that suit their usage habits and add them to the desktop display. Since what is presented to the user in the desktop cards is in the form of folders or file names, rather than the specific information of the files, the user's personal information will not be exposed. When needed, the user only needs to open the folder in the desktop card to view the corresponding information, or only needs to perform a sliding operation on the desktop card to intuitively view all the files that the electronic device has recently used. It can display a large amount of information, is convenient and fast, and has good security.

[0159] The following will Figure 5 exemplarily illustrate the implementation manners of various specifications of desktop card forms provided by the embodiments of the present application.

[0160] The first implementation manner

[0161] As Figure 5 shown in (a) below, the electronic device can display a folder card 20 on the desktop. The folder card 20 is presented in a 2×2 four-grid form, and the icons of four folders are respectively displayed in the four grids: for example, "My Files" 201, "Recent" 202, "Downloads & Receives" 203, and "Instant Messaging" 204. In the embodiments of the present application, the following functions can be implemented through the folder card 20:

[0162] (1) If the electronic device receives an operation by the user on "My Files" 201, then the electronic device can quickly jump to the interface of the "My Files" folder and display the folders and / or files in the "My Files" folder preset by the electronic device to the user.

[0163] Since the "My Files" folder includes one or more folders preset by the user for classifying and storing various files of the user, the folder card 20 can achieve the purpose of allowing the user to quickly find the "My Files" folder by providing an entry for "My Files", facilitating the user to find files and improving the user experience.

[0164] In the solution of the embodiments of the present application, by storing files under "My Folder", it is not necessary to store the files repeatedly. Instead, a user-specified path is regenerated for the files that have already been stored in the default path, so that the user can find the files according to the specified path. While facilitating the user to find the files, it can also avoid repeated storage of files, effectively utilize the storage space, and improve the utilization rate of the storage space of the electronic device.

[0165] (2) If the electronic device receives a user operation on "Recently" 202, the electronic device can quickly jump to the interface of the "Recently" folder and display all the files that the electronic device has recently operated on to the user.

[0166] In the "Recently" folder, all the files that the electronic device has recently operated on can be arranged in sequence according to the operation time. For example, the file with the most recent operation time can be ranked at the top to facilitate the user's search.

[0167] (3) If the electronic device receives a user operation on "Downloads & Receives" 203, the electronic device can quickly jump to the interface of the "Downloads & Receives" folder and display all the files that the electronic device has recently downloaded and received to the user.

[0168] In the "Downloads & Receives" folder, all the files that the electronic device has recently downloaded and received can be arranged in sequence according to the download time. For example, the file with the most recent download time can be ranked at the top to facilitate the user's search.

[0169] (4) If the electronic device receives a user operation on "Instant Messaging" 204, the electronic device can quickly jump to the interface where the folder corresponding to the instant messaging APP is located and display all the files downloaded by the electronic device through the instant messaging APP to the user.

[0170] In the folder corresponding to the instant messaging APP, these files downloaded through the instant messaging APP can be arranged in sequence according to the download order. For example, the file with the most recent download time can be ranked at the top to facilitate the user's search.

[0171] Optionally, some or all of the above four folders can be pre-set by the system; or, some or all of the above four folders can also be user-defined. For example, in the embodiment of the present application, the electronic device supports the following function: in the folder card 20, the user can customize two folder paths.

[0172] Exemplarily, the above four folders are all pre-set by the system as "My Files" 201, "Recently" 202, "Downloads & Receives" 203, and "Instant Messaging" 204 by default. Among them, "My Files" 201 and "Recently" 202 do not support user customization, and "Downloads & Receives" 203 and "Instant Messaging" 204 can support user customization. That is to say, the electronic device can replace "Downloads & Receives" 203 and / or "Instant Messaging" 204 with other folders in response to user operations. The specific replacement process of the folder will be described in detail below and will not be elaborated here.

[0173] It should be noted that the present application embodiment uses a 2×2 four-grid format as an example for illustrative description. In actual implementation, the above-mentioned folder card can also be presented in other forms, such as a 2×3 six-grid format. The specific form can be determined according to actual usage requirements and is not limited in the present application embodiment. For the sake of convenience, the following takes the folder card as shown in the following figure. Figure 5 The folder card 20 shown in (a) is taken as an example for exemplary description.

[0174] The folder card provided in the embodiment of the present application is presented to the user in the form of a folder, and no specific information of the file is presented, so the user's personal information will not be exposed. When needed, the user only needs to open the folder to view the corresponding information, which is convenient, fast and safe.

[0175] Optionally, in an embodiment of the present application, the electronic device can add an application lock to the folder card in response to a user operation. After adding the application lock, only when the electronic device detects that the password entered by the user is the same as the preset password, the electronic device will release the application lock of the folder card and allow the folder card to be operated, which can improve the security of the folder card.

[0176] Second Implementation

[0177] like Figure 5 As shown in (b), the electronic device can display a file card 21 on the desktop, and the file card 21 is used to display relevant information of the file that the electronic device has recently used (for example, downloaded or edited, taking download as an example). In the embodiment of the present application, the file card 21 supports the following functions:

[0178] (1) In response to a user operation (such as a sliding operation on the file card 21), multiple files in the file card 21 can be switched for display. For example, the user can trigger the switching of the display of the most recently downloaded files in the file card 21 by sliding the file card 21.

[0179] (2) In response to a user operation (eg, a click operation on the file card 21 ), the file in the file card 21 can be opened directly without first jumping to an interface of a third-party application for opening the file.

[0180] For example, in a conventional technical solution, after a user clicks on document 1, the electronic device usually jumps to the interface of a document application (such as a WPS application) first, and then when the user confirms in the interface of the document application, the electronic device opens document 1 through the document application. In the embodiment of the present application, in response to a user operation (such as a click operation) on document 1 in the file card 21, the electronic device can directly open document 1 through the document application and display the content of document 1.

[0181] (3) Optionally, a "Share" control 211 may be included in the file card 21. In response to a user's operation on the "Share" control 211, the electronic device can quickly bring up the available sharing paths (such as application icons). When the user selects a certain path, the electronic device can send the file currently displayed in the file card 21 to other electronic devices according to the selected path, achieving the purpose of file sharing.

[0182] It should be noted that here, the example of the file card 21 having a file sharing function is used for illustrative purposes. In actual implementation, the file card 21 may also have a file collection function, or a file copying function, or a file deletion function, or any other function that meets the actual usage requirements. The embodiments of the present application do not limit this.

[0183] (4) Optionally, a "Move to" control 212 may be included in the file card 21. In response to a user's operation on the "Move to" control 212, the electronic device can quickly bring up the available paths for file storage. When the user selects a certain storage path, the electronic device can move the file currently displayed in the file card 21 according to the selected path, achieving the purpose of moving the file from the current location to other locations.

[0184] It should be noted that here, the example of the file card 21 having the function of moving a file to other storage paths is used for illustrative purposes. In actual implementation, the file card 21 may also have the function of copying a file to other storage paths. The embodiments of the present application do not limit this.

[0185] It should be noted that the embodiments of the present application do not limit the type of files presented through the file card 21. For example, the file card 21 can display files of various document types such as word, ppt, excel, or pdf, or can display picture-type files, or can display audio or video-type files, or can display any other type of files, which can be specifically determined according to the actual usage situation. The embodiments of the present application do not limit this.

[0186] It should also be noted that in the embodiments of the present application, displaying a certain file specifically means displaying the relevant information of the file. For example, the relevant information of the file may include the file name, download time, file size, and / or file type.

[0187] The file card provided by the embodiments of the present application can present the relevant information of a large number of files that have been recently used by the electronic device and have different storage paths to the user. The user only needs to slide on the file card to intuitively view all the files that have been recently used by the electronic device through the file card, so the amount of information is large.

[0188] The third implementation method

[0189] Such asFigure 5 As shown in Fig. (c), the electronic device can display the combined card 22 on the desktop. The combined card 22 includes the folder card 20 in the above-mentioned first embodiment and the file card 21 in the above-mentioned second embodiment. Through this combined card 22, not only can various functions of the above-mentioned folder card 20 be realized, facilitating the user to view the folders frequently used by the user in the electronic device, but also various functions of the above-mentioned file card 21 can be realized, facilitating the user to view each file recently used by the electronic device.

[0190] The desktop card form provided by the embodiments of the present application can be an independent folder card, an independent file card, or a combined card of different forms. The card forms are diverse and flexible, and can display information of multiple files located in different storage paths or positions.

[0191] Fourth implementation

[0192] As Figure 5 As shown in Fig. (d), the electronic device can display the folder card 20 in the above-mentioned first embodiment and the file card 21 in the above-mentioned second embodiment on the desktop respectively.

[0193] It can be understood that in the above-mentioned third implementation, the folder card 20 and the file card 21 are combined and displayed in a certain area on the desktop, and in the fourth implementation, the folder card 20 and the file card 21 are independently displayed in different areas or positions on the desktop. Although these two implementations of the desktop card are different in display form, these two implementations can achieve the same technical effect, that is: various functions of the above-mentioned folder card 20 can be realized, facilitating the user to view the folders frequently used by the user in the electronic device, and various functions of the above-mentioned file card 21 can be realized, facilitating the user to view each file recently used by the electronic device.

[0194] Optionally, in response to the user's dragging operation on the folder card 20, the electronic device can update the display position of the folder card 20 on the desktop.

[0195] Optionally, in response to the user's dragging operation on the file card 21, the electronic device can update the display position of the file card 21 on the desktop.

[0196] Optionally, in response to the user's dragging operation on the combined card 22, the electronic device can update the display position of the combined card 22 on the desktop.

[0197] It should be noted that in the above embodiments, four forms of desktop cards are exemplarily listed. It can be understood that the embodiments of the present application include but are not limited to the above four forms of desktop cards. In actual implementation, the embodiments of the present application can also support other card forms similar to the above four card forms, which can be specifically determined according to actual usage requirements, and the embodiments of the present application do not make any limitations.

[0198] The above embodiments of the present application provide desktop cards of various specifications for users to choose from. Users can select and add the cards suitable for their usage habits to the desktop display according to actual usage requirements. The desktop cards provided by the embodiments of the present application present the relevant information of various files that have been recently used by the electronic device and stored in different paths to the users, and can provide a more intuitive and convenient file management form for the users.

[0199] The above has exemplarily described the four desktop cards provided by the embodiments of the present application. The following will specifically describe the solution of the present application through the processes of adding desktop cards, setting the folder paths of desktop cards, and using the functions of desktop cards.

[0200] 1) Process of adding desktop cards

[0201] In the embodiments of the present application, users can select the card form suitable for their usage habits according to actual usage requirements. Correspondingly, the electronic device can display any one of the above four card forms on the desktop according to the user's usage requirements, facilitating the user to search for files.

[0202] Optionally, in the embodiments of the present application, when there is no card displayed on the desktop, the user can select a card from a variety of cards preset in the system in various ways and add the selected card to the desktop.

[0203] In some embodiments, the user can operate on the desktop home page to call up the setting interface of the desktop card, and then the user can perform card addition operations in the setting interface of the desktop card to add the card to the desktop.

[0204] The following combines Figures 6A to 6C Exemplarily illustrate the possible implementation manners in which the electronic device displays multiple card forms for the user to choose from, and the electronic device displays the selected card by the user on the desktop according to the user's selection operation.

[0205] As Figure 6A shown in (a) below, the electronic device receives an operation by the user on the desktop (such as a two-finger pinch operation), as Figure 6AAs shown in (b), in response to a user operation, the electronic device displays multiple controls related to the desktop, such as a wallpaper setting control, a desktop card setting control, and a desktop setting control, etc. Further, the electronic device receives an operation (such as a click operation) from the user on the desktop card setting control. As Figure 6A As shown in (c), in response to a user operation, the electronic device displays a setting interface for the desktop card. Multiple types of cards are displayed in the setting interface of the desktop card, such as YOYO suggestion cards, file management cards, calendar cards, and weather cards. Of course, it may also include other possible cards.

[0206] When the electronic device receives an operation (such as a click operation) from the user on the file management card, as Figure 6B As shown in (a), the electronic device displays a card display interface 24 for file management. Figure 6B As shown in (a), a combined card 22 and an "Add to Desktop" control 25 are displayed in the card display interface 24. The user can trigger the electronic device to update the card display interface 24 by operating on the card display interface 24 (such as an operation of sliding a finger along the arrow direction, or a click operation on the switching icon shown in the dashed box) to display cards in other forms or specifications.

[0207] If the electronic device receives a sliding operation from the user as Figure 6B shown in (a), then as Figure 6B shown in (b), the electronic device displays a folder card 20 in the card display interface 24.

[0208] If the electronic device receives a sliding operation from the user as Figure 6B shown in (b), then as Figure 6B shown in (c), the electronic device displays a file card 21 in the card display interface 24.

[0209] Optionally, in the embodiments of the present application, the cards displayed in the card display interface 24 for file management are displayed in order of priority from high to low. Exemplarily, the priority of the combined card 22 is higher than the priority of the folder card 20, and the priority of the folder card 20 is higher than the priority of the file card 21.

[0210] In some embodiments, the user can operate on the negative first screen of the terminal device to bring up the setting interface for the desktop card, and then the user performs a card addition operation in the setting interface for the desktop card to add the card to the desktop.

[0211] In some embodiments, the user can operate in the system setting interface of the terminal device to bring up the setting interface for the desktop card, and then the user performs a card addition operation in the setting interface for the desktop card to add the card to the desktop.

[0212] The following further combines Figure 6C to exemplarily illustrate the process in which the electronic device adds a card to the desktop after the user selects a card of a certain specification.

[0213] Exemplarily, as Figure 6C shown in (a) of [reference], the electronic device displays a file card 21 in the card display interface 24. After the electronic device receives the operation of the user on the "Add to Desktop" control 25, as Figure 6C shown in (b) of [reference], the electronic device returns to display the desktop and at this time the file card 21 has been added to the desktop.

[0214] Again exemplarily, as Figure 6C shown in (c) of [reference], the electronic device displays a combined card 22 in the card display interface 24. After the electronic device receives the operation of the user on the "Add to Desktop" control 25, as Figure 6C shown in (d) of [reference], the electronic device returns to display the desktop and at this time the combined card 22 has been added to the desktop.

[0215] It can be understood that the above shows possible ways for the user to add desktop cards when there are no cards on the desktop. It can be understood that there may also be other possible implementation manners. For example, when there are already cards displayed on the desktop, the user can operate on the existing cards on the desktop to bring up the settings interface of the desktop cards, and then the user performs a card addition operation in the settings interface of the desktop cards to implement adding the cards to the desktop.

[0216] The following combines Figures 7 to 9 to exemplarily illustrate the process of setting desktop cards.

[0217] First, combine Figure 7 to exemplarily illustrate the process of bringing up multiple function options by operating on a desktop card, and then combine Figure 8 and Figure 9 respectively to exemplarily illustrate the process of bringing up multiple specifications of cards for the user to select by operating on more card items among the multiple function options, and then the process in which the electronic device adds the selected card of a certain specification to the desktop after the user selects a card of a certain specification.

[0218] Exemplarily, Figure 7 shows a schematic diagram of the interface for bringing up multiple function options by operating on a desktop card in an embodiment of the present application. As Figure 7 shown in (a) of [reference], the electronic device displays a folder card 20 on the desktop. The user can operate on the folder card 20 (such as a long-press operation or a swipe-up operation, etc.) to bring up the function options set for the folder card 20. As Figure 7As shown in (b), in response to the user operation, the electronic device may display a function option bar 23 corresponding to the folder card 20. Optionally, the electronic device may highlight the folder card 20 and its function option bar 23, and at this time, other display contents on the desktop may be non-highlighted (for example, blocked).

[0219] Optionally, the function option bar 23 may include the following function options: an edit item 231, a more "file management" card item 232 (abbreviated as a more card item), and a removal item 233.

[0220] Among them, the edit item 231 may be used to trigger the selection and replacement of the folder path for the folder in the folder card 20 that supports editing.

[0221] Among them, the more "file management" card item 232 may be used to trigger the display of desktop cards of various specifications for the user to select.

[0222] Among them, the removal item 233 may be used to trigger the removal of the currently displayed folder card 20 from the desktop. It can be understood that the folder card 20 is invisible to the user after being removed. In the embodiments of the present application, whether it is a folder card, a file card, or a combined card, it can be manually added or deleted according to the user's usage requirements.

[0223] It should be noted that the function options in the function option bar 23 above are for exemplary illustration, and in actual implementation, other function options may also be displayed in the function option bar 23, which is not limited in the embodiments of the present application.

[0224] Further, in response to the user's operation on Figure 7 the more "file management" card item 232 shown in (b) (such as a click operation), as Figure 8 shown in (a), the electronic device may display a card display interface 24 for file management. As Figure 8 shown in (a), the folder card 20 and an "add to desktop" control 25 are displayed in the card display interface 24. The user can trigger the electronic device to update the card display interface 24 by operating on the card display interface 24 (such as an operation of sliding a finger along the arrow direction, or a click operation on the switch icon shown in the dotted box) to display cards in other forms or specifications.

[0225] In some embodiments, if the electronic device receives a sliding operation from the user as Figure 8 shown in (a), then as Figure 8 shown in (b), the electronic device displays a combined card 22 in the card display interface 24. If the electronic device receives an operation on the "add to desktop" control 25, then as Figure 8As shown in Figure (c), the electronic device returns to display the desktop, and at this time, the combined card 22 has been added to the desktop. It should be noted that the folder card 20 originally added to the desktop home page still remains, and the newly added combined card 22 is displayed on other pages of the desktop.

[0226] In some embodiments, if the electronic device receives a sliding operation from the user as shown in Figure 9 Figure (a), then as shown in Figure 9 Figure (b), the electronic device displays a file card 21 in the card display interface 24. If the electronic device receives an operation from the user on the "Add to Desktop" control 25, then as shown in Figure 9 Figure (c), the electronic device returns to display the desktop, and at this time, the file card 21 has been added to the desktop. It should be noted that the folder card 20 originally added to the desktop home page still remains, and the newly added file card 21 is displayed on other pages of the desktop.

[0227] It should be noted that in the above embodiments, for the case where the user adds a new card to the desktop when the desktop originally displays cards, the newly added card can be displayed in different areas of the desktop together with the cards originally displayed on the desktop. The electronic device can update the display position of the card on the desktop according to the user's drag operation on the card. In this way, cards of different specifications can be displayed in different areas of the desktop, which is convenient for the user to find files and improves the user experience.

[0228] Through the solution of the present application, desktop cards of various specifications are provided for the user to choose from. The user can select and add the cards suitable for their usage habits to the desktop display according to actual usage needs.

[0229] For the convenience of description, in the following embodiments, the combined card 22 is used as an example to exemplarily illustrate the card display method provided by the embodiments of the present application.

[0230] 2) Folder path setting process of desktop cards

[0231] As described above, in the embodiments of the present application, the electronic device supports the following functions: in the folder card 20 as shown in Figure 5 Figure (a), the user can customize and set two folder paths. The following combines Figure 10A and Figure 10B to exemplarily illustrate the folder path setting process of desktop cards in the embodiments of the present application.

[0232] Figure 10A As shown in Figure (a), taking the electronic device displaying the combined card 22 on the desktop as an example, the user can operate on the combined card 22 (such as a long press operation or a swipe up operation, etc.) to bring up the function options set for the combined card 22. As shown in Figure 10AAs shown in (b), in response to the user operation, the electronic device can display a function option bar 23 corresponding to the combined card 22. The edit item 231 in the function option bar 23 can be used to trigger the setting of the folder path for the editable folder in the combined card 22.

[0233] Figure 10A As shown in (c), in response to the user's operation on the edit item 231, the electronic device can display a custom file bar 26 for file management, which is used to set two folder paths in the folder card. The custom file bar 26 can include an intelligent recommendation mode 261 and a specified folder mode 262.

[0234] In the intelligent recommendation mode 261, the two source folders with the most files are displayed by default, such as the two source folders "Downloads & Receives" and "Instant Messaging".

[0235] In the specified folder mode 262, the user is allowed to custom-select two commonly used folders and set them as the two folders in the folder card. Optionally, in the initial state of the specified folder mode 262, the two folders recommended by the intelligent system can be displayed by default.

[0236] Figure 10A As shown in (c), in the intelligent recommendation mode 261, the user can operate on the specified folder mode 262 to trigger the switch from the intelligent recommendation mode to the specified folder mode. Correspondingly, Figure 10A As shown in (d), in response to the user's operation on the specified folder mode 262, the electronic device adds and displays entrances 263 and 264 for selecting folders in the custom file bar 26 for file management.

[0237] Among them, the folder path currently displayed in the entrance 263 is "Downloads & Receives", and this folder path is the folder path corresponding to a folder icon in the folder card.

[0238] Among them, the folder path currently displayed in the entrance 264 is "Instant Messaging", and this folder path is the folder path corresponding to a folder icon in the folder card.

[0239] Figure 10A As shown in (d), the user can operate on the entrance 263 to set the folder path corresponding to the folder icon 203. Correspondingly, as Figure 10AAs shown in Figure (e), in response to the user's operation on the entry 263, the electronic device displays a folder selection interface 27. In the folder selection interface 27, folders 271 classified by location and folders 272 classified by source are displayed. Exemplarily, the folders 271 classified by location may include folders such as "My Files", "My Mobile Phone", and "Favorites". Exemplarily, the folders 272 classified by source may include folders such as "Downloads & Receives", "Instant Messaging", and "Browser". As Figure 10A shown in Figure (e), the folder "Downloads & Receives" is the currently default-set folder, and the circular selection icon corresponding to this folder is in the selected state.

[0240] In the embodiment of the present application, the user can select any folder in the folder selection interface 27 to set it as the folder path corresponding to one of the folder icons in the folder card.

[0241] As Figure 10A shown in Figure (e), when the electronic device receives the user's click operation on the folder "My Files", as Figure 10A shown in Figure (f), the electronic device expands and displays subdirectories under the folder "My Files", such as the folder "Travel Notes". When the electronic device receives the user's click operation on the folder "Travel Notes", as Figure 10A shown in Figure (f), the electronic device expands and displays subdirectories under the folder "Travel Notes", such as the folders "Trip to the Ancient City" and "Random Shots by the Sea".

[0242] Further, as Figure 10B shown in Figure (a), the electronic device receives the user's operation of selecting the circular selection icon of the folder "Random Shots by the Sea"; as Figure 10B shown in Figure (b), in response to the user's operation, the electronic device updates the circular selection icon of the folder "Random Shots by the Sea" to the selected state. When the electronic device receives the user's operation on the confirmation icon √, as Figure 10B shown in Figure (c), the electronic device updates the display to the custom file bar 26 for file management. In this custom file bar 26, it can be seen from the entry 263 for selecting a folder that the folder path has been updated from "Downloads & Receives" to "Random Shots by the Sea".

[0243] Further, when the electronic device receives the user's operation (such as a click operation) on the blank area, as Figure 10B shown in Figure (d), the electronic device returns to the desktop, and at this time, the folder icon 221 in the combined card 22 displayed on the desktop is updated from "Downloads & Receives" to "Random Shots by the Sea".

[0244] 3) Process of using the functions of the desktop card

[0245] First, in combination with Figures 11 to 13 exemplarily illustrate the functions supported by the file card during actual use. Among them, Figure 11 FIG. shows a schematic diagram of an interface where the file card provided by an embodiment of the present application supports a user's swiping operation to trigger the switching and display of multiple files. Figure 12 FIG. shows a schematic diagram of an interface when the sharing control in the file card provided by an embodiment of the present application is applied. Figure 13 FIG. shows a schematic diagram of an interface when the send-to control in the file card provided by an embodiment of the present application is applied.

[0246] In some embodiments, as Figure 11 shown in (a) of, taking an electronic device displaying a combined card on the desktop as an example, in the file card 21 in the combined card, a recently used file, such as a ppt document, is displayed, and the usage time is 2022 / 01 / 10. As Figure 11 shown in (a) of, the electronic device receives an upward swiping operation of the user on the file card 21. As Figure 11 shown in (b) of, in response to this user operation, the electronic device dynamically switches and displays the recently used files in the file card 21. As Figure 11 shown in (c) of, the ppt document in the file card 21 is switched to display a word document, and the usage time corresponding to this word document is 2022 / 01 / 09.

[0247] In some other embodiments, as Figure 11 shown in (d) of, the electronic device receives a downward swiping operation of the user on the file card 21. As Figure 11 shown in (e) of, in response to this user operation, the electronic device dynamically switches and displays the recently used files in the file card 21. As Figure 11 shown in (f) of, the word document in the file card 21 is switched back to the ppt document again.

[0248] Through the solution of the present application, the user can trigger the file card to switch and display multiple recently used files by swiping on the file card, which is convenient for the user to find files and improves the user experience.

[0249] In some embodiments, as Figure 12 shown in (a) of, the electronic device receives an operation (such as a click operation) of the user on the "share" control in the file card 21; as Figure 12As shown in Figure (b), in response to the user operation, the electronic device displays a file sharing interface 28, in which various sharing objects are displayed, such as Save As, Smart Screen, Printer, My Computer, Browser, Message, Email, and / or Instant Messaging APP, etc. The user can select a sharing object according to actual usage needs, such as a printer; correspondingly, the electronic device can send the ppt document currently displayed in the file card 21 to the printer and instruct the printer to print the ppt document. In this way, in actual implementation, by displaying file cards on the desktop and providing a "Share" control, fast sharing of files can be achieved, improving the user experience.

[0250] In some other embodiments, as Figure 13 shown in Figure (a), the electronic device receives a user operation on the "Move to" control in the file card 21 (such as a click operation); as Figure 13 shown in Figure (b), in response to the user operation, the electronic device displays an interface 29, in which multiple folders are displayed, such as "My Files" and "My Phone"; among them, each folder may further include one or more folders, such as as Figure 13 shown in Figure (b), the "My Phone" folder may further include folders 1, 2, 3, 4, and 5, etc. The user can select a folder according to actual usage needs, such as "My Phone"; correspondingly, the electronic device can move the ppt document currently displayed in the file card 21 to the "My Phone" folder. In this way, in actual implementation, by displaying file cards on the desktop and providing a "Move to" control, fast movement of files can be achieved, improving the user experience.

[0251] The functions supported by file cards in actual use are described above. Next, in combination with Figures 14 to 17 exemplarily describe the functions supported by folder cards in actual use.

[0252] Figure 14 Shows a schematic diagram of the interface of the "My Files" folder in the folder card provided by the embodiment of the present application when applied. As Figure 14 shown in Figure (a), taking the electronic device displaying the combined card 22 on the desktop as an example, if the electronic device receives a user operation on "My Files" 201 in the combined card 22, then as Figure 14 shown in Figure (b), the electronic device can quickly jump to the interface 30 of the "My Files" folder and display the folders and / or files preset in the "My Files" folder of the electronic device to the user. Among them, in the "My Files" folder, different files can be sorted by time or by name, and the user can select according to actual usage needs for easy file search.

[0253] As shown in Figure 14 (b) of the figure, the "My Files" folder includes one or more folders preset by the user for classifying and storing various files of the user. Therefore, through the "My Files" folder in the folder card, the user can quickly find the "My Files" folder, which is convenient for the user to find files and improves the user experience.

[0254] Figure 15 The figure shows a schematic diagram of the interface of the "Recently" folder in the folder card provided by the embodiment of the present application when applied. As shown in Figure 15 (a) of the figure, taking the electronic device displaying the combined card 22 on the desktop as an example, if the electronic device receives an operation of the user on the "Recently" 202 in the combined card 22, then as shown in Figure 15 (b) of the figure, the electronic device can quickly jump to the interface 31 of the "Recently" folder and display all the files that the electronic device has recently operated on to the user. As shown in Figure 15 (b) of the figure, in the "Recently" folder, all the files that the electronic device has recently operated on (such as documents, pictures, audio, and / or video, etc.) can be arranged in sequence according to the operation time. For example, the file with the most recent operation time can be ranked at the top, which is convenient for the user to find.

[0255] Figure 16 The figure shows a schematic diagram of the interface of the "Downloads & Receives" in the folder card provided by the embodiment of the present application when applied. As shown in Figure 16 (a) of the figure, taking the electronic device displaying the combined card 22 on the desktop as an example, if the electronic device receives an operation of the user on the "Downloads & Receives" 203 in the combined card 22, then as shown in Figure 16 (b) of the figure, the electronic device can quickly jump to the interface 32 of the "Downloads & Receives" folder and display all the files that the electronic device has recently downloaded and received to the user.

[0256] As shown in Figure 16 (b) of the figure, in the "Downloads & Receives" folder, various download sources can be displayed, such as Honor Share, Wi-Fi Direct, and Download Manager; and the number of downloaded items is displayed for each download source. For example, 1 download task has been completed through Honor Share, 1 download task has been completed through Wi-Fi Direct, and 0 download tasks have been completed through the Download Manager. Among them, for the case where a certain download source has completed multiple download tasks, the files downloaded by these multiple download tasks can be arranged in sequence according to the download time. For example, the file with the most recent download time can be ranked at the top, which is convenient for the user to find.

[0257] Figure 17 The figure shows a schematic diagram of the interface of the "Instant Messaging" in the folder card provided by the embodiment of the present application when applied. As shown in Figure 17As shown in (a) below, taking the combined card 22 displayed on the desktop of an electronic device as an example, if the electronic device receives an operation by the user on "instant messaging" 204 in the combined card 22, then as Figure 17 shown in (b) below, the electronic device can quickly jump to the interface 33 where the folder corresponding to the instant messaging APP is located, and display all the files downloaded by the electronic device through the instant messaging APP to the user.

[0258] As Figure 17 shown in (b) below, in the folder corresponding to the instant messaging APP, these files downloaded through the instant messaging APP can be arranged in the order of download. For example, the file with the most recent download time can be ranked at the top, which is convenient for the user to search.

[0259] It should be noted that the various card forms described in the above embodiments are all for illustrative purposes. It can be understood that the embodiments of the present application include but are not limited to the above card forms. In actual implementation, the embodiments of the present application can also adopt other forms of cards.

[0260] As described above, the file card provided by the embodiment of the present application may include at least one of the following elements: file name, file type, file icon, the most recent operation time of the file, file size, sharing control or icon, moving to control or icon, deleting control or icon, copying to control or icon, editing control or icon, and the number of unread files, or any other possible elements.

[0261] The embodiment of the present application does not limit the layout form of the file card, and the form can be diversified. Exemplarily, the file card can be the file card shown in (a) below, or can be the file card shown in (b) below, or can also be the file card shown in (c) below, or other layout forms can also be adopted. Figure 18 as shown in (a) below, or can be the file card shown in (b) below, or can also be the file card shown in (c) below, or other layout forms can also be adopted. Figure 18 as shown in (b) below, or can be the file card shown in (c) below, or other layout forms can also be adopted. Figure 18 as shown in (c) below, or other layout forms can also be adopted.

[0262] The embodiment of the present application does not limit the content form of the file card, and the form can be diversified. The content form of the file card can be document access as shown in (a) below, or can be document access as shown in (b) below, or can also be schedule to-do as shown in (c) below, or other content forms can also be adopted. Figure 19 as shown in (a) below, or can be document access as shown in (b) below, or can also be schedule to-do as shown in (c) below, or other content forms can also be adopted. Figure 19 as shown in (b) below, or can be schedule to-do as shown in (c) below, or other content forms can also be adopted. Figure 19 as shown in (c) below, or other content forms can also be adopted.

[0263] It should be noted that the above embodiments take the file card for displaying multiple documents as an example for illustrative purposes. It can be understood that the content that the file card provided by the embodiment of the present application can display includes but is not limited to documents, and can also be pictures, audio, video or other files, which can be specifically determined according to actual usage requirements, and the embodiments of the present application do not make limitations.

[0264] It should also be noted that, in the above embodiments, file cards or folder cards for displaying files are used as examples for illustrative purposes. It can be understood that the application scenarios of the embodiments of the present application include, but are not limited to, the above file management. In actual implementation, the application scenarios of the embodiments of the present application can also include camera application management or other application scenarios. Hereinafter, camera application management will be used as an example for illustrative purposes.

[0265] In some embodiments, as Figure 20 shown in (a) of, the electronic device can display a folder card 40 on the desktop. The folder card 40 is presented in a 2×2 four-grid form, and the icons of four folders are respectively displayed in the four grids: for example, "Take Photo" 401, "Video Recording" 402, "Portrait" 403, and "Selfie" 404. In the embodiments of the present application, the following functions can be implemented through the folder card 40:

[0266] Optionally, if the electronic device receives an operation from the user on "Take Photo" 401, then the electronic device can quickly jump to the "Take Photo" folder and show the user all the pictures obtained by the electronic device through the photo-taking mode. In the "Take Photo" folder, all the pictures obtained by the photo-taking mode can be arranged in sequence according to the shooting time. For example, the pictures with the most recent shooting time can be arranged at the front, which is convenient for the user to view.

[0267] Optionally, if the electronic device receives an operation from the user on "Video Recording" 402, then the electronic device can quickly jump to the "Video Recording" folder and show the user all the videos obtained by the electronic device through the video-recording mode. In the "Video Recording" folder, all the videos can be arranged in sequence according to the shooting time. For example, the videos with the most recent shooting time can be arranged at the front, which is convenient for the user to view.

[0268] Optionally, if the electronic device receives an operation from the user on "Portrait" 403, then the electronic device can quickly jump to the "Portrait" folder and show the user all the pictures obtained by the electronic device through the portrait mode. In the "Portrait" folder, all the pictures obtained by the portrait mode can be arranged in sequence according to the shooting time. For example, the pictures with the most recent shooting time can be arranged at the front, which is convenient for the user to view.

[0269] Optionally, if the electronic device receives an operation from the user on "Selfie" 404, then the electronic device can quickly jump to the "Selfie" folder and show the user all the pictures obtained by the electronic device through the selfie mode. In the "Selfie" folder, all the pictures obtained by the selfie mode can be arranged in sequence according to the shooting time. For example, the pictures with the most recent shooting time can be arranged at the front, which is convenient for the user to view.

[0270] Similarly, some or all of the above four folders can be pre-set by the system; alternatively, some or all of the above four folders can also be customized by the user.

[0271] For the specific description of the folder card for managing the camera application, reference can be made to the detailed description of the folder card in the above embodiments, which will not be elaborated here.

[0272] In some other embodiments, as Figure 20 shown in (b) of, the electronic device can display a file card 41 on the desktop, and the file card 41 is used to display the relevant information of the pictures or videos (such as micro movies) that the electronic device has recently used (such as shooting, downloading or editing, taking shooting as an example). In the embodiments of the present application, the file card 41 supports the following functions:

[0273] Optionally, in response to a user operation, multiple files in the file card 41 can be switched for display. For example, the user can trigger the switching of the currently displayed pictures or videos in the file card 41 by swiping on the file card 41. Among them, in response to a user operation, the files in the file card 41 can be directly opened without first jumping to the interface of a third-party application for opening videos or pictures.

[0274] Optionally, the file card 41 can include a "share" control. In response to a user's operation on the "share" control, the electronic device can quickly call out the available sharing paths (such as application icons). When the user selects a certain path, the electronic device can send the file currently displayed in the file card 41 to other electronic devices according to the selected path, so as to achieve the purpose of sharing pictures or videos.

[0275] It should be noted that here, taking the file card 41 having a sharing function as an example for illustrative purposes, in actual implementation, the file card 41 can also have a file collection function, or a file copying function, or a file deleting function, or any other function that meets the actual usage requirements. The embodiments of the present application do not limit this.

[0276] It should also be noted that in the embodiments of the present application, displaying a certain picture or video specifically means displaying the relevant information of the picture or video. For example, the relevant information of a picture can include the name of the picture, the shooting time, the picture size, and / or the picture type.

[0277] The file card provided by the embodiments of the present application can present the relevant information of the images (pictures and / or videos) recently captured by the electronic device to the user. The user only needs to perform a swiping operation on the file card to intuitively view all the images recently captured by the electronic device through the file card, so the amount of information is relatively large.

[0278] In some other embodiments, asFigure 20 As shown in Fig. (c), the electronic device can display the combined card 42 on the desktop. The combined card 42 includes the above-mentioned folder card 40 and the above-mentioned file card 41. Through the combined card 42, not only can various functions of the above-mentioned folder card 40 be realized, facilitating the user to view pictures or videos taken in various modes of the camera, but also various functions of the above-mentioned file card 41 can be realized, facilitating the user to view each picture or video recently taken by the electronic device.

[0279] In some other embodiments, as Figure 20 shown in Fig. (d), the electronic device can display the above-mentioned folder card 40 and the above-mentioned file card 41 on the desktop respectively.

[0280] The desktop card form provided by the embodiments of the present application can be an independent folder card, an independent file card, or a combined card in different forms. The card forms are diverse and flexible, and can display information of multiple files located in different storage paths or positions.

[0281] It should be noted that four desktop card forms are exemplarily listed in the above embodiments. It can be understood that the embodiments of the present application include but are not limited to the above four desktop card forms. In actual implementation, the embodiments of the present application can also support other card forms similar to the above four card forms, which can be specifically determined according to actual usage requirements, and the embodiments of the present application are not limited.

[0282] It should also be noted that for the desktop card for managing the camera application, for the relevant descriptions of the process of adding the desktop card, the process of setting the folder path of the desktop card, and the process of using the functions of the desktop card, reference can be specifically made to the detailed descriptions in the above embodiments, and details are not described herein again.

[0283] To implement the above solution, the software architecture diagram of the embodiments of the present application can be seen in Figure 21 as shown in the figure, including: an application layer, a framework layer, and a kernel layer. Among them, the framework layer at least includes a system user interface (system UI) and a card service manager. The application layer at least includes multiple third-party APPs, a Honor Share APP, and a file management APP (i.e., a file manager). The kernel layer at least includes a Bluetooth module, a Wi-Fi module, and a file system.

[0284] After the electronic device is started, the card service manager is started. The file monitoring service FileMonitorService resides in the card service manager and is used to obtain the switch of the file management service. When the switch of the file management service is turned on for the first time, the configuration information of the listening paths corresponding to each third-party APP is obtained from the gateway routing server (GRS) through the cloud service once. Subsequently, the listening paths of each third-party APP (i.e., the paths where the third-party APP stores files by default after receiving files) are obtained from the GRS server regularly through the cloud service. When the switch of the file management service is on, the file monitor (fileobserver) in FileMonitorService monitors the changes of files in the listening paths in the file system; when the file monitor identifies a newly added file, it filters according to the preset corresponding file types and filters out files with file types that do not belong to the monitored objects. When the switch of the file management service is off, the listening paths are no longer obtained, and the changes of files in the listening paths are no longer obtained through FileObserver. Optionally, the switch of the file management service is default to the on state and can be manually turned off by the user in the file manager. After turning off, fileobserver no longer monitors the changes of files. The way to turn off the file management service can be that the user pulls down the notification bar, swipes left on the card for the notification message, the electronic device displays the setting button for the card of the notification message, the user clicks the setting button to pop up the setting menu for the notification message, and the user clicks the button to close the notification in the setting menu to turn off the file management service. The file system is used to manage all files in the electronic device, such as storing or deleting files received by third-party APPs according to the paths. The card service manager is used to broadcast a message of a new file to the file manager after detecting a valid newly added file, and the file manager sends a notification message to be displayed on the system UI. The system UI is used to display the notification message of the new file and update the file-related information in the desktop card.

[0285] When the user clicks the sharing control of the desktop card to operate, the system UI can pull up a sharing window for file sharing, or when the user clicks the move-to control of the desktop card to operate, the system UI can display multiple storage paths. After the user selects a certain storage path, the system UI can move the file to the storage path through the file manager.

[0286] The electronic device in the embodiments of the present application can be a mobile terminal or a non-mobile terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), a wireless headset, a wireless bracelet, a wireless smart glasses, a wireless watch, an augmented reality (AR) / virtual reality (VR) device, a desktop computer, a smart home appliance (such as a TV, a speaker, a refrigerator, an air purifier, an air conditioner, a rice cooker), etc. The embodiments of the present application do not specifically limit the device type of the electronic device.

[0287] The execution subject of the card display method provided in the embodiments of the present application can be the above-mentioned electronic device, or a functional module and / or functional entity in the electronic device that can implement the card display method. Moreover, the solution of the present application can be implemented in a hardware and / or software manner, which can be specifically determined according to actual usage requirements, and the embodiments of the present application do not make any limitations. Hereinafter, taking the electronic device as an example, the card display method provided in the embodiments of the present application will be described exemplarily with reference to the accompanying drawings.

[0288] Figure 22 is a schematic flowchart of the card display method provided in the embodiments of the present application. Refer to Figure 22 As shown, the method includes the following steps S501-S504.

[0289] S501, receive a first operation of a user on the electronic device.

[0290] S502, in response to the first operation, display a first card on the desktop of the electronic device. The first card includes M folder icons, and each folder icon in the M folder icons corresponds to a folder in the electronic device.

[0291] Wherein, M is a positive integer.

[0292] S503, receive a second operation of the user on the first folder icon in the first card. The first folder icon corresponds to a first folder in the electronic device;

[0293] S504, in response to the second operation, switch from the display desktop to: display the interface of the first folder.

[0294] In the embodiments of the present application, each folder in the first card can be set as a folder commonly used by the user or a folder for storing files downloaded or received by the electronic device. Exemplarily, the first folder can be any one of the following: Folder 1, for storing the user's personal files; Folder 2, for storing the files downloaded by the electronic device within a recent preset period; Folder 3, for storing all the files downloaded and received by the electronic device; Folder 4, for storing all the files downloaded through the first application installed in the electronic device. Or, it can also be any other possible folder.

[0295] Through the solution of the present application, a card including multiple folders can be added to the desktop according to user needs. For example, each folder in the card can be set as a folder commonly used by the user or a folder for storing files downloaded or received by the electronic device. In this way, when needed, the user can quickly view the corresponding information of certain folders through the card on the desktop. Compared with the solution in the related art that only displays the content of the recently downloaded files, the solution of the present application can display a larger amount of information, and since it displays folders rather than specific file information, the confidentiality is good. The solution of the present application is convenient and fast in file management and has good security.

[0296] Optionally, the card display method provided by the embodiments of the present application may further include the following steps S505 - S506.

[0297] S505, Receive a third operation of the user on the first card.

[0298] Among them, the third operation can be an operation of the user sliding along a preset direction on the first card; or, the third operation is an operation of the user touching the first card for a duration greater than or equal to the first duration. Of course, the third operation can also be any other possible operation, which can be specifically determined according to actual usage needs, and the embodiments of the present application do not make limitations.

[0299] S506, In response to the third operation, display a card menu bar, which includes an edit option, a more cards option, and / or a remove option.

[0300] Optionally, the card display method provided by the embodiments of the present application may further include the following steps S507 - S509A or S509B.

[0301] S507, Receive a fourth operation of the user on the edit option.

[0302] S508, In response to the fourth operation, display a first folder path option and a second folder path option.

[0303] S509A. When receiving an operation of the user on the first folder path option, set the M folders recommended by the system as the M folders in the first card.

[0304] S509B. When receiving an operation of the user on the second folder path option, set the N folders in the first card according to the folders selected by the user, where N is a positive integer less than or equal to M.

[0305] Among them, S509A and S509B are executed alternatively.

[0306] Optionally, the card display method provided by the embodiments of the present application may further include the following steps S510 - S513.

[0307] S510. Receive a fifth operation of the user on the more card option.

[0308] S511. In response to the fifth operation, display multiple card preview images, and the multiple card preview images respectively correspond to cards of different specifications.

[0309] S512. Receive a sixth operation of the user on the second card preview image among the multiple card preview images, and the second card preview image corresponds to the second card.

[0310] S513. In response to the fifth operation, add and display the second card on the desktop of the electronic device.

[0311] Optionally, the card display method provided by the embodiments of the present application may further include the following steps S514 - S515.

[0312] S514. Receive a ninth operation of the user on the removal option.

[0313] S515. In response to the ninth operation, remove the first card from the desktop.

[0314] The solution of the present application provides desktop cards of various specifications for users to choose. For example, the desktop cards provide commonly used folder paths that can be customized by users, and / or the desktop cards support scrolling and switching display of recently processed files. Users can, according to actual usage requirements, choose to add cards suitable for their usage habits to the desktop display. Since what is presented to the user in the desktop card is in the form of folders or file names, and the specific information of the files is not presented, user personal information will not be exposed. When needed, the user only needs to open the folder in the desktop card to view the corresponding information, or only needs to slide the operation on the desktop card to intuitively view all the files that the electronic device has recently used. It can display a large amount of information, is convenient and fast, and has good security.

[0315] It should also be noted that in the embodiments of the present application, "greater than" can be replaced by "greater than or equal to", "less than or equal to" can be replaced by "less than", or "greater than or equal to" can be replaced by "greater than", and "less than" can be replaced by "less than or equal to".

[0316] Each of the embodiments described herein may be an independent solution or may be combined according to the internal logic, and these solutions all fall within the protection scope of the present application.

[0317] It can be understood that the methods and operations implemented by the electronic device in the above method embodiments can also be implemented by components (such as chips or circuits) available for the electronic device.

[0318] The above text describes the method embodiments provided by the present application. The following will describe the device embodiments provided by the present application. It should be understood that the description of the device embodiments corresponds to the description of the method embodiments. Therefore, for the content not described in detail, reference can be made to the above method embodiments. For the sake of brevity, it will not be repeated here.

[0319] The above mainly describes the solutions provided by the embodiments of the present application from the perspective of method steps. It can be understood that in order to implement the above functions, the electronic device implementing the method includes the corresponding hardware structure and / or software module for executing each function. Those skilled in the art should be able to realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the protection scope of the present application.

[0320] The embodiments of the present application can divide the electronic device into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there may be other feasible division methods in actual implementation. The following takes the example of dividing each functional module corresponding to each function for illustration.

[0321] Figure 23 It is a schematic block diagram of a card display device 600 provided by an embodiment of the present application. The device 600 can be used to perform the actions executed by the electronic device in the above method embodiments. The device 600 includes a detection unit 610, a processing unit 620, and a display unit 630.

[0322] The detection unit 610 is configured to receive a first operation of a user on the electronic device.

[0323] The processing unit 620 is configured to, in response to the first operation, instruct the display unit 630 to display a first card.

[0324] The display unit 630 is configured to, according to the instruction of the processing unit 620, display the first card on the desktop of the electronic device. The first card includes M folder icons, and each of the M folder icons corresponds to a folder in the electronic device, where M is a positive integer.

[0325] The detection unit 610 is further configured to receive a second operation of the user on the first folder icon in the first card, where the first folder icon corresponds to a first folder in the electronic device.

[0326] The processing unit 620 is further configured to, in response to the second operation, instruct the display unit 630 to display the interface of the first folder.

[0327] The display unit 630 is further configured to, according to the instruction of the processing unit 620, switch the display of the desktop to: display the interface of the first folder.

[0328] Through the solution of the present application, a card including multiple folders can be added to the desktop according to user requirements. For example, each folder in the card can be set as a commonly used folder of the user or a folder for storing files downloaded or received by the electronic device. In this way, when needed, the user can quickly view the corresponding information of certain folders through the card on the desktop. Compared with the solution in the related art that only displays the content of the recently downloaded files, the solution of the present application can display a larger amount of information, and since it displays folders instead of specific file information, the confidentiality is good. The solution of the present application is convenient, fast and secure in file management.

[0329] The device 600 according to an embodiment of the present application can correspond to execute the method described in the embodiment of the present application, and the above and other operations and / or functions of the units in the device 600 respectively implement the corresponding processes of the method. For the sake of brevity, they will not be described in detail here.

[0330] An embodiment of the present application further provides an electronic device, including: one or more processors; a memory; a touch screen for detecting a touch operation of a user and a display interface; wherein, code is stored in the memory, and when the code is executed by one or more processors, the electronic device executes each step in the above embodiment.

[0331] Exemplarily, when the electronic device is Figure 1 the electronic device shown, the processor in the electronic device can beFigure 1 The processor 110 in Figure 1 the internal memory 121 in Figure 1 the electronic device, and the touch screen in the electronic device may include

[0332] In actual implementation, when the electronic device 100 is running, the processor 110 executes the computer-executable instructions in the memory 121 to perform the operation steps of the above method through the electronic device 100.

[0333] Optionally, in some embodiments, the present application provides a chip, which is coupled to the memory and is used to read and execute the computer program or instructions stored in the memory to perform the methods in the above embodiments.

[0334] Optionally, in some embodiments, the present application provides an electronic device, which includes a chip, and the chip is used to read and execute the computer program or instructions stored in the memory, so that the methods in the embodiments are executed.

[0335] Optionally, in some embodiments, the embodiments of the present application further provide a computer-readable storage medium, which stores program codes, and when the computer program codes run on a computer, the computer is enabled to perform the methods in the above embodiments.

[0336] Optionally, in some embodiments, the embodiments of the present application further provide a computer program product, which includes computer program codes, and when the computer program codes run on a computer, the computer is enabled to perform the methods in the above embodiments.

[0337] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided by the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here.

[0338] In an embodiment of the present application, the electronic device includes a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system layer. Among them, the hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as main memory). The operating system in the operating system layer can be any one or more computer operating systems that implement service processing through processes. For example, the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system, etc. The application layer may include applications such as a browser, an address book, a word processing software, and an instant messaging software.

[0339] The embodiment of the present application does not particularly limit the specific structure of the execution subject of the method provided by the embodiment of the present application. As long as it can communicate according to the method provided by the embodiment of the present application by running a program that records the code of the method provided by the embodiment of the present application. For example, the execution subject of the method provided by the embodiment of the present application can be an electronic device, or a functional module in the electronic device that can call and execute the program.

[0340] Aspects or features of the present application can be implemented as a method, an apparatus, or an article of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" as used herein can cover a computer program accessible from any computer-readable device, carrier, or medium. For example, computer-readable media may include, but are not limited to: magnetic storage devices (such as hard disks, floppy disks, or magnetic tapes, etc.), optical discs (such as compact discs (CDs), digital versatile discs (DVDs), etc.), smart cards, and flash memory devices (such as erasable programmable read-only memories (EPROMs), cards, sticks, or key drives, etc.).

[0341] The various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable media" may include, but is not limited to: wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.

[0342] Those of ordinary skill in the art can realize that the units and steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Skilled professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the protection scope of this application.

[0343] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0344] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.

[0345] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0346] In addition, the functional units in each embodiment of this application can be integrated into one unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.

[0347] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium, and this computer software product includes several instructions, and these instructions are used to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium may include, but is not limited to: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.

[0348] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used in the specification of this application herein are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0349] As described above, the above are only specific implementation manners of this application, but the protection scope of this application is not limited thereto. Any person skilled in the technical field can easily think of changes or substitutions within the technical scope disclosed by this application, and all of them should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims

1. A card display method, applied to an electronic device, characterized in that The described card display method includes: Displaying a card display interface for file management, where the card display interface includes a preview image of a first card; Receiving a first operation by the user to add the first card to the desktop; in response to the first operation, displaying the desktop, where the desktop includes the first card, and the first card includes a preset first type of folder and a second type of folder that supports user-defined settings; In response to a third operation by the user on the first card, displaying a card menu bar, where the card menu bar includes an edit option; In response to a fourth operation by the user on the edit option, displaying a custom file bar, where folder setting items are displayed in the custom file bar; In response to the operation where the user selects a folder through the folder setting items, setting the folder selected by the user as the second type of folder; In response to a second operation by the user on a first folder in the first card, switching from displaying the desktop to: displaying the interface of the first folder.

2. The method according to claim 1, characterized in that, The first card is in a grid form; the first card includes a user folder, a recent folder, a download and receive folder, or an instant messaging folder; among them, the first folder is any one of the user folder, the recent folder, the download and receive folder, or the instant messaging folder; Among them, the user folder includes one or more folders preset by the user for classifying and storing various files of the user; the recent folder includes one or more files that the user has recently operated on based on the electronic device; the download and receive folder includes one or more files that the electronic device has recently downloaded and received; the instant messaging folder includes one or more files downloaded through an instant messaging application.

3. The method according to claim 1 or 2, characterized in that, The step of, in response to a fourth operation by the user on the edit option, displaying a custom file bar, where folder setting items are displayed in the custom file bar, includes: In response to a fourth operation by the user on the edit option, displaying the custom file bar, where a smart recommendation mode option and a specified folder mode option are displayed in the custom file bar; among them, the smart recommendation mode option is in a selected state; In response to the operation by the user on the specified folder mode option, switching from the smart recommendation mode to the specified folder mode, and adding and displaying folder setting items in the custom file bar.

4. The method according to claim 3, wherein When the smart recommendation mode option is in a selected state, the second type of folder is a folder with a relatively high usage frequency smartly recommended by the system.

5. The method according to any one of claims 1 to 4, characterized in that The step of, in response to the operation where the user selects a folder through the folder setting items, setting the folder selected by the user as the second type of folder, includes: When receiving the operation by the user on the folder setting items, displaying a folder selection interface, where folders classified by location and folders classified by source are displayed in the folder selection interface; When receiving the operation where the user selects a folder from the folder selection interface, setting the folder selected by the user as the second type of folder; Among them, the folder selected by the user includes a folder classified by location and / or a folder classified by source; Among them, the folders classified by position include user folders, mobile phone folders, and / or favorite folders; the folders classified by source include download and reception folders, instant messaging folders, and / or browser folders.

6. The method according to claim 5, wherein The folder selection interface further includes a system folder option and / or an application folder option; the system folder option corresponds to a folder preset by the system in the electronic device, and the application folder option corresponds to a folder corresponding to an application installed in the electronic device; Among them, the folder selected by the user is the system folder or the application folder.

7. The method according to claim 3, characterized in that The method further includes: In the specified folder mode, when receiving an operation of the user on the intelligent recommendation mode option, switching from the specified folder mode to the intelligent recommendation mode, updating the intelligent recommendation mode option to a selected state, and hiding the folder setting item; In the intelligent recommendation mode, switching the display of the second type of folder to a folder intelligently recommended by the system.

8. The method according to any one of claims 1 to 7, characterized in that, The card menu bar further includes a more card option; after displaying the card menu bar, the method further includes: Receiving a fifth operation of the user on the more card option; in response to the fifth operation, displaying a plurality of card preview images, and the plurality of card preview images respectively correspond to cards of different specifications; Receiving a sixth operation of the user on a second card preview image among the plurality of card preview images, and the second card preview image corresponds to a second card; in response to the sixth operation, adding and displaying the second card on the desktop of the electronic device; Among them, the second card is used to display the file downloaded by the electronic device most recently and file attribute information, and the file attribute information includes at least one of the following: file name, file download time, file occupied space size, file type.

9. The method according to claim 8, wherein After displaying the second card, the method further includes: Receiving a seventh operation of the user on the second card; In response to the seventh operation, displaying the file content of the file downloaded most recently.

10. The method according to claim 8 or 9, characterized in that The second card includes a first control, and the first control is used to trigger the transmission of the file displayed in the second card to another electronic device; After displaying the second card, the method further includes: When receiving an operation of the user on the first control, displaying a first interface, and the first interface includes one or more sharing method icons, and each sharing method icon corresponds to a file transmission method and / or a file transmission object; When receiving an operation of the user on a first sharing method icon, sending the file displayed in the second card to the file transmission object corresponding to the first sharing method icon.

11. The method according to claim 8 or 9, characterized in that The second card includes a second control, and the second control is used to trigger the movement of the file displayed in the second card to a certain storage path in the electronic device; After displaying the second card, the method further includes: When receiving an operation of the user on the second control, displaying a second interface, and the second interface includes one or more folder identifiers, and each folder identifier corresponds to a folder and its storage path; When receiving an operation by the user on the first folder identifier, move the files displayed in the second card to the folder corresponding to the first folder identifier according to the storage path corresponding to the first folder identifier.

12. The method according to any one of claims 8 to 11, characterized in that, After displaying the second card, the method further includes: Receiving an eighth operation by the user on the second card; In response to the eighth operation, switch to display the files most recently downloaded by the electronic device in the second card.

13. The method according to any one of claims 1 to 12, characterized in that, The first card includes a first area and a second area, where the first area is used to display the first type of folders and the second type of folders, and the second area is used to display the files most recently downloaded by the electronic device and file attribute information; Wherein, the file attribute information includes at least one of the following: file name, file download time, file occupied space size, file type.

14. The method according to any one of claims 1 to 13, characterized in that, The method further includes: In response to a drag operation by the user on the first card, update the display position of the first card on the desktop.

15. The method according to any one of claims 1 to 14, characterized in that, The card menu bar further includes a removal option; after displaying the card menu bar, the method further includes: Receiving a ninth operation by the user on the removal option; In response to the ninth operation, remove the first card from the desktop.

16. A card display method, applied to an electronic device, characterized in that, The card display method includes: Displaying a card display interface managed by the camera application, where the card display interface includes a preview image of the first card; Receiving a first operation by the user to add the first card to the desktop; in response to the first operation, display the desktop, where the desktop includes the first card, and the first card includes multiple folders, and the multiple folders are respectively used to store the pictures or videos taken by the electronic device in different shooting modes; In response to a second operation by the user on the first folder in the first card, switch from displaying the desktop to: displaying the interface of the first folder.

17. The method according to claim 16, wherein The first card is in a grid form; the first card includes a photo-taking folder, a video-recording folder, a portrait folder, or a self-timer folder.

18. The method according to claim 16 or 17, characterized in that The switching from displaying the desktop to: displaying the interface of the first folder in response to a second operation by the user on the first folder in the first card includes: In the case where the user clicks on the photo-taking folder in the first card, switch from displaying the desktop to: displaying the photo-taking folder, and the photo-taking folder includes all the pictures taken by the electronic device in the photo-taking mode; In the case where the user clicks on the video-recording folder in the first card, switch from displaying the desktop to: displaying the video-recording folder, and the video-recording folder includes all the videos taken by the electronic device in the video-recording mode; In the case where the user clicks on the portrait folder in the first card, switch from displaying the desktop to: displaying the portrait folder, and the portrait folder includes all the pictures taken by the electronic device in the portrait mode; In the case where the user clicks on the self-timer folder in the first card, switch from displaying the desktop to: displaying the self-timer folder, and the self-timer folder includes all the pictures taken by the electronic device in the self-timer mode.

19. The method according to any one of claims 16 to 18, characterized in that, The multiple folders in the first card include a preset first - type folder and a second - type folder that supports user - defined settings; The method further includes: In response to a third operation of the user on the first card, display a card menu bar, where the card menu bar includes an edit option; In response to a fourth operation of the user on the edit option, display a custom file bar, and a folder setting item is displayed in the custom file bar; In response to an operation where the user selects a folder through the folder setting item, set the folder selected by the user as the second - type folder.

20. The method according to claim 19, wherein The step of, in response to a fourth operation of the user on the edit option, displaying a custom file bar, and a folder setting item is displayed in the custom file bar, includes: In response to a fourth operation of the user on the edit option, display the custom file bar, and a smart recommendation mode option and a specified folder mode option are displayed in the custom file bar; among them, the smart recommendation mode option is in a selected state; In response to an operation of the user on the specified folder mode option, switch from the smart recommendation mode to the specified folder mode, and add and display a folder setting item in the custom file bar.

21. The method according to claim 20, wherein When the smart recommendation mode option is in a selected state, the second - type folder is a folder with a relatively high usage frequency recommended by the system.

22. The method according to claim 20 or 21, characterized in that, The method further includes: In the specified folder mode, upon receiving an operation of the user on the smart recommendation mode option, switch from the specified folder mode to the smart recommendation mode, update the smart recommendation mode option to a selected state, and hide the folder setting item; In the smart recommendation mode, switch the display of the second - type folder to a folder recommended by the system.

23. The method according to claim 19, wherein The card menu bar further includes a more - cards option; after displaying the card menu bar, the method further includes: Receive a fifth operation of the user on the more - cards option; in response to the fifth operation, display multiple card preview images, and the multiple card preview images respectively correspond to cards of different specifications; Receive a sixth operation of the user on the second card preview image among the multiple card preview images, where the second card preview image corresponds to a second card; in response to the sixth operation, add and display the second card on the desktop of the electronic device. Among them, the second card is used to display pictures or videos recently taken, downloaded or edited by the electronic device and related information, and the related information may include the name, shooting time, size and / or type of the picture or video.

24. The method according to claim 23, wherein After displaying the second card, the method further includes: Receive a seventh operation of the user on the second card; In response to the seventh operation, switch and display pictures or videos recently taken, downloaded or edited by the electronic device in the second card.

25. The method according to claim 23 or 24, characterized in that, A first control is included in the second card, and the first control is used to trigger the transfer of the file displayed in the second card to other electronic devices; After displaying the second card, the method further includes: When an operation of the user on the first control is received, a first interface is displayed, and one or more sharing method icons are included in the first interface, and each sharing method icon corresponds to a file transfer method and / or a file transfer object; When an operation of the user on the first sharing method icon is received, the file displayed in the second card is sent to the file transfer object corresponding to the first sharing method icon.

26. The method according to any one of claims 16 to 25, characterized in that The first card includes a first area and a second area, wherein the first area is used to display the plurality of folders, and the second area is used to display the pictures or videos that have been recently taken, downloaded or edited by the electronic device and related information.

27. An electronic device, characterized in that, Comprising a processor, the processor is coupled to a memory, and the processor is configured to execute the computer program or instructions stored in the memory, so that the electronic device implements the method according to any one of claims 1 to 15, or the method according to any one of claims 16 to 26.

28. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program runs on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 15, or the method according to any one of claims 16 to 26.

29. A computer program product, characterized in that, When the computer program product runs on a computer, the computer is caused to execute the method according to any one of claims 1 to 15, or the method according to any one of claims 16 to 26.