WO2023226922A1 - 卡片管理方法、电子设备及计算机可读存储介质 - Google Patents

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

Info

Publication number
WO2023226922A1
WO2023226922A1 PCT/CN2023/095475 CN2023095475W WO2023226922A1 WO 2023226922 A1 WO2023226922 A1 WO 2023226922A1 CN 2023095475 W CN2023095475 W CN 2023095475W WO 2023226922 A1 WO2023226922 A1 WO 2023226922A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
user
display
electronic device
interface
Prior art date
Application number
PCT/CN2023/095475
Other languages
English (en)
French (fr)
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 华为技术有限公司
Publication of WO2023226922A1 publication Critical patent/WO2023226922A1/zh

Links

Classifications

    • 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
    • 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/04842Selection of displayed objects or displayed text elements
    • 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
    • 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

Definitions

  • the present application relates to the field of human-computer interaction, and in particular to a card management method, electronic device and computer-readable storage medium.
  • Embodiments of the present application provide a card management method, electronic device, and computer-readable storage medium, which can solve the problems of current service cards with low flexibility and limited application scenarios.
  • a combination card is generated according to the display elements of the first interface or the first application program.
  • the user can perform the first operation in the first interface.
  • the above display elements can be understood as entrances to applications or functions, which can provide users with partially streamlined information, provide simple functions, and/or directly access the operation interface of specific applications/functions.
  • some display elements may be displayed in the above-mentioned first interface or other interfaces of the first application program.
  • the style displayed in the interface of the application and the style displayed in the combination card can be the same style, or they can be different styles.
  • the first interface includes M display elements
  • Generating a combination card based on the display elements of the first interface or the first application specifically includes:
  • a combination card including the N display elements is generated.
  • the electronic device may prompt the M display elements included in the first interface in response to the user's first operation.
  • the electronic device may display selection controls in the upper left corner of the M display elements.
  • N display elements that meet your actual needs.
  • the electronic device may generate a combination card including the N display elements in response to the first selection operation.
  • the user can select the required display elements from the first interface according to their actual needs, so that the combination card generated by the electronic device is closer to the user's actual use needs and improves the user's use experience.
  • generating a combination card based on display elements of the first interface or the first application includes:
  • a combination card including the Y display elements is generated.
  • the electronic device may also display a second interface in response to the user's first operation, and the second interface may include X display elements of the first application.
  • the electronic device may generate a combination card including the Y display elements in response to the second selection operation.
  • the electronic device can display the display elements of the first application to the user, so that the user can more flexibly select the required display elements, so that the combination card generated by the electronic device is closer to the user's actual use needs, and improves the user's Use experience.
  • displaying the second interface specifically includes:
  • the combination card to be edited is displayed in the first area of the second interface, and the X display elements are displayed in the second area of the second interface.
  • the combination card to be edited can be displayed in the first area of the second interface, and X display elements can be displayed in the second area of the second interface.
  • the user can drag the required Y display elements to the first area where the combination card to be edited is located.
  • the electronic device can respond to the user's operation by adding the above Y display elements to the combination card to be edited, so as to obtain the combination card required by the user.
  • the second interface further includes a first control, the first control being used to adjust the size of the combined card
  • the method further includes:
  • a first control may also be displayed in the second interface, and the first control may be used to adjust the size of the combined card.
  • the user can perform a second operation on the first control.
  • the electronic device After detecting the above second operation, the electronic device can adjust the size of the combination card to be edited.
  • the electronic device adjusts the size of the combination card to be edited, which may be to increase the size of the combination card to be edited, or it may also be to reduce the size of the combination card to be edited.
  • the method further includes:
  • the generated combined card on the desktop, where the combined card includes a first display element and a second display element;
  • the first display element displayed in the combination card is removed.
  • the electronic device can display the above combination card on the desktop.
  • the above combination card may include a first display element and a second display element.
  • the user When the user wants to remove the first display element in the combination card, the user can perform a removal operation on the first display element on the desktop.
  • the electronic device may remove the first display element displayed in the combination card in response to the above removal operation.
  • the removal operation of the first display element specifically includes:
  • the form of the above removal operation can be determined according to actual needs.
  • the removal operation may be performed by the user dragging the first display element out of the third area where the combination card is located.
  • the method further includes:
  • the user When the user wants to add the above third display element to the combination card, the user can perform an adding operation on the above third display element.
  • the electronic device may add the third display element to the combination card in response to the adding operation, and display the combination card including the third display element.
  • the size of the combined card is increased so that the remaining space of the combined card is greater than or equal to the space occupied by the third display element.
  • the electronic device can increase the size of the combined card so that the remaining space of the combined card is greater than or equal to the space occupied by the third display element, thereby Make the above combination card have enough space to accommodate the above third display element.
  • the method further includes:
  • an editing menu of the combined card is displayed; the editing menu of the combined card includes an editing option for editing the combined card.
  • the electronic device displays the above-mentioned combination card on the desktop
  • the user wants to edit the above-mentioned combination card
  • the user can perform a third operation on the above-mentioned combination card.
  • the electronic device may display the editing menu of the above combined card in response to the above third operation.
  • the editing menu of the above combination card may include one or more editing options.
  • the user can edit the above combination card through the editing option in the edit menu of the above combination card.
  • the combination card includes a fourth display element, and the method further includes:
  • an editing menu of the fourth display element is displayed; the editing menu of the fourth display element includes editing options for editing the fourth display element.
  • the above-mentioned combination card also includes the above-mentioned fourth display element.
  • Search input module used to receive search terms input by users
  • Figure 24 is a schematic diagram of another scenario provided by the embodiment of the present application.
  • Figure 34 is a schematic diagram of another scenario provided by the embodiment of the present application.
  • Figure 35 is a schematic diagram of another scenario provided by the embodiment of the present application.
  • the service cards provided by the above-mentioned equipment manufacturers or third-party software providers may not meet the users' usage needs, and the application scenarios of the service cards are limited.
  • the card management method provided by the embodiment of the present application can be applied to mobile phones, tablet computers, vehicle-mounted equipment, augmented reality (AR)/virtual reality (VR) equipment, wearable devices, notebook computers, desktop computers, super Mobile personal computers (ultra-mobile personal computers, UMPCs), personal digital assistants (personal digital assistants, PDAs), netbooks, smart large screens and other types of electronic devices.
  • AR augmented reality
  • VR virtual reality
  • PDA personal digital assistants
  • netbooks smart large screens and other types of electronic devices.
  • FIG. 1 exemplarily shows a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • 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, video codec, digital signal processor (digital signal processor, DSP), base With processor, and/or neural network processing unit (NPU), etc.
  • 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 video codec
  • digital signal processor digital signal processor
  • base With processor and/or neural network processing unit (NPU), etc.
  • NPU neural network processing unit
  • different processing units can be independent devices or integrated in one or more processors.
  • 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, etc.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • 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. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
  • 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 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, and the optical signal is converted into an electrical signal. The camera sensor passes the electrical signal to the ISP for processing, and converts it into a signal that can be viewed by the naked eye. See the image. 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.
  • 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.
  • 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 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 changes in capacitance. Spend.
  • 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.
  • 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 known as "touch device”.
  • 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”.
  • Touch sensor 180K is used to detect effects on or near touch operation.
  • 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 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 above introduces a possible hardware structure diagram of 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.
  • This embodiment of the present 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 four layers, from top to bottom: application (APP) layer, application framework (framework) layer, Android runtime (Android runtime) and system layer, and kernel layer.
  • APP application
  • API application framework
  • Android runtime Android runtime
  • system layer and kernel layer.
  • the application layer can include a series of application packages. As shown in Figure 2, the application package can include camera, gallery, calendar, calling, map, navigation, WLAN, Bluetooth, music, video, short message and other applications. Applications are mainly about user interface (UI), and are usually written using Java language to call the interface of the application framework layer.
  • UI user interface
  • the application framework layer provides an application programming interface (API) and programming framework for applications in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, content provider, view system, phone manager, resource manager, notification manager, 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.
  • the window manager can obtain the size of the window to be displayed on the electronic device 100, determine the content of the window to be displayed, and so on.
  • the window to be displayed on the electronic device 100 may include a window being displayed on the electronic device, and may also include windows of one or more applications running in the background of the electronic device 100 (such as minimized windows).
  • windows are mainly divided into two types, one is the application window and the other is the public interface window.
  • an activity also called an instance in other systems
  • the main window and the sub-window are related through the Activity.
  • Child windows cannot exist alone and need to be attached to a specific parent window.
  • the window of the public interface is also called the system window, including the recently run dialog box, shutdown dialog box, status bar drop-down bar, lock screen interface, etc.
  • the system window is not subordinate to any application and has nothing to do with Activity.
  • a window can be understood as a rectangular area on the screen that can display the user interface (UI) and interact with the user.
  • the window can also hide the user interface (i.e., the operation interface of the software), and quickly display the application navigation and functional operations to the user when the user needs to operate, or expand the application operation interface again according to the triggered instructions.
  • the window is actually a canvas (surface).
  • a screen can have multiple windows, and the layout, order and window animation of these multiple windows are managed by the window management service WMS. The mixing and display of multiple canvas contents is implemented by the SurfaceFlinger service. Windows are hierarchical. Larger-level windows will be displayed on top of smaller-level windows, blocking smaller-level windows.
  • 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 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 display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide communication functions of the electronic device 100 .
  • call status management including connected, hung up, etc.
  • the resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can be short It will disappear automatically after being paused without user interaction.
  • the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, text information is prompted in the status bar, a prompt sound is emitted, the terminal device vibrates, and the indicator light flashes, etc.
  • Android runtime includes core libraries and virtual machines. 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 system layer is the support of the application framework and an important link between the application framework layer and the kernel layer.
  • the system layer can include multiple functional modules. For example: surface manager (surface manager), media libraries (Media Libraries), 3D graphics processing libraries (for example: OpenGL ES), 2D graphics engines (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • 2D Graphics Engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software and is used to provide the essential functions of the system such as file management, memory management, process management, network protocols, etc.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the user when the user wants to create a combination card corresponding to the first application, the user can perform the first operation in the first interface of the first application.
  • the first operation may include any one or a combination of click operations, long press operations, sliding operations, and other operations.
  • the electronic device After detecting the above-mentioned first operation, the electronic device can generate a combination card corresponding to the first application program based on the card elements corresponding to the first application program.
  • the above combined card may include one or more card elements corresponding to the first application program.
  • the above-mentioned card elements ie, the above-mentioned display elements
  • the electronic device can automatically generate a combination card corresponding to the first application program based on the card elements corresponding to the first application program.
  • the electronic device can enter the homepage 320 of the "Music" application in response to the user's click operation on the icon 311.
  • the user can perform the first operation on the homepage 320.
  • the user can long-press a blank space on the home page 320; or the user can also long-press a control on the home page 320; or the user can also perform other forms of first operations.
  • the electronic device can display the "Cancel” control 321 and the "Set” For Cards” control 322.
  • the above-mentioned combination card 331 is generated by the electronic device according to the card element corresponding to the "Music" application program.
  • the electronic device may directly enter the card editing interface 330 without displaying the "Cancel” control 321 and the "Set as Card” control 322.
  • the electronic device when the electronic device generates the combination card 331, the electronic device may generate the combination card according to the corresponding card element of the first interface. For example, after the electronic device detects the above-mentioned first operation on the home page 320, the electronic device can generate the combination card 331 according to the card elements corresponding to the home page 320. At this time, the above-mentioned combination card 331 may not include card elements corresponding to other interfaces of the "Music" application.
  • the user may want to perform personalized editing on the above-mentioned combination card.
  • the card size corresponding to the size adjustment control 332 is 2*2, the card size corresponding to the size adjustment control 333 is 2*4, and the card size corresponding to the size adjustment control 334 is 4*4.
  • the electronic device can adjust the size of 331 of the combination card 334 from 2*4 to 4*4 in response to the user's click operation on the size adjustment control 334 .
  • the electronic device can detect whether the sum of the space occupied by each card element in the combination card 331 is equal to the size of the size adjustment control 332.
  • the corresponding size matches 2*2.
  • the electronic device detects that the total space occupied by each card element in the combination card 331 is 4, which is within the accommodation range of the size 2*2. Therefore, the electronic device can adjust the size of the combination card 331 from 2*4 to 2*2. .
  • the electronic device detects that the total space occupied by each card element in the combination card 331 is 6, which exceeds the accommodation range of the size 2*2.
  • the electronic device may not respond to the user's click operation.
  • the electronic device may also prompt the user that the sizes do not match, so that the user can re-adjust the size of the combination card 331 after viewing the prompt.
  • the user when the user wants to adjust the size of the combined card 331, the user can also drag the boundary line of the combined card 331.
  • the electronic device can adjust the position of the boundary line of the combination card 331 in response to the user's drag operation, thereby adjusting the size of the combination card 331 .
  • the combination card 331 includes four card elements, and a deletion control for deleting the card element is displayed in the upper right corner of each card element, namely controls 335, Control 336, control 337 and control 338.
  • the user can click the control 337 located in the upper right corner of the card element 339.
  • the electronic device may delete the card element 339 corresponding to the control 337 in response to the user's click operation on the control 337 .
  • the user when the user wants to delete a certain card element in the combined card 331, the user can also drag the card element out of the area where the combined card 331 is located.
  • the electronic device can respond to the user's drag operation and delete the card element that is dragged out of the area where the combined card 331 is located.
  • the card editing interface 330 may also include a material library 340 (ie, the above-mentioned second area).
  • the material library 340 includes a "service card” control 341 and a "shortcut” control 342.
  • the electronic device can directly place the card element 343 at that position.
  • the electronic device can move the card element 344 to other positions of the combined card 331 by moving the space.
  • the card element 343 is placed at the position before the card element 344 is moved.
  • the electronic device can add the above card elements to the combined card 331 in response to the user's click operation.
  • the material library 340 may include all service cards and shortcuts of the electronic device, so that the user can more flexibly select card elements included in the combination card 331 .
  • the material library 340 may include all service cards and shortcuts of the first application, and does not include card elements corresponding to other applications/functions.
  • the material library 340 may include all service cards and shortcuts of the first interface, and does not include card elements corresponding to other applications/functions, nor card elements corresponding to other interfaces in the first application.
  • the material library 340 may not display card elements that already exist in the combination card 331 to improve the efficiency of the user in selecting card elements.
  • the material library 340 may not display deleted card elements to prevent users from adding unwanted card elements by mistake.
  • the electronic device can adjust the size of the combination card and adjust the card elements in the combination card in response to the user's editing operation, so that the above combination card can better meet the actual needs of the user and improve the user's use. experience.
  • the editing operations and adjustment methods shown in the above examples are only illustrative examples of the embodiments of the present application.
  • the above editing operation can also be performed in other forms of expression, and the electronic device can also adjust the above combined card through other adjustment methods.
  • the embodiments of the present application do not limit the specific expression forms of the above editing operations and the above adjustment methods.
  • the electronic device can respond to the above saving operation and save the above combined card.
  • the above combination card can be saved in the service center to prepare for the user's subsequent call needs.
  • the above-mentioned service center is an application in the electronic device responsible for managing individual service cards and user-defined combination cards.
  • the electronic device when it saves the above-mentioned combination card, it can also display the above-mentioned combination card at a designated location.
  • the above-mentioned designated location can be any location such as a blank space on the desktop of the electronic device, a collection of stacked cards, a lock screen interface, a message notification bar, etc.
  • the embodiment of the present application does not limit the specific location of the above designated location.
  • the user can perform a cancellation operation on the electronic device.
  • the electronic device may respond to the above cancellation operation without saving the above combination card.
  • the electronic device can return to the above-mentioned first interface, or the electronic device can also jump to a specified interface.
  • the above specified interface can be set according to actual needs.
  • the above designated interface may be the desktop of the electronic device.
  • the electronic device can respond to the user's click operation on the control 346, save the current card style of the combination card 331, jump to the desktop 310, and display the combination card 331 in a blank space of the desktop 310.
  • the electronic device may respond to the above first operation, in the first interface
  • a first operation long press operation
  • the electronic device may respond to the above first operation, in the first interface
  • Corresponding selection controls are displayed in the corners, such as selection control 323, selection control 324, selection control 325, etc. shown in Figure 13.
  • the above-mentioned material library 362 may include card elements included in the first interface, or the above-mentioned material library may also include all card elements corresponding to the first application program.
  • the position of the above search box can be set according to actual needs.
  • the above search box may be located on the negative screen; in other embodiments, the above search box may be located on a preset smart search interface; in other embodiments, the above search box may also be located on other locations.
  • the embodiment of the present application does not limit the specific location of the above search box.
  • the electronic device can automatically create and display a combination card related to the search results based on card elements corresponding to the search results.
  • the electronic device may display the above search results.
  • the electronic device may determine the selected second application program in response to the above selection operation.
  • the electronic device can enter the editing interface of the combination card and display the combination card and material library to be edited to the user.
  • the above-mentioned material library may include card elements corresponding to the above-mentioned second application.
  • the user wants to search for "music” related applications, so the user Perform a downward sliding operation on the desktop 410.
  • the electronic device may display a smart search interface 420 in response to the above-mentioned downward sliding operation.
  • the smart search interface 420 includes a search box 421 .
  • the user After viewing the smart search interface 420, the user entered the search term "music" in the search box 421.
  • the electronic device can obtain the search term "music” in response to the above input operation, perform a search operation based on the search term "music”, and determine the search results. For example, when the electronic device performs a search operation through the search term "music”, the “Music A” application, the “Music B” application and the “Video” application may be searched.
  • the electronic device can obtain the card elements corresponding to the search results, create a combination card 422 based on the card elements corresponding to the search results, and display the combination card 422 in the smart search interface 420 .
  • the electronic device can display the selection control corresponding to each search result.
  • the electronic device may display selection controls 423, 424, 425, and 426, and the electronic device may also display a "Cancel” control 427 and a "Set as Card” control 428.
  • the combination card 431 may be a blank card, or the combination card 431 may also include one or more card elements corresponding to the second application.
  • the user can edit the above-mentioned combination card 431 through the editing method described in the above embodiments, thereby obtaining a combination card 431 that meets the user's actual needs.
  • the user When the user wants to create a new combination card, the user can perform a new operation in the service center of the electronic device.
  • the electronic device can respond to the above-mentioned new creation operation, enter the card editing interface, and display the combined card and material library to be edited to the user.
  • the above material library may include all card elements set on the electronic device.
  • the user can edit the above combined card according to the editing method described in any of the above embodiments, thereby obtaining a combined card that meets the user's actual needs.
  • the user can click the "Service Card” control 512.
  • the electronic device can enter the service center 520 in response to the above click operation, and the service center 520 displays the control 521 .
  • the “more services” control 523 and the “combination card” control 524 are displayed in the above-mentioned service window 522 .
  • a search box 525 is also included in the service center 520 .
  • the material library 532 may only display card elements related to the search term.
  • the card elements related to the above search term may include service cards and/or shortcuts corresponding to the applications/functions related to the above search term.
  • the material library 532 subsequently displayed by the electronic device in the card editing interface 530 may only include card elements related to the search term "sports".
  • the electronic device can search for card elements related to the search term "sports” and automatically create a card element related to the search term "sports” based on the card elements related to the search term "sports" "Sports” related combination cards.
  • the user may want to re-edit the created combination card.
  • the user can edit the combination card by dragging the card elements.
  • the electronic device when the electronic device detects that the first card element in the combination card (ie, the above-mentioned first display element) is dragged by the user to an area outside the combination card, the electronic device can delete the first card element in the combination card.
  • the first card element ie, the above-mentioned first display element
  • the electronic device may display the above-mentioned first card element in an area other than the combined card.
  • a combination card 601 is displayed on the desktop 600 of the electronic device, and the combination card 601 contains a card element 602.
  • the user can drag the card element 602 to an area outside the combined card 601.
  • the electronic device may also display the card element 602 in an area other than the combined card 601.
  • the electronic device when the electronic device detects that the second card element outside the combination card (ie, the above-mentioned third display element) is dragged by the user to the first position in the combination card, the electronic device can Add the above second card element at the first position.
  • the electronic device when adding the second card element, can detect whether the remaining space in the combined card is greater than or equal to the space required by the second card element.
  • the electronic device can add the second card element to the combined card.
  • the electronic device adds the second card element to the combined card, thereby ensuring that the combined card has enough space to accommodate the second card element.
  • the electronic device can place the second card element at the first position and adjust the positions of the other card elements in the combined card by moving and squeezing.
  • the user wants to add the card element 603 to the combined card 601, so the user drags the card element 603 to the position pointed by the dotted arrow.
  • the electronic device can place the card element 603 at the position pointed by the dotted arrow by moving and squeezing the card element 604 to other positions of the combined card 601. superior.
  • the user wants to add the card element 605 to the combination card 601, so the user drags the card element 605 to the position pointed by the dotted arrow.
  • the combined card 601 does not have enough space to accommodate the card element 605.
  • the user can edit the combination card on the desktop by dragging the card elements, delete the card elements in the combination card and/or add the card elements in the combination card.
  • the operation is simple and easy to use. Effectively improve User editing efficiency.
  • users can delete card elements, change the name of the combination card, remove the combination card, and enter the card editing interface corresponding to the combination card.
  • a combination card 701 is displayed on the desktop 700 of the electronic device.
  • the user wants to control the combination card 701 to enter the shallow editing state, the user can perform a shallow editing operation (ie, the above-mentioned third operation) on the combination card.
  • a shallow editing operation ie, the above-mentioned third operation
  • the user can long press the combination card 701.
  • the electronic device can display deletion controls corresponding to each card element in the combination card 701, such as deletion control 702, deletion control 703 and deletion control 704 shown in Figure 23.
  • the electronic device may display the keyboard control 707 and the name control 708 in response to the user's click operation.
  • the user can change the card name in the name control 708 through the keyboard control 707 .
  • the card editing interface 710 displays a combination card 701, a material library 711, a name control 712, and a deletion control corresponding to each card element in the combination card 701.
  • the material library 711 may also include shortcuts corresponding to various applications/functions on the electronic device.
  • the above functions can be functions provided by the system (such as “auto-rotation” and other functions), or they can also be functions within the application (such as the "radio" function in the "Music” application).
  • the user can delete card elements in the combination card 701 through the editing methods described in the above embodiments, and/or add card elements in the material library 711 to the combination card 701 .
  • the electronic device can fold the material library 711 and display the size adjustment control 713, the size adjustment control 714, and the size adjustment control 715.
  • the size adjustment control 714 corresponds to the current size of the combination card 701.
  • the electronic device may increase the size of the combination card 701 in response to the user's click operation on the size adjustment control 715 .
  • the user can click the size adjustment control 713.
  • the electronic device may reduce the size of the combination card 701 in response to the user's click operation on the size adjustment control 713 .
  • the user can also click the name control 712 in the card editing interface 710 to evoke the keyboard 713 .
  • the user can change the card name in the name control 712 through the keyboard control 713 .
  • the electronic device can change the card name of the combination card 701 to "Xixin" in response to the user's click operation on the confirmation control 714 .
  • the user can also adjust the position of each card element in the combined card 701 by dragging the card elements in the combined card 701.
  • the electronic device may display, in addition to the card editing menu 706 of the combined card 701 ,
  • the element editing menu 731 corresponding to the card element 730 can be used to adjust the functions of the card element 730 .
  • the user can click the "Edit Clock” option in the element editing menu 731.
  • the electronic device may enter the clock editing interface 740 corresponding to the card element 730 in response to the user's click operation on the "Edit Clock” option.
  • the editing interface 740 displays an option 741 for editing a city.
  • the electronic device can also provide an entrance for editing combination cards in the service center.
  • the user can control the electronic device to enter the service center, view the created combination card, create a new combination card, or edit the created combination card in the service center.
  • the user can click control 801.
  • the electronic device can enter the card library 810 of combined cards in response to the user's click operation.
  • the user can click control 811.
  • the electronic device can enter the card editing interface 820 of a new combined card in response to the user's click operation on the control 811.
  • the electronic device can respond to the user's click operation on the control and enter the card editing interface corresponding to the currently displayed combination card.
  • the user can edit the created combination card on the desktop, shallow editing state or service center entrance.
  • the operation is simple and easy to use, and can effectively reduce the user's time to edit the combination.
  • the difficulty of the card improves the user experience.
  • the electronic device can implement the card management method described in any of the above embodiments, or the electronic device can also implement a combination of the above embodiments.
  • the electronic device may implement some or all of the steps in the above embodiments, and/or add certain steps, and/or replace certain steps.
  • the embodiments of the present application do not limit the specific implementation manner of the above card management method on an electronic device.
  • the units described as separate components may or may not be physically separate, and the components shown as units may It may or may not be a physical unit, i.e. it may be located in one place, or it may be distributed over 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 processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.
  • the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the present application can implement all or part of the processes in the methods of the above embodiments, which can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium, and the computer can When the program is executed by the processor, the steps of each of the above method embodiments can be implemented.
  • the computer program includes computer program code, which may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording media, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) ), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signals telecommunications signals
  • software distribution media etc.
  • the content contained in the computer-readable storage medium can be appropriately added or deleted according to the requirements of legislation and patent practice in the jurisdiction.
  • computer-readable storage media Storage media does not include electrical carrier signals and telecommunications signals.

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)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请适用于人机交互领域,提供了卡片管理方法、电子设备及计算机可读存储介质。在本申请实施例提供的方法中,电子设备可以显示第一应用程序的第一界面。当用户想要生成与第一应用程序相关的服务卡片时,用户可以在第一界面内执行第一操作。此时,电子设备可以响应于上述第一操作,获取第一界面或第一应用程序对应的显示要素。后续,电子设备可以根据上述显示要素生成组合卡片,适配用户的实际使用需求,从而在一定程度上解决了当前的服务卡片灵活性较低,应用场景受限的问题,具有较强的易用性和实用性。

Description

卡片管理方法、电子设备及计算机可读存储介质
本申请要求于2022年05月27日提交国家知识产权局、申请号为202210593919.0、申请名称为“卡片管理方法、电子设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及人机交互领域,尤其涉及一种卡片管理方法、电子设备及计算机可读存储介质。
背景技术
服务卡片是一种重要的人机交互方式,电子设备可以通过服务卡片向用户呈现部分精简的信息、提供简单的功能和/或直达特定的应用程序/功能的操作界面,为用户提供极大的便利。
当前的服务卡片主要是由设备厂商或第三方软件提供商的研发人员提前设置的。由于不同的用户可能有不同的使用需求,因此,上述设备厂商或第三方软件提供商提供的服务卡片有可能不符合用户的使用需求,服务卡片的应用场景受到限制。
发明内容
本申请实施例提供了一种卡片管理方法、电子设备及计算机可读存储介质,可以解决当前的服务卡片灵活性较低,应用场景受限的问题。
第一方面,本申请实施例提供了一种卡片管理方法,包括:
显示第一应用程序的第一界面;
检测到用户对所述第一界面的第一操作;
响应于所述第一操作,获取所述第一界面或所述第一应用程序的显示要素;
根据所述第一界面或所述第一应用程序的显示要素,生成组合卡片。
需要说明的是,在本申请实施例提供的卡片管理方法中,电子设备可以显示第一应用程序的第一界面。
后续,如果用户想要生成与上述第一界面或第一应用程序相关的组合卡片,则用户可以在第一界面内执行第一操作。
电子设备可以响应于上述第一操作,获取第一界面或第一应用程序的显示要素。
上述显示要素可以理解为应用程序或功能的入口,可以为用户提供部分精简的信息、提供简单地功能和/或直达特定的应用程序/功能的操作界面。
之后,电子设备可以根据上述第一界面或第一应用程序对应的显示要素,生成组合卡片。
其中,在上述第一界面或第一应用程序的其他界面中,可能显示有部分显示要素。对于同一显示要素,该显示要素在应用程序的界面中显示的样式与该显示要素在组合卡片中显示的样式可以为相同的样式,或者,也可以为不同的样式。
在第一方面的一种可能的实现方式中,所述第一界面包括M个显示要素;
所述根据所述第一界面或所述第一应用程序的显示要素,生成组合卡片,具体包括:
检测到用户从所述M个显示要素中选择N个显示要素的第一选择操作;其中,M大于等于N,M和N为正整数;
生成包括所述N个显示要素的组合卡片。
需要说明的是,在一些实施例中,电子设备可以响应于用户的第一操作,提示第一界面内所包含的M个显示要素。例如,在一些示例中,电子设备可以在M个显示要素的左上角显示选择控件。
用户在查看了上述M个显示要素之后,可以执行第一选择操作,从上述M个显示要素中,选择出符 合自身实际需求的N个显示要素。
之后,电子设备可以响应于上述第一选择操作,生成包括上述N个显示要素的组合卡片。
通过上述方法,用户可以根据自身实际需求,从第一界面中选择所需的显示要素,从而使电子设备生成的组合卡片更贴近用户的实际使用需求,提高用户的使用体验。
在第一方面的一种可能的实现方式中,所述根据所述第一界面或所述第一应用程序的显示要素,生成组合卡片,包括:
显示第二界面,所述第二界面包括所述第一应用程序的X个显示要素;
检测到用户从所述X个显示要素中选择Y个显示要素的第二选择操作;其中,X大于等于Y,X和Y为正整数;
生成包括所述Y个显示要素的组合卡片。
需要说明的是,在另一些实施例中,电子设备也可以响应于用户的第一操作,显示第二界面,第二界面可以包括第一应用程序的X个显示要素。
用户在查看到上述第二界面之后,可以执行第二选择操作,从上述X个显示要素中选择所需的Y个显示要素。
之后,电子设备可以响应于上述第二选择操作,生成包括上述Y个显示要素的组合卡片。
通过上述方法,电子设备可以向用户展示第一应用程序的显示要素,以便用户可以更为灵活地挑选所需的显示要素,使电子设备生成的组合卡片更贴近用户的实际使用需求,提高用户的使用体验。
在第一方面的一种可能的实现方式中,所述显示第二界面,具体包括:
在所述第二界面的第一区域显示待编辑的组合卡片,在所述第二界面的第二区域显示的所述X个显示要素。
在第一方面的一种可能的实现方式中,所述第二选择操作包括:
将在所述第二区域显示的所述Y个显示要素拖至所述第一区域。
需要说明的是,电子设备在显示上述第二界面时,可以在第二界面的第一区域显示待编辑的组合卡片,在第二界面的第二区域显示X个显示要素。
用户在查看到上述第二界面之后,可以通过拖动显示要素的方式,将所需的Y个显示要素拖动至到待编辑的组合卡片所在的第一区域。
此时,电子设备可以响应于用户的操作,将上述Y个显示要素添加至待编辑的组合卡片中,得到用户所需的组合卡片。
通过上述方法,用户可以通过拖动显示要素的方式添加显示要素,操作简单,使用方便,可以有效提高用户的使用体验。
在第一方面的一种可能的实现方式中,所述第二界面还包括第一控件,所述第一控件用于调整所述组合卡片的尺寸;
在所述生成包括所述Y个显示要素的组合卡片之前,所述方法还包括:
检测到用户对所述第一控件的第二操作;
响应于所述第二操作,调整所述待编辑的组合卡片的尺寸。
需要说明的是,在一些实施例中,第二界面中还可以显示第一控件,该第一控件可以用于调整组合卡片的尺寸。
当用户想要调节待编辑的组合卡片的尺寸时,用户可以对第一控件执行第二操作。
电子设备在检测到上述第二操作之后,可以调整待编辑的组合卡片的尺寸。
其中,电子设备调整待编辑的组合卡片的尺寸,可以是增大待编辑的组合卡片的尺寸,或者,也可以是减小待编辑的组合卡片的尺寸。
在第一方面的一种可能的实现方式中,所述方法还包括:
在桌面显示生成的所述组合卡片,所述组合卡片包括第一显示要素和第二显示要素;
检测到用户对所述第一显示要素的移除操作;
响应于所述移除操作,移除所述组合卡片中显示的所述第一显示要素。
需要说明的是,电子设备在生成了上述组合卡片之后,可以在桌面显示上述组合卡片。上述组合卡片可以包括第一显示要素和第二显示要素。
当用户想要移除组合卡片中的第一显示要素时,用户可以在桌面上对该第一显示要素执行移除操作。
电子设备可以响应于上述移除操作,移除组合卡片中显示的第一显示要素。
在第一方面的一种可能的实现方式中,所述对所述第一显示要素的移除操作,具体包括:
将所述第一显示要素拖出显示所述组合卡片的第三区域。
需要说明的是,上述移除操作的表现形式可以根据实际需求确定。在一些实施例中,上述移除操作可以表现为用户将第一显示要素拖出上述组合卡片所在的第三区域。
在第一方面的一种可能的实现方式中,所述方法还包括:
在桌面显示生成的所述组合卡片,所述桌面还包括第三显示要素;
检测到用户对第三显示要素的添加操作;
响应于所述添加操作,显示包括所述第三显示要素的组合卡片。
需要说明的是,在一些实施例中,桌面上除了上述组合卡片以外,还可能包括其他的一些显示要素,比如第三显示要素。
当用户想要将上述第三显示要素添加到组合卡片时,用户可以对上述第三显示要素执行添加操作。
电子设备可以响应于上述添加操作,将上述第三显示要素添加至上述组合卡片,显示包括上述第三显示要素的组合卡片。
在第一方面的一种可能的实现方式中,在所述显示包括所述第三显示要素的组合卡片之前,所述方法还包括:
若所述第三显示要素占用的空间大于所述组合卡片的剩余空间,则增加所述组合卡片的尺寸,以使得所述组合卡片的剩余空间大于或等于所述第三显示要素占用的空间。
需要说明的是,在一些实施例中,有可能出现第三显示要素占用的空间大于组合卡片的剩余空间的情景。此时,电子设备无法直接将上述第三显示要素添加至上述组合卡片。
因此,当上述第三显示要素占用的空间大于组合卡片的剩余空间时,电子设备可以增加上述组合卡片的尺寸,以使得上述组合卡片的剩余大于或等于所述第三显示要素占用的空间,从而使上述组合卡片有足够的空间容纳上述第三显示要素。
在第一方面的一种可能的实现方式中,所述方法还包括:
在桌面显示生成的所述组合卡片;
检测到用户对所述组合卡片的第三操作;
响应于所述第三操作,显示所述组合卡片的编辑菜单;所述组合卡片的编辑菜单包括编辑所述组合卡片的编辑选项。
需要说明的是,在一些实施例中,电子设备在桌面上显示上述组合卡片时,如果用户想要对该组合卡片进行编辑,则用户可以对上述组合卡片执行第三操作。
电子设备可以响应于上述第三操作,显示上述组合卡片的编辑菜单。上述组合卡片的编辑菜单可以包括一个或多个编辑选项。
后续,用户可以通过上述组合卡片的编辑菜单中的编辑选项,对上述组合卡片进行编辑。
在第一方面的一种可能的实现方式中,所述组合卡片包括第四显示要素,所述方法还包括:
在桌面显示生成的所述组合卡片;
检测到用户对所述第四显示要素的第四操作;
响应于所述第四操作,显示所述第四显示要素的编辑菜单;所述第四显示要素的编辑菜单包括用于编辑所述第四显示要素的编辑选项。
需要说明的是,在另一些实施例中,上述组合卡片中还包括上述第四显示要素。
当用户想要单独对第四显示要素进行编辑时,用户可以对第四显示要素执行第四操作。
电子设备可以响应于上述第四操作,显示第四显示要素的编辑操作。上述第四显示要素的编辑菜单可以包括一个或多个编辑选项。
后续,用户可以通过上述第四显示要素的编辑菜单中的编辑选项,对上述第四显示要素进行编辑。
另外,需要说明的是,以上实施例的各项操作的具体表现形式可以根据实际需求确定,本申请对此不予限制。
上述第一显示要素、第二显示要素、第三显示要素和第四显示要素可以为相同的显示要素,或者,也可以为不同的显示要素。
第二方面,本申请实施例提供了一种卡片管理方法,包括:
显示搜索界面;
接收用户输入的搜索词;
根据所述搜索词进行搜索,显示P个搜索结果;
检测到用户从所述P个搜索结果中选择Q个搜索结果的第三选择操作;其中,P大于等于Q,P和Q为正整数;
根据所述Q个搜索结果,生成包括至少一个显示要素的组合卡片。
需要说明的是,在本实施例提供的卡片管理方法中,电子设备可以向用户显示搜索界面。
用户在查看到上述搜索界面之后,可以在上述搜索界面中输入搜索词。
电子设备可以根据上述搜索词进行搜索,显示搜索到的P个搜索结果。上述搜索结果可以包括应用程序和/或功能。上述功能可以为应用程序内的功能,或者,也可以为系统提供的功能。
用户在查看了上述P个搜索结果之后,可以执行第三选择操作,从上述P个搜索结果中,选择Q个用户所需的搜索结果。
电子设备可以响应于上述第三选择操作,获取上述Q个搜索结果对应的显示要素,根据上述Q个搜索结果对应的显示要素生成包括至少一个显示要素的组合卡片。
在另一些实施例中,电子设备根据上述搜索词进行搜索之后,也可以直接向用户显示组合卡片,该组合卡片由电子设备搜索到的应用程序/功能对应的显示要素组成。
第三方面,本申请实施例提供了一种卡片管理装置,包括:
界面显示模块,用于显示第一应用程序的第一界面;
第一操作模块,用于检测到用户对所述第一界面的第一操作;
要素获取模块,用于响应于所述第一操作,获取所述第一界面或所述第一应用程序的显示要素;
卡片生成模块,用于根据所述第一界面或所述第一应用程序的显示要素,生成组合卡片。
在第三方面的一种可能的实现方式中,所述第一界面包括M个显示要素;
所述卡片生成模块,具体用于:
检测到用户从所述M个显示要素中选择N个显示要素的第一选择操作;其中,M大于等于N,M和N为正整数;
生成包括所述N个显示要素的组合卡片。
在第三方面的一种可能的实现方式中,所述卡片生成模块,具体用于:
显示第二界面,所述第二界面包括所述第一应用程序的X个显示要素;
检测到用户从所述X个显示要素中选择Y个显示要素的第二选择操作;其中,X大于等于Y,X和Y为正整数;
生成包括所述Y个显示要素的组合卡片。
在第三方面的一种可能的实现方式中,所述显示第二界面,具体包括:
在所述第二界面的第一区域显示待编辑的组合卡片,在所述第二界面的第二区域显示的所述X个显示要素。
在第三方面的一种可能的实现方式中,所述第二选择操作包括:
将在所述第二区域显示的所述Y个显示要素拖至所述第一区域。
在第三方面的一种可能的实现方式中,所述第二界面还包括第一控件,所述第一控件用于调整所述组合卡片的尺寸;
所述卡片生成模块,还用于:
检测到用户对所述第一控件的第二操作;
响应于所述第二操作,调整所述待编辑的组合卡片的尺寸。
在第三方面的一种可能的实现方式中,所述装置还包括:
桌面显示模块,用于在桌面显示生成的所述组合卡片,所述组合卡片包括第一显示要素和第二显示要素;
移除操作模块,用于检测到用户对所述第一显示要素的移除操作;
要素移除模块,用于响应于所述移除操作,移除所述组合卡片中显示的所述第一显示要素。
在第三方面的一种可能的实现方式中,所述对所述第一显示要素的移除操作,具体包括:
将所述第一显示要素拖出显示所述组合卡片的第三区域。
在第三方面的一种可能的实现方式中,所述装置还包括:
桌面显示模块,用于在桌面显示生成的所述组合卡片,所述桌面还包括第三显示要素;
添加操作模块,用于检测到用户对第三显示要素的添加操作;
要素添加模块,用于响应于所述添加操作,显示包括所述第三显示要素的组合卡片。
在第三方面的一种可能的实现方式中,所述装置还包括:
尺寸调整模块,用于若所述第三显示要素占用的空间大于所述组合卡片的剩余空间,则增加所述组合卡片的尺寸,以使得所述组合卡片的剩余空间大于或等于所述第三显示要素占用的空间。
在第三方面的一种可能的实现方式中,所述装置还包括:
桌面显示模块,用于在桌面显示生成的所述组合卡片;
第三操作模块,用于检测到用户对所述组合卡片的第三操作;
卡片菜单模块,用于响应于所述第三操作,显示所述组合卡片的编辑菜单;所述组合卡片的编辑菜单包括编辑所述组合卡片的编辑选项。
在第三方面的一种可能的实现方式中,所述组合卡片包括第四显示要素,所述装置还包括:
桌面显示模块,用于在桌面显示生成的所述组合卡片;
第四操作模块,用于检测到用户对所述第四显示要素的第四操作;
要素菜单模块,用于响应于所述第四操作,显示所述第四显示要素的编辑菜单;所述第四显示要素的编辑菜单包括用于编辑所述第四显示要素的编辑选项。
第四方面,本申请实施例提供了一种卡片管理装置,包括:
搜索界面模块,用于显示搜索界面;
搜索输入模块,用于接收用户输入的搜索词;
结果显示模块,用于根据所述搜索词进行搜索,显示P个搜索结果;
结果选择模块,用于检测到用户从所述P个搜索结果中选择Q个搜索结果的第三选择操作;其中,P大于等于Q,P和Q为正整数;
卡片生成模块,用于根据所述Q个搜索结果,生成包括至少一个显示要素的组合卡片。
第五方面,本申请实施例提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器被配置为执行所述计算机程序时使得所述电子设备执行如第一方面和第二方面中任一所述的方法。
第六方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质被配置为存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如第一方面和第二方面中任一所述的方法。
第七方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品被配置为在电子设备上运行时,使得电子设备执行如第一方面和第二方面中任一所述的方法。
第八方面,本申请实施例提供了一种芯片系统,所述芯片系统包括存储器和处理器,所述处理器被配置为执行所述存储器中存储的计算机程序,以实现如第一方面和第二方面中任一所述的方法。
本申请实施例与现有技术相比存在的有益效果是:
在本申请实施例提供的方法中,电子设备可以显示第一应用程序的第一界面。当用户想要生成与第一应用程序相关的服务卡片时,用户可以在第一界面内执行第一操作。此时,电子设备可以响应于上述第一操作,获取第一界面或第一应用程序对应的显示要素。后续,电子设备可以根据上述显示要素生成组合卡片,适配用户的实际使用需求,从而在一定程度上解决了当前的服务卡片灵活性较低,应用场景受限的问题。
附图说明
图1为本申请实施例提供的一种电子设备的结构示意图;
图2为本申请实施例提供的一种软件系统的软件结构框图;
图3为本申请实施例提供的一种场景示意图;
图4为本申请实施例提供的另一种场景示意图;
图5为本申请实施例提供的另一种场景示意图;
图6为本申请实施例提供的另一种场景示意图;
图7为本申请实施例提供的另一种场景示意图;
图8为本申请实施例提供的另一种场景示意图;
图9为本申请实施例提供的另一种场景示意图;
图10为本申请实施例提供的另一种场景示意图;
图11为本申请实施例提供的另一种场景示意图;
图12为本申请实施例提供的另一种场景示意图;
图13为本申请实施例提供的另一种场景示意图;
图14为本申请实施例提供的另一种场景示意图;
图15为本申请实施例提供的另一种场景示意图;
图16为本申请实施例提供的另一种场景示意图;
图17为本申请实施例提供的另一种场景示意图;
图18为本申请实施例提供的另一种场景示意图;
图19为本申请实施例提供的另一种场景示意图;
图20为本申请实施例提供的另一种场景示意图;
图21为本申请实施例提供的另一种场景示意图;
图22为本申请实施例提供的另一种场景示意图;
图23为本申请实施例提供的另一种场景示意图;
图24为本申请实施例提供的另一种场景示意图;
图25为本申请实施例提供的另一种场景示意图;
图26为本申请实施例提供的另一种场景示意图;
图27为本申请实施例提供的另一种场景示意图;
图28为本申请实施例提供的另一种场景示意图;
图29为本申请实施例提供的另一种场景示意图;
图30为本申请实施例提供的另一种场景示意图;
图31为本申请实施例提供的另一种场景示意图;
图32为本申请实施例提供的另一种场景示意图;
图33为本申请实施例提供的另一种场景示意图;
图34为本申请实施例提供的另一种场景示意图;
图35为本申请实施例提供的另一种场景示意图;
图36为本申请实施例提供的另一种场景示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、卡片元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、卡片元素、组件和/或其集合的存在或添加。
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
在本申请说明书中描述的“快捷方式”可以理解为系统应用程序、第三方应用程序或应用程序中的功能的入口。当用户对上述快捷方式进行操作时,电子设备可以响应于用户的操作,直接为用户提供特定的功能;或者,电子设备也可以进入该快捷方式对应的应用程序/功能的操作界面。
其中,上述快捷方式可以包括小工具、应用图标、功能图标、卡片等控件中的一种或多种。为了便于理解,在本申请以下的描述中,将卡片式的快捷方式定义为服务卡片,将其他类型的快捷方式统称为快捷方式。
服务卡片是一种重要的人机交互方式,电子设备可以通过服务卡片向用户呈现部分精简的信息、提供简单的功能和/或直达特定的应用程序/功能的操作界面,为用户提供极大的便利。
当前的服务卡片主要是由设备厂商或第三方软件提供商的研发人员进行开发和设计,服务卡片所提供的信息和功能是固定的。
由于不同的用户可能有不同的使用需求,因此,上述设备厂商或第三方软件提供商提供的服务卡片有可能不符合用户的使用需求,服务卡片的应用场景受到限制。
有鉴于此,本申请实施例提供了一种卡片管理方法,电子设备可以响应于用户的操作,创建和编辑符合用户实际使用需求的组合卡片,从而在一定程度上解决当前的服务卡片灵活性较低,应用场景受限的问题,具有较强的易用性和实用性。
本申请实施例提供的卡片管理方法可以适用于手机、平板电脑、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、可穿戴设备、笔记本电脑、台式电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、个人数字助理(personal digital assistant,PDA)、上网本、智慧大屏等类型的电子设备,本申请实施例对上述电子设备的具体类型不作任何限制。
请参阅图1,图1示例性地示出了本申请实施例提供的电子设备100的结构示意图。
如图1所示,电子设备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等。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基 带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器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)接口等。
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用于发射和接收电磁波信号。电子设备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的正整数。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。
电子设备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的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
以上介绍了电子设备100可能的硬件结构示意图。电子设备100的软件系统可以采用分层架构、事件驱动架构、微核架构、微服务架构或云架构。本申请实施例以分层架构的安卓(Android)系统为例,示例性地说明电子设备100的软件结构。
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序(application,APP)层,应用程序框架(framework)层,安卓运行时(Android runtime)和系统层,以及内核层。
应用程序层可以包括一系列应用程序包。如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。应用程序主要是用户界面(user interface,UI)方面的,通常使用Java语言调用应用程序框架层的接口编写。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏、锁定屏幕、截取屏幕等。示例性地,窗口管理器可以获取电子设备100上待显示窗口的大小,判断待显示窗口的内容等。应理解,电子设备100的待显示窗口可以包括电子设备上正在显示的窗口,还可以包括电子设备100后台运行的一个或多个应用程序的窗口(比如最小化的窗口)。
窗口管理器是一个服务(service),它是全局的、系统中唯一的、独立于安卓应用程序的C++服务,窗口管理器被所有安卓应用程序共用。安卓系统的窗口管理系统是基于客户端/服务端(client/service,C/S)模式的,整个窗口系统分为服务端(service)和客户端(client)两大部分。客户端即应用程序,负责请求创建窗口和使用窗口;服务端即窗口管理器,也称为窗口管理服务(window manager service,WMS),负责完成窗口的维护、窗口显示等。客户端并不是直接和窗口管理服务WMS交互,而是直接和本地对象窗口管理(window manager)交互,然后由窗口管理(window manager)完成和窗口管理服务WMS的交互。对于应用来说这个交互是透明的,应用不能感知到窗口管理服务的存在。
在安卓系统的应用框架中,窗口主要分为两种,一种是应用窗口,一种是公共界面的窗口。在应用窗口中,一个活动(Activity)(在其他的系统中也被称为实例)有一个主窗口和多个子窗口,例如弹出的对话框、菜单(menu)即一个子窗口。在同一个Activity中,主窗口和子窗口之间通过在Activity关联起来。子窗口不能单独存在,需要依附在特定的父窗口中。公共界面的窗口也称系统窗口,包括最近运行对话框、关机对话框、状态栏下拉栏、锁屏界面等,系统窗口不从属于任何应用,和Activity没有关系。
窗口可以理解为屏幕上的一块矩形区域,可以显示用户界面(user interface,UI)和与用户交互。在一些实施例中,窗口也可以将用户界面(即软件的操作界面)隐藏起来,在用户需要操作时再快速为用户展现应用导航和功能操作,或者根据触发的指令再度展开应用的操作界面。从系统的角度看,窗口其实是一个画布(surface)。一个屏幕可以有多个窗口,而这多个窗口的布局和顺序以及窗口动画是由窗口管理服务WMS管理的,多个画布内容混合和显示则是由SurfaceFlinger服务实现的。窗口是分层的,层级大的会显示在层级小的窗口上面,遮挡层级小的窗口。
应理解,本申请实施例仅以安卓系统为例描述相应的窗口管理机制,本申请实施提供的窗口控制方法可以应用于其他系统,例如麦金塔(Mac)系统、微软视窗(Windows)系统、鸿蒙系统等。对于不同的电子设备、不同的系统,窗口管理机制可能不同,具体需要根据实际情况采用相应技术创建和管理窗口。本申请在此仅做示例性说明,不应理解为对本申请的限定。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短 暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,终端设备振动,指示灯闪烁等。
Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统层是应用程序框架的支撑,是连接应用程序框架层和内核层的重要纽带。系统层可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层,用于提供系统的本质功能例如文件管理、内存管理、进程管理、网络协议等。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
以下将结合图1和图2所示的电子设备以及具体的应用场景,对本申请实施例提供的卡片管理方法进行详细说明。
1、创建组合卡片。
1.1、在应用程序内创建组合卡片。
在本申请实施例中,当用户想要创建第一应用程序对应的组合卡片时,用户可以在第一应用程序的第一界面中执行第一操作。
上述第一操作的具体表现形式可以根据实际需求进行设置。例如,上述第一操作可以包括点击操作、长按操作、滑动操作等操作中的任意一种或多种的组合。
电子设备在检测到上述第一操作之后,可以根据第一应用程序对应的卡片元素,生成第一应用程序对应的组合卡片。
上述组合卡片可以包括一个或多个第一应用程序对应的卡片元素。上述卡片元素(即上述显示要素)可以包括服务卡片和/或快捷方式。
具体地,在一些实施例中,电子设备在检测到上述第一操作之后,可以自动根据第一应用程序对应的卡片元素生成第一应用程序对应的组合卡片。
例如,在一示例中,如图3所示,假设用户想要生成一张与“音乐”应用程序相关的服务卡片,则用户可以在电子设备的桌面310中点击“音乐”应用程序的图标311。
此时,电子设备可以响应于用户对图标311的点击操作,进入“音乐”应用程序的首页320。
后续,用户可以在首页320中执行第一操作。比如,用户可以长按首页320中的空白处;或者,用户也可以长按首页320中的某个控件;或者,用户也可以执行其他形式的第一操作。
如图4所示,电子设备在检测到上述第一操作之后,电子设备可以显示“取消”控件321和“设 为卡片”控件322。
在用户点击了控件322之后,电子设备可以进入卡片编辑界面330(即上述第二界面),在卡片编辑界面330中显示“音乐”应用程序对应的组合卡片331。
上述组合卡片331是电子设备根据“音乐”应用程序对应的卡片元素生成的。
或者,在另一示例中,电子设备在检测到上述第一操作之后,也可以不显示“取消”控件321和“设为卡片”控件322,直接进入卡片编辑界面330。
在另一示例中,电子设备在生成组合卡片331时,可以根据第一界面对应卡片元素生成组合卡片。示例性的,电子设备在首页320检测到上述第一操作之后,可以根据首页320对应的卡片元素生成组合卡片331。此时,上述组合卡片331可以不包含“音乐”应用程序的其他界面对应的卡片元素。
通过上述各个示例可知,在本申请实施例提供的方法中,用户可以根据自身需求,确定第一应用程序,在第一应用程序的第一界面中执行第一操作。之后,电子设备可以响应于上述第一操作,生成第一应用程序对应的组合卡片,适配用户的实际使用需求,从而在一定程度上解决了当前的服务卡片灵活性较低,应用场景受限的问题。
此外,电子设备在生成了上述组合卡片之后,用户有可能想要对上述组合卡片进行个性化编辑。
此时,用户可以对上述组合卡片执行编辑操作。上述编辑操作可以包括调整上述组合卡片的尺寸、增加卡片元素、删除卡片元素、重命名等操作中任意一种或多种。
电子设备在检测到上述编辑操作之后,可以根据上述编辑操作调整上述组合卡片。
例如,在一示例中,如图5所示,假设组合卡片331当前的尺寸为2*4,卡片编辑界面330中显示有尺寸调整控件332、尺寸调整控件333和尺寸调整控件334(即上述第一控件)。
尺寸调整控件332对应的卡片尺寸为2*2,尺寸调整控件333对应的卡片尺寸为2*4,尺寸调整控件334对应的卡片尺寸为4*4。
用户在查看了组合卡片331之后,点击了尺寸调整控件334。
此时,电子设备可以响应于用户对尺寸调整控件334的点击操作,将组合卡片334的331的尺寸从2*4调整为4*4。
在另一示例中,如图6所示,用户点击了尺寸调整控件332。
此时,由于尺寸调整控件332对应的尺寸为2*2,小于组合卡片331当前的尺寸2*4,因此,电子设备可以检测组合卡片331中各卡片元素占用的空间总和是否与尺寸调整控件332对应的尺寸2*2相匹配。
后续,电子设备检测到组合卡片331中各卡片元素占用的空间总和为4,在尺寸2*2的容纳范围内,所以,电子设备可以将组合卡片331的尺寸从2*4调整为2*2。
在另一示例中,如图7所示,在用户点击了尺寸调整控件332之后,电子设备检测到组合卡片331中各卡片元素占用的空间总和为6,超出了尺寸2*2的容纳范围。
此时,电子设备可以不对用户的点击操作进行响应。或者,电子设备也可以提示用户尺寸不匹配,以便用户在查看到提示之后,重新调整组合卡片331的尺寸。
在另一示例中,当用户想要调节组合卡片331的尺寸时,用户也可以拖动组合卡片331的边界线。
此时,电子设备可以响应于用户的拖动操作,调整组合卡片331的边界线位置,从而调整组合卡片331的尺寸。
在另一示例中,如图8所示,在卡片编辑界面330中,组合卡片331包含有四个卡片元素,各个卡片元素的右上角显示有用于删除卡片元素的删除控件,分别为控件335、控件336、控件337和控件338。
假设用户想要删除组合卡片331中的卡片元素339,则用户可以点击位于卡片元素339右上角的控件337。
此时,电子设备可以响应于用户对控件337的点击操作,删除控件337对应的卡片元素339。
在另一示例中,当用户想要删除组合卡片331中的某个卡片元素时,用户也可以将该卡片元素拖出组合卡片331所在的区域。
此时,电子设备可以响应于用户的拖动操作,删除被拖出组合卡片331所在的区域的卡片元素。
在另一示例中,如图9所示,卡片编辑界面330还可以包括素材库340(即上述第二区域),素材库340中包括“服务卡片”控件341和“快捷方式”控件342。
当用户想要查看素材库340所包含的服务卡片时,用户可以点击控件341。此时,电子设备可以响应于用户的点击操作,在素材库340中显示“音乐”应用程序对应的服务卡片。
当用户想要查看素材库340所包含的快捷方式时,用户可以点击控件342。此时,电子设备可以响应于用户的点击操作,在素材库340中显示“音乐”应用程序对应的快捷方式。
后续,如图10所示,假设用户想要将素材库340中的卡片元素343添加到组合卡片331中,则用户可以长按选中卡片元素343,将卡片元素343拖动至组合卡片331所在的区域(即上述第一区域)。
此时,电子设备可以响应于用户的拖动操作,将卡片元素343添加到组合卡片331中。
其中,如果卡片元素343被用户拖动到组合卡片331中未被占用的位置中,则电子设备可以直接在该位置放置卡片元素343。
如果卡片元素343被用户拖动到某一卡片元素占用的位置(比如卡片元素344占用的位置),则电子设备可以通过移动挤位的方式,将卡片元素344移动至组合卡片331的其他位置,在卡片元素344移动前的位置放置卡片元素343。
在另一示例中,电子设备也可以在素材库中各卡片元素的右上角显示用于添加卡片元素的添加控件。
当用户想要添加某个卡片元素时,用户可以点击该卡片元素右上角显示的添加控件。
此时,电子设备可以响应于用户的点击操作,将上述卡片元素添加到组合卡片331中。
在另一示例中,素材库340可以包括电子设备的所有服务卡片和快捷方式,以便用户可以更为灵活地挑选组合卡片331所包含的卡片元素。
在另一示例中,素材库340可以包括第一应用程序的所有服务卡片和快捷方式,不包含其他应用程序/功能对应的卡片元素。
在另一示例中,素材库340可以包括第一界面的所有服务卡片和快捷方式,不包含其他应用程序/功能对应的卡片元素,也不包含第一应用程序中其他界面对应的卡片元素。
在另一示例中,素材库340可以不显示组合卡片331中已存在的卡片元素,提高用户挑选卡片元素的效率。
在另一示例中,素材库340可以不显示被删除的卡片元素,以免用户误添加不想要的卡片元素。
通过以上各示例所示的方法,电子设备可以响应于用户的编辑操作,调整组合卡片的尺寸以及调整组合卡片中的卡片元素,以使得上述组合卡片更贴合用户的实际需求,提高用户的使用体验。
可以理解的是,以上各示例所示的编辑操作和调整方式仅为本申请实施例的示意性举例。在其 他的一些实施例中,上述编辑操作也可以表现为其他表现形式,以及,电子设备也可以通过其他调整方式对上述组合卡片进行调整。本申请实施例对上述编辑操作和上述调整方式的具体表现形式不予限制。
在电子设备显示了上述组合卡片,或调整了上述组合卡片之后,如果用户想要保留上述组合卡片,则用户可以对电子设备执行保存操作。
此时,电子设备可以响应于上述保存操作,保存上述组合卡片。
其中,电子设备在保存上述组合卡片时,可以将上述组合卡片保存在服务中心,以备用户的后续调用需求。上述服务中心为电子设备中负责管理各个服务卡片和用户自定义的组合卡片的应用程序。
和/或,电子设备在保存上述组合卡片时,也可以在指定位置显示上述组合卡片。上述指定位置可以为电子设备的桌面空白处、堆叠放置的卡片集合、锁屏界面、消息通知栏等位置中任意一处。本申请实施例对上述指定位置的具体位置不予限制。
此外,在电子设备显示了上述组合卡片,或调整了上述组合卡片之后,用户也有可能不想保留上述组合卡片。
此时,用户可以对电子设备执行取消操作。电子设备可以响应于上述取消操作,不保存上述组合卡片。
后续,电子设备可以返回上述第一界面,或者,电子设备也可以跳转至指定界面。上述指定界面可以根据实际需求进行设置。例如,上述指定界面可以为电子设备的桌面。
示例性地,在一示例中,如图11所示,卡片编辑界面330中显示有“×”控件345和“√”控件346。
用户在完成了对组合卡片331的编辑操作之后,如果用户想要保存组合卡片331,则用户可以点击控件346。
此时,电子设备可以响应于用户对控件346的点击操作,保存组合卡片331当前的卡片样式,跳转至桌面310,在桌面310的空白处显示组合卡片331。
在另一示例中,如图12所示,用户在查看了组合卡片331之后,不想保存组合卡片331,点击了控件345。
此时,电子设备可以响应于用户对控件345的点击操作,不保留组合卡片331,返回“音乐”应用程序的首页320。
通过上述示例可知,电子设备在生成了组合卡片之后,用户可以自行决定是否保存上述组合卡片,从而提高卡片管理的灵活性。
在另一些实施例中,电子设备在检测到上述第一操作之后,可以响应于上述第一操作,向用户展示可选择的卡片元素。
上述可选择的卡片元素可以包括第一应用程序对应的卡片元素,或者,也可以仅包含第一界面对应的卡片元素。
后续,用户可以根据实际的使用需求,从上述可选择的卡片元素中,选择构建组合卡片的卡片元素。
电子设备可以根据用户选择的卡片元素,生成相应的组合卡片。
例如,在一示例中,如图13所示,用户在第一界面(例如首页320)中执行了第一操作(长按操作)之后,电子设备可以响应于上述第一操作,在第一界面所包含的各个可选择卡片元素的右上 角显示相应的选择控件,例如图13所示的选择控件323、选择控件324、选择控件325等。
之后,用户可以对上述选择控件执行点击操作,选中相应的卡片元素。例如,用户可以点击选择控件323和选择控件324,选中选择控件323和选择控件324对应的卡片元素。
电子设备可以响应于用户对上述选择控件的点击操作,确定被选中的卡片元素。
用户在选择好构建组合卡片的卡片元素之后,可以点击“设为卡片”控件322。此时,电子设备可以进入卡片编辑界面330,在卡片编辑界面330中显示“音乐”应用程序对应的组合卡片331。
上述组合卡片331是电子设备根据被选中的卡片元素生成的;
后续,用户可以通过以上各实施例所描述的编辑方法,在卡片编辑界面330中对上述组合卡片331进行更深入的编辑,从而得到符合用户实际需求的组合卡片331。
在另一示例中,如图14所示,假设用户想要生成一张与“智慧生活”应用程序相关的服务卡片,则用户可以在“智慧生活”应用程序的第一界面中执行第一操作。例如,用户可以在控制界面350中执行长按操作。
电子设备在检测到上述第一操作之后,可以进入组合卡片的卡片编辑界面360,在卡片编辑界面360中显示一张空白的组合卡片361和素材库362。
上述素材库362可以包括第一界面所包含的卡片元素,或者,上述素材库也可以包括第一应用程序对应的所有卡片元素。
示例性地,上述素材库362可以包括控制界面350所包含的卡片元素,或者,上述素材库也可以包括“智慧生活”应用程序对应的所有卡片元素。
用户在查看到上述卡片编辑界面360之后,可以通过以上各实施例所描述的编辑方法,对上述空白的组合卡片361进行编辑,从而得到符合用户实际需求的组合卡片361。
通过上述方法,电子设备在检测到第一操作时,可以向用户展示可选择的卡片元素。后续,用户可以根据上述可选择的卡片元素自行构建组合卡片,从而得到符合用户实际使用需求的组合卡片。
1.2、通过搜索界面创建组合卡片。
在一些实施例中,电子设备在检测到用户在搜索框中输入的搜索词之后,可以根据上述搜索词执行搜索操作,确定搜索结果。上述搜索结果包括一个或多个应用程序和/或功能。
然后,电子设备可以根据上述搜索结果,创建与上述搜索结果相关的组合卡片。
其中,上述搜索框的位置可以根据实际需求进行设置。例如,在一些实施例中,上述搜索框可以位于负一屏;在另一些实施例中,上述搜索框可以位于预设的智慧搜索界面;在其他的一些实施例中,上述搜索框也可以位于其他位置。本申请实施例对上述搜索框的具体位置不予限制。
具体地,在一些实施例中,电子设备在确定了搜索结果之后,可以根据上述搜索结果对应的卡片元素,自动创建与上述搜素结果相关的组合卡片并显示。
在另一些实施例中,电子设备在确定了搜索结果之后,可以显示上述搜索结果。
用户在查看了上述搜索结果之后,可以对上述搜索结果执行选择操作。
此时,电子设备可以响应于上述选择操作,确定被选中的第二应用程序。
之后,电子设备可以进入组合卡片的编辑界面,向用户展示待编辑的组合卡片和素材库。上述素材库可以包括上述第二应用程序对应的卡片元素。
用户在查看到上述卡片编辑界面之后,可以根据上述任一实施例所描述的编辑方式,对上述组合卡片进行编辑,从而得到符合用户实际需求的组合卡片。
示例性地,在一示例中,如图15所示,用户想要搜索“音乐”相关的应用程序,所以,用户在 桌面410中执行向下滑动操作。
电子设备可以响应于上述向下滑动操作,显示智慧搜索界面420,智慧搜索界面420包括搜索框421。
用户查看了智慧搜索界面420之后,在搜索框421中输入了搜索词“音乐”。
此时,电子设备可以响应于上述输入操作,获取到搜索词“音乐”,根据搜索词“音乐”执行搜索操作,确定搜索结果。例如,电子设备通过搜索词“音乐”执行搜索操作时,可能会搜索到“音乐A”应用程序、“音乐B”应用程序和“视频”应用程序。
电子设备在确定了搜索结果之后,可以获取上述搜索结果对应的卡片元素,根据上述搜索结果对应的卡片元素创建组合卡片422,并将组合卡片422显示在智慧搜索界面420中。
用户在查看到组合卡片422之后,如果想要保存组合卡片422,则用户可以对组合卡片422执行保存操作。例如,用户可以点击组合卡片422。
此时,电子设备可以响应于用户的保存操作,保存组合卡片422,返回桌面410,在桌面410显示上述组合卡片422。
在另一示例中,如图16所示,电子设备在获取到搜索词之后,可以在智慧搜索界面420中显示搜索结果。
用户在查看到上述搜索结果之后,如果想要创建组合卡片,则用户可以对上述搜索结果执行触发操作。例如,用户可以对智慧搜索界面420执行长按操作。
电子设备在检测到上述触发操作之后,可以显示各个搜索结果对应的选择控件。例如,电子设备可以显示选择控件423、选择控件424、选择控件425和选择控件426,以及,电子设备还可以显示“取消”控件427和“设为卡片”控件428。
后续,用户在点击了选择控件423和选择控件426之后,点击了“设为卡片”控件428。
此时,电子设备可以响应于用户的操作,将选择控件423对应的“音乐A”应用程序和“设置”应用程序确定为第二应用程序,进入卡片编辑界面430,在卡片编辑界面430中显示待编辑的组合卡片431和素材库432。
其中,上述组合卡片431可以为空白的卡片,或者,上述组合卡片431也可以包含一个或多个第二应用程序对应的卡片元素。
上述素材库432可以包括上述第二应用程序对应的所有卡片元素,即上述“音乐A”应用程序对应的卡片元素和上述“设置”应用程序中“音乐、视频、游戏”功能对应的卡片元素。
用户在查看了上述卡片编辑界面430之后,可以通过以上各实施例所描述的编辑方法,对上述组合卡片431进行编辑,从而得到符合用户实际需求的组合卡片431。
1.3、通过服务中心创建组合卡片。
在一些实施例中,电子设备也可以在服务中心设置创建组合卡片的入口。
当用户想要创建新的组合卡片时,用户可以在电子设备的服务中心执行新建操作。
此时,电子设备可以响应于上述新建操作,进入卡片编辑界面,向用户展示待编辑的组合卡片和素材库。上述素材库可以包括电子设备上设置的所有卡片元素。
用户在查看到上述卡片编辑界面之后,可以根据上述任一实施例所描述的编辑方式,对上述组合卡片进行编辑,从而得到符合用户实际需求的组合卡片。
示例性地,在一示例中,如图17所示,当用户想要创建一个新的组合卡片时,用户可以在电子设备的桌面510上两指相向滑动。
此时,电子设备可以响应于上述滑动操作,显示桌面管理控件,包括“壁纸”控件511、“服务卡片”控件512、“切换效果”控件513和“设置”控件514。
用户在查看了上述桌面管理控件之后,可以点击“服务卡片”控件512。电子设备可以响应于上述点击操作,进入服务中心520,服务中心520显示有控件521。
之后,用户可以点击控件521。如图18所示,电子设备可以响应于用户对控件521的点击操作,显示服务窗口522。
上述服务窗口522中显示有“更多服务”控件523和“组合卡片”控件524。
用户在查看了上述服务窗口522之后,可以点击“组合卡片”控件524。此时,电子设备可以响应于用户的点击操作,进入卡片编辑界面530。
卡片编辑界面530中显示有空白的组合卡片531和素材库532,素材库532中可以包括电子设备上设置的所有卡片元素。
用户在查看了上述卡片编辑界面530之后,可以通过以上各实施例所描述的编辑方法,对上述组合卡片531进行编辑,从而得到符合用户实际需求的组合卡片531。
在另一示例中,如图17所示,服务中心520中还包括搜索框525。此时,如果用户在点击“组合卡片”控件524之前,先在搜索框525中输入了搜索词,则上述素材库532可以只显示与上述搜索词相关的卡片元素。其中,与上述搜索词相关的卡片元素可以包括与上述搜索词相关的应用程序/功能对应的服务卡片和/或快捷方式。
例如,假设用户在搜索框525中输入了搜索词“运动”,则后续电子设备在卡片编辑界面530中显示的素材库532可以仅包含与搜索词“运动”相关的卡片元素。
在另一示例中,如果用户在搜索框525中输入了搜索词,则电子设备也可以根据上述搜索词进行搜索,确定与上述搜索词相关的卡片元素,并根据与上述搜索词相关的卡片元素自动创建相应的组合卡片。
例如,假设用户在搜索框525中输入了搜索词“运动”,则电子设备可以搜索与搜索词“运动”相关的卡片元素,并根据与搜索词“运动”相关的卡片元素自动创建与搜索词“运动”相关的组合卡片。
综上所述,在本申请提供的卡片管理方法中,用户可以从应用程序内、搜索框或服务中心等入口自行创建符合用户实际需求的组合卡片,从而在一定程度上解决了当前的服务卡片灵活性较低,应用场景受限的问题。
2、编辑已创建的组合卡片。
在实际的应用场景中,当用户的使用需求发生变化时,用户可能会想要重新编辑已创建好的组合卡片。
因此,在本申请实施例提供的卡片管理方法中,电子设备可以响应于用户的操作,在桌面、浅层编辑状态或服务中心等界面对组合卡片进行编辑。
2.1、在桌面编辑组合卡片。
当电子设备在桌面显示组合卡片时,用户可以通过拖动卡片元素的方式,对上述组合卡片进行编辑。
具体地,在一些实施例中,当电子设备检测到组合卡片内的第一卡片元素(即上述第一显示要素)被用户拖动至组合卡片以外的区域时,电子设备可以删除组合卡片内的第一卡片元素。或者,在另一些实施例中,电子设备可以在组合卡片以外的区域显示上述第一卡片元素。
示意性地,如图19所示,电子设备的桌面600中显示有组合卡片601,组合卡片601中包含有卡片元素602。
当用户想要删除组合卡片601中的卡片元素602时,用户可以将卡片元素602拖动至组合卡片601以外的区域。
此时,电子设备可以响应于用户的拖动操作,删除组合卡片601中的卡片元素602。
或者,电子设备也可以将卡片元素602显示在组合卡片601以外的区域。
在另一些实施例中,当电子设备检测到组合卡片外的第二卡片元素(即上述第三显示要素)被用户拖动至组合卡片中的第一位置时,电子设备可以在组合卡片中的第一位置添加上述第二卡片元素。
其中,电子设备在添加上述第二卡片元素时,可以检测上述组合卡片中的剩余空间是否大于或等于上述第二卡片元素所需占用的空间。
如果上述组合卡片中的剩余空间大于或等于上述第二卡片元素所需占用的空间,则电子设备可以在上述组合卡片中添加上述第二卡片元素。
如果上述组合卡片中的剩余空间小于上述第二卡片元素所需占用的空间,则电子设备可以先增大上述组合卡片的尺寸。
然后,电子设备再将上述第二卡片元素添加至上述组合卡片,从而确保上述组合卡片由足够的空间容纳上述第二卡片元素。
另外,如果上述第一位置未被占用,则电子设备可以直接在上述第一位置放置上述第二卡片元素。
如果上述第一位置已被组合卡片中的其他卡片元素占用,则电子设备可以在上述第一位置放置上述第二卡片元素,并通过移动挤位的方式,调整组合卡片中其他卡片元素的位置。
示例性地,在一示例中,如图20所示,用户想要将卡片元素603添加至组合卡片601,所以,用户将卡片元素603拖动至虚线箭头指向的位置。
由于上述卡片元素603需要占用一格空间,组合卡片601剩余一格空间,组合卡片601有足够的空间容纳卡片元素603,所以,电子设备可以在虚线箭头指向的位置放置卡片元素603。
在另一示例中,如图21所示,用户想要将卡片元素603添加至组合卡片601,所以,用户将卡片元素603拖动至虚线箭头指向的位置。
由于上述卡片元素603需要占用一格空间,组合卡片601剩余一格空间,所以,组合卡片601有足够的空间容纳卡片元素603。
但是,由于虚线箭头指向的位置已经被卡片元素604占用,所以,电子设备可以通过移动挤位的方式,在虚线箭头指向的位置放置卡片元素603,将卡片元素604挤到组合卡片601的其他位置上。
在另一示例中,如图22所示,用户想要将卡片元素605添加至组合卡片601,所以,用户将卡片元素605拖动至虚线箭头指向的位置。
由于上述卡片元素605需要占用两格空间,组合卡片601剩余一格空间,所以,组合卡片601没有足够的空间容纳卡片元素605。
此时,电子设备可以先增大组合卡片601的尺寸。然后,电子设备再将卡片元素605放置在虚线箭头指向的位置,并通过移动挤位的方式,调整组合卡片601中其他卡片元素的位置。
通过上述卡片管理方法,用户可以通过拖动卡片元素的方式,在桌面上对组合卡片进行编辑,删除组合卡片中的卡片元素和/或增加组合卡片中的卡片元素,操作简单,使用方便,可以有效提高 用户的编辑效率。
2.2、在浅层编辑状态编辑组合卡片。
当用户想要对组合卡片进行更深层次的编辑时,用户可以对上述组合卡片执行浅层编辑操作。上述浅层编辑操作可以包括点击操作、滑动操作、长按操作等操作形式中的任意一种或多种的组合。
电子设备在检测到上述浅层编辑操作之后,可以控制上述组合卡片进入浅层编辑状态。
在浅层编辑状态下,用户可以对上述组合卡片执行删除卡片元素、更改组合卡片的名字、移除组合卡片、进入组合卡片对应的卡片编辑界面等操作。
示例性地,在一示例中,如图23所示,电子设备的桌面700中显示有组合卡片701。当用户想要控制组合卡片701进入浅层编辑状态时,用户可以对组合卡片执行浅层编辑操作(即上述第三操作)。例如,用户可以长按组合卡片701。
此时,电子设备可以响应于用户的浅层编辑操作,控制组合卡片701进入浅层编辑状态。
在浅层编辑状态下,电子设备可以显示组合卡片701中各卡片元素对应的删除控件,例如图23所示的删除控件702、删除控件703和删除控件704。
后续,假设用户想要删除卡片元素705,则用户可以点击卡片元素705对应的删除控件703。
电子设备在检测到用户对删除控件703的点击操作之后,可以移除删除控件703对应的卡片元素705。
此外,在浅层编辑状态下,电子设备还可以显示组合卡片701对应的卡片编辑菜单706。上述卡片编辑菜单706中可以包括一个或多个选项。例如,上述卡片编辑菜单706中可以包括“编辑组合卡片”、“重命名”和“移除卡片”这三个选项。
如图24所示,假如用户想要对组合卡片701的名字进行修改,则用户可以点击卡片编辑菜单706中的“重命名”选项。
此时,电子设备可以响应于用户的点击操作,显示键盘控件707和名称控件708。
后续,用户可以通过键盘控件707更改名称控件708中的卡片名称。
如图25所示,用户在将名称控件708中卡片名称从“音乐”更改为“随心听”之后,点击了确认控件709。
此时,电子设备可以响应于用户对确认控件709的点击操作,将组合卡片701的卡片名称更新为“随心听”。
如图26所示,假如用户想要移除组合卡片701,则用户可以点击卡片编辑菜单706中的“移除卡片”的选项。
此时,电子设备可以响应于用户对“移除卡片”选项的点击操作,移除桌面700中显示的组合卡片701。
如图27所示,假如用户想要进入组合卡片701对应的卡片编辑界面710,则用户可以点击卡片编辑菜单706中的“编辑组合卡片”的选项。
此时,电子设备可以响应于用户对“编辑组合卡片”选项的点击操作,进入组合卡片701的卡片编辑界面710。
卡片编辑界面710界面中显示有组合卡片701、素材库711、名称控件712以及组合卡片701中各卡片元素对应的删除控件。
其中,上述素材库711可以包含电子设备上设置的所有卡片元素。
示例性地,如图27和图28中的(a)场景所示,素材库711中可以包括“音乐”应用程序、“备 忘录”应用程序、“时钟”应用程序等应用程序对应的服务卡片。
以及,如图28中的(b)场景所示,素材库711还可以包括电子设备上各个应用程序/功能对应的快捷方式。上述功能可以是系统提供的功能(比如“自动旋转”等功能),或者,也可以是应用程序内的功能(比如“音乐”应用程序内的“电台”功能)。
后续,用户可以通过以上各实施例所描述的编辑方法,删除组合卡片701中的卡片元素,和/或,将素材库711中的卡片元素添加至组合卡片701中。
另外,如图29所示,如果用户想要增大组合卡片701的尺寸,则用户可以向下滑动素材库711。
此时,电子设备可以响应于用户的下滑操作,折叠素材库711,显示尺寸调整控件713、尺寸调整控件714和尺寸调整控件715。其中,尺寸调整控件714对应组合卡片701当前的尺寸。
之后,用户可以点击尺寸调整控件715。电子设备可以响应于用户对尺寸调整控件715的点击操作,增大组合卡片701的尺寸。
相应的,如果用户想要缩小组合卡片701的尺寸,则用户可以点击尺寸调整控件713。电子设备可以响应于用户对尺寸调整控件713的点击操作,减小组合卡片701的尺寸。
此外,如图30所示,如果用户想要调整组合卡片701的卡片名称,则用户也可以在卡片编辑界面710中点击名称控件712,唤起键盘713。
后续,用户可以通过键盘控件713更改名称控件712中的卡片名称。
如图31所示,用户在将名称控件712中卡片名称从“音乐”更改为“随心听”之后,可以点击确认控件714。
此时,电子设备可以响应于用户对确认控件714的点击操作,将组合卡片701的卡片名称更改为“随心听”。
如图32所示,在一些实施例中,用户还可以通过拖动组合卡片701中的卡片元素的方式,调整组合卡片701中各卡片元素的位置。
在另一示例中,如图33所示,当用户长按组合卡片701中的某个卡片元素(例如卡片元素730)时,电子设备除了显示组合卡片701的卡片编辑菜单706以外,还可以显示卡片元素730对应的元素编辑菜单731,上述元素编辑菜单731可以用于调整卡片元素730的功能。
例如,假设用户想要编辑卡片元素730的功能,则用户可以点击元素编辑菜单731中“编辑时钟”的选项。电子设备可以响应于用户对“编辑时钟”的选项的点击操作,进入卡片元素730对应的时钟编辑界面740。编辑界面740中显示有编辑城市的选项741。
后续,如图34所示,假设用户对选项741进行调整,将城市从“北京”调整为“东京”,则电子设备在返回显示桌面700时,卡片元素730显示的时间可以对应于城市的变化,从“北京”对应的时间“22:08”对应调整为“东京”对应的时间“23:08”。
2.3、在服务中心编辑组合卡片。
由于电子设备的服务中心用于管理电子设备上的服务卡片和用户自定义的组合卡片,因此,在一些实施例中,电子设备也可以在服务中心提供编辑组合卡片的入口。
当用户想要编辑组合卡片时,用户可以控制电子设备进入服务中心,在服务中心中查看已创建的组合卡片、创建新的组合卡片或编辑已创建的组合卡片。
示例性地,如图35所示,电子设备的服务中心800可以包括“自定义卡片”控件801。
当用户想要查看已创建的服务卡片时,用户可以点击控件801。此时,电子设备可以响应于用户的点击操作,进入组合卡片的卡片库810。
上述卡片库810中可以包含一张或多张用户自定义的组合卡片。例如,图35所示的卡片库810中显示有数字“1/6”,该数字可以用于指示卡片库中包含有6张组合卡片,当前显示的是第1张组合卡片。
后续,如果用户想要创建新的组合卡片,则用户可以点击控件811。此时,电子设备可以响应于用户对控件811的点击操作,进入新建组合卡片的卡片编辑界面820。
如果用户想要编辑已创建的组合卡片,则用户可以通过卡片库中的“编辑”控件进入相应组合卡片的卡片编辑界面。
例如,如图36所示,如果用户想要编辑当前显示的“音乐”组合卡片,则用户可以直接点击“编辑”控件。
此时,电子设备可以响应于用户对控件的点击操作,进入“音乐”组合卡片对应的卡片编辑界面830。
如果用户想要编辑其他已创建的组合卡片,则用户可以更换当前显示的组合卡片。然后,用户再点击“编辑”控件。
此时,电子设备可以响应于用户对控件的点击操作,进入当前显示的组合卡片对应的卡片编辑界面。
综上所述,在本申请提供的卡片管理方法中,用户可以在桌面、浅层编辑状态或服务中心等入口对已创建的组合卡片进行编辑,操作简单,使用方便,可以有效降低用户编辑组合卡片的难度,提高用户的使用体验。
应理解,上述实施例中描述各步骤的顺序并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
在实际应用的过程中,电子设备可以实施上述任一实施例所描述的卡片管理方法,或者,电子设备也可以实施上述多种实施例的组合。
以上各实施例所描述的步骤不是都是必须的,在实际应用的过程中,电子设备可以实施上述实施例中部分或全部步骤,和/或增加某些步骤,和/或替换某些步骤。本申请实施例对电子设备实施上述卡片管理方法的具体实施方式不予限制。
另外,以上各示例均以“音乐”应用程序和“智慧生活”应用程序进行举例说明,不失一般性地,以上各示例所示方法同样适用于其他应用程序,上述“音乐”应用程序和“智慧生活”应用程序不会对上述第一应用程序造成任何限制。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置/电子设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/电子设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以 是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读存储介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不包括电载波信号和电信信号。
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (16)

  1. 一种卡片管理方法,其特征在于,包括:
    显示第一应用程序的第一界面;
    检测到用户对所述第一界面的第一操作;
    响应于所述第一操作,获取所述第一界面或所述第一应用程序的显示要素;
    根据所述第一界面或所述第一应用程序的显示要素,生成组合卡片。
  2. 如权利要求1所述的方法,其特征在于,所述第一界面包括M个显示要素;
    所述根据所述第一界面或所述第一应用程序的显示要素,生成组合卡片,具体包括:
    检测到用户从所述M个显示要素中选择N个显示要素的第一选择操作;其中,M大于等于N,M和N为正整数;
    生成包括所述N个显示要素的组合卡片。
  3. 如权利要求1所述的方法,其特征在于,所述根据所述第一界面或所述第一应用程序的显示要素,生成组合卡片,包括:
    显示第二界面,所述第二界面包括所述第一应用程序的X个显示要素;
    检测到用户从所述X个显示要素中选择Y个显示要素的第二选择操作;其中,X大于等于Y,X和Y为正整数;
    生成包括所述Y个显示要素的组合卡片。
  4. 如权利要求3所述的方法,其特征在于,所述显示第二界面,具体包括:
    在所述第二界面的第一区域显示待编辑的组合卡片,在所述第二界面的第二区域显示所述X个显示要素。
  5. 如权利要求4所述的方法,其特征在于,所述第二选择操作包括:
    将在所述第二区域显示的所述Y个显示要素拖至所述第一区域。
  6. 如权利要求4或5所述的方法,其特征在于,所述第二界面还包括第一控件,所述第一控件用于调整所述组合卡片的尺寸;
    在所述生成包括所述Y个显示要素的组合卡片之前,所述方法还包括:
    检测到用户对所述第一控件的第二操作;
    响应于所述第二操作,调整所述待编辑的组合卡片的尺寸。
  7. 如权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:
    在桌面显示生成的所述组合卡片,所述组合卡片包括第一显示要素和第二显示要素;
    检测到用户对所述第一显示要素的移除操作;
    响应于所述移除操作,移除所述组合卡片中显示的所述第一显示要素。
  8. 如权利要求7所述的方法,其特征在于,所述对所述第一显示要素的移除操作,具体包括:
    将所述第一显示要素拖出显示所述组合卡片的第三区域。
  9. 如权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:
    在桌面显示生成的所述组合卡片,所述桌面还包括第三显示要素;
    检测到用户对所述第三显示要素的添加操作;
    响应于所述添加操作,显示包括所述第三显示要素的组合卡片。
  10. 如权利要求9所述的方法,其特征在于,在所述显示包括所述第三显示要素的组合卡片之前,所述方法还包括:
    若所述第三显示要素占用的空间大于所述组合卡片的剩余空间,则增加所述组合卡片的尺寸,以使得所述组合卡片的剩余空间大于或等于所述第三显示要素占用的空间。
  11. 如权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:
    在桌面显示生成的所述组合卡片;
    检测到用户对所述组合卡片的第三操作;
    响应于所述第三操作,显示所述组合卡片的编辑菜单;所述组合卡片的编辑菜单包括编辑所述组合卡片的编辑选项。
  12. 如权利要求1至6任一项所述的方法,其特征在于,所述组合卡片包括第四显示要素,所述方法还包括:
    在桌面显示生成的所述组合卡片;
    检测到用户对所述第四显示要素的第四操作;
    响应于所述第四操作,显示所述第四显示要素的编辑菜单;所述第四显示要素的编辑菜单包括用于编辑所述第四显示要素的编辑选项。
  13. 一种卡片管理方法,其特征在于,包括:
    显示搜索界面;
    接收用户输入的搜索词;
    根据所述搜索词进行搜索,显示P个搜索结果;
    检测到用户从所述P个搜索结果中选择Q个搜索结果的第三选择操作;其中,P大于等于Q,P和Q为正整数;
    根据所述Q个搜索结果,生成包括至少一个显示要素的组合卡片。
  14. 一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器被配置为执行所述计算机程序时,实现如权利要求1至13中任一项所述的方法。
  15. 一种计算机可读存储介质,所述计算机可读存储介质被配置为存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至13中任一项所述的方法。
  16. 一种芯片系统,其特征在于,所述芯片系统包括存储器和处理器,所述处理器被配置为执行所述存储器中存储的计算机程序,以实现如权利要求1至13中任一项所述的方法。
PCT/CN2023/095475 2022-05-27 2023-05-22 卡片管理方法、电子设备及计算机可读存储介质 WO2023226922A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210593919.0A CN117170535A (zh) 2022-05-27 2022-05-27 卡片管理方法、电子设备及计算机可读存储介质
CN202210593919.0 2022-05-27

Publications (1)

Publication Number Publication Date
WO2023226922A1 true WO2023226922A1 (zh) 2023-11-30

Family

ID=88918475

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/095475 WO2023226922A1 (zh) 2022-05-27 2023-05-22 卡片管理方法、电子设备及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN117170535A (zh)
WO (1) WO2023226922A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148174A (zh) * 2020-09-30 2020-12-29 维沃移动通信有限公司 应用程序信息显示方法、装置及电子设备
CN113761427A (zh) * 2020-06-03 2021-12-07 华为技术有限公司 自适应生成卡片的方法、终端设备和服务器
CN113778574A (zh) * 2020-06-08 2021-12-10 荣耀终端有限公司 卡片分享方法、电子设备及通信系统
CN113986070A (zh) * 2020-07-10 2022-01-28 荣耀终端有限公司 一种应用卡片的快速查看方法及电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761427A (zh) * 2020-06-03 2021-12-07 华为技术有限公司 自适应生成卡片的方法、终端设备和服务器
CN113778574A (zh) * 2020-06-08 2021-12-10 荣耀终端有限公司 卡片分享方法、电子设备及通信系统
CN113986070A (zh) * 2020-07-10 2022-01-28 荣耀终端有限公司 一种应用卡片的快速查看方法及电子设备
CN112148174A (zh) * 2020-09-30 2020-12-29 维沃移动通信有限公司 应用程序信息显示方法、装置及电子设备

Also Published As

Publication number Publication date
CN117170535A (zh) 2023-12-05

Similar Documents

Publication Publication Date Title
KR102470275B1 (ko) 음성 제어 방법 및 전자 장치
WO2021129326A1 (zh) 一种屏幕显示方法及电子设备
WO2021018067A1 (zh) 一种悬浮窗口的管理方法及相关装置
WO2021103981A1 (zh) 分屏显示的处理方法、装置及电子设备
WO2021036571A1 (zh) 一种桌面的编辑方法及电子设备
WO2020134869A1 (zh) 电子设备的操作方法和电子设备
CN113645351B (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2020000448A1 (zh) 一种柔性屏幕的显示方法及终端
WO2021000881A1 (zh) 一种分屏方法及电子设备
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2022068483A9 (zh) 应用启动方法、装置和电子设备
CN111913750B (zh) 一种应用程序管理方法、装置及设备
WO2022068819A1 (zh) 一种界面显示方法及相关装置
CN110806831A (zh) 一种触摸屏的响应方法及电子设备
WO2020107463A1 (zh) 一种电子设备的控制方法及电子设备
WO2022262439A1 (zh) 网络资源的处理方法、电子设备及计算机可读存储介质
WO2021218429A1 (zh) 应用窗口的管理方法、终端设备及计算机可读存储介质
WO2021190524A1 (zh) 截屏处理的方法、图形用户接口及终端
WO2021042878A1 (zh) 一种拍摄方法及电子设备
WO2023138305A9 (zh) 卡片显示方法、电子设备及计算机可读存储介质
WO2023226922A1 (zh) 卡片管理方法、电子设备及计算机可读存储介质
WO2023160455A1 (zh) 删除对象的方法及电子设备
WO2024109573A1 (zh) 悬浮窗显示的方法和电子设备
WO2024037542A1 (zh) 一种触控输入的方法、系统、电子设备及存储介质
CN114244951B (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: 23810993

Country of ref document: EP

Kind code of ref document: A1