WO2023138305A9 - 卡片显示方法、电子设备及计算机可读存储介质 - Google Patents

卡片显示方法、电子设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2023138305A9
WO2023138305A9 PCT/CN2022/141601 CN2022141601W WO2023138305A9 WO 2023138305 A9 WO2023138305 A9 WO 2023138305A9 CN 2022141601 W CN2022141601 W CN 2022141601W WO 2023138305 A9 WO2023138305 A9 WO 2023138305A9
Authority
WO
WIPO (PCT)
Prior art keywords
card
folder
electronic device
user
file
Prior art date
Application number
PCT/CN2022/141601
Other languages
English (en)
French (fr)
Other versions
WO2023138305A8 (zh
WO2023138305A1 (zh
Inventor
鲍新彤
王龙
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority to EP22921726.0A priority Critical patent/EP4290841A4/en
Priority to US18/551,291 priority patent/US20240168603A1/en
Publication of WO2023138305A1 publication Critical patent/WO2023138305A1/zh
Publication of WO2023138305A9 publication Critical patent/WO2023138305A9/zh
Publication of WO2023138305A8 publication Critical patent/WO2023138305A8/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04804Transparency, e.g. transparent or translucent windows

Definitions

  • the present application relates to the field of information display, and in particular to a card display method and electronic device.
  • users can implement various functions through different applications (APPs) installed on electronic devices, thereby storing a large number of files.
  • APPs applications
  • receiving or sending files such as documents, audios, videos or pictures through third-party APPs such as instant messaging APPs, or downloading installation packages through application market APPs, or downloading audio files through audio APPs, or taking pictures through camera APPs, or video files.
  • electronic devices need to store a large number of files and files from different sources may be stored in different storage paths.
  • Card is an information carrier that provides important or closely related information in a condensed form intuitively and quickly, and is used to display important information. Users can view relevant information intuitively and conveniently by viewing the cards on the desktop.
  • This application provides a card display method and electronic device, which solves the problems of limited amount of displayed information and low security in the way the card displays information.
  • this application provides a card display method.
  • the method includes: receiving a first operation by a user on an electronic device; in response to the first operation, displaying a first card on the desktop of the electronic device.
  • the first card includes M folder icons, each of the M folder icons corresponds to a folder in the electronic device, and M is a positive integer; receiving the user's response to the first folder icon in the first card
  • the first folder icon corresponds to the first folder in the electronic device; in response to the second operation, switching from displaying the desktop to: displaying the interface of the first folder.
  • each folder in the card can be set as a folder commonly used by the user or a folder used to store files downloaded or received by electronic devices. , so that when needed, the user can quickly view the corresponding information of certain folders through cards on the desktop.
  • the solution of this application can display larger information Amount, and because the specific information of the folder rather than the file is displayed, confidentiality is good. This application plan is convenient, fast and safe in file management.
  • the first operation may be an operation by the user to add a card on the card adding interface set by the system, or it may be an operation of adding a card through other methods.
  • the specific operation may be determined according to actual usage requirements, and is not limited in the embodiments of this application.
  • the above card display method may further include: receiving a user's third operation on the first card; in response to the third operation, displaying a card menu bar, where the card menu bar includes at least the following: One item: Edit options, More cards options, Remove options.
  • the above third operation is an operation in which the user slides in a preset direction on the first card, such as an upward sliding operation; or, the above third operation is an operation in which the user touches the first card.
  • An operation whose duration is greater than or equal to the first duration may be referred to as a long press operation.
  • the card menu bar includes editing options. After displaying the card menu bar, the method further includes:
  • Receive a fourth operation (such as a click operation) by the user on the editing option; in response to the fourth operation, display the first folder path option and the second folder path option;
  • N folders in the first card are set according to the folder selected by the user, where N is a positive integer less than or equal to M. .
  • setting at least one folder in the first card according to the folder selected by the user includes:
  • a folder selection interface is displayed, and one or more folders are displayed in the folder selection interface.
  • Options, each folder option corresponds to a folder
  • the folder corresponding to the target folder option is set as a folder in the first card.
  • desktop cards of various specifications are provided for users to choose. Users can choose to add cards that suit their own usage habits to the desktop display based on actual usage needs.
  • users can customize the storage path of each folder in the desktop card. When needed, users only need to open the folder in the desktop card to view the corresponding information, which can display a large amount of information, is convenient, fast and secure.
  • the folder selection interface includes a system folder option and/or an application folder option
  • the system folder option corresponds to a system-preset folder in the electronic device
  • the The application folder option corresponds to a folder corresponding to an application installed in the electronic device
  • the target folder option is the system folder option and/or the application folder option.
  • the first folder is any of the following: Folder 1, used to store the user's personal files; Folder 2, used to store the downloads of the electronic device within the latest preset period files; Folder 3 is used to store all files that have been downloaded and received by the electronic device; Folder 4 is used to store all files downloaded through the first application installed in the electronic device.
  • the card menu bar includes the more card options; after displaying the card menu bar, the method further includes:
  • Receive the user's fifth operation (such as a click operation) on the more card options; in response to the fifth operation, display multiple card previews, where the multiple card previews respectively correspond to cards of different specifications;
  • Receive a sixth operation (such as a click operation) by the user on a second card preview image among the plurality of card preview images, the second card preview image corresponding to the second card; in response to the sixth operation, in the The second card is added and displayed on the desktop of the electronic device.
  • a sixth operation such as a click operation
  • the second card is used to display file attribute information of the file most recently downloaded by the electronic device.
  • the file attribute information includes at least one of the following: file name, file download time, file occupancy Space size, file type.
  • the method further includes: receiving a seventh operation (such as a click operation) by the user on the second card; responding to the seventh operation , open the most recently downloaded file, and display the file content of the most recently downloaded file.
  • a seventh operation such as a click operation
  • the second card includes a first control, and the first control is used to trigger the transfer of files displayed in the second card to other electronic devices;
  • the method further includes:
  • the first interface When a user's operation (such as a click operation) on the first control is received, a first interface is displayed.
  • the first interface includes one or more sharing mode icons, and each sharing mode icon corresponds to a type of file transfer. method and/or file transfer object;
  • the file displayed in the second card is sent to the first file transfer object;
  • first sharing mode icon and the second sharing mode icon are respectively icons among the one or more sharing mode icons.
  • the second card includes a second control, and the second control is used to trigger moving the files displayed in the second card to a certain storage path in the electronic device. .
  • the method further includes: when receiving a user's operation (such as a click operation) on the second control, displaying a second interface, the second interface including one or Multiple folder identifiers, each folder identifier corresponding to a folder and its storage path; when receiving a user's operation (such as a click operation) on the first folder identifier, the files displayed in the second card are processed according to the The storage path corresponding to the first folder identification is moved to the folder corresponding to the first folder identification.
  • a user's operation such as a click operation
  • the method further includes: receiving an eighth operation (such as a sliding operation) by the user on the second card; responding to the eighth operation , in the second card, the file attribute information of the files downloaded by the electronic device within the latest preset period is sequentially updated and displayed.
  • an eighth operation such as a sliding operation
  • This application plan provides desktop cards of various specifications for users to choose.
  • the desktop card can support the scrolling switching display of recently processed files.
  • the user can intuitively view all the recently used files on the electronic device by simply sliding on the desktop card. ,Convenient.
  • sequentially updating and displaying the file attribute information of the files downloaded by the electronic device within the most recent preset period includes: displaying the file attribute information of the files downloaded by the electronic device within the most recent preset period. Attribute information is updated and displayed sequentially in the order of file download time.
  • the first card may include a first area and a second area, wherein the first area is used to display the M folder icons, and the second area is used to display the electronic device File attribute information of the most recently downloaded file; wherein the file attribute information includes at least one of the following: file name, file download time, file occupied space size, and file type.
  • the method further includes: receiving a user's drag operation on a target card, where the target card is the first card or the second card; in response to the drag operation, updating the The display position of the target card on the table.
  • the card menu bar includes the remove option; after the card menu bar is displayed, the method further includes: receiving a ninth operation (such as clicking on the remove option) by the user. operation); in response to the ninth operation, remove the first card from the tabletop.
  • a ninth operation such as clicking on the remove option
  • the present application provides a card display device, which includes a unit for performing the method in the first aspect.
  • the device may correspond to performing the method described in the first aspect.
  • the units in the device please refer to the description of the first aspect. For the sake of brevity, they will not be described again here.
  • the method described in the above first aspect can be implemented by hardware, or can also be implemented by hardware executing corresponding software.
  • Hardware or software includes one or more modules or units corresponding to the above functions. For example, processing module or unit, display module or unit, etc.
  • the present 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 program or instructions stored in the memory, so that the first The methods in the aspect are executed.
  • the processor is used to execute a computer program or instructions stored in the memory, so that the device performs the method in the first aspect.
  • the present application provides a computer-readable storage medium on which a computer program (which may also be referred to as instructions or codes) for implementing the method in the first aspect is stored.
  • a computer program which may also be referred to as instructions or codes
  • the computer program when executed by a computer, the computer can execute the method in the first aspect.
  • this application provides a chip including a processor.
  • the processor is configured to read and execute the computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof.
  • the chip further includes a memory, and the memory is connected to the processor through circuits or wires.
  • this application provides a chip system including a processor.
  • the processor is configured to read and execute the computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof.
  • the chip system further includes a memory, and the memory is connected to the processor through circuits or wires.
  • the present application provides a computer program product.
  • the computer program product includes a computer program (which may also be referred to as instructions or codes).
  • the computer program When the computer program is executed by a computer, it causes the computer to implement the method in the first aspect. .
  • Figure 1 is a schematic structural diagram of an electronic device to which the card display method provided by the embodiment of the present application is applied;
  • Figure 2 is a software structure block diagram of an electronic device applied to the card display method provided by the embodiment of the present application;
  • Figure 3 is a schematic diagram of an interface for searching files through file management provided by an embodiment of the present application.
  • Figure 4 is a schematic interface diagram of a card display method provided by an embodiment of the present application.
  • Figure 5 is a schematic interface diagram of a card display method provided by an embodiment of the present application.
  • Figure 6A is an interactive schematic diagram of a setting interface for calling up desktop cards provided by an embodiment of the present application
  • Figure 6B is a schematic interface diagram of cards of different specifications provided by the embodiment of the present application.
  • Figure 6C is a schematic interface diagram of an electronic device adding a card to the desktop after the user selects a card of one specification provided by the embodiment of the present application;
  • Figure 7 is a schematic diagram of an interface for calling up multiple functional options by operating desktop cards according to an embodiment of the present application
  • Figure 8 is a schematic diagram of the interface for calling up cards of various specifications for users to select and adding the cards to the desktop provided by the embodiment of the present application;
  • Figure 9 is a schematic diagram of the interface for calling up cards of various specifications for users to select and adding the cards to the desktop provided by the embodiment of the present application;
  • Figure 10A is a schematic diagram of an interface for displaying a custom file after operating edit items among multiple function options provided by an embodiment of the present application;
  • Figure 10B is a schematic interface diagram of a user-defined folder path provided by an embodiment of the present application.
  • Figure 11 is a schematic diagram of an interface for switchable display of multiple files in a file card provided by an embodiment of the present application
  • Figure 12 is a schematic interface diagram of the application of the sharing control in the file card provided by the embodiment of the present application.
  • Figure 13 is a schematic interface diagram of the Send to control in the file card provided by the embodiment of the present application when it is applied;
  • Figure 14 is a schematic interface diagram of the application of the "My Files" folder in the folder card provided by the embodiment of the present application;
  • Figure 15 is a schematic interface diagram of the application of the "recent" folder in the folder card provided by the embodiment of the present application;
  • Figure 16 is a schematic interface diagram of the application of the "Download and Receive” folder in the folder card provided by the embodiment of the present application;
  • Figure 17 is a schematic interface diagram of the application of the "Instant Messaging" folder in the folder card provided by the embodiment of the present application;
  • Figure 18 is a schematic diagram of file cards in various display forms provided by embodiments of the present application.
  • Figure 19 is a schematic diagram of file cards in various content forms provided by the embodiment of the present application.
  • Figure 20 is a schematic diagram of a file card when the card display method provided by the embodiment of the present application is applied to camera shooting management;
  • Figure 21 is a software architecture diagram of the application of the card display method provided by the embodiment of the present application.
  • Figure 22 is a schematic flowchart of a card display method provided by an embodiment of the present application.
  • Figure 23 is a schematic structural diagram of a card display device provided by an embodiment of the present application.
  • a and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. these three situations.
  • the symbol "/" in this article indicates that the associated object is or, for example, A/B means A or B.
  • first, second, etc. in the description and claims herein are used to distinguish different objects, rather than to describe a specific order of objects.
  • first card, second card, etc. are used to distinguish different cards, rather than describing a specific order of cards.
  • multiple refers to two or more, for example, multiple processing units refers to two or more processing units, etc.; multiple Component refers to two or more components, etc.
  • the card display method provided by the embodiment of this application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, and super mobile personal computers.
  • AR augmented reality
  • VR virtual reality
  • UMPCs ultra-mobile personal computers
  • PDAs personal digital assistants
  • FIG. 1 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 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently.
  • the components illustrated may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) wait.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • NPU neural-network processing unit
  • different processing units can be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 110 . If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • Interfaces may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiver and transmitter (universal asynchronous receiver/transmitter (UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and /or universal serial bus (USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • UART universal asynchronous receiver and transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (derail clock line, SCL).
  • processor 110 may include multiple sets of I2C buses.
  • the processor 110 can separately couple the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces.
  • the processor 110 can be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • processor 110 may include multiple sets of I2S buses.
  • the processor 110 can be coupled with the audio module 170 through the I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface to implement the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface to implement the function of answering calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • 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 a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • 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 .
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, display screen 194, wireless communication module 160, audio module 170, sensor module 180, etc.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationships between the modules illustrated in the embodiments of the present application are only schematic illustrations and do not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142, it can also provide power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, wireless communication module 160, etc.
  • the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • the structures of antenna 1 and antenna 2 in Figure 1 are only an example.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands.
  • Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be reused as a diversity antenna for a wireless LAN.
  • antennas may be used in conjunction with tuning switches.
  • the mobile communication module 150 can provide solutions for wireless communication including 2G/3G/4G/5G applied on 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 can receive electromagnetic waves through the antenna 1, perform filtering, amplification and other processing on the received electromagnetic waves, and transmit them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be disposed in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194.
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110 and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (bluetooth, BT), and global navigation satellites.
  • WLAN wireless local area networks
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • 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 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (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 (quasi) -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 194 is used to display images, videos, etc.
  • Display 194 includes a display panel.
  • the display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • AMOLED organic light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • 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, and the like.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera sensor through the lens, the optical signal is converted into an electrical signal, and the camera sensor passes the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
  • Camera 193 is used to capture still images or video.
  • the object passes through the lens to produce an optical image that is projected onto the photosensitive element.
  • the photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other format image signals.
  • the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they 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.
  • Video codecs are used to compress or decompress digital video.
  • Electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, etc.
  • NPU is a neural network (NN) computing processor.
  • NN neural network
  • Intelligent cognitive applications of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, etc.
  • 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. Such as saving music, videos, etc. files in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes instructions stored in the internal memory 121 to execute various functional applications and data processing of the electronic device 100 .
  • the internal memory 121 may include a program storage area and a data storage area. Among them, the stored program area can store an operating system, at least one application program required for a function (such as a sound playback function, an image playback function, etc.).
  • the storage data area may store data created during use of the electronic device 100 (such as audio data, phone book, etc.).
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or a voice message, the voice can be heard by bringing the receiver 170B close to the human ear.
  • Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak close to the microphone 170C with the human mouth and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions, etc.
  • the headphone interface 170D is used to connect wired headphones.
  • the headphone interface 170D may be a USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA Cellular Telecommunications Industry Association of the USA
  • the pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A there are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.
  • a capacitive pressure sensor may include at least two parallel plates of conductive material.
  • the electronic device 100 determines the intensity of the pressure based on the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch location but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold is applied to 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 is applied to the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyro sensor 180B detects the angle at which the electronic device 100 shakes, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shake 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.
  • 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.
  • Magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may utilize the magnetic sensor 180D to detect opening and closing of the flip holster.
  • the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. Then, based on the detected opening and closing status of the leather case or the opening and closing status of the flip cover, features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various 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 electronic devices and be used in horizontal and vertical screen switching, pedometer and other applications.
  • Distance sensor 180F for measuring distance.
  • Electronic device 100 can measure distance via infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may utilize the distance sensor 180F to measure distance to achieve fast focusing.
  • 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 outwardly through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect when the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in holster mode, and pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touching.
  • Fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access to application locks, fingerprint photography, fingerprint answering of incoming calls, etc.
  • Temperature sensor 180J is used to detect temperature.
  • the electronic device 100 utilizes the temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J in order 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 prevent the low temperature from causing the electronic device 100 to shut down abnormally. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K can be disposed on the display screen 194.
  • the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near the touch sensor 180K.
  • the touch sensor can pass the detected touch operation to the application processor to determine the touch event type.
  • Visual output related to the touch operation may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a location different from that of the display screen 194 .
  • Bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human body's vocal part.
  • the bone conduction sensor 180M can also contact the human body's pulse and receive blood pressure beating signals.
  • the bone conduction sensor 180M can also be provided in an earphone and combined into a bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibrating bone obtained by the bone conduction sensor 180M to implement the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M to implement the heart rate detection function.
  • the buttons 190 include a power button, a volume button, etc.
  • Key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for vibration prompts for incoming calls and can also be used for touch vibration feedback.
  • touch operations for different applications can correspond to different vibration feedback effects.
  • the motor 191 can also respond to different vibration feedback effects for touch operations in different areas of the display screen 194 .
  • Different application scenarios such as time reminders, receiving information, alarm clocks, games, etc.
  • the touch vibration feedback effect can also be customized.
  • the indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be connected to or separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
  • the electronic device 100 uses an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of this application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .
  • FIG. 2 is a software structure block diagram of the electronic device 100 according to the embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has clear roles and division of labor.
  • the layers communicate through software interfaces.
  • the Android system is divided into five layers, from top to bottom: application layer, system framework layer, system library and runtime layer, hardware abstraction layer, and kernel layer.
  • the application layer can include a series of application packages.
  • application packages can include desktop managers, contacts, calendars, text messages, music and other programs.
  • the desktop manager is used to manage and display the icons of all common applications and their corresponding card information, which have no icons on the desktop; when the user triggers the card display operation, the card information is loaded and displayed.
  • Ordinary applications, such as contacts, calendars and other programs that can click icons on the desktop, are used to provide data related to card display.
  • the system framework layer provides an application programming interface (API) and programming framework for applications in the application layer, including various components and services to support developers' Android development.
  • API application programming interface
  • the system framework layer includes some predefined functions.
  • the system framework layer can include a view system, input manager, card service manager, resource manager, window manager, content provider, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, etc.
  • a view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a window manager is used to manage window programs. The window manager can obtain the display size, 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 dispatch of touch events.
  • the card service manager is used to receive and save the card information published by the desktop application (application, APP), and at the same time provide an interface for the desktop program to query the APP's card information.
  • the card service manager can be used as a Service process resident in the Android system, providing a remote calling interface to receive card information published by the APP, and at the same time providing another remote calling interface for desktop programs to query 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 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.
  • the resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc.
  • a window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make this data accessible to applications. Said data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the system library and runtime layer include system libraries and Android Runtime.
  • System libraries can include multiple functional modules. For example: browser kernel, 3D graphics library (for example: OpenGL ES), font library, etc.
  • the browser kernel is responsible for interpreting the syntax of web pages (such as HTML and JavaScript, an application under standard universal markup language) and rendering (displaying) web pages.
  • the 3D graphics library is used to implement three-dimensional graphics drawing, image rendering, composition and layer processing, etc.
  • the font library is used to implement input of different fonts.
  • the Android runtime includes core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
  • the core library contains 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 application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and application framework layer into binary files.
  • the virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection and other functions.
  • the hardware abstraction layer is an abstract interface for the device kernel driver, which provides application programming interfaces for accessing underlying devices to higher-level Java API frameworks.
  • HAL contains multiple library modules, each of which implements an interface for a specific type of hardware component.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer at least includes camera driver, display driver, Bluetooth driver, audio driver, sensor driver, touch driver and WLAN.
  • the kernel layer is The basis of the system. The final function implementation of the system is completed through the kernel layer.
  • electronic devices can receive and download various files such as documents, pictures, audio or videos sent by other electronic devices through third-party APPs such as instant messaging APPs and email APPs. They can also download files from the network through third-party APPs such as browser APPs and video APPs. Download various files.
  • third-party APPs such as instant messaging APPs and email APPs. They can also download files from the network through third-party APPs such as browser APPs and video APPs. Download various files.
  • electronic devices will receive and download a large number of files through different APPs.
  • the path used by electronic devices to store received files is complex, and the saving paths of files received by different APPs are not necessarily the same. Files from third-party APPs are saved locally on the electronic device. , not easy to find.
  • the user first clicks the file management APP icon on the desktop to enter the file management APP interface, and then clicks " "My Phone” folder, and then access the directory Data>com.tencent.mm>MicroMsg>Download level by level (not all directories at each level are shown in Figure 4).
  • the Download folder the user can see the icon of Document 1 ( As shown in the dotted box in Figure 3), the user can then operate on document 1. Since users usually do not know the path to store files in the Android system, it is difficult to find the files they need, resulting in difficulty in finding files and a poor user experience.
  • the electronic device can display a file card on the desktop, and display recently received and downloaded files through the file card, so that the user can quickly view the recently used files.
  • the mobile phone can display a card 11 on the desktop.
  • the card 11 includes four file columns, and each file column is used to display information about recently used (eg downloaded) files.
  • the preset path is the storage path of the instant messaging APP
  • the phone will sequentially display in each file column in the card 11 the relevant files related to the files recently downloaded through the instant messaging APP. information.
  • the default path is the browser APP.
  • the mobile phone will sequentially display relevant information of the files recently downloaded through the browser APP in each file column in the card 11.
  • the relevant information of the file displayed in the above file column may include file name, download time, file size and/or file type.
  • the remaining files column does not display content.
  • the card form is single and not flexible enough, and can only display information about one or more files located in the same preset storage path or location; and for example, The number of files displayed is limited.
  • the card shown in Figure 4 can display relevant information of up to four files, and the amount of information is small.
  • the above card displays specific information of the files, the user's personal information may be exposed. , which may be undesirable by the user.
  • the embodiment of the present application provides a card display method, which provides desktop cards of various specifications for users to choose.
  • the desktop card provides commonly used folder paths that the user can customize, and/or the desktop card can support recently processed files.
  • File scrolling switches display, and users can choose to add cards that suit their usage habits to the desktop display based on actual usage needs. Since the desktop card presents the user with the folder form or file name, and does not present the specific information of the file, 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 just slide on the desktop card to intuitively view all recently used files on the electronic device, which can display a large amount of information, is convenient, fast and secure.
  • desktop card forms of various specifications provided by the embodiment of the present application will be exemplified below with reference to FIG. 5 .
  • the electronic device can display a folder card 20 on the desktop.
  • the folder card 20 is in the form of a 2 ⁇ 2 four-square grid, and the icons of four folders are respectively displayed in the four-square grid. : For example, "My Files” 201, "Recents” 202, “Downloads and Receives” 203, and "Instant Messaging” 204.
  • the following functions can be realized through the folder card 20:
  • the electronic device can quickly jump to the interface of the "My Files” folder and display the "My Files” preset by the electronic device to the user. Folders and/or files within folders.
  • the folder card 20 can enable the user to quickly search by providing an entrance to "My Files"
  • the purpose of the "My Files” folder is to facilitate users to find files and improve the user experience.
  • the electronic device can quickly jump to the interface of the "Recent” folder and display to the user all the files that the electronic device has recently operated on.
  • all the files recently operated by the electronic device can be arranged in order according to the operation time.
  • the files with the latest operation time can be arranged at the top to facilitate the user's search.
  • the electronic device can quickly jump to the interface of the "Download and Receive” folder to display to the user all files recently downloaded and received by the electronic device.
  • all the files recently downloaded and received by the electronic device can be arranged in order according to the download time. For example, the files with the latest download time can be ranked at the top to facilitate the user's search.
  • the electronic device can quickly jump to the interface where the folder corresponding to the Instant Messaging APP is located, and display to the user all the files downloaded by the electronic device through the Instant Messaging APP. .
  • the files downloaded through the instant messaging APP can be arranged in the order of downloading. For example, the files with the latest download time can be ranked first to facilitate user search.
  • some or all of the above four folders can be preset by the system; or some or all of the above four folders can also be customized by the user.
  • the electronic device supports the following functions: in the folder card 20, the user can customize two folder paths.
  • the above four folders are preset by the system as “My Files” 201, “Recents” 202, “Downloads and Receives” 203, and “Instant Messaging” 204 by default.
  • "My Files” 201 and “Recents” 202 do not support user-defined settings
  • "Download and Receive” 203 and “Instant Communication” 204 can support custom settings. That is to say, the electronic device can replace "Download and Receive” 203 and/or "Instant Communication” 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 repeated here.
  • the embodiment of the present application uses a 2 ⁇ 2 four-square grid as an example for illustrative explanation.
  • the above folder card can also be presented in other forms, such as a 2 ⁇ 3 six-square grid. , which can be specifically determined according to actual usage requirements and is not limited in the embodiments of this application.
  • the following takes the folder card displayed as the folder card 20 as shown in (a) of FIG. 5 as an example for illustrative description.
  • the folder cards provided by the embodiments of the present application are presented to the user in the form of folders, without presenting specific information about the files. Therefore, the user's personal information will not be exposed. When needed, the user only needs to open the folder to view the corresponding information. Information, convenient, fast and safe.
  • the electronic device can add an application lock to the folder card in response to 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. This can improve the security of the folder card. safety.
  • the electronic device can display a file card 21 on the desktop.
  • the file card 21 is used to display relevant information of files that the electronic device has recently used (such as downloading or editing, taking downloading as an example).
  • the file card 21 supports the following functions:
  • multiple files in the file card 21 can be switched and displayed.
  • the user can trigger the switching display of each recently downloaded file in the file card 21 through a sliding operation on the file card 21 .
  • the file in the file card 21 can be opened directly without first jumping to the interface of a third-party application for opening the file.
  • the electronic device after the user clicks on document 1, the electronic device usually jumps to the interface of the document application (such as WPS application), and then when the user confirms in the interface of the document application, the electronic device passes the document application Open document 1.
  • the electronic device in response to the user's 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.
  • the file card 21 may include a "share" control 211.
  • the electronic device can quickly call up a path available for sharing (such as an application icon).
  • a path available for sharing such as an application icon.
  • the electronic device can send the file currently displayed in the file card 21 to other electronic devices according to the selected path to achieve the purpose of file sharing.
  • the file card 21 having the file sharing function is used as an example for illustrative explanation.
  • the file card 21 may also have a file collection function, a file copy function, a file deletion function, or any other function that meets the requirements.
  • the functions required by actual use are not limited in the embodiments of this application.
  • the file card 21 may include a “move to” control 212 .
  • the electronic device can quickly call up a path for file storage.
  • the electronic device can move the file currently displayed in the file card 21 according to the selected path, thereby achieving the purpose of moving the file from the current location to another location.
  • file card 21 having the function of moving files to other storage paths is used as an example for illustrative explanation.
  • the file card 21 may also have the function of copying files to other storage paths. This application The embodiment does not limit this.
  • the embodiment of the present application does not limit the type of files presented through the file card 21 .
  • the file card 21 can display files of various document types such as word, ppt, excel or pdf, can also display files of image type, can also display files of audio or video type, or can display any other type of files, specifically It can be determined according to actual usage conditions, and is not limited by the embodiments of this application.
  • displaying a certain file specifically refers to displaying relevant information of the file.
  • information about a file may include file name, download time, file size, and/or file type.
  • the file card provided by the embodiment of the present application can present to the user relevant information about a large number of files that have been recently used by the electronic device and have different storage paths. The user only needs to slide on the file card to visually view the electronic device through the file card. All files that have been used recently, so the amount of information is large.
  • the electronic device can display a combined card 22 on the desktop.
  • the combined card 22 includes the folder card 20 in the first embodiment and the file card 21 in the second embodiment. .
  • the combined card 22 not only can various functions of the above-mentioned folder card 20 be realized to facilitate the user to view folders frequently used by the user in the electronic device; various functions of the above-mentioned file card 21 can also be realized to facilitate the user to view electronic files. Individual files that have been used recently by the device.
  • the desktop card provided by the embodiment of the present application can be in the form of an independent folder card, an independent file card, or a combination of cards in different forms.
  • the card forms are diverse and flexible, and can display multiple files located in different storage paths or locations. file information.
  • the electronic device can respectively display the folder card 20 in the first embodiment and the file card 21 in the second embodiment on the desktop.
  • the folder card 20 and the file card 21 are displayed in a combination on a certain area of the desktop, while in the fourth implementation, the folder card 20 and the file card 21 are independently displayed in different areas of the desktop. area or location.
  • the two implementation methods of the desktop card are different in display form, the two implementation methods can achieve the same technical effect, that is, various functions of the above folder card 20 can be realized to facilitate the user to view the user's frequently used electronic devices.
  • the used folder can realize various functions of the above-mentioned file card 21, making it convenient for the user to view various files recently used by the electronic device.
  • the electronic device may update the display position of the folder card 20 on the desktop.
  • the electronic device may update the display position of the file card 21 on the desktop.
  • the electronic device may update the display position of the combined card 22 on the desktop.
  • the above embodiments exemplarily enumerate four desktop card forms. 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 can be specifically determined according to actual usage requirements, and are not limited in the embodiments of this application.
  • the above-mentioned embodiments of the present application provide desktop cards of various specifications for users to choose. Users can choose to add cards that suit their own usage habits to the desktop display based on actual usage needs.
  • the desktop card provided by the embodiment of the present application presents to the user relevant information about various files recently used by the electronic device and stored in different paths, and can provide the user with a more intuitive and convenient file management form.
  • the above exemplarily illustrates the four desktop cards provided by the embodiment of the present application.
  • the following describes the solution of the present application in detail through the process of adding the desktop card, the process of setting the folder path of the desktop card, and the process of using the function of the desktop card.
  • users can choose a card form that suits their own usage habits based on actual usage needs.
  • the electronic device can display any card in the above four card forms on the desktop according to the user's needs to facilitate the user to find files.
  • the user when no card is displayed on the desktop, the user can select a card from a variety of cards preset by the system in various ways and add the selected card to the desktop.
  • the user can call up the desktop card setting interface by operating on the desktop homepage, and then the user can perform a card adding operation on the desktop card setting interface to add the card to the desktop.
  • the following is an example of a possible implementation of the electronic device displaying multiple card forms for the user to select, and the electronic device displaying the user's selected card on the desktop according to the user's selection operation, with reference to FIGS. 6A to 6C .
  • the electronic device receives the user's operation on the desktop (such as a two-finger pinch operation). As shown in (b) of FIG. 6A , the electronic device responds to the user's operation and displays multiple information about the desktop. Controls, such as wallpaper setting control, desktop card setting control, desktop setting control, etc. Further, the electronic device receives the user's operation (such as a click operation) on the desktop card setting control. As shown in (c) in Figure 6A , the electronic device responds to the user operation and displays a desktop card setting interface. Various types of cards are displayed in the desktop card setting interface, such as YOYO suggestion cards, file management cards, and calendar cards. and weather cards, and of course other possible cards.
  • the electronic device When the electronic device receives the user's operation (such as a click operation) on the file management card, as shown in (a) in FIG. 6B , the electronic device displays the card display interface 24 for file management. As shown in (a) of FIG. 6B , the combined card 22 and the “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 to display other forms or specifications by operating on the card display interface 24 (such as sliding a finger in the direction of the arrow, or clicking on the switching icon shown in the dotted box). of cards.
  • the electronic device receives the user's sliding operation as shown in (a) in Figure 6B, then as shown in (b) in Figure 6B, the electronic device displays the folder card 20 in the card display interface 24.
  • the electronic device If the electronic device receives the user's sliding operation as shown in (b) of FIG. 6B , the electronic device displays the file card 21 in the card display interface 24 as shown in (c) of FIG. 6B .
  • the cards displayed in the card display interface 24 of file management are displayed in order from high to low priority.
  • the priority of the combination card 22 is higher than the priority of the folder card 20
  • the priority of the folder card 20 is higher than the priority of the file card 21 .
  • the user can operate on the lower screen of the terminal device to bring up the setting interface of the desktop card, and then the user performs a card adding operation on the setting interface of the desktop card to add the card to the desktop.
  • the user can operate on the system setting interface of the terminal device to bring up the setting interface of the desktop card, and then the user performs a card adding operation on the setting interface of the desktop card to add the card to the desktop.
  • the electronic device displays the file card 21 in the card display interface 24.
  • the electronic device receives the user's operation on the "Add to Desktop” control 25, as shown in Figure 6C
  • the electronic device returns to the display desktop and the file card 21 has been added to the desktop at this time.
  • the electronic device displays the combined card 22 in the card display interface 24.
  • the electronic device receives the user's operation on the "Add to Desktop” control 25, as shown in Figure
  • the electronic device returns to the display desktop and the combined card 22 has been added to the desktop at this time.
  • the above shows a possible way for the user to add a desktop card when there is no card on the desktop, and it can be understood that there may be other possible implementation methods.
  • the user can operate on the existing card on the desktop to bring up the desktop card setting interface, and then the user can add a card in the desktop card setting interface to add the card to the desktop card. Add to desktop.
  • FIG. 7 shows a schematic interface diagram for calling up multiple function options by operating desktop cards in this embodiment of the present application.
  • the electronic device displays a folder card 20 on the desktop.
  • the user can operate the folder card 20 (such as a long press operation or a slide-up operation, etc.) to call up the folder card 20 Set function options.
  • the electronic device in response to the user operation, can display the function option bar 23 corresponding to the folder card 20 .
  • the electronic device can highlight the folder card 20 and its function option bar 23, and at this time, other displayed content on the desktop can be unhighlighted (for example, blocked).
  • the above-mentioned function option bar 23 may include the following function options: edit item 231, more “file management” card items 232 (referred to as more card items), and remove item 233.
  • the edit item 231 can be used to trigger folder path selection and replacement of folders in the folder card 20 that support editing.
  • more "File Management" card items 232 can be used to trigger the display of desktop cards of various specifications for the user to choose.
  • the remove item 233 can 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 not visible to the user after being removed. In the embodiment 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 needs.
  • function options in the function option column 23 mentioned above are illustrative. In actual implementation, other function options may also be displayed in the function option column 23, which are not limited by this embodiment of the present application.
  • the electronic device can display the file management Card display interface 24.
  • the card display interface 24 displays the folder card 20 and the “Add to Desktop” control 25 .
  • the user can trigger the electronic device to update the card display interface 24 to display other forms or specifications by operating on the card display interface 24 (such as sliding a finger in the direction of the arrow, or clicking on the switching icon shown in the dotted box). of cards.
  • the electronic device if the electronic device receives the user's sliding operation as shown in (a) of Figure 8 , then as shown in (b) of Figure 8 , the electronic device displays the combined card 22 in the card display interface 24 . If the electronic device receives the user's operation on the "add to desktop" control 25, as shown in (c) of Figure 8, the electronic device returns to display the desktop and the combined card 22 has been added to the desktop at this time. It should be noted that the folder card 20 originally added to the desktop homepage is still retained, and the newly added combined card 22 is displayed on other pages of the desktop.
  • the electronic device if the electronic device receives the user's sliding operation as shown in Figure 9 (a), then as shown in Figure 9 (b), the electronic device displays the file card 21 in the card display interface 24. If the electronic device receives the user's operation on the "add to desktop" control 25, as shown in (c) in Figure 9, the electronic device returns to display the desktop and the file card 21 has been added to the desktop at this time. It should be noted that the folder card 20 originally added to the desktop homepage is still retained, and the newly added file card 21 is displayed on other pages of the desktop.
  • the newly added card when the user adds a new card to the desktop when a card is originally displayed on the desktop, 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 dragging operation of the card. In this way, cards of different specifications can be displayed in different areas of the desktop, making it easier for users to find files and improving user experience.
  • desktop cards of various specifications are provided for users to choose. Users can choose to add cards that suit their own usage habits to the desktop display based on actual usage needs.
  • the above-mentioned combined card 22 is taken as an example to illustrate the card display method provided by the embodiment of the present application.
  • the electronic device supports the following functions: in the folder card 20 shown in (a) of Figure 5 , the user can customize two folder paths.
  • the following is an exemplary description of the folder path setting process of the desktop card in the embodiment of the present application with reference to FIG. 10A and FIG. 10B.
  • the user can operate the combined card 22 (such as a long press operation or a slide-up operation, etc.) to call up the combined card 22 .
  • 22 set function options.
  • the electronic device in response to the user operation, can display the function option bar 23 corresponding to the combination card 22 .
  • the edit item 231 in the function option bar 23 can be used to trigger folder path setting for the folder in the combined card 22 that supports editing.
  • the electronic device in response to the user's operation on the edit item 231, can display the custom file bar 26 of file management for setting two folder paths in the folder card.
  • the customized file column 26 may include an intelligent recommendation mode 261 and a designated folder mode 262.
  • the two source folders with the most files are displayed by default, such as the two source folders "Download and Receive” and "Instant Messaging".
  • the user is allowed to customize two commonly used folders and set them as two folders in the folder card.
  • two intelligently recommended folders may be displayed by default.
  • the user in the intelligent recommendation mode 261, the user can operate the designated folder mode 262 to trigger switching from the intelligent recommendation mode to the designated folder mode.
  • the electronic device in response to the user's operation on the specified folder mode 262 , the electronic device adds and displays an entry 263 and an entry 264 for selecting a folder in the custom file column 26 of the file management. .
  • the folder path currently displayed in the entry 263 is "Download and Receive", and the folder path is the folder path corresponding to a folder icon in the folder card.
  • the folder path currently displayed in the entry 264 is "Instant Messaging", and the folder path is the folder path corresponding to a folder icon in the folder card.
  • the user can operate the entry 263 to set the folder path corresponding to the folder icon 203 .
  • the electronic device displays the folder selection interface 27 .
  • Folders 271 classified by location and folders 272 classified by source are displayed on the folder selection interface 27 .
  • the folders 271 classified by location may include folders such as "My Files", “My Mobile Phone", and "Favorites”.
  • the folders 272 classified by source may include folders such as "Downloads and Receives,” “Instant Messaging,” and “Browser.” As shown in (e) of Figure 10A, the folder “Download and Receive” is the current default folder, and the circular selection icon corresponding to the folder is selected.
  • the user can select any folder in the folder selection interface 27 to set it as the folder path corresponding to a folder icon in the folder card.
  • the electronic device receives the user's operation of selecting the circular selection icon of the folder "Beach Shots"; as shown in (b) of Figure 10B , in response to the user's operation, the electronic device The device updates the circular selection icon of the folder "Seaside Shots" to the selected state.
  • the electronic device receives the user's operation on the confirmation icon ⁇ , as shown in (c) in FIG. 10B , the electronic device updates the custom file column 26 displayed as file management. In the customized file column 26, it can be seen from the entry 263 for selecting a folder that the folder path has been updated from "Download and Receive” to "Photography at the Beach".
  • FIG. 11 shows a schematic diagram of the interface in which the file card provided by the embodiment of the present application supports the user's sliding operation to trigger the switching display of multiple files.
  • Figure 12 shows a schematic interface diagram of the application of the sharing control in the file card provided by the embodiment of the present application.
  • Figure 13 shows a schematic interface diagram of the Send to control in the file card provided by the embodiment of the present application when it is applied.
  • a recently used file such as a ppt document
  • use time is 2022/01/10.
  • the electronic device receives the user's upward sliding operation on the file card 21 .
  • the electronic device dynamically switches in the file card 21 Display recently used files.
  • the ppt document in the file card 21 is switched to a word document, and the corresponding usage time of the word document is 2022/01/09.
  • the electronic device receives the user's downward sliding operation on the file card 21 .
  • the electronic device in response to the user operation, the electronic device The device dynamically switches to display recently used files in the file card 21.
  • the word document in the file card 21 is switched back to the ppt document again.
  • the user can trigger the file card to switch and display multiple recently used files by sliding on the file card, making it easier for the user to find files and improving the user experience.
  • the electronic device receives the user's operation (such as a click operation) on the "share" control in the file card 21; as shown in Figure 12 (b), the electronic device responds Upon the user's operation, the electronic device displays a file sharing interface 28.
  • Various sharing objects are displayed in the file sharing interface 28, such as save as, smart screen, printer, my computer, browser, text message, email and/or instant. Communication APP, etc.
  • the user can select a certain sharing object, such as a printer, according to actual usage requirements; accordingly, 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.
  • files can be quickly shared and the user experience is improved.
  • the electronic device receives the user's operation (such as a click operation) on the "move to" control in the file card 21; as shown in (b) of Figure 13 , 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 Mobile Phone”; each folder may also include one or More folders, for example, as shown in (b) of Figure 13, the "My Phone” folder can also include folder 1, folder 2, folder 3, folder 4, folder 5, etc.
  • the user can select a certain folder according to actual usage requirements, such as "My Mobile Phone”; accordingly, the electronic device can move the ppt document currently displayed in the file card 21 to the "My Mobile Phone” folder. In this way, in actual implementation, by displaying the file card on the desktop and providing a "move to" control, the file can be moved quickly, which improves the user experience.
  • Figure 14 shows a schematic interface diagram of the application of the "My Files” folder in the folder card provided by the embodiment of the present application.
  • (a) of Figure 14 taking the electronic device displaying the combined card 22 on the desktop as an example, if the electronic device receives the user's operation on "My Files" 201 in the combined card 22 , then as shown in Figure 14 ( As shown in b), the electronic device can quickly jump to the interface 30 of the "My Files" folder to show the user the folders and/or files in the "My Files” folder preset by the electronic device.
  • different files can be sorted by time or by name. Users can choose according to actual usage needs to facilitate file search.
  • the "My Files” folder includes one or more folders preset by the user, which are used to store the user's various files in categories. Therefore, through the "My Files" in the folder card ” folder can realize the purpose of users quickly finding the “My Files” folder, making it easier for users to find files and improving the user experience.
  • Figure 15 shows a schematic interface diagram of the application of the "recent” folder in the folder card provided by the embodiment of the present application.
  • the electronic device taking the electronic device displaying the combined card 22 on the desktop as an example, if the electronic device receives the user's operation on the "recent” 202 in the combined card 22, then as shown in (b) of Figure 15 As shown, the electronic device can quickly jump to the interface 31 of the "recent” folder to display to the user all files recently operated by the electronic device.
  • all files (such as documents, pictures, audio and/or videos, etc.) recently operated by the electronic device can be arranged in order according to the operation time. For example, the operations can be The most recent files are listed first, making it easier for users to find them.
  • Figure 16 shows a schematic interface diagram of the application of "download and receive” in the folder card provided by the embodiment of the present application.
  • (a) of Figure 16 taking the electronic device displaying the combined card 22 on the desktop as an example, if the electronic device receives the user's operation of "Download and Receive” 203 in the combined card 22, then as shown in Figure 16 ((a) As shown in b), the electronic device can quickly jump to the interface 32 of the "Download and Receive” folder to display to the user all files recently downloaded and received by the electronic device.
  • various download sources can be displayed, such as Honor Share, Wireless LAN (WLAN) Direct Connection and Download Manager; and each download source is displayed There are downloaded numbers, for example, 1 download task has been completed through Honor Share, 1 download task has been completed through WLAN direct connection, and 0 download tasks have been completed through Download Manager.
  • the files downloaded by the multiple download tasks can be arranged in order according to the download time. For example, the files with the latest download time can be ranked first to facilitate the user's search.
  • Figure 17 shows a schematic interface diagram of the application of "instant messaging" in the folder card provided by the embodiment of the present application.
  • the electronic device taking the electronic device displaying the combined card 22 on the desktop as an example, if the electronic device receives the user's operation on the "instant messaging" 204 in the combined card 22 , then as shown in (b of Figure 17 ), the electronic device can quickly jump to the interface 33 where the folder corresponding to the instant messaging APP is located, and display to the user all the files downloaded by the electronic device through the instant messaging APP.
  • the files downloaded through the instant messaging APP can be arranged in the order of downloading. For example, the files with the latest download time can be ranked first, which is convenient for users. Find.
  • 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, file last operation time, file size, sharing control or icon, move to control or icon, delete control or icon, copy to control or icon, edit control or icon, and the number of unread files, or any other possible elements.
  • the embodiment of the present application does not limit the layout form of the file card, and the form can be diversified.
  • the file card may be the file card shown in (a) in Figure 18 , the file card shown in (b) in Figure 18 , or the file card shown in (c) in Figure 18 File cards, or other layouts.
  • 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 Figure 19(a), document access as shown in Figure 19(b), or schedule as shown in Figure 19(c) To-do, or it can take the form of other content.
  • the file card displays multiple documents as an example for illustrative explanation. It can be understood that the content that the file card provided in the embodiment of the present application can display includes but is not limited to documents, and may also be pictures, audio , videos or other files, the details can be determined according to actual usage requirements, and are not limited in the embodiments of this application.
  • file cards or folder cards for displaying files are used as examples for illustrative explanation.
  • application scenarios of the embodiments of the present application include but are not limited to the above-mentioned file management.
  • the application scenarios of the embodiments of the present application may also include camera application management or other application scenarios. The following takes camera application management as an example for illustrative explanation.
  • the electronic device can display a folder card 40 on the desktop.
  • the folder card 40 is in the form of a 2 ⁇ 2 four-square grid, and each of the four square grids displays Icons of four folders: such as "Photography” 401, "Video” 402, “Portrait” 403, and "Selfie” 404.
  • the following functions can be realized through the folder card 40:
  • the electronic device can quickly jump to the "Photography” folder and display to the user all the pictures captured by the electronic device through the photography mode.
  • the "Photography” folder all the pictures taken in the photo mode can be arranged in order according to the shooting time. For example, the pictures with the latest shooting time can be arranged at the top for easy viewing by the user.
  • the electronic device can quickly jump to the "Video Recording” folder to show the user all the videos captured by the electronic device through the video recording mode.
  • the "Video” folder all videos can be arranged in order according to the shooting time. For example, the video with the latest shooting time can be arranged at the top for easy viewing by users.
  • the electronic device can quickly jump to the "Portrait” folder and show the user all the pictures captured by the electronic device through the portrait mode.
  • the "Portrait” folder all the pictures taken in portrait mode can be arranged in order according to the shooting time. For example, the pictures with the latest shooting time can be arranged at the top for easy viewing by users.
  • the electronic device can quickly jump to the "Selfie” folder and show the user all the pictures taken by the electronic device through the self-portrait mode.
  • all the pictures taken through the Selfie mode can be arranged in order according to the shooting time. For example, the pictures with the latest shooting time can be arranged at the top for easy viewing by the user.
  • some or all of the above four folders can be preset by the system; or some or all of the above four folders can also be customized by the user.
  • the electronic device can display a file card 41 on the desktop.
  • the file card 41 is used to display the files recently used by the electronic device (such as shooting, downloading, or editing). For example) related information of pictures or videos (such as micro-movies).
  • the file card 41 supports the following functions:
  • multiple files in the file card 41 can be switched and displayed.
  • the user can trigger the switching display of each recently taken picture or video in the file card 41 through a sliding operation on the file card 41.
  • the files in the file card 41 can be opened directly without first jumping to the interface of a third-party application for opening videos or pictures.
  • the file card 41 may include a "share" control.
  • the electronic device can quickly call up a path for sharing (such as an application icon).
  • a path for sharing such as an application icon.
  • the electronic device can send the file currently displayed in the file card 41 to other electronic devices according to the selected path to achieve the purpose of sharing pictures or videos.
  • the file card 41 having a sharing function is used as an example for illustration.
  • the file card 41 may also have a file collection function, a file copy function, a file deletion function, or any other function that meets the actual needs. Use the required functions, which are not limited in the embodiments of this application.
  • displaying a certain picture or video specifically refers to displaying relevant information of the picture or video.
  • the related information of the picture may include the name of the picture, the time of shooting, the size of the picture, and/or the type of the picture.
  • the file card provided by the embodiment of the present application can present the relevant information of the recently captured images (pictures and/or videos) of the electronic device to the user.
  • the user only needs to slide on the file card to intuitively view the electronic device through the file card. All images taken recently, so the information content is large.
  • the electronic device can display a combined card 42 on the desktop.
  • the combined card 42 includes the above-mentioned folder card 40 and the above-mentioned file card 41 .
  • the combined card 42 not only can various functions of the above-mentioned folder card 40 be realized, which facilitates the user to view pictures or videos taken in various modes of the camera; various functions of the above-mentioned file card 41 can also be realized, It is convenient for users to view each picture or video recently taken by the electronic device.
  • the electronic device can display the above-mentioned folder card 40 and the above-mentioned file card 41 on the desktop respectively.
  • the desktop card provided by the embodiment of the present application can be in the form of an independent folder card, an independent file card, or a combination of cards in different forms.
  • the card forms are diverse and flexible, and can display multiple files located in different storage paths or locations. file information.
  • the above embodiments exemplarily enumerate four desktop card forms. 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 can be specifically determined according to actual usage requirements, and are not limited in the embodiments of this application.
  • the software architecture diagram of the embodiment of the present application can be seen as shown in Figure 21, including: application layer, framework layer and kernel layer.
  • the framework layer includes at least the system user interface (system UI) and the card service manager.
  • the application layer includes at least multiple third-party APPs, Honor Sharing APP and file management APP (i.e. file manager).
  • the kernel layer includes at least the Bluetooth module, Wi-Fi module and file system.
  • the card service manager After the electronic device is started, the card service manager is started.
  • the resident file monitoring service FileMonitorService in the card service manager is used to obtain the switch of the file management service.
  • the card service manager When the switch of the file management service is turned on for the first time, the card service manager first obtains the switch of the file management service from the gateway through the cloud service.
  • the routing (gatewayroutingserver, GRS) server obtains the configuration information of the listening path corresponding to each third-party APP once, and subsequently obtains the listening path of each third-party APP from the GRS server regularly through the cloud service (that is, the default path for storing files after the third-party APP receives the file).
  • the FileMonitorService uses a file monitor (fileobserver) to monitor changes in files under the monitoring path in the file system; when the file monitor recognizes a new file, it will monitor the file type according to the preset corresponding file type. Filter to filter out files that do not belong to the file type of the listening object.
  • the switch of the file management business is turned off, the listening path will no longer be obtained, and the changes in files under the listening path will no longer be obtained through FileObserver.
  • the switch of the file management service is turned on by default and can be turned off manually by the user in the file manager. After it is turned off, the fileobserver will no longer monitor file changes.
  • the way to close the file management service is that the user pulls down the notification bar, slides left on the card for the notification message, the electronic device displays the setting button for the card for the notification message, the user clicks the setting button to pop up the setting menu for the notification message, and the user clicks Settings Use the close notification button in the menu to close the file management service.
  • the file system is used to manage all files in electronic devices, such as storing or deleting files received by third-party APPs according to paths.
  • the card service manager is used to listen to the valid new files, broadcast the message of the new file to the file manager, and the file manager sends a notification message and displays it on the system UI.
  • the system UI is used to display notification messages for new files and update file-related information in desktop cards.
  • the system UI can open the 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. When the user selects a certain After a storage path is created, the system UI can move files to the storage path through the file manager.
  • the electronic device in the embodiment of the present application may be a mobile terminal or a non-mobile terminal.
  • the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • PDAs personal digital assistant
  • wireless headsets wireless bracelets, wireless smart glasses, wireless watches, augmented reality (AR)/virtual reality (VR) devices, desktop computers, smart home appliances (such as TVs, speakers, refrigerators, air conditioners) Purifiers, air conditioners, rice cookers), etc.
  • the embodiments of the present application do not specifically limit the device type of the electronic device.
  • the execution subject of the card display method provided by the embodiment of the present application can be the above-mentioned electronic device, or it can be a functional module and/or functional entity in the electronic device that can implement the card display method, and the solution of the present application can be implemented through hardware and/or or software, and the details can be determined according to actual usage requirements, which are not limited by the embodiments of this application.
  • the following takes an electronic device as an example and illustrates the card display method provided by the embodiment of the present application in conjunction with the accompanying drawings.
  • FIG 22 is a schematic flowchart of a card display method provided by an embodiment of the present application. Referring to Figure 22, the method includes the following steps S501-S504.
  • the first card includes M folder icons, and each of the M folder icons corresponds to a folder icon in the electronic device. a folder.
  • M is a positive integer.
  • each folder in the first card can be set as a folder commonly used by the user or a folder used to store files downloaded or received by the electronic device.
  • the first folder may be any of the following: Folder 1, used to store the user's personal files; Folder 2, used to store files downloaded by the electronic device within the latest preset period; Folder 3, used to store all files downloaded and received by the electronic device; folder 4, used to store all files downloaded through the first application installed in the electronic device. Or, it can be any other possible folder.
  • each folder in the card can be set as a folder commonly used by the user or a folder used to store files downloaded or received by electronic devices. , so that when needed, the user can quickly view the corresponding information of certain folders through cards on the desktop.
  • the solution of this application can display larger information Amount, and because the specific information of the folder rather than the file is displayed, confidentiality is good. This application plan is convenient, fast and safe in file management.
  • the card display method provided by the embodiment of the present application may also include the following steps S505-S506.
  • S505 Receive the user's third operation on the first card.
  • the third operation may be an operation in which the user slides on the first card in a preset direction; or the third operation may be an operation in which the user touches the first card for a duration greater than or equal to the first duration.
  • the third operation can also be any other possible operation, and the details can be determined according to actual usage requirements, which are not limited in the embodiments of this application.
  • the card display method provided by the embodiment of the present application may also include the following steps S507-S509A or S509B.
  • S507 Receive the user's fourth operation on the editing option.
  • S509A When receiving the user's operation on the first folder path option, set the M folders recommended by the system as the M folders in the first card.
  • S509B When receiving the user's operation on the second folder path option, set N folders in the first card according to the folder selected by the user, where N is a positive integer less than or equal to M.
  • S509A and S509B can be executed selectively.
  • the card display method provided by the embodiment of the present application may also include the following steps S510-S513.
  • S510 Receive the user's fifth operation for more card options.
  • S512 Receive the user's sixth operation on the second card preview image among the plurality of card preview images, where the second card preview image corresponds to the second card.
  • the card display method provided by the embodiment of this application may also include the following steps S514-S515.
  • S514 Receive the user's ninth operation on the removal option.
  • the desktop card provides commonly used folder paths that users can customize, and/or the desktop card can support scrolling and switching display of recently processed files. Users can choose according to the actual situation. Usage requirements, choose to add cards that suit your usage habits to the desktop display. Since the desktop card presents the user with the folder form or file name, and does not present the specific information of the file, 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 just slide on the desktop card to intuitively view all recently used files on the electronic device, which can display a large amount of information, is convenient, fast and secure.
  • the electronic device for implementing the method includes corresponding hardware structures and/or software modules for performing each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of protection of this application.
  • Embodiments of the present application can divide the electronic device into functional modules according to the above method examples.
  • 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 modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other feasible division methods. The following is an example of dividing each functional module according to each function.
  • FIG 23 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 performed by the electronic device in the above method embodiment.
  • the device 600 includes a detection unit 610, a processing unit 620 and a display unit 630.
  • the detection unit 610 is used to receive the user's first operation on the electronic device.
  • the processing unit 620 is configured to instruct the display unit 630 to display the first card in response to the first operation.
  • the display unit 630 is configured to display a first card on the desktop of the electronic device according to the instruction of the processing unit 620.
  • the first card includes M folder icons, and each folder icon in the M folder icons corresponds to In a folder in an electronic device, M is a positive integer.
  • the detection unit 610 is also configured to receive the user's second operation on the first folder icon in the first card, where the first folder icon corresponds to the first folder in the electronic device.
  • the processing unit 620 is also configured to instruct the display unit 630 to display the interface of the first folder in response to the second operation.
  • the display unit 630 is also configured to switch the display desktop to display the interface of the first folder according to the instruction of the processing unit 620.
  • each folder in the card can be set as a folder commonly used by the user or a folder used to store files downloaded or received by electronic devices. , so that when needed, the user can quickly view the corresponding information of certain folders through cards on the desktop.
  • the solution of this application can display larger information Amount, and because the specific information of the folder rather than the file is displayed, confidentiality is good. This application plan is convenient, fast and safe in file management.
  • the device 600 may correspond to executing 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 are respectively to implement the corresponding processes of the method. For the sake of brevity, they are not mentioned here. Again.
  • An embodiment of the present application also provides an electronic device, including: one or more processors; a memory; a touch screen, used to detect the user's touch operation, and a display interface; wherein the memory stores a code, and when the code is entered by one or When multiple processors are executed, the electronic device is caused to perform various steps in the above embodiments.
  • the processor in the electronic device can be the processor 110 in Figure 1
  • the memory in the electronic device can be the internal memory 121 in Figure 1
  • the touch screen in the electronic device may include the display screen 194 and the touch sensor 180K in Figure 1 .
  • the processor 110 executes the computer execution instructions in the memory 121 to perform the operation steps of the above method through the electronic device 100 .
  • the present application provides a chip, which is coupled to a memory, and is used to read and execute computer programs or instructions stored in the memory to perform the methods in the above embodiments.
  • the present application provides an electronic device, which includes a chip.
  • the chip is used to read and execute computer programs or instructions stored in a memory, so that the methods in various embodiments are executed.
  • embodiments of the present application also provide a computer-readable storage medium that stores program code.
  • the computer program code When the computer program code is run on a computer, it causes the computer to execute the above steps. Methods in Examples.
  • the embodiments of the present application also provide a computer program product.
  • the computer program product includes computer program code.
  • the computer program code When the computer program code is run on a computer, it causes the computer to execute the steps in the above embodiments. Methods.
  • the electronic devices, computer-readable storage media, computer program products or chips provided by the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the above provided The beneficial effects of the corresponding methods will not be described again here.
  • the electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
  • the hardware layer can include hardware such as central processing unit (CPU), memory management unit (MMU) and memory (also called main memory).
  • the operating system of the operating system layer can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system or windows operating system, etc.
  • the application layer can include applications such as browsers, address books, word processing software, and instant messaging software.
  • the embodiments of this application do not specifically limit the specific structure of the execution body of the method provided by the embodiments of this application, as long as the program recorded in the code of the method provided by the embodiments of this application can be used according to the method provided by the embodiments of this application.
  • the execution subject of the method provided by the embodiment of the present application may be an electronic device, or a functional module in the electronic device that can call a program and execute the program.
  • Computer-readable media may include, but are not limited to: magnetic storage devices (such as hard disks, floppy disks or tapes, etc.), optical disks (such as compact discs (CD), digital versatile discs (DVD), etc. ), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROM), cards, sticks, or key drives, etc.).
  • magnetic storage devices such as hard disks, floppy disks or tapes, etc.
  • optical disks such as compact discs (CD), digital versatile discs (DVD), etc.
  • smart cards e.g., erasable programmable read-only memory (EPROM), cards, sticks, or key drives, etc.
  • EPROM erasable programmable read-only memory
  • 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 medium” may include, but is not limited to, wireless channels and various other media capable of storing, containing and/or carrying instructions and/or data.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be 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.
  • each functional unit in each embodiment of the present 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.
  • the 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.
  • the essence of the technical solution of the present application, or the part that contributes to the existing technology, or the part of the technical solution, can be embodied in the form of a computer software product, and the computer software product is stored in a storage
  • the computer software product includes a number of instructions, which are used to cause 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 media may include but are not limited to: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请提供了一种卡片显示方法、电子设备及计算机可读存储介质,涉及信息显示技术领域。本方案提供了各种规格的桌面卡片供用户选择,例如桌面卡片提供了用户可自定义设置的常用文件夹路径,和/或桌面卡片可支持最近处理的文件滚动切换显示,用户可以根据实际使用需求,选择将适合自己使用习惯的卡片添加到桌面显示。由于桌面卡片中呈现给用户的是文件夹形式或者文件名称,而不会呈现文件的具体信息,因此不会暴露用户个人信息,在需要时用户只需打开桌面卡片中的文件夹即可查看对应信息,或者只需在桌面卡片上滑动操作即可直观地查看电子设备最近使用过的全部文件,可展示较大信息量,方便快捷且安全性好。

Description

卡片显示方法、电子设备及计算机可读存储介质
本申请要求于2022年1月20日提交国家知识产权局、申请号为202210068707.0、申请名称为“卡片显示方法、电子设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及信息显示领域,尤其涉及一种卡片显示方法及电子设备。
背景技术
通常,用户可以通过电子设备安装的不同应用程序(application,APP)实现各种功能,从而会存储大量文件。例如,通过即时通信APP等三方APP接收或发送文档、音频、视频或图片等文件,或者,通过应用市场APP下载安装包,或者,通过音频APP下载音频文件,或者,通过相机APP拍摄得到图片或者视频文件。相应地,电子设备需要存储大量文件并且不同来源的文件会存储于不同存储路径。
目前,可以在桌面创建卡片,通过卡片显示各种文件信息,实现文件的快速管理。卡片是一种信息载体,以浓缩的形式直观快捷地提供重要或密切相关的信息,用于重要信息的显示。用户通过查看桌面上的卡片,可以直观方便地查看相关信息。
然而,现有的卡片显示信息的方式存在不足之处,例如显示信息量有限,无法满足在实际应用中展示大量信息的需求,并且现有的卡片显示信息的方式会暴露用户个人信息,降低了用户使用体验。
发明内容
本申请提供一种卡片显示方法及电子设备,解决了卡片显示信息的方式存在显示信息量有限以及安全性较低的问题。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种卡片显示方法,该方法包括:接收用户在电子设备上的第一操作;响应于该第一操作,在电子设备的桌面上显示第一卡片,该第一卡片中包括M个文件夹图标,该M个文件夹图标中的每个文件夹图标对应于电子设备中的一个文件夹,M为正整数;接收到用户对第一卡片中的第一文件夹图标的第二操作,该第一文件夹图标对应于电子设备中的第一文件夹;响应于该第二操作,从显示桌面切换为:显示第一文件夹的界面。
通过本申请方案,可以根据用户需求在桌面上添加包括多个文件夹的卡片,例如卡片中的各个文件夹可以设置为用户常用的文件夹或者用于存储电子设备下载或者接收的文件的文件夹,这样在需要时用户只需在桌面上通过卡片即可快速查看某些文件夹的对应信息,相对于相关技术中仅展示最近下载的文件内容的方案相比,本申请方案可展示较大信息量,而且由于显示的是文件夹而非文件具体信息,因此保密性好。本申请方案在文件管理上方便快捷且安全性好。
其中,第一操作可以是用户在系统设置的卡片添加界面上进行卡片添加的操作,也可以是通过其他方式添加卡片的操作,具体可以根据实际使用需求确定,本申请实施例不作限定。
在一些可能的实现方式中,上述卡片显示方法还可以包括:接收用户对所述第一卡片的第三操作;响应于所述第三操作,显示卡片菜单栏,所述卡片菜单栏包括以下至少一项:编辑选项,更多卡片选项,移除选项。
在一些可能的实现方式中,上述第三操作为用户在所述第一卡片上沿预设方向滑动的操作,例如上滑操作;或者,上述第三操作为用户在所述第一卡片上触摸时长大于或等于第一时长的操作,可简称为长按操作。
在一些可能的实现方式中,卡片菜单栏包括编辑选项。在所述显示卡片菜单栏之后,所述方法还包括:
接收用户对所述编辑选项的第四操作(例如点击操作);响应于所述第四操作,显示第一文件夹路径选项和第二文件夹路径选项;
当接收到用户对所述第一文件夹路径选项的操作(例如点击操作)时,将系统推荐的M个文件夹设置为所述第一卡片中的M个文件夹;或者,
当接收到用户对所述第二文件夹路径选项的操作(例如点击操作)时,根据用户选择的文件夹设置所述第一卡片中的N个文件夹,N为小于或者等于M的正整数。
在一些可能的实现方式中,所述当接收到用户对所述第二文件夹路径选项的操作时,根据用户选择的文件夹设置所述第一卡片中的至少一个文件夹,包括:
当接收到用户对所述第二文件夹路径选项的操作时,显示N个文件夹设置项;
当接收到用户对所述N个文件夹设置项中的第一设置项的操作(例如点击操作)时,显示文件夹选择界面,所述文件夹选择界面中显示有一个或更多个文件夹选项,每个文件夹选项对应一个文件夹;
当接收到用户对所述文件夹选择界面中的目标文件夹选项的操作(例如点击操作)时,将所述目标文件夹选项对应的文件夹设置为所述第一卡片中的一个文件夹。
通过本申请方案,提供了各种规格的桌面卡片供用户选择,用户可以根据实际使用需求,选择将适合自己使用习惯的卡片添加到桌面显示。并且,用户可自定义设置该桌面卡片中各文件夹的存储路径。在需要时用户只需打开桌面卡片中的文件夹即可查看对应信息,可展示较大信息量,方便快捷且安全性好。
在一些可能的实现方式中,所述文件夹选择界面中包括系统文件夹选项和/或应用文件夹选项,所述系统文件夹选项对应于所述电子设备中系统预设的文件夹,所述应用文件夹选项对应于安装于所述电子设备中的应用对应的文件夹;
其中,所述目标文件夹选项为所述系统文件夹选项和/或所述应用文件夹选项。
在一些可能的实现方式中,所述第一文件夹为以下任一项:文件夹1,用于存储用户的个人文件;文件夹2,用于存储所述电子设备在最近预设时段内下载的文件;文件夹3,用于存储所述电子设备已下载与接收的所有文件;文件夹4,用于存储通过所述电子设备中安装的第一应用下载的所有文件。
通过本申请方案,由于桌面卡片中呈现给用户的是文件夹形式或者文件名称,而不会呈现文件的具体信息,因此不会暴露用户个人信息。
在一些可能的实现方式中,所述卡片菜单栏包括所述更多卡片选项;在所述显示卡片菜单栏之后,所述方法还包括:
接收用户对所述更多卡片选项的第五操作(例如点击操作);响应于所述第五操作,显示多个卡片预览图,所述多个卡片预览图分别对应不同规格的卡片;
接收用户对所述多个卡片预览图中的第二卡片预览图的第六操作(例如点击操作),所述第二卡片预览图对应于第二卡片;响应于所述第六操作,在所述电子设备的桌面上添加并显示所述第二卡片。
在一些可能的实现方式中,所述第二卡片用于显示所述电子设备最近一次下载的文件的文件属性信息,所述文件属性信息包括以下至少一项:文件名称、文件下载时间、文件占用空间大小、文件类型。
在一些可能的实现方式中,在所述显示所述第二卡片之后,所述方法还包括:接收用户对所述第二卡片的第七操作(例如点击操作);响应于所述第七操作,开启最近一次下载的所述文件,并显示最近一次下载的所述文件的文件内容。
在一些可能的实现方式中,所述第二卡片中包括第一控件,所述第一控件用于触发将所述第二卡片中显示的文件传输给其他电子设备;
在所述显示所述第二卡片之后,所述方法还包括:
当接收到用户对所述第一控件的操作(例如点击操作)时,显示第一界面,所述第一界面中包括一个或更多个分享方式图标,每个分享方式图标对应一种文件传输方式和/或文件传输对象;
当接收到用户对第一分享方式图标的操作(例如点击操作)且所述第一分享方式图标对应第一文件传输对象时,将所述第二卡片中显示的文件发送给所述第一文件传输对象;或者,
当接收到用户对第二分享方式图标的操作(例如点击操作)且所述第二分享方式图标对应第一文件传输方式时,显示多个文件传输对象;当接收到用户对所述多个文件传输对象中第一对象的操作时,将所述第二卡片中显示的文件,以所述第一文件传输方式发送给所述第一对象;
其中,所述第一分享方式图标和所述第二分享方式图标分别为所述一个或更多个分享方式图标中的图标。
在一些可能的实现方式中,所述第二卡片中包括第二控件,所述第二控件用于触发将所述第二卡片中显示的文件移动至所述电子设备中的某一存储路径下。
在所述显示所述第二卡片之后,所述方法还包括:当接收到用户对所述第二控件的操作(例如点击操作)时,显示第二界面,所述第二界面中包括一个或多个文件夹标识,每个文件夹标识对应一个文件夹及其存储路径;当接收到用户对第一文件夹标识的操作(例如点击操作)时,将所述第二卡片中显示的文件按照所述第一文件夹标识对应的存储路径,移动至所述第一文件夹标识对应的文件夹。
在一些可能的实现方式中,在所述显示所述第二卡片之后,所述方法还包括:接收用户对所述第二卡片的第八操作(例如滑动操作);响应于所述第八操作,在所述第二卡片中,将所述电子设备在最近预设时段内下载的文件的文件属性信息依次更新显示。
本申请方案提供了各种规格的桌面卡片供用户选择,例如桌面卡片可支持最近处理的 文件滚动切换显示,用户只需在桌面卡片上滑动操作即可直观地查看电子设备最近使用过的全部文件,方便快捷。
在一些可能的实现方式中,所述将所述电子设备在最近预设时段内下载的文件的文件属性信息依次更新显示,包括:将所述电子设备在最近预设时段内下载的文件的文件属性信息,按照文件下载时间的顺序依次更新显示。
在一些可能的实现方式中,第一卡片可以包括第一区域和第二区域,其中所述第一区域用于显示所述M个文件夹图标,所述第二区域用于显示所述电子设备最近一次下载的文件的文件属性信息;其中,所述文件属性信息包括以下至少一项:文件名称、文件下载时间、文件占用空间大小、文件类型。
在一些可能的实现方式中,所述方法还包括:接收用户对目标卡片的拖动操作,所述目标卡片为所述第一卡片或者第二卡片;响应于所述拖动操作,更新所述目标卡片在所述桌面上的显示位置。
在一些可能的实现方式中,所述卡片菜单栏包括所述移除选项;在所述显示卡片菜单栏之后,所述方法还包括:接收用户对所述移除选项的第九操作(例如点击操作);响应于所述第九操作,将所述第一卡片从所述桌面上移除。
通过本申请方案,用户可以根据实际使用需求,选择将适合自己使用习惯的卡片添加到桌面显示。在需要时用户只需打开桌面卡片中的文件夹即可查看对应信息,或者只需在桌面卡片上滑动操作即可直观地查看电子设备最近使用过的全部文件,可展示较大信息量,方便快捷且安全性好。
第二方面,本申请提供一种卡片显示装置,该装置包括用于执行上述第一方面中的方法的单元。该装置可对应于执行上述第一方面中描述的方法,该装置中的单元的相关描述请参照上述第一方面的描述,为了简洁,在此不再赘述。
其中,上述第一方面描述的方法可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,处理模块或单元、显示模块或单元等。
第三方面,本申请提供一种电子设备,所述电子设备包括处理器,处理器与存储器耦合,存储器用于存储计算机程序或指令,处理器用于执行存储器存储的计算机程序或指令,使得第一方面中的方法被执行。例如,处理器用于执行存储器存储的计算机程序或指令,使得该装置执行第一方面中的方法。
第四方面,本申请提供一种计算机可读存储介质,其上存储有用于实现第一方面中的方法的计算机程序(也可称为指令或代码)。例如,该计算机程序被计算机执行时,使得该计算机可以执行第一方面中的方法。
第五方面,本申请提供一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面及其任意可能的实现方式中的方法。可选地,所述芯片还包括存储器,存储器与处理器通过电路或电线连接。
第六方面,本申请提供一种芯片系统,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面及其任意可能的实现方式中的方法。可选地,所述芯片系统还包括存储器,存储器与处理器通过电路或电线连接。
第七方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序(也 可称为指令或代码),所述计算机程序被计算机执行时使得所述计算机实现第一方面中的方法。
可以理解的是,上述第二方面至第七方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
附图说明
图1是本申请实施例提供的卡片显示方法应用的电子设备的结构示意图;
图2是本申请实施例提供的卡片显示方法应用的电子设备的软件结构框图;
图3为本申请实施例提供的通过文件管理查找文件的界面示意图;
图4是本申请实施例提供的一种卡片显示方法的界面示意图;
图5是本申请实施例提供的一种卡片显示方法的界面示意图;
图6A为本申请实施例提供的调出桌面卡片的设置界面的交互示意图;
图6B为本申请实施例提供的不同规格的卡片的界面示意图;
图6C为本申请实施例提供的在用户选择一种规格的卡片后电子设备将该卡片添加到桌面的界面示意图;
图7为本申请实施例提供的通过对桌面卡片操作调出多个功能选项的界面示意图;
图8为本申请实施例提供的调出多种规格的卡片供用户选择,以及将该卡片添加到桌面的界面示意图;
图9为本申请实施例提供的调出多种规格的卡片供用户选择,以及将该卡片添加到桌面的界面示意图;
图10A为本申请实施例提供的通过对多个功能选项中的编辑项操作后显示自定义文件的界面示意图;
图10B为本申请实施例提供的用户自定义设置文件夹路径的界面示意图;
图11为本申请实施例提供的文件卡片中的多个文件可切换显示的界面示意图;
图12为本申请实施例提供的文件卡片中的分享控件在应用时的界面示意图;
图13为本申请实施例提供的文件卡片中的发送至控件在应用时的界面示意图;
图14为本申请实施例提供的文件夹卡片中的“我的文件”文件夹在应用时的界面示意图;
图15为本申请实施例提供的文件夹卡片中的“最近”文件夹在应用时的界面示意图;
图16为本申请实施例提供的文件夹卡片中的“下载与接收”文件夹在应用时的界面示意图;
图17为本申请实施例提供的文件夹卡片中的“即时通信”文件夹在应用时的界面示意图;
图18为本申请实施例提供的各种显示形式的文件卡片的示意图;
图19为本申请实施例提供的各种内容形式的文件卡片的示意图;
图20为本申请实施例提供的卡片显示方法在应用于相机拍摄管理时的文件卡片的示意图;
图21是本申请实施例提供的卡片显示方法应用的软件架构图;
图22是本申请实施例提供的卡片显示方法的流程示意图;
图23是本申请实施例提供的卡片显示装置结构示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一卡片和第二卡片等是用于区别不同的卡片,而不是用于描述卡片的特定顺序。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等;多个元件是指两个或者两个以上的元件等。
本申请实施例提供的卡片显示方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备上,本申请实施例对电子设备的具体类型不作任何限制。
示例性的,图1是本申请实施例提供的一例电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信 号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其它电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其它一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。图1中的天线1和天线2的结构仅为一种示例。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后, 被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其它功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其它设备通信。所述无线通信技术可以包括全球移动通讯系统(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,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其它数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风 170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电 子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其它一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个 SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为五层,从上至下分别为应用程序层,系统框架层,系统库与运行时层、硬件抽象层和内核层。应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括桌面管理器,联系人,日历,短信,音乐等程序。其中,桌面管理器用于管理并显示所有的普通应用程序的图标以及其对应的卡片信息,其在桌面上没有图标;当用户触发卡片显示操作时,加载并显示出卡片信息。普通应用程序,类似联系人、日历等可在桌面上点击图标的程序,用于提供卡片显示相关的数据。
系统框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架,包括各种组件和服务来支持开发者的安卓开发。系统框架层包括一些预先定义的函数。
如图3所示,系统框架层可以包括视图系统、输入管理器、卡片服务管理器、资源管理器、窗口管理器、内容提供器等。视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。输入管理器用于管理触摸事件,实现对触摸事件的派发。
卡片服务管理器用于接收桌面的应用程序(application,APP)发布的卡片信息并保存起来,同时提供接口供桌面程序查询APP的卡片信息。以Android系统为例,卡片服务管理器可作为一个常驻在Andorid系统的Service进程,提供一个远程调用接口接收APP发布的卡片信息,同时提供另一个远程调用接口供桌面程序查询卡片信息。卡片服务管理器保存APP的唯一ID和该APP对应的卡片信息。其中,该APP对应的卡片信息以数据结构的形式发布和保存。该APP的唯一ID可以为该APP的应用包名称(PackageName)或者应用包名称的哈希码。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
系统库与运行时层包括系统库和安卓运行时(Android Runtime)。系统库可以包括多个功能模块。例如:浏览器内核,3D图形库(例如:OpenGL ES),字体库等。浏览器内 核负责对网页语法的解释(如标准通用标记语言下的一个应用HTML、JavaScript)并渲染(显示)网页。3D图形库用于实现三维图形绘图,图像渲染,合成和图层处理等。字体库用于实现不同字体的输入。安卓运行时包括核心库和虚拟机。安卓运行时负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
硬件抽象层是设备内核驱动的抽象接口,实现向更高级别的Java API框架提供访问底层设备的应用编程接口。HAL包含多个库模块,其中每个库模块都为特定类型的硬件组件实现一个接口。
内核层是硬件和软件之间的层。内核层至少包含摄像头驱动,显示驱动,蓝牙驱动,音频驱动,传感器驱动,触控驱动和WLAN。内核层是
Figure PCTCN2022141601-appb-000001
系统的基础。
Figure PCTCN2022141601-appb-000002
系统最终的功能实现都是通过内核层完成。
为了便于理解,本申请以下实施例将以具有图1和图2所示结构的电子设备为例,结合附图和应用场景,对本申请实施例提供的卡片显示方法进行具体阐述。
目前,电子设备可以通过即时通信APP、邮件APP等三方APP接收并下载其他电子设备发送的文档、图片、音频或视频等各种文件,还可以通过浏览器APP、视频APP等三方APP从网络中下载各种文件。在实际使用时,电子设备会通过不同的APP接收并下载大量文件。在传统的安卓系统中,电子设备用于存储接收到的文件的路径复杂,并且不同的APP所接收到的文件的保存路径并不一定相同,来源于三方APP的文件在保存到电子设备本地后,不容易查找。
具体地,用户如果要查找从即时通信APP中接收到的名称为“文档1”的文件时,需要知道该即时通信APP在安卓系统中默认的文件的保存路径,然后操作电子设备,进入文件管理APP并按照该即时通信APP在安卓系统中默认的保存路径进行查找。通常,三方APP接收到的文件可以保存在“我的手机”文件夹下。假设该三方APP保存文件的默认路径为Android>Data>com.tencent.mm>MicroMsg>Download,如图3所示,用户首先点击桌面的文件管理APP的图标进入文件管理APP的界面,然后点击“我的手机”文件夹,然后逐级访问目录Data>com.tencent.mm>MicroMsg>Download(图4中未全部示出各级目录),在Download文件夹中用户能够看到文档1的图标(如图3中虚线框中所示),进而用户可以对文档1进行操作。由于用户通常并不了解安卓系统的存储文件的路径,因此很难找到需要的文件,导致查找文件困难,用户体验不高。
鉴于此,电子设备可以在桌面显示一个文件类卡片,通过文件类卡片显示最近接收并下载的文件,以便于用户快速查看最近使用的文件。示例性地,如图4所示,手机在桌面可以显示卡片11,在卡片11中包括四个文件栏,每个文件栏用于显示最近使用(例如下载)的文件的信息。
例如,假设预设路径为即时通信APP的存储路径,当手机每次通过即时通信APP成功下载文件时,手机会在卡片11中的各个文件栏中依次显示通过即时通信APP最近下载的文件的相关信息。再例如,假设预设路径为浏览器APP,当手机每次通过浏览器APP 成功下载文件时,手机会在卡片11中的各个文件栏中依次显示通过浏览器APP最近下载的文件的相关信息。
其中,上述文件栏中显示的文件的相关信息可以包括文件名称、下载时间、文件大小和/或文件类型。此外,当最近已下载文件的数量不足四个时,剩余文件栏不显示内容。
然而,通过上述卡片显示最近使用文件信息的方式存在各种不足之处,例如卡片形式单一且不够灵活,仅能够显示位于预设的同一存储路径或位置的一个或多个文件的信息;再例如文件显示数量有限,在如图4中所示的卡片中最多能够显示四个文件的相关信息,信息量较小;再例如,由于上述卡片显示了文件的具体信息,因此用户个人信息可能会暴露,这可能是用户不希望的情况。
本申请实施例提供了一种卡片显示方法,提供了各种规格的桌面卡片供用户选择,例如桌面卡片提供了用户可自定义设置的常用文件夹路径,和/或桌面卡片可支持最近处理的文件滚动切换显示,用户可以根据实际使用需求,选择将适合自己使用习惯的卡片添加到桌面显示。由于桌面卡片中呈现给用户的是文件夹形式或者文件名称,而不会呈现文件的具体信息,因此不会暴露用户个人信息,在需要时用户只需打开桌面卡片中的文件夹即可查看对应信息,或者只需在桌面卡片上滑动操作即可直观地查看电子设备最近使用过的全部文件,可展示较大信息量,方便快捷且安全性好。
下面结合图5示例性地说明本申请实施例提供的各种规格的桌面卡片形式的实现方式。
第一实现方式
如图5中(a)所示,电子设备可以在桌面显示文件夹卡片20,该文件夹卡片20呈现为2×2的四宫格形式,该四宫格中分别显示四个文件夹的图标:例如“我的文件”201,“最近”202,“下载与接收”203,以及“即时通信”204。在本申请实施例中,通过文件夹卡片20可以实现下述功能:
(1)如果电子设备接收到用户对“我的文件”201的操作,那么电子设备可以快速跳转到“我的文件”文件夹的界面,向用户展示电子设备预设的“我的文件”文件夹中的文件夹和/或文件。
由于“我的文件”文件夹包括用户预设的一个或多个文件夹,用于分类存储用户的各种文件,因此文件夹卡片20通过提供“我的文件”的入口,可以实现用户快速查找“我的文件”文件夹的目的,便于用户查找文件,提升了用户使用体验。
本申请实施例的方案中,将文件存储在“我的文件夹”下,可以无需重复存储文件,而是针对原有已经存储在默认路径中的文件重新生成一个用户指定的路径,以便于用户能够根据指定的路径查找到文件,在方便用户查找的同时还可以避免重复存储文件,有效利用存储空间,提高了电子设备的存储空间的利用率。
(2)如果电子设备接收到用户对“最近”202的操作,那么电子设备可以快速跳转到“最近”文件夹的界面,向用户展示电子设备最近操作过的全部文件。
在“最近”文件夹中,电子设备最近操作过的全部文件可以按照操作时间依次排列,例如可以将操作时间最近的文件排在最前面,便于用户查找。
(3)如果电子设备接收到用户对“下载与接收”203的操作,那么电子设备可以快速跳转到“下载与接收”文件夹的界面,向用户展示电子设备最近下载与接收的全部文件。
在“下载与接收”文件夹中,电子设备最近下载与接收的全部文件可以按照下载时间 依次排列,例如可以将下载时间最近的文件排在最前面,便于用户查找。
(4)如果电子设备接收到用户对“即时通信”204的操作,那么电子设备可以快速跳转到即时通信APP对应的文件夹所在的界面,向用户展示电子设备通过即时通信APP下载的全部文件。
在即时通信APP对应的文件夹中,通过即时通信APP下载的这些文件可以按下载顺序依次排列,例如可以将下载时间最近的文件排在最前面,便于用户查找。
可选地,上述四个文件夹中的一部分或全部可以由系统预先设置完成;或者,上述四个文件夹中的一部分或全部也可以由用户自定义设置。例如,在本申请实施例中,电子设备支持下述功能:在文件夹卡片20中,用户可自定义设置两个文件夹路径。
示例性地,上述四个文件夹均由系统预先默认设置为“我的文件”201、“最近”202、“下载与接收”203,以及“即时通信”204。其中,“我的文件”201和“最近”202不支持用户自定义设置,“下载与接收”203和“即时通信”204可以支持用于自定义设置。也就是说,电子设备可以响应于用户操作,将“下载与接收”203和/或“即时通信”204替换为其他文件夹。文件夹的具体替换过程将在下文中详细描述,此处不予赘述。
需要说明的是,本申请实施例以2×2的四宫格形式为例进行示例性说明,在实际实现时,上述文件夹卡片还可以呈现为其他形式,例如2×3的六宫格形式,具体可以根据实际使用需求确定,本申请实施例不作限定。为了便于说明,下文中以文件夹卡片显示为如图5中(a)所示的文件夹卡片20为例进行示例性说明。
本申请实施例提供的文件夹卡片中呈现给用户的都是文件夹形式,而不会呈现文件的具体信息,因此不会暴露用户个人信息,在需要时用户只需打开文件夹即可查看对应信息,方便快捷且安全性好。
可选地,在本申请实施例中,电子设备可以响应于用户操作,为文件夹卡片添加应用锁。在添加应用锁之后,只有在电子设备检测到用户输入密码与预设密码相同的情况下,电子设备才会解除文件夹卡片的应用锁,允许文件夹卡片被操作,这样可以提升文件夹卡片的安全性。
第二实现方式
如图5中(b)所示,电子设备可以在桌面显示文件卡片21,该文件卡片21用于显示电子设备最近使用过(例如下载或者编辑,以下载为例)的文件的相关信息。在本申请实施例中,文件卡片21支持下述功能:
(1)响应于用户操作(例如在文件卡片21的滑动操作),文件卡片21中的多个文件可切换显示。例如,用户可通过在文件卡片21上的滑动操作,触发在文件卡片21中切换显示最近下载的各个文件。
(2)响应于用户操作(例如在文件卡片21的点击操作),文件卡片21中的文件可直接开启,而无需先跳转到用于开启文件的第三方应用的界面。
例如,在传统技术方案中,在用户点击文档1后,电子设备通常会先跳转到文档应用(例如WPS应用)的界面,然后当用户在文档应用的界面中确认后,电子设备通过文档应用开启文档1。而在本申请实施例中,响应于用户对文件卡片21中的文档1的操作(例如点击操作),电子设备可以直接通过文档应用开启文档1并显示文档1的内容。
(3)可选地,文件卡片21中可以包括“分享”控件211。响应于用户对“分享”控 件211的操作,电子设备可以快速调出可供分享的路径(例如应用图标)。当用户选择某一路径后,电子设备即可按照所选路径,将文件卡片21中当前显示的文件发送给其他电子设备,实现文件分享的目的。
需要说明的是,这里以文件卡片21具有文件分享功能为例进行示例性说明,在实际实现时,文件卡片21还可以具有文件收藏功能,或者文件复制功能,或者文件删除功能,或者其他任意满足实际使用需求的功能,本申请实施例对此不作限定。
(4)可选地,文件卡片21中可以包括“移动至”控件212。响应于用户对“移动至”控件212的操作,电子设备可以快速调出可供文件存储的路径。当用户选择某一存储路径后,电子设备即可将文件卡片21中当前显示的文件按照所选路径进行移动,实现将文件从当前位置移动至其他位置的目的。
需要说明的是,这里以文件卡片21具有将文件移动至其他存储路径的功能为例进行示例性说明,在实际实现时,文件卡片21还可以具有将文件复制到其他存储路径的功能,本申请实施例对此不作限定。
需要说明的是,本申请实施例不限定通过文件卡片21呈现的文件的类型。例如,文件卡片21可以显示word、ppt、excel或pdf等各种文档类型的文件,也可以显示图片类型的文件,还可以显示音频或视频类型的文件,或者可以显示其他任意类型的文件,具体可以根据实际使用情况确定,本申请实施例不作限定。
还需要说明的是,在本申请实施例中,显示某一文件具体指显示该文件的相关信息。例如,文件的相关信息可以包括文件名称、下载时间、文件大小和/或文件类型。
本申请实施例提供的文件卡片能够将电子设备最近使用过的且存储路径不同的大量文件的相关信息呈现给用户,用户只需在文件卡片上滑动操作,即可通过文件卡片直观地查看电子设备最近使用过的全部文件,因此信息量较大。
第三实现方式
如图5中(c)所示,电子设备可以在桌面显示组合式卡片22,该组合式卡片22包括上述第一实施方式中的文件夹卡片20,以及上述第二实施方式中的文件卡片21。通过该组合式卡片22,不但可以实现上述文件夹卡片20的各种功能,便于用户查看电子设备中用户经常使用的文件夹;而且还可以实现上述文件卡片21的各种功能,便于用户查看电子设备最近使用过的各个文件。
本申请实施例提供的桌面卡片形式可以是独立的文件夹卡片,也可以是独立的文件卡片,还可以不同形式的组合卡片,卡片形式多样且灵活,并且能够显示位于不同存储路径或位置的多个文件的信息。
第四实现方式
如图5中(d)所示,电子设备可以在桌面分别显示上述第一实施方式中的文件夹卡片20,以及上述第二实施方式中的文件卡片21。
可以理解的是,上述第三实现方式中将文件夹卡片20和文件卡片21组合式显示在桌面的某一区域,第四实现方式中将文件夹卡片20和文件卡片21独立显示在桌面的不同区域或位置。尽管桌面卡片的这两种实现方式在显示形式上不同,但是这两种实现方式可以达到同样的技术效果,即:可以实现上述文件夹卡片20的各种功能,便于用户查看电子设备中用户经常使用的文件夹,并且可以实现上述文件卡片21的各种功能,便于用户查 看电子设备最近使用过的各个文件。
可选地,响应于用户对文件夹卡片20的拖动操作,电子设备可以更新文件夹卡片20在桌面上的显示位置。
可选地,响应于用户对文件卡片21的拖动操作,电子设备可以更新文件卡片21在桌面上的显示位置。
可选地,响应于用户对组合式卡片22的拖动操作,电子设备可以更新组合式卡片22在桌面上的显示位置。
需要说明的是,上述实施例中示例性地列举了四种桌面卡片形式,可以理解,本申请实施例包括但不限于上述四种桌面卡片形式,在实际实现时,本申请实施例还可以支持与上述四种卡片形式类似的其他卡片形式,具体可以根据实际使用需求确定,本申请实施例不作限定。
本申请上述实施例提供了各种规格的桌面卡片供用户选择,用户可以根据实际使用需求,选择将适合自己使用习惯的卡片添加到桌面显示。本申请实施例提供的桌面卡片将电子设备最近使用过的且存储于不同路径的各种文件的相关信息呈现给用户,能够为用户提供更直观、更便捷的文件管理形式。
以上示例性地说明了本申请实施例提供的四种桌面卡片,下面分别通过桌面卡片的添加过程、桌面卡片的文件夹路径设置过程、桌面卡片的功能使用过程对本申请方案进行详细说明。
1)桌面卡片的添加过程
在本申请实施例中,用户可以根据实际使用需求,选择适合自己使用习惯的卡片形式。相应地,电子设备可以根据用户使用需求,在桌面显示上述四种卡片形式中的任一种卡片,方便用户查找文件。
可选地,在本申请实施例中,当桌面中没有显示卡片的情况下,用户可以通过各种方式从系统预设的多种卡片中选择一种卡片并将选择的卡片添加到桌面上。
在一些实施例中,用户可以通过在桌面主页操作以调出桌面卡片的设置界面,进而用户可以在桌面卡片的设置界面进行卡片添加操作,以实现将卡片添加到桌面上。
下面结合图6A至6C示例性地说明电子设备显示多种卡片形式供用户选择,以及电子设备根据用户的选择操作在桌面显示用户所选卡片的可能实现方式。
如图6A中(a)所示,电子设备接收到用户在桌面上的操作(例如双指捏合操作),如图6A中(b)所示,电子设备响应于用户操作,显示关于桌面的多个控件,例如壁纸设置控件、桌面卡片设置控件以及桌面设置控件等。进一步地,电子设备接收到用户对桌面卡片设置控件的操作(例如点击操作)。如图6A中(c)所示,电子设备响应于用户操作,显示桌面卡片的设置界面,在桌面卡片的设置界面中显示有多种类型的卡片,例如YOYO建议卡片、文件管理卡片、日历卡片和天气卡片,当然还可以包括其他可能的卡片。
当电子设备接收到用户对文件管理卡片的操作(例如点击操作)时,如图6B中(a)所示,电子设备显示文件管理的卡片展示界面24。如图6B中(a)所示,卡片展示界面24中显示了组合式卡片22和“添加到桌面”控件25。用户可以通过在卡片展示界面24上操作(例如沿箭头方向滑动手指的操作,或者对虚线框中所示的切换图标的点击操作),触发电子设备更新卡片展示界面24,以显示其他形式或规格的卡片。
若电子设备接收到用户如图6B中(a)所示的滑动操作,则如图6B中(b)所示,电子设备在卡片展示界面24中显示文件夹卡片20。
若电子设备接收到用户如图6B中(b)所示的滑动操作,则如图6B中(c)所示,电子设备在卡片展示界面24中显示文件卡片21。
可选地,在本申请实施例中,在文件管理的卡片展示界面24中展示的卡片按照优先级从高到低的顺序依次展示。示例性地,组合式卡片22的优先级高于文件夹卡片20的优先级,文件夹卡片20的优先级高于文件卡片21的优先级。
在一些实施例中,用户可以在终端设备的负一屏操作以调出桌面卡片的设置界面,进而用户在桌面卡片的设置界面进行卡片添加操作,以实现将卡片添加到桌面上。
在一些实施例中,用户可以在终端设备的系统设置界面操作以调出桌面卡片的设置界面,进而用户在桌面卡片的设置界面进行卡片添加操作,以实现将卡片添加到桌面上。
下面进一步结合图6C示例性地说明在用户选择一种规格的卡片后电子设备将该卡片添加到桌面的过程。
示例性地,如图6C中(a)所示,电子设备在卡片展示界面24中显示了文件卡片21,当电子设备接收到用户对“添加到桌面”控件25的操作之后,如图6C中(b)所示,电子设备返回显示桌面并且此时桌面已经添加了文件卡片21。
再示例性地,如图6C中(c)所示,电子设备在卡片展示界面24中显示了组合式卡片22,当电子设备接收到用户对“添加到桌面”控件25的操作之后,如图6C中(d)所示,电子设备返回显示桌面并且此时桌面已经添加了组合式卡片22。
可以理解,上述示出了在桌面中没有卡片时用户添加桌面卡片的可能方式,可以理解,还可能存在其他可能的实现方式。例如,当桌面中已经显示有卡片的情况下,用户可以对桌面已有的卡片进行操作,以调出桌面卡片的设置界面,进而用户在桌面卡片的设置界面进行卡片添加操作,以实现将卡片添加到桌面上。
下面结合图7至图9示例性地说明设置桌面卡片的过程。
首先结合图7示例性地说明通过对桌面卡片操作调出多个功能选项的过程,然后再结合图8和图9分别示例性地说明通过对多个功能选项中的更多卡片项操作后调出多种规格的卡片供用户选择,然后用户选择一种规格的卡片后电子设备将该卡片添加到桌面的过程。
示例性地,图7示出了本申请实施例中通过对桌面卡片操作调出多个功能选项的界面示意图。如图7中(a)所示,电子设备在桌面显示了文件夹卡片20,用户可以对文件夹卡片20进行操作(例如长按操作或上滑操作等),以调出对文件夹卡片20设置的功能选项。如图7中(b)所示,响应于该用户操作,电子设备可以显示文件夹卡片20对应的功能选项栏23。可选地,电子设备可以突出显示文件夹卡片20及其功能选项栏23,此时桌面其他显示内容可以非突出显示(例如被遮挡)。
可选地,上述功能选项栏23可以包括以下功能选项:编辑项231、更多“文件管理”卡片项232(简称为更多卡片项),以及移除项233。
其中,编辑项231可以用于触发对文件夹卡片20中支持编辑的文件夹进行文件夹路径选择及替换。
其中,更多“文件管理”卡片项232可以用于触发显示各种规格的桌面卡片,供用户选择。
其中,移除项233可以用于触发将当前显示的文件夹卡片20从桌面上移除。可以理解,文件夹卡片20在移除后用户不可见。在本申请实施例中,不管是文件夹卡片,还是文件卡片,或者是组合式卡片,都可以根据用户使用需求进行手动添加或者手动删除。
需要说明的是,上述功能选项栏23中的功能选项为示例性说明,在实际实现时功能选项栏23中还可以显示有其他功能选项,本申请实施例不作限定。
进一步地,响应于用户对图7中(b)所示的更多“文件管理”卡片项232的操作(例如点击操作),如图8中(a)所示,电子设备可以显示文件管理的卡片展示界面24。如图8中(a)所示,卡片展示界面24中显示了文件夹卡片20和“添加到桌面”控件25。用户可以通过在卡片展示界面24上操作(例如沿箭头方向滑动手指的操作,或者对虚线框中所示的切换图标的点击操作),触发电子设备更新卡片展示界面24,以显示其他形式或规格的卡片。
在一些实施例中,若电子设备接收到用户如图8中(a)所示的滑动操作,则如图8中(b)所示,电子设备在卡片展示界面24中显示组合式卡片22。若电子设备接收到用户对“添加到桌面”控件25的操作,则如图8中(c)所示,电子设备返回显示桌面并且此时桌面已经添加了组合式卡片22。需要说明的是,原先添加在桌面主页的文件夹卡片20仍然保留,新添加的组合式卡片22显示于桌面的其他页面。
在一些实施例中,若电子设备接收到用户如图9中(a)所示的滑动操作,则如图9中(b)所示,电子设备在卡片展示界面24中显示文件卡片21。若电子设备接收到用户对“添加到桌面”控件25的操作,则如图9中(c)所示,电子设备返回显示桌面并且此时桌面已经添加了文件卡片21。需要说明的是,原先添加在桌面主页的文件夹卡片20仍然保留,新添加的文件卡片21显示于桌面的其他页面。
需要说明的是,在上述实施方式中,对于当桌面原先显示有卡片时用户添加新卡片到桌面的情况,新添加的卡片可以与桌面原先显示的卡片一起显示于桌面的不同区域。电子设备可以根据用户对卡片的拖动操作,更新卡片在桌面中的显示位置。这样可以在桌面的不同区域显示不同规格的卡片,方便用户查找文件,提高了用户体验。
通过本申请方案,提供了各种规格的桌面卡片供用户选择,用户可以根据实际使用需求,选择将适合自己使用习惯的卡片添加到桌面显示。
为了便于说明,下述实施例中以上述组合式卡片22为例对本申请实施例提供的卡片显示方法进行示例性说明。
2)桌面卡片的文件夹路径设置过程
如上所述,在本申请实施例中,电子设备支持下述功能:在如图5中(a)所示的文件夹卡片20中,用户可自定义设置两个文件夹路径。下面结合图10A和图10B示例性地说明本申请实施例中桌面卡片的文件夹路径设置过程。
图10A中(a)所示,以电子设备在桌面显示组合式卡片22为例,用户可以对组合式卡片22进行操作(例如长按操作或上滑操作等),以调出对组合式卡片22设置的功能选项。如图10A中(b)所示,响应于该用户操作,电子设备可以显示组合式卡片22对应的功能选项栏23。功能选项栏23中的编辑项231可以用于触发对组合式卡片22中支持编辑的文件夹进行文件夹路径设置。
图10A中(c)所示,响应于用户对编辑项231的操作,电子设备可以显示文件管理 的自定义文件栏26,用于设置文件夹卡片中的两个文件夹路径。在该自定义文件栏26中可以包括智能推荐模式261和指定文件夹模式262。
在智能推荐模式261下,默认显示文件最多的两个来源文件夹,例如“下载与接收”和“即时通信”这两个来源文件夹。
在指定文件夹模式262下,允许用户自定义选择两个常用的文件夹,设置为文件夹卡片中的两个文件夹。可选地,在指定文件夹模式262的初始状态下,可以默认显示智能推荐的两个文件夹。
图10A中(c)所示,在智能推荐模式261下,用户可以对指定文件夹模式262操作,以触发从智能推荐模式切换到指定文件夹模式。相应地,图10A中(d)所示,响应于用户对指定文件夹模式262的操作,电子设备在文件管理的自定义文件栏26中增加显示了用于选择文件夹的入口263和入口264。
其中,入口263中当前显示的文件夹路径为“下载与接收”,该文件夹路径为文件夹卡片中的一个文件夹图标对应的文件夹路径。
其中,入口264中当前显示的文件夹路径为“即时通信”,该文件夹路径为文件夹卡片中的一个文件夹图标对应的文件夹路径。
图10A中(d)所示,用户可以对入口263操作,以设置文件夹图标203对应的文件夹路径。相应地,如图10A中(e)所示,响应于用户对入口263的操作,电子设备显示文件夹选择界面27。在文件夹选择界面27中显示有按位置分类的文件夹271和按来源分类的文件夹272。示例性地,按位置分类的文件夹271可以包括“我的文件”、“我的手机”以及“收藏”等文件夹。示例性地,按来源分类的文件夹272可以包括“下载与接收”、“即时通信”以及“浏览器”等文件夹。如图10A中(e)所示,文件夹“下载与接收”为当前默认设置的文件夹,该文件夹对应的圆形选择图标为选中状态。
在本申请实施例中,用户可以选中文件夹选择界面27中的任一文件夹,以设置为文件夹卡片中的一个文件夹图标对应的文件夹路径。
如图10A中(e)所示,当电子设备接收到用户对文件夹“我的文件”的点击操作时,如图10A中(f)所示,电子设备在文件夹“我的文件”目录下展开显示子目录,例如文件夹“旅行游记”。当电子设备接收到用户对文件夹“旅行游记”的点击操作时,如图10A中(f)所示,电子设备在文件夹“旅行游记”目录下展开显示子目录,例如文件夹“古城之行”和“海边随拍”。
进一步地,如图10B中(a)所示,电子设备接收到用户选中文件夹“海边随拍”的圆形选择图标的操作;如图10B中(b)所示,响应于用户操作,电子设备将文件夹“海边随拍”的圆形选择图标更新为选中状态。当电子设备接收到用户对确认图标√的操作时,如图10B中(c)所示,电子设备更新显示为文件管理的自定义文件栏26。在该自定义文件栏26中,从用于选择文件夹的入口263可以看出,文件夹路径已经由“下载与接收”更新为“海边随拍”。
进一步地,当电子设备接收到用户在空白区域上的操作(例如点击操作)时,如图10B中(d)所示,电子设备返回到桌面,此时桌面中显示的组合式卡片22中的文件夹图标221由“下载与接收”更新为“海边随拍”。
3)桌面卡片的功能使用过程
首先结合图11至图13示例性地说明在实际使用时文件卡片支持的功能。其中,图11示出了本申请实施例提供的文件卡片支持用户滑动操作触发多个文件切换显示的界面示意图。图12示出了本申请实施例提供的文件卡片中的分享控件在应用时的界面示意图。图13示出了本申请实施例提供的文件卡片中的发送至控件在应用时的界面示意图。
在一些实施例中,如图11中(a)所示,以电子设备在桌面显示组合式卡片为例,在组合式卡片中的中文件卡片21中显示有最近使用的一个文件,例如ppt文档,使用时间为2022/01/10。如图11中(a)所示,电子设备接收到用户在文件卡片21上的向上滑动操作,如图11中(b)所示,响应于该用户操作,电子设备在文件卡片21中动态切换显示最近使用的文件。如图11中(c)所示,文件卡片21中的ppt文档切换显示为word文档,该word文档对应的使用时间为2022/01/09。
在另一些实施例中,如图11中(d)所示,电子设备接收到用户在文件卡片21上的向下滑动操作,如图11中(e)所示,响应于该用户操作,电子设备在文件卡片21中动态切换显示最近使用的文件。如图11中(f)所示,文件卡片21中的word文档再次切换回ppt文档。
通过本申请方案,用户在文件卡片上滑动操作即可触发文件卡片切换显示最近使用的多个文件,便于用户查找文件,提升了用户使用体验。
在一些实施例中,如图12中(a)所示,电子设备接收到用户对文件卡片21中的“分享”控件的操作(例如点击操作);如图12中(b)所示,响应于该用户操作,电子设备显示文件分享界面28,在该文件分享界面28中显示有各种分享对象,例如另存为、智慧屏、打印机、我的电脑、浏览器、短信、邮件和/或即时通信APP等。用户可以根据实际使用需求选择某一分享对象,例如打印机;相应地电子设备可以将文件卡片21中当前显示的ppt文档发送给打印机,并指示打印机打印ppt文档。如此,在实际实现时,通过在桌面显示文件卡片并提供“分享”控件,可实现文件的快速分享,提升了用户使用体验。
在另一些实施例中,如图13中(a)所示,电子设备接收到用户对文件卡片21中的“移动至”控件的操作(例如点击操作);如图13中(b)所示,响应于该用户操作,电子设备显示界面29,在该界面29中显示有多个文件夹,例如“我的文件”和“我的手机”;其中,每个文件夹下还可以包括一个或更多个文件夹,例如如图13中(b)所示,“我的手机”文件夹中还可以包括文件夹1、文件夹2、文件夹3、文件夹4和文件夹5等。用户可以根据实际使用需求选择某一文件夹,例如“我的手机”;相应地电子设备可以将文件卡片21中当前显示的ppt文档移动至“我的手机”文件夹。如此,在实际实现时,通过在桌面显示文件卡片并提供“移动至”控件,可实现文件的快速移动,提升了用户使用体验。
上面说明了在实际使用时文件卡片支持的功能,下面结合图14至图17示例性地说明在实际使用时文件夹卡片支持的功能。
图14示出了本申请实施例提供的文件夹卡片中的“我的文件”文件夹在应用时的界面示意图。如图14中(a)所示,以电子设备在桌面显示组合式卡片22为例,如果电子设备接收到用户对组合式卡片22中“我的文件”201的操作,那么如图14中(b)所示,电子设备可以快速跳转到“我的文件”文件夹的界面30,向用户展示电子设备预设的“我的文件”文件夹中的文件夹和/或文件。其中,在“我的文件”文件夹中,不同文件可以按照时间排序,也可以按照名称排序,用户可以根据实际使用需求进行选择,便于文件查找。
如图14中(b)所示,“我的文件”文件夹包括用户预设的一个或多个文件夹,用于分类存储用户的各种文件,因此通过文件夹卡片中的“我的文件”文件夹,可以实现用户快速查找“我的文件”文件夹的目的,便于用户查找文件,提升了用户使用体验。
图15示出了本申请实施例提供的文件夹卡片中的“最近”文件夹在应用时的界面示意图。如图15中(a)所示,以电子设备在桌面显示组合式卡片22为例,如果电子设备接收到用户对组合式卡片22中“最近”202的操作,那么如图15中(b)所示,电子设备可以快速跳转到“最近”文件夹的界面31,向用户展示电子设备最近操作过的全部文件。如图15中(b)所示,在“最近”文件夹中,电子设备最近操作过的全部文件(例如文档、图片、音频和/或视频等)可以按照操作时间依次排列,例如可以将操作时间最近的文件排在最前面,便于用户查找。
图16示出了本申请实施例提供的文件夹卡片中的“下载与接收”在应用时的界面示意图。如图16中(a)所示,以电子设备在桌面显示组合式卡片22为例,如果电子设备接收到用户对组合式卡片22中“下载与接收”203的操作,那么如图16中(b)所示,电子设备可以快速跳转到“下载与接收”文件夹的界面32,向用户展示电子设备最近下载与接收的全部文件。
如图16中(b)所示,在“下载与接收”文件夹中,可以展示各项下载来源,例如荣耀分享、无线局域网(WLAN)直连和下载管理器;并且每项下载来源均显示有已下载数量,例如通过荣耀分享已完成1项下载任务,通过WLAN直连已完成1项下载任务,通过下载管理器已完成0项下载任务。其中,对于某项下载来源完成多项下载任务的情况,该多项下载任务所下载的文件可以按照下载时间依次排列,例如可以将下载时间最近的文件排在最前面,便于用户查找。
图17示出了本申请实施例提供的文件夹卡片中的“即时通信”在应用时的界面示意图。如图17中(a)所示,以电子设备在桌面显示组合式卡片22为例,如果电子设备接收到用户对组合式卡片22中“即时通信”204的操作,那么如图17中(b)所示,电子设备可以快速跳转到即时通信APP对应的文件夹所在的界面33,向用户展示电子设备通过即时通信APP下载的全部文件。
如图17中(b)所示,在即时通信APP对应的文件夹中,通过即时通信APP下载的这些文件可以按下载顺序依次排列,例如可以将下载时间最近的文件排在最前面,便于用户查找。
需要说明的是,上文中各个实施例所述的各种卡片形式均为示例性地说明,可以理解,本申请实施例包括但不限于上述卡片形式,在实际实现时,本申请实施例还可以采用其他形式的卡片。
如上所述,本申请实施例提供的文件卡片中可以包含下述要素中的至少一项:文件名称、文件类型、文件图标、文件最近一次操作时间、文件大小、分享控件或图标、移动至控件或图标、删除控件或图标、复制到控件或图标、编辑控件或图标,以及未读文件个数,或者其他任意可能的要素。
本申请实施例不限定文件卡片的布局形式,形式可以多样化。示例性地,文件卡片可以是如图18中(a)所示的文件卡片,也可以是如图18中(b)所示的文件卡片,还可以是如图18中(c)所示的文件卡片,或者还可以采用其他布局形式。
本申请实施例不限定文件卡片的内容形式,形式可以多样化。文件卡片的内容形式可以是如图19中(a)所示的文档访问,也可以是如图19中(b)所示的文档访问,还可以是如图19中(c)所示的日程待办,或者还可以采用其他内容形式。
需要说明的是,上述实施例中文件卡片以展示多个文档为例进行示例性说明,可以理解,本申请实施例提供的文件卡片能够显示的内容包括但不限于文档,还可以是图片、音频、视频或其他文件,具体可以根据实际使用需求确定,本申请实施例不作限定。
还需要说明的是,以上实施例中是以用于显示文件的文件卡片或文件夹卡片为例进行示例性说明的,可以理解,本申请实施例的应用场景包括但不限于上述文件管理,在实际实现时,本申请实施例的应用场景还可以包括相机应用管理或者其他应用场景。下面以相机应用管理为例进行示例性说明。
在一些实施例中,如图20中(a)所示,电子设备可以在桌面显示文件夹卡片40,该文件夹卡片40呈现为2×2的四宫格形式,该四宫格中分别显示四个文件夹的图标:例如“拍照”401,“录像”402,“人像”403,以及“自拍”404。在本申请实施例中,通过文件夹卡片40可以实现下述功能:
可选地,如果电子设备接收到用户对“拍照”401的操作,那么电子设备可以快速跳转到“拍照”文件夹,向用户展示电子设备通过拍照模式拍摄得到的所有图片。在“拍照”文件夹中,通过拍照模式拍摄得到的所有图片可以按照拍摄时间依次排列,例如可以将拍摄时间最近的图片排在最前面,便于用户查看。
可选地,如果电子设备接收到用户对“录像”402的操作,那么电子设备可以快速跳转到“录像”文件夹,向用户展示电子设备通过录像模式拍摄得到的所有视频。在“录像”文件夹中,所有视频可以按照拍摄时间依次排列,例如可以将拍摄时间最近的视频排在最前面,便于用户查看。
可选地,如果电子设备接收到用户对“人像”403的操作,那么电子设备可以快速跳转到“人像”文件夹,向用户展示电子设备通过人像模式拍摄得到的所有图片。在“人像”文件夹中,通过人像模式拍摄得到的所有图片可以按照拍摄时间依次排列,例如可以将拍摄时间最近的图片排在最前面,便于用户查看。
可选地,如果电子设备接收到用户对“自拍”404的操作,那么电子设备可以快速跳转到“自拍”文件夹,向用户展示电子设备通过自拍模式拍摄得到的所有图片。在“自拍”文件夹中,通过自拍模式拍摄得到的所有图片可以按照拍摄时间依次排列,例如可以将拍摄时间最近的图片排在最前面,便于用户查看。
同样,上述四个文件夹中的一部分或全部可以由系统预先设置完成;或者,上述四个文件夹中的一部分或全部也可以由用户自定义设置。
对于管理相机应用的文件夹卡片具体描述,可以参见上述实施例对文件夹卡片的详细描述,此处不再赘述。
在另一些实施例中,如图20中(b)所示,电子设备可以在桌面显示文件卡片41,该文件卡片41用于显示电子设备最近使用过(例如拍摄、下载或者编辑,以拍摄为例)的图片或者视频(例如微电影)的相关信息。在本申请实施例中,文件卡片41支持下述功能:
可选地,响应于用户操作,文件卡片41中的多个文件可切换显示。例如,用户可通 过在文件卡片41上的滑动操作,触发在文件卡片41中切换显示最近拍摄的各个图片或者视频。其中,响应于用户操作,文件卡片41中的文件可直接开启,而无需先跳转到用于打开视频或图片的第三方应用的界面。
可选地,文件卡片41中可以包括“分享”控件。响应于用户对“分享”控件的操作,电子设备可以快速调出可供分享的路径(例如应用图标)。当用户选择某一路径后,电子设备即可按照所选路径,将文件卡片41中当前显示的文件发送给其他电子设备,实现图片或视频分享的目的。
需要说明的是,这里以文件卡片41具有分享功能为例进行示例性说明,在实际实现时,文件卡片41还可以具有文件收藏功能,或者文件复制功能,或者文件删除功能,或者其他任意满足实际使用需求的功能,本申请实施例对此不作限定。
还需要说明的是,在本申请实施例中,显示某一图片或视频具体指显示该图片或视频的相关信息。例如,图片的相关信息可以包括图片的名称、拍摄时间、图片大小和/或图片类型。
本申请实施例提供的文件卡片能够将电子设备最近拍摄的图像(图片和/或视频)的相关信息呈现给用户,用户只需在文件卡片上滑动操作,即可通过文件卡片直观地查看电子设备最近拍摄的全部图像,因此信息量较大。
在另一些实施例中,如图20中(c)所示,电子设备可以在桌面显示组合式卡片42,该组合式卡片42包括上述文件夹卡片40和上述文件卡片41。通过该组合式卡片42,不但可以实现上述文件夹卡片40的各种功能,便于用户查看在相机的各种模式下拍摄得到的图片或视频;而且还可以实现上述文件卡片41的各种功能,便于用户查看电子设备最近拍摄得到的各个图片或视频。
在再一些实施例中,如图20中(d)所示,电子设备可以在桌面分别显示上述文件夹卡片40和上述文件卡片41。
本申请实施例提供的桌面卡片形式可以是独立的文件夹卡片,也可以是独立的文件卡片,还可以不同形式的组合卡片,卡片形式多样且灵活,并且能够显示位于不同存储路径或位置的多个文件的信息。
需要说明的是,上述实施例中示例性地列举了四种桌面卡片形式,可以理解,本申请实施例包括但不限于上述四种桌面卡片形式,在实际实现时,本申请实施例还可以支持与上述四种卡片形式类似的其他卡片形式,具体可以根据实际使用需求确定,本申请实施例不作限定。
还需要说明的是,对于管理相机应用的桌面卡片而言,桌面卡片的添加过程、桌面卡片的文件夹路径设置过程、桌面卡片的功能使用过程的相关描述,具体可以参见上述实施例中的详细说明,此处不再赘述。
为了实现上述方案,本申请实施例的软件架构图可以参见图21所示,包括:应用程序层、框架层和内核层。其中,框架层至少包括系统用户界面(system UI)和卡片服务管理器。应用程序层至少包括多个三方APP、荣耀分享APP和文件管理APP(即文件管理器)。内核层至少包括蓝牙模块、Wi-Fi模块和文件系统。
电子设备启动后,则卡片服务管理器启动,卡片服务管理器中常驻文件监视服务FileMonitorService,用于获取文件管理业务的开关,当文件管理业务的开关首次开启的时 候,先通过云服务从网关路由(gatewayroutingserver,GRS)服务器获取一次各三方APP对应的监听路径的配置信息,后续通过云服务定时从GRS服务器获取各个三方APP的监听路径(即三方APP接收文件后默认的存储文件的路径)。当文件管理业务的开关开启的时候,FileMonitorService中采用文件监听器(fileobserver)监听文件系统中监听路径下文件的变化情况;当文件监听器识别到新增文件后,根据预设的相应的文件类型进行过滤,滤除不属于监听对象的文件类型的文件。当文件管理业务的开关关闭的时候,则不再获取监听路径,也不再通过FileObserver获取监听路径下文件的变化情况。可选地,文件管理业务的开关默认为打开状态,可以由用户在文件管理器中手动关闭,关闭之后则fileobserver不再监听文件的变化情况。关闭文件管理业务的方式可以是用户下拉显示通知栏,针对通知消息的卡片左滑,电子设备显示出该通知消息的卡片的设置按键,用户点击设置按键弹出针对通知消息的设置菜单,用户点击设置菜单中的关闭通知的按键来实现关闭文件管理业务。文件系统用于对电子设备中的所有文件进行管理,例如对三方APP接收的文件按照路径存储或者删除等。卡片服务管理器用于监听到有效的新增的文件后,向文件管理器广播有新文件的消息,并由文件管理器发送通知消息,显示在系统UI上。系统UI用于显示新文件的通知消息,并更新桌面卡片中的文件相关信息。
当用户点击桌面卡片的分享控件进行操作时,系统UI可以拉起分享窗口进行文件分享,或者当用户点击桌面卡片的移动至控件进行操作时,系统UI可以显示多个存储路径,当用户选择某一存储路径后,系统UI可以通过文件管理器将文件移动至该存储路径中。
本申请实施例中的电子设备可以为移动终端,也可以为非移动终端。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)、无线耳机、无线手环、无线智能眼镜、无线手表、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、台式计算机、智能家电(例如电视、音箱、冰箱、空气净化器、空调、电饭煲)等。本申请实施例对电子设备的设备类型不予具体限定。
本申请实施例提供的卡片显示方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该卡片显示方法的功能模块和/或功能实体,并且本申请方案能够通过硬件和/或软件的方式实现,具体的可以根据实际使用需求确定,本申请实施例不作限定。下面以电子设备为例,结合附图对本申请实施例提供的卡片显示方法进行示例性的说明。
图22是本申请实施例提供的卡片显示方法的流程示意图。参照图22所示,该方法包括下述的步骤S501-S504。
S501,接收用户在电子设备上的第一操作。
S502,响应于第一操作,在电子设备的桌面上显示第一卡片,该第一卡片中包括M个文件夹图标,该M个文件夹图标中的每个文件夹图标对应于电子设备中的一个文件夹。
其中,M为正整数。
S503,接收到用户对第一卡片中的第一文件夹图标的第二操作,该第一文件夹图标对应于电子设备中的第一文件夹;
S504,响应于第二操作,从显示桌面切换为:显示第一文件夹的界面。
在本申请实施例中,第一卡片中的各个文件夹可以设置为用户常用的文件夹或者用于 存储电子设备下载或者接收的文件的文件夹。示例性地,第一文件夹可以是以下任一项:文件夹1,用于存储用户的个人文件;文件夹2,用于存储所述电子设备在最近预设时段内下载的文件;文件夹3,用于存储所述电子设备已下载与接收的所有文件;文件夹4,用于存储通过所述电子设备中安装的第一应用下载的所有文件。或者,还可以是其他任意可能的文件夹。
通过本申请方案,可以根据用户需求在桌面上添加包括多个文件夹的卡片,例如卡片中的各个文件夹可以设置为用户常用的文件夹或者用于存储电子设备下载或者接收的文件的文件夹,这样在需要时用户只需在桌面上通过卡片即可快速查看某些文件夹的对应信息,相对于相关技术中仅展示最近下载的文件内容的方案相比,本申请方案可展示较大信息量,而且由于显示的是文件夹而非文件具体信息,因此保密性好。本申请方案在文件管理上方便快捷且安全性好。
可选地,本申请实施例提供的卡片显示方法还可以包括下述的步骤S505-S506。
S505,接收用户对第一卡片的第三操作。
其中,第三操作可以为用户在第一卡片上沿预设方向滑动的操作;或者,第三操作为用户在第一卡片上触摸时长大于或等于第一时长的操作。当然,第三操作还可以为其他任意可能的操作,具体可以根据实际使用需求确定,本申请实施例不作限定。
S506,响应于第三操作,显示卡片菜单栏,该卡片菜单栏包括编辑选项、更多卡片选项和/或移除选项。
可选地,本申请实施例提供的卡片显示方法还可以包括下述的步骤S507-S509A或者S509B。
S507,接收用户对编辑选项的第四操作。
S508,响应于第四操作,显示第一文件夹路径选项和第二文件夹路径选项。
S509A,当接收到用户对第一文件夹路径选项的操作时,将系统推荐的M个文件夹设置为第一卡片中的M个文件夹。
S509B,当接收到用户对第二文件夹路径选项的操作时,根据用户选择的文件夹设置第一卡片中的N个文件夹,N为小于或者等于M的正整数。
其中,S509A和S509B择一执行。
可选地,本申请实施例提供的卡片显示方法还可以包括下述的步骤S510-S513。
S510,接收用户对更多卡片选项的第五操作。
S511,响应于第五操作,显示多个卡片预览图,多个卡片预览图分别对应不同规格的卡片。
S512,接收用户对多个卡片预览图中的第二卡片预览图的第六操作,该第二卡片预览图对应于第二卡片。
S513,响应于第五操作,在电子设备的桌面上添加并显示第二卡片。
可选地,本申请实施例提供的卡片显示方法还可以包括下述的步骤S514-S515。
S514,接收用户对移除选项的第九操作。
S515,响应于第九操作,将第一卡片从所述桌面上移除。
本申请方案提供了各种规格的桌面卡片供用户选择,例如桌面卡片提供了用户可自定义设置的常用文件夹路径,和/或桌面卡片可支持最近处理的文件滚动切换显示,用户可以 根据实际使用需求,选择将适合自己使用习惯的卡片添加到桌面显示。由于桌面卡片中呈现给用户的是文件夹形式或者文件名称,而不会呈现文件的具体信息,因此不会暴露用户个人信息,在需要时用户只需打开桌面卡片中的文件夹即可查看对应信息,或者只需在桌面卡片上滑动操作即可直观地查看电子设备最近使用过的全部文件,可展示较大信息量,方便快捷且安全性好。
也需要说明的是,在本申请实施例中,“大于”可以替换为“大于或等于”,“小于或等于”可以替换为“小于”,或者,“大于或等于”可以替换为“大于”,“小于”可以替换为“小于或等于”。
本文中描述的各个实施例可以为独立的方案,也可以根据内在逻辑进行组合,这些方案都落入本申请的保护范围中。
可以理解的是,上述各个方法实施例中由电子设备实现的方法和操作,也可以由可用于电子设备的部件(例如芯片或者电路)实现。
上文描述了本申请提供的方法实施例,下文将描述本申请提供的装置实施例。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文方法实施例,为了简洁,这里不再赘述。
上文主要从方法步骤的角度对本申请实施例提供的方案进行了描述。可以理解的是,为了实现上述功能,实施该方法的电子设备包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的保护范围。
本申请实施例可以根据上述方法示例,对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有其它可行的划分方式。下面以采用对应各个功能划分各个功能模块为例进行说明。
图23为本申请实施例提供的卡片显示装置600的示意性框图。该装置600可以用于执行上文方法实施例中电子设备所执行的动作。该装置600包括检测单元610、处理单元620和显示单元630。
检测单元610,用于接收用户在电子设备上的第一操作。
处理单元620,用于响应于该第一操作,指示显示单元630显示第一卡片。
显示单元630,用于根据处理单元620的指示,在电子设备的桌面上显示第一卡片,该第一卡片中包括M个文件夹图标,该M个文件夹图标中的每个文件夹图标对应于电子设备中的一个文件夹,M为正整数。
检测单元610,还用于接收到用户对第一卡片中的第一文件夹图标的第二操作,该第一文件夹图标对应于电子设备中的第一文件夹。
处理单元620,还用于响应于该第二操作,指示显示单元630显示第一文件夹的界面。
显示单元630,还用于根据处理单元620的指示,将显示桌面切换为:显示第一文件夹的界面。
通过本申请方案,可以根据用户需求在桌面上添加包括多个文件夹的卡片,例如卡片中的各个文件夹可以设置为用户常用的文件夹或者用于存储电子设备下载或者接收的文件的文件夹,这样在需要时用户只需在桌面上通过卡片即可快速查看某些文件夹的对应信息,相对于相关技术中仅展示最近下载的文件内容的方案相比,本申请方案可展示较大信息量,而且由于显示的是文件夹而非文件具体信息,因此保密性好。本申请方案在文件管理上方便快捷且安全性好。
根据本申请实施例的装置600可对应于执行本申请实施例中描述的方法,并且装置600中的单元的上述和其它操作和/或功能分别为了实现方法的相应流程,为了简洁,在此不再赘述。
本申请实施例还提供了一种电子设备,包括:一个或多个处理器;存储器;触摸屏,用于检测用户的触摸操作,以及显示界面;其中,存储器中存储有代码,当代码被一个或多个处理器执行时,使得电子设备执行上述实施例中的各个步骤。
示例性的,当该电子设备为图1所示的电子设备时,该电子设备中的处理器可以为图1中的处理器110,该电子设备中的存储器可以为图1中的内部存储器121,该电子设备中的触摸屏可以包括图1中的显示屏194和触摸传感器180K。
在实际实现时,在电子设备100运行时,处理器110执行存储器121中的计算机执行指令以通过电子设备100执行上述方法的操作步骤。
可选地,在一些实施例中,本申请提供一种芯片,该芯片与存储器耦合,该芯片用于读取并执行存储器中存储的计算机程序或指令,以执行上述各实施例中的方法。
可选地,在一些实施例中,本申请提供一种电子设备,该电子设备包括芯片,该芯片用于读取并执行存储器存储的计算机程序或指令,使得各实施例中的方法被执行。
可选地,在一些实施例中,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有程序代码,当计算机程序代码在计算机上运行时,使得计算机执行上述各实施例中的方法。
可选地,在一些实施例中,本申请实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行上述各实施例中的方法。
其中,本申请实施例提供的电子设备、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
在本申请实施例中,电子设备包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。其中,硬件层可以包括中央处理器(central processing unit,CPU)、内存管理单元(memory management unit,MMU)和内存(也称为主存)等硬件。操作系统层的操作系统可以是任意一种或多种通过进程(process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。应用层可以包含浏览器、通讯录、文字处理软件、即时通信软件等应用。
本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构进行特别限定,只要能够通过运行记录有本申请实施例提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可。例如,本申请实施例提供的方法的执行主体可以是电子设备,或者,是电子设备中能够调用程序并执行程序的功能模块。
本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本文中使用的术语“制品”可以涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。
本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可以包括但不限于:无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的保护范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上,或者说对现有技术做出贡献的部分,或者该技术方案的部分,可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,该计算机软件产品包括若干指令,该指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。前述的存储介质可以包括但不限于:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术 人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (21)

  1. 一种卡片显示方法,其特征在于,包括:
    接收用户在电子设备上的第一操作;
    响应于所述第一操作,在所述电子设备的桌面上显示第一卡片,所述第一卡片中包括M个文件夹图标,所述M个文件夹图标中的每个文件夹图标对应于所述电子设备中的一个文件夹,M为正整数;
    接收到用户对所述第一卡片中的第一文件夹图标的第二操作,所述第一文件夹图标对应于所述电子设备中的第一文件夹;
    响应于所述第二操作,从显示所述桌面切换为:显示所述第一文件夹的界面。
  2. 根据权利要求1所述的方法,其特征在于,在所述电子设备的桌面上显示第一卡片之后,所述方法还包括:
    接收用户对所述第一卡片的第三操作;
    响应于所述第三操作,显示卡片菜单栏,所述卡片菜单栏包括以下至少一项:编辑选项,更多卡片选项,移除选项。
  3. 根据权利要求2所述的方法,其特征在于,所述第三操作为用户在所述第一卡片上沿预设方向滑动的操作;或者,所述第三操作为用户在所述第一卡片上触摸时长大于或等于第一时长的操作。
  4. 根据权利要求3所述的方法,其特征在于,所述卡片菜单栏包括编辑选项;在所述显示卡片菜单栏之后,所述方法还包括:
    接收用户对所述编辑选项的第四操作;
    响应于所述第四操作,显示第一文件夹路径选项和第二文件夹路径选项;
    当接收到用户对所述第一文件夹路径选项的操作时,将系统推荐的M个文件夹设置为所述第一卡片中的M个文件夹;或者,
    当接收到用户对所述第二文件夹路径选项的操作时,根据用户选择的文件夹设置所述第一卡片中的N个文件夹,N为小于或者等于M的正整数。
  5. 根据权利要求4所述的方法,其特征在于,所述当接收到用户对所述第二文件夹路径选项的操作时,根据用户选择的文件夹设置所述第一卡片中的N个文件夹,包括:
    当接收到用户对所述第二文件夹路径选项的操作时,显示N个文件夹设置项;
    当接收到用户对所述N个文件夹设置项中的第一设置项的操作时,显示文件夹选择界面,所述文件夹选择界面中显示有一个或更多个文件夹选项,每个文件夹选项对应一个文件夹;
    当接收到用户对所述文件夹选择界面中的目标文件夹选项的操作时,将所述目标文件夹选项对应的文件夹设置为所述第一卡片中的一个文件夹。
  6. 根据权利要求5所述的方法,其特征在于,所述文件夹选择界面中包括系统文件夹选项和/或应用文件夹选项,所述系统文件夹选项对应于所述电子设备中系统预设的文件夹,所述应用文件夹选项对应于安装于所述电子设备中的应用对应的文件夹;
    其中,所述目标文件夹选项为所述系统文件夹选项和/或所述应用文件夹选项。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述第一文件夹为以下任一项:
    文件夹1,用于存储用户的个人文件;
    文件夹2,用于存储所述电子设备在最近预设时段内下载的文件;
    文件夹3,用于存储所述电子设备已下载与接收的所有文件;
    文件夹4,用于存储通过所述电子设备中安装的第一应用下载的所有文件。
  8. 根据权利要求2或3所述的方法,其特征在于,所述卡片菜单栏包括所述更多卡片选项;在所述显示卡片菜单栏之后,所述方法还包括:
    接收用户对所述更多卡片选项的第五操作;
    响应于所述第五操作,显示多个卡片预览图,所述多个卡片预览图分别对应不同规格的卡片;
    接收用户对所述多个卡片预览图中的第二卡片预览图的第六操作,所述第二卡片预览图对应于第二卡片;
    响应于所述第六操作,在所述电子设备的桌面上添加并显示所述第二卡片。
  9. 根据权利要求8所述的方法,其特征在于,所述第二卡片用于显示所述电子设备最近一次下载的文件的文件属性信息,所述文件属性信息包括以下至少一项:文件名称、文件下载时间、文件占用空间大小、文件类型。
  10. 根据权利要求8或9所述的方法,其特征在于,在所述显示所述第二卡片之后,所述方法还包括:
    接收用户对所述第二卡片的第七操作;
    响应于所述第七操作,开启最近一次下载的所述文件,并显示最近一次下载的所述文件的文件内容。
  11. 根据权利要求8至10中任一项所述的方法,其特征在于,所述第二卡片中包括第一控件,所述第一控件用于触发将所述第二卡片中显示的文件传输给其他电子设备;
    在所述显示所述第二卡片之后,所述方法还包括:
    当接收到用户对所述第一控件的操作时,显示第一界面,所述第一界面中包括一个或更多个分享方式图标,每个分享方式图标对应一种文件传输方式和/或文件传输对象;
    当接收到用户对第一分享方式图标的操作且所述第一分享方式图标对应第一文件传输对象时,将所述第二卡片中显示的文件发送给所述第一文件传输对象;或者,
    当接收到用户对第二分享方式图标的操作且所述第二分享方式图标对应第一文件传输方式时,显示多个文件传输对象;当接收到用户对所述多个文件传输对象中第一对象的操作时,将所述第二卡片中显示的文件,以所述第一文件传输方式发送给所述第一对象;
    其中,所述第一分享方式图标和所述第二分享方式图标分别为所述一个或更多个分享方式图标中的图标。
  12. 根据权利要求8至11中任一项所述的方法,其特征在于,所述第二卡片中包括第二控件,所述第二控件用于触发将所述第二卡片中显示的文件移动至所述电子设 备中的某一存储路径下;
    在所述显示所述第二卡片之后,所述方法还包括:
    当接收到用户对所述第二控件的操作时,显示第二界面,所述第二界面中包括一个或多个文件夹标识,每个文件夹标识对应一个文件夹及其存储路径;
    当接收到用户对第一文件夹标识的操作时,将所述第二卡片中显示的文件按照所述第一文件夹标识对应的存储路径,移动至所述第一文件夹标识对应的文件夹。
  13. 根据权利要求8至12中任一项所述的方法,其特征在于,在所述显示所述第二卡片之后,所述方法还包括:
    接收用户对所述第二卡片的第八操作;
    响应于所述第八操作,在所述第二卡片中,将所述电子设备在最近预设时段内下载的文件的文件属性信息依次更新显示。
  14. 根据权利要求13所述的方法,其特征在于,所述将所述电子设备在最近预设时段内下载的文件的文件属性信息依次更新显示,包括:
    将所述电子设备在最近预设时段内下载的文件的文件属性信息,按照文件下载时间的顺序依次更新显示。
  15. 根据权利要求1至14中任一项所述的方法,其特征在于,所述第一卡片包括第一区域和第二区域,其中所述第一区域用于显示所述M个文件夹图标,所述第二区域用于显示所述电子设备最近一次下载的文件的文件属性信息;
    其中,所述文件属性信息包括以下至少一项:文件名称、文件下载时间、文件占用空间大小、文件类型。
  16. 根据权利要求2至15中任一项所述的方法,其特征在于,所述方法还包括:
    接收用户对目标卡片的拖动操作,所述目标卡片为所述第一卡片或者第二卡片;
    响应于所述拖动操作,更新所述目标卡片在所述桌面上的显示位置。
  17. 根据权利要求2或3所述的方法,其特征在于,所述卡片菜单栏包括所述移除选项;在所述显示卡片菜单栏之后,所述方法还包括:
    接收用户对所述移除选项的第九操作;
    响应于所述第九操作,将所述第一卡片从所述桌面上移除。
  18. 一种电子设备,其特征在于,包括处理器,所述处理器与存储器耦合,所述处理器用于执行所述存储器中存储的计算机程序或指令,以使得所述电子设备实现如权利要求1至17中任一项所述的方法。
  19. 一种芯片系统,其特征在于,包括处理器、存储器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器用于执行所述计算机程序时实现如权利要求1至17中任一项所述的方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至17中任一项所述的方法。
  21. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序,当所述计算机程序被电子设备执行时,使得所述电子设备实现如权利要求1至17中任一项所述的方法。
PCT/CN2022/141601 2022-01-20 2022-12-23 卡片显示方法、电子设备及计算机可读存储介质 WO2023138305A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22921726.0A EP4290841A4 (en) 2022-01-20 2022-12-23 MAP DISPLAY METHOD, ELECTRONIC DEVICE AND COMPUTER-READABLE STORAGE MEDIUM
US18/551,291 US20240168603A1 (en) 2022-01-20 2022-12-23 Card Display Method, Electronic Device, and Computer-Readable Storage Medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210068707.0 2022-01-20
CN202210068707.0A CN116527805A (zh) 2022-01-20 2022-01-20 卡片显示方法、电子设备及计算机可读存储介质

Publications (3)

Publication Number Publication Date
WO2023138305A1 WO2023138305A1 (zh) 2023-07-27
WO2023138305A9 true WO2023138305A9 (zh) 2023-09-28
WO2023138305A8 WO2023138305A8 (zh) 2023-11-09

Family

ID=87347738

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/141601 WO2023138305A1 (zh) 2022-01-20 2022-12-23 卡片显示方法、电子设备及计算机可读存储介质

Country Status (4)

Country Link
US (1) US20240168603A1 (zh)
EP (1) EP4290841A4 (zh)
CN (1) CN116527805A (zh)
WO (1) WO2023138305A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117992258B (zh) * 2024-04-07 2024-07-16 北京异乡旅行网络科技有限公司 Im卡片消息流转方法、电子设备及可读存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136301A (zh) * 2011-11-24 2013-06-05 英业达股份有限公司 文件管理方法及执行此文件管理方法的电子装置
US10572103B2 (en) * 2014-09-30 2020-02-25 Apple Inc. Timeline view of recently opened documents
CN110018761B (zh) * 2018-01-10 2022-02-25 腾讯科技(深圳)有限公司 对最近使用文件进行管理的方法、装置及终端
CN110837398B (zh) * 2019-10-15 2024-03-15 青岛海信移动通信技术有限公司 一种显示快应用的卡片的方法及终端
CN110879679B (zh) * 2019-11-12 2022-02-22 维沃移动通信有限公司 一种显示控制方法、电子设备及计算机可读存储介质
CN113589987A (zh) * 2021-08-02 2021-11-02 深圳市宝能通讯技术有限公司 一种文件夹的显示方法、装置及计算机设备

Also Published As

Publication number Publication date
WO2023138305A8 (zh) 2023-11-09
CN116527805A (zh) 2023-08-01
EP4290841A4 (en) 2024-09-25
US20240168603A1 (en) 2024-05-23
EP4290841A1 (en) 2023-12-13
WO2023138305A1 (zh) 2023-07-27

Similar Documents

Publication Publication Date Title
WO2021013158A1 (zh) 显示方法及相关装置
JP7142783B2 (ja) 音声制御方法及び電子装置
WO2021018067A1 (zh) 一种悬浮窗口的管理方法及相关装置
WO2021129326A1 (zh) 一种屏幕显示方法及电子设备
WO2021103981A1 (zh) 分屏显示的处理方法、装置及电子设备
WO2020177622A1 (zh) Ui组件显示的方法及电子设备
CN113645351B (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021036571A1 (zh) 一种桌面的编辑方法及电子设备
WO2020134869A1 (zh) 电子设备的操作方法和电子设备
WO2021000839A1 (zh) 一种分屏方法及电子设备
WO2020062294A1 (zh) 系统导航栏的显示控制方法、图形用户界面及电子设备
WO2021082835A1 (zh) 启动功能的方法及电子设备
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2021000804A1 (zh) 锁定状态下的显示方法及装置
WO2022068483A1 (zh) 应用启动方法、装置和电子设备
JP7268275B2 (ja) 着信があるときに電子デバイス上に映像を提示するための方法、および電子デバイス
WO2022068819A1 (zh) 一种界面显示方法及相关装置
WO2020238759A1 (zh) 一种界面显示方法和电子设备
CN113805797B (zh) 网络资源的处理方法、电子设备及计算机可读存储介质
WO2021082815A1 (zh) 一种显示要素的显示方法和电子设备
WO2021078032A1 (zh) 用户界面的显示方法及电子设备
WO2020155875A1 (zh) 电子设备的显示方法、图形用户界面及电子设备
WO2021196980A1 (zh) 多屏交互方法、电子设备及计算机可读存储介质
WO2023015963A1 (zh) 管理文件的方法、电子设备和计算机可读存储介质
WO2023138305A9 (zh) 卡片显示方法、电子设备及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22921726

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022921726

Country of ref document: EP

Effective date: 20230906

WWE Wipo information: entry into national phase

Ref document number: 18551291

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE