Service card processing method and electronic equipment
By allowing users to drag and overlap service cards to generate new service cards, the problem of service cards in the existing technology cannot be customized, the use needs of multiple applications and multiple services is realized, and the user experience and operation simplicity is improved.
Patent Information
- Application Number
- CN202411044742.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-29
- Publication Date
- 2024-12-06
AI Technical Summary
Existing service cards are pre-set, and users cannot set up service cards according to their needs, and cannot meet the needs of multiple applications and multiple services.
Provide a method of processing service cards, allowing users to generate new service cards by dragging and overlapping service cards. Users can customize the combination and arrangement of service subcards of different applications to generate service cards that meet specific scenarios.
Users can customize service cards according to their needs, effectively utilize the display space, meet the needs of multiple applications and services, and improve user experience and operation simplicity.
Smart Images

Figure CN119088255A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202110471581.7, and the original application date is April 29, 2021. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of electronic devices, and more particularly, to a method for processing a service card and an electronic device. Background Art
[0003] Service card: A card that includes one or more service portals. The electronic device can enter the corresponding service interface in response to detecting the user's operation on the service portal. The portal has many forms and can be a control such as an icon. The service card can display information provided by different services.
[0004] The existing service cards are pre-set, and users cannot set service cards according to their needs. Summary of the invention
[0005] The present application provides a method and electronic device for processing service cards, which can combine sub-cards of services of different applications to meet the needs of users to use multiple applications and multiple services in one scenario.
[0006] In a first aspect, a method for processing a service card is provided, the method being applied to an electronic device, the electronic device including a first application and a second application, and being characterized in that the method comprises: the electronic device displays a first interface, the first interface including a first service card and a second service card, the first service card including M service sub-cards of the first application, the second service card including N service sub-cards of the second application, wherein M is an integer greater than or equal to 1, and wherein N is an integer greater than or equal to 1; the electronic device detects a first input, the first input being used to instruct the electronic device to generate a service card according to the first service card and the second service card; the electronic device displays a second interface, the second interface including the third service card, the third service card including X service sub-cards of the M service sub-cards and Y service sub-cards of the N service sub-cards, wherein X is an integer greater than or equal to 1 and less than or equal to M, and wherein Y is an integer greater than or equal to 1 and less than or equal to N.
[0007] In the embodiment of the present application, users can customize service cards according to their needs and combine sub-cards of services of different applications, which meets the needs of users to use multiple applications and multiple services in one scenario. Users can operate the service cards displayed on the interface, enter the service card reconstruction process, and generate the required service cards. The operation is simple and feasible.
[0008] It should be understood that the first interface and the second interface can be the desktop, the negative first screen, the control center, or the lock screen interface of the electronic device.
[0009] In combination with the first aspect, in some implementations of the first aspect, the first input includes: dragging the first service card or the second service card so that the first service card completely or partially overlaps with the second service card.
[0010] In combination with the first aspect and the above implementations, in some implementations of the first aspect, if the sum of the M and the N is less than or equal to the first threshold, the electronic device may omit the service selection process and display the second interface in response to the first input. If the sum of the M and the N is greater than the first threshold, the electronic device displays the service selection interface in response to the first input.
[0011] Specifically, after the electronic device detects the first input and before the electronic device displays the second interface, the method further includes: in response to the first input, the electronic device displays a third interface, the third interface may be a service selection interface, and the third interface includes the M service sub-cards and the N service sub-cards; the electronic device detects a second input in which the user selects the X service sub-cards from the M service sub-cards and the Y service sub-cards from the N service sub-cards; and generates a service card according to the X service sub-cards and the Y service sub-cards selected by the user.
[0012] In the embodiment of the present application, by reasonably setting the first threshold, the number of service sub-cards in the service card is ensured to be within an appropriate range, so that the user can clearly obtain the display content of the service sub-card and save the display space of the desktop.
[0013] It should be understood that other conditions may also be used to determine whether to omit the service selection process. Another possible implementation: if the time interval from when the first service card overlaps with the second service card to when the finger leaves the screen is less than or equal to a second threshold, then in response to the first input, the electronic device displays the second interface.
[0014] In the embodiment of the present application, users can customize service cards according to their needs and combine sub-cards of services of different applications, which meets the needs of users to use multiple applications and multiple services in one scenario. Users can retain or delete sub-cards of services according to their needs, effectively utilizing limited display space. Users can operate the service cards displayed on the interface, enter the service card reconstruction process, and generate the required service cards, which is simple and feasible to operate.
[0015] In combination with the first aspect and the above implementations, in some implementations of the first aspect, after the electronic device detects the second input and before the electronic device displays the second interface, the method further includes: according to the X service sub-cards and the Y service sub-cards selected by the user, the electronic device displays a fourth interface, and the fourth interface may be a card preview interface. At this time, a preview interface of a third service card may be displayed according to the X service sub-cards and the Y service sub-cards selected by the user.
[0016] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the fourth interface may also include a first icon and a second icon, the first icon is used to indicate a first service card style, and the second icon is used to indicate a second service card style, the first service card style is different from the second service card style, and when the first icon is selected, the preview interface of the third service card is displayed according to the first service card style; or, when the second icon is selected, the preview interface of the third service card is displayed according to the second service card style.
[0017] Another possible implementation manner: the electronic device may display multiple preview cards, each corresponding to a different service card style. For example, the first preview card corresponds to the first service card style, and the second preview card corresponds to the second service card style.
[0018] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, after the electronic device displays the third interface in response to the first input and before the electronic device detects the second input, the method also includes: when displaying the third interface, the electronic device detects a third input in which the user selects P service sub-cards and Q service sub-cards, where P is an integer greater than or equal to 1 and less than or equal to M, and Q is an integer greater than or equal to 1 and less than or equal to N; in response to the third input, the electronic device displays a fifth interface, which is a preview interface of a fourth service card, and the fourth service card includes the P service sub-cards and the Q service sub-cards; the electronic device detects a fourth input; and in response to the fourth input, displays the third interface.
[0019] In the embodiment of the present application, the user can customize the service card according to his / her needs, combine the sub-cards of services of different applications, and try different service sub-card combination methods.
[0020] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, after the first input, the method also includes: in response to the first input, the electronic device displays a third interface, and the third interface includes the M service sub-cards and the N service sub-cards; in response to detecting the fifth input in which the user selects the U service sub-cards and the V service sub-cards, the electronic device generates a fifth service card, and the fifth service card includes the U service sub-cards and the V service sub-cards selected by the user; in response to detecting the sixth input in which the user selects the J service sub-cards and the K service sub-cards; the electronic device generates a sixth service card, and the sixth service card includes the J service sub-cards and the K service sub-cards selected by the user; the electronic device displays a sixth interface, and the sixth interface includes the fifth service card and the sixth service card.
[0021] In the embodiment of the present application, users can customize service cards according to their needs and combine sub-cards of services of different applications, meeting the needs of users to use multiple applications and multiple services in one scenario. Users can combine and generate multiple service cards in a single reconstruction service card process, meeting the needs of users to generate multiple service cards at the same time for the reconstructed service cards, and the operation is simple and feasible.
[0022] In combination with the first aspect and the above implementations, in some implementations of the first aspect, the electronic device displays a sixth interface, the sixth interface includes the fifth service card and the sixth service card, including: the fifth service card and the sixth service card are stacked and displayed; the fifth service card and the sixth service card are displayed side by side. The fifth service card and the sixth service card can be displayed on the same interface or on different interfaces.
[0023] In combination with the first aspect and the above-mentioned implementation manner, in some implementation manners of the first aspect, after the electronic device detects the first input, the method also includes: in response to the first input, the electronic device displays a third interface, the third interface includes the M service sub-cards and the N service sub-cards; in response to detecting a seventh input of the user on the third interface, displaying a seventh interface, the seventh interface includes L service sub-cards, the L service cards are different from the M service sub-cards and the N service cards, where L is an integer greater than or equal to 1; in response to an eighth input of the user selecting Z service sub-cards from the L service sub-cards, displaying an eighth interface, the eighth interface being a preview interface of the seventh service card, the seventh service card including the X service sub-cards, the Y service sub-cards and the Z service sub-cards.
[0024] In the embodiment of the present application, users can customize service cards according to their needs and combine sub-cards of services of different applications, meeting the needs of users to use multiple applications and multiple services in one scenario. Users can add service sub-cards that do not belong to the original service card when reconstructing the service card according to their needs, which increases the selectivity of users and the combinability of service cards, and the operation is simple and feasible.
[0025] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, it is characterized in that after the electronic device detects the first input, the method also includes: if the sum of the M and the N is greater than a third threshold, then based on the M service sub-cards and the N service sub-cards, the electronic device generates and displays an eighth service card and a ninth service card, wherein the eighth service card and the ninth service card are different.
[0026] It should be understood that the third threshold value may be the same as the first threshold value, or the third threshold value may be different from the first threshold value.
[0027] In the embodiment of the present application, the user can customize the service card according to his / her needs and combine the sub-cards of services of different applications, so as to meet the needs of the user to use multiple applications and multiple services in one scene. The electronic device can generate multiple service cards at the same time, which is simple and feasible to operate.
[0028] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the electronic device displays a tenth service sub-card, which includes a first service sub-card and a second service sub-card; when the content displayed by the first service sub-card is updated from the first content to the second content, the electronic device updates the content displayed by the second service sub-card according to the second content.
[0029] In the embodiment of the present application, information can be shared between the service sub-cards of the service card. When the shared information matches, the sub-cards can be linked, which improves the user experience and meets the user's needs to use multiple applications and multiple services in one scenario.
[0030] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the first interface may also include an eleventh service card and a twelfth service card, and the method also includes: the electronic device detects a ninth input, and the ninth input is used to instruct the electronic device to display the eleventh service card and the twelfth service card in full or partial overlap on the second interface.
[0031] In the embodiment of the present application, the user can stack service cards according to his or her needs and stack different service cards in the same display area, thereby saving desktop space.
[0032] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, after the electronic device detects the first input and before the electronic device displays the second interface, the method also includes: in response to the first input, the electronic device displays a ninth interface, and the ninth interface can be a card arrangement interface, including the M service sub-cards and the N service sub-cards; the electronic device detects a tenth input in which the user selects and sorts the third service sub-card and the fourth service sub-card, wherein the third service sub-card is any one of the M service sub-cards, and the fourth service sub-card is any one of the N service sub-cards; a thirteenth service card is generated based on the user's selection and sorting of the third service sub-card and the fourth service sub-card; and the electronic device displays the third content of the third service sub-card and the fourth content of the fourth service sub-card based on the user's sorting.
[0033] In the embodiment of the present application, users can arrange service cards according to their own needs, so that the service sub-pieces in the service cards execute corresponding functions according to the set execution order, which improves the user experience and is simple and feasible to operate.
[0034] The second aspect is an electronic device of an embodiment of the present application, which includes a module / unit for executing the above-mentioned first aspect or any possible design method of the first aspect; these modules / units can be implemented by hardware, or the corresponding software can be implemented by hardware.
[0035] The third aspect is a chip of an embodiment of the present application, which is coupled to a memory in an electronic device and is used to call a computer program stored in the memory and execute the technical solution of the first aspect of the embodiment of the present application and any possible design of the first aspect; in the embodiment of the present application, "coupling" refers to the direct or indirect combination of two components with each other.
[0036] The fourth aspect is a computer-readable storage medium of an embodiment of the present application, wherein the computer-readable storage medium includes a computer program. When the computer program runs on an electronic device, the electronic device executes a technical solution such as the first aspect and any possible design of the first aspect.
[0037] The fifth aspect is a computer program according to an embodiment of the present application, wherein the computer program includes instructions. When the instructions are executed on a computer, the computer executes a technical solution such as the first aspect and any possible design of the first aspect.
[0038] The sixth aspect is a graphical user interface on an electronic device of an embodiment of the present application, wherein the electronic device has a display screen, one or more memories, and one or more processors, wherein the one or more processors are used to execute one or more computer programs stored in the one or more memories, and the graphical user interface includes a graphical user interface displayed when the electronic device executes the above-mentioned first aspect and any possible design of the technical solution of the first aspect.
[0039] Among them, for the beneficial effects of the second to sixth aspects, please refer to the beneficial effects of the first aspect and will not be repeated. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0041] Figure 2 This is a software structure block diagram of an electronic device provided in an embodiment of the present application.
[0042] Figure 3 It is a set of GUIs provided by the embodiments of the present application.
[0043] Figure 4 This is another set of GUIs provided by an embodiment of the present application.
[0044] Figure 5 This is another set of GUIs provided by an embodiment of the present application.
[0045] Figure 6 This is another set of GUIs provided by an embodiment of the present application.
[0046] Figure 7 This is another set of GUIs provided by an embodiment of the present application.
[0047] Figure 8 This is another set of GUIs provided by an embodiment of the present application.
[0048] Fig. 9 This is another set of GUIs provided by an embodiment of the present application.
[0049] Fig.10 This is another set of GUIs provided by an embodiment of the present application.
[0050] Fig.11 This is another set of GUIs provided by an embodiment of the present application.
[0051] Fig.12 This is another set of GUIs provided by an embodiment of the present application.
[0052] Fig.13 This is another set of GUIs provided by an embodiment of the present application.
[0053] Fig.14 This is another set of GUIs provided by an embodiment of the present application.
[0054] Fig.15 This is another set of GUIs provided by an embodiment of the present application.
[0055] Fig.16 This is another set of GUIs provided by an embodiment of the present application.
[0056] Fig.17 This is another set of GUIs provided by an embodiment of the present application.
[0057] Fig.18 This is another set of GUIs provided by an embodiment of the present application.
[0058] Fig.19 This is another set of GUIs provided by an embodiment of the present application.
[0059] Fig. 20 This is another set of GUIs provided by an embodiment of the present application.
[0060] Fig.21 This is another set of GUIs provided by an embodiment of the present application.
[0061] Fig. 22 This is another set of GUIs provided by an embodiment of the present application.
[0062] Fig.23 This is another set of GUIs provided by an embodiment of the present application.
[0063] Fig.24 It is an exemplary flow chart of the method for processing service cards provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "the", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0065] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0066] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer, etc. It should also be understood that in some other embodiments, the electronic device may not be a portable electronic device, but a desktop computer.
[0067] For example, Figure 1 1 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0068] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0069] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units may be independent components or integrated into one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In some other embodiments, a memory may also be set in the processor 110 for storing instructions and data. Exemplarily, the memory in the processor 110 may be a high-speed cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the electronic device 101 in processing data or executing instructions.
[0070] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface, and / or a USB interface, etc. Among them, the USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 101, and can also be used to transmit data between the electronic device 101 and a peripheral device. The USB interface 130 can also be used to connect headphones to play audio through the headphones.
[0071] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0072] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0073] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0074] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0075] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0076] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0077] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0078] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0079] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 194.
[0080] In some embodiments of the present application, when the display panel is made of materials such as OLED, AMOLED, FLED, etc., the above Figure 1The display screen 194 in the embodiment can be bent. Here, the display screen 194 can be bent, which means that the display screen can be bent to any angle at any position and can be kept at the angle. For example, the display screen 194 can be folded in half from the middle to the left or right. It can also be folded in half from the middle to the top or bottom.
[0081] The display screen 194 of the electronic device 100 can be a flexible screen. At present, the flexible screen has attracted much attention for its unique characteristics and huge potential. Compared with traditional screens, flexible screens have the characteristics of strong flexibility and bendability, which can provide users with a new interaction method based on bendable characteristics, and can meet users' more needs for electronic devices. For electronic devices equipped with a foldable display screen, the foldable display screen on the electronic device can be switched between a small screen in a folded form and a large screen in an unfolded form at any time. Therefore, users use the split-screen function on electronic devices equipped with a foldable display screen more and more frequently.
[0082] The electronic device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
[0083] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0084] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include one or more cameras 193.
[0085] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0086] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0087] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0088] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0089] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can enable the electronic device 101 to execute the payment method provided in some embodiments of the present application, as well as various applications and data processing, etc. by running the above instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 101. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, a flash memory component, a universal flash storage (UFS), etc. In some embodiments, the processor 110 can enable the electronic device 101 to execute the payment method provided in the embodiments of the present application, as well as other applications and data processing by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor 110. The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0090] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
[0091] Among them, the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0092] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., X, Y, and Z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
[0093] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0094] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the 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 a pocket to prevent accidental touches.
[0095] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0096] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a 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 to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0097] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0098] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.
[0099] like Figure 2 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0100] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0101] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0102] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0103] Content providers are used to store and retrieve data and make it accessible to applications. This data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0104] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0105] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0106] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0107] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0108] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0109] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0110] 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 and PNG, etc.
[0111] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing.
[0112] A 2D graphics engine is a drawing engine for 2D drawings.
[0113] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0114] Before introducing the embodiments of the present application, several concepts related to the embodiments of the present application are first introduced.
[0115] Service: Any executable function is called a service. Taking "Huawei Music" as an example, "Huawei Music" includes executable functions such as playing music, downloading, and local music. Each function can be called a service.
[0116] Quick Apps: Users do not need to download native apps, they can use quick apps to realize the services of native apps. Quick apps have the advantages of no installation, no storage, one-click access, and direct update push. Native apps refer to various applications installed in electronic devices. Taking "Huawei Music" as an example, "Huawei Music" includes executable functions such as playing music, downloading, and local music. When users want to perform the above functions, they need to install the "Huawei Music" app, but through quick apps, users can perform the above functions without installing the "Huawei Music" app.
[0117] It should be understood that the executable functions in the quick app are also called services.
[0118] Service card: A card that includes one or more service entrances. The electronic device can enter the corresponding service interface in response to detecting the user's operation on the service entrance. The entrance has various forms, which can be icons and other controls. Service cards can display information provided by different services. Service cards can be placed on the desktop, negative one screen, control center, lock screen interface. Service cards have various forms, which can be widgets, etc.
[0119] like Figure 3As shown, the electronic device displays an interface 310, which may include application icons (e.g., map application icon, gallery application icon, clock application icon, setting application icon 312), and service cards (e.g., service card 311, service card 313). Service card 311 displays 5 service sub-cards, and the 5 service sub-cards may correspond to different services, such as playing music, local music, recently played, I like, and download. The electronic device may display the interface of the "local" service in response to the user clicking the icon 314 corresponding to the "local" service; and display the interface of the "download" service in response to the user clicking the icon 315 corresponding to the "download" service. The sub-card 316 corresponding to "playing music" displays the song cover, song name, play pause button, forward button, and back button. The user can obtain relevant information about the music being played through the content displayed in the service sub-card, and can also control the playback of the music through buttons such as "pause button", "forward button", and "back button".
[0120] In the prior art, service cards are pre-set, and users cannot set service cards according to their needs. Based on this, the embodiment of the present application provides a method for reconfiguring service cards, where users can not only reconfigure service cards for the same application, but also reconfigure service cards for different applications, thereby meeting the diverse needs of users.
[0121] Figure 4 A set of graphical user interfaces (GUI) provided by an embodiment of the present application is shown.
[0122] like Figure 4 As shown in (a), multiple service cards are displayed on the desktop, where service card 410 is a music service card, which contains 5 service sub-cards, corresponding to different services, such as "Play Music", "Local", "Recently Played", "I Like", and "Download". Service card 411 is a sports and health service card, which contains 4 service sub-cards, corresponding to different services: "Start Running", "Today's Steps", "Sleep Duration", and "Heart Rate". The services in the above two service cards can be service cards selected and combined by users according to their needs, or they can be preset service cards, such as after the user installs the application, the application automatically recommends and generates service cards, or they can be service cards generated by the electronic device according to the user's usage habits, such as generating a service card including 5 service sub-cards that the user uses more frequently. The preset service card can include service sub-cards corresponding to all services of the application, or it can only include service sub-cards corresponding to some services of the application.
[0123] like Figure 4As shown in (b) , when the electronic device detects a first operation of the user, the reconstruction icon 413 may be displayed in response to the first operation.
[0124] For example, the first operation may be: the user drags a service card to the edge of another service card, and / or the user drags multiple service cards to bring them closer together to a distance less than a preset distance. Figure 4 As shown in (b) of FIG. 1 , the electronic device displays the reconstruction icon 413 in response to detecting that the user presses and holds the service card 410 and drags it to the edge 401 of the service card 411. Alternatively, the electronic device may display the reconstruction icon 413 in response to detecting that the user presses and holds the service card 410 and the service card 411 at the same time and drags them to the point where the two cards overlap.
[0125] Optional, such as Figure 4 As shown in (b) in the figure, in order to facilitate user operation, the service card being operated can be reduced according to a preset ratio.
[0126] Optional, such as Figure 4 As shown in (b), the electronic device can also display the stacking icon 412 and / or the arrangement icon 414 in response to the first operation. Please refer to the following description for details.
[0127] It should be understood that the first operation of the electronic device displaying the reconstruction icon in the embodiment of the present application can be set by the user or the system, and the present application does not limit this. Figure 4 The example shown in .
[0128] like Figure 4 As shown in (c)-(d) in FIG. 4 , when the electronic device detects that the user selects the second operation of the reconstruction icon 413 , the service card reconstruction process is entered in response to the second operation.
[0129] The second operation may be: after the user drags a service card onto another service card, the user lifts the finger off the screen. Here, one service card may be completely on the display area of another service card, or one service card may be partially on the display area of another service card. Optionally, the electronic device may highlight the reconstruction icon 413 so that the user knows that when the user lifts the finger off the screen, the service card reconstruction process will be entered.
[0130] For example, Figure 4 As shown in (c), after the electronic device displays the reconstruction icon 413, the electronic device detects that the user continues to press and hold the service card 410 and drags it downward until the service card 410 is completely above the display area of the service card 411, then the reconstruction icon 413 is highlighted. At this time, if the electronic device detects that the user's finger has left the screen, the electronic device enters the service card reconstruction process.
[0131] It should be noted that when the electronic device displays multiple icons such as the reconstruction icon 413, the stacking icon 412, and the arrangement icon 414, the user can drag the card to select the corresponding icon according to the needs. Figure 4 As shown in (c) in FIG. 1 , after dragging service card 410 onto service card 411, the electronic device displays stacking icon 412, reconstruction icon 413, and arrangement icon 414 from left to right. When reconstruction icon 413 is selected, the user can drag the card to the left to select the stacking icon, or drag the card to the right to select the arrangement icon. Similarly, when the stacking icon is selected, the stacking icon can be highlighted so that the user knows that when the finger leaves the screen, the stacking icon process will be entered.
[0132] It should be understood that the second operation of selecting the reconstruction icon in the embodiment of the present application can be set by the user or the system, and the present application does not limit this. Figure 4 The example shown in .
[0133] It should be noted that in the above embodiment, the first operation and the second operation are taken as an example to illustrate a coherent operation. It can be understood that the first operation and the second operation may also be two incoherent operations.
[0134] like Figure 4 As shown in (d) , after the electronic device enters the service card reconstruction process, the electronic device may display a service selection interface 415 .
[0135] Exemplarily, the service selection interface 415 may include all service sub-cards of the reconstructed service card. Figure 4 As shown in (d), service card 410 and service card 411 are reconstructed, and the electronic device can display the five service sub-cards included in service card 410 on the service selection interface 415: "Play Music" sub-card, "Local" sub-card, "Recently Played" sub-card, "I Like" sub-card, "Download" sub-card, and the four service sub-cards included in service card 411: "Start Running", "Today's Steps", "Sleep Duration", and "Heart Rate".
[0136] Optionally, the electronic device can also display the sub-cards by category according to the applications to which the service sub-cards belong. For example, the service sub-cards corresponding to "Play Music", "Local", "Recently Played", "I Like", and "Download" belong to the "Huawei Music" application, and the service sub-cards corresponding to "Start Running", "Today's Steps", "Sleep Duration", and "Heart Rate" belong to the "Sports Health" application. Figure 4 As shown in (d) in the figure, the service sub-cards are displayed according to the categories of "Huawei Music" and "Sports Health".
[0137] like Figure 4 As shown in (d)-(e) in FIG. 1 , when the electronic device detects that the user has completed the operation of selecting a service sub-card, in response to the operation, the electronic device can display a card preview interface.
[0138] Exemplarily, the user's operation of completing the service selection may be that the user clicks the card preview button 402 on the service selection interface 415 .
[0139] The card preview interface 416 may include a preview card 417. Figure 4 As shown in (d)-(e) in the figure, the user selects 5 service sub-cards on the service selection interface 415. After the electronic device detects that the user clicks on the card preview 402, it generates a preview card 417 based on the 5 services selected by the user and displays it on the card preview interface 416 in response to the operation.
[0140] Optionally, the card preview interface may also include card style icons (such as icon 418 and icon 419), and the user may select the card style icon corresponding to the desired card style template to switch the card style. Figure 4 As shown in (e) of FIG. 1 , when the electronic device detects that the user clicks on the service card style template 418, the service card style is changed from Figure 4 (e) in the switch to Figure 4 It should be understood that the operation of switching the service card style is not limited to this. For example, the user can also slide left (or right) on the blank area of the card preview interface to switch the service card style.
[0141] Optionally, the user can drag the edge of the preview card displayed in the card preview interface to change the size of the service card. The user can drag the sub-card in the preview card to change the position of the sub-card in the service card.
[0142] like Figure 4 As shown in (f)-(g) in the figure, after the electronic device detects the user's operation of confirming the content and style of the service card, it displays the reconstructed service card on the desktop in response to the operation.
[0143] For example, after the electronic device detects that the user clicks the confirmation key 404, in response to the operation, the preview card 420 is displayed on the desktop. Optionally, when the style of the service card that has been reconstructed is the same as the style of the service card that has been reconstructed, the display area of the service card that has been reconstructed can be the same as the display area of the service card that has been reconstructed. Figure 4As shown in (a) and (g) of FIG. 4 , the display area of the service card 421 after the reconstruction is the same as the display area of the service card 411. It should be understood that the display area of the service card 421 after the reconstruction can also be the same as the display area of the service card 410.
[0144] When the style of the service card that has been reconstructed is different from the style of the service card that has been reconstructed, the electronic device displays the service card according to the style of the service card that has been reconstructed, including: when the display area of the service card that has been reconstructed is smaller than the remaining display area of the interface where the service card that has been reconstructed is located (hereinafter referred to as the "original interface"), the service card can be displayed on the original interface. When the display area of the service card that has been reconstructed is larger than the remaining display area of the original interface, the electronic device can display the service card on another interface that can accommodate the service card.
[0145] For example, the display area of an application icon is 1*1 grid, and the display area of the service card after reconstruction is 4*2 grids. If the remaining display area of the interface where the reconstructed service card is located (hereinafter referred to as the "original interface") is 4*4 grids, the service card can be displayed on the original interface. If the remaining display area of the original interface is 2*2 grids, the service card can be displayed on another interface that can accommodate the service card, or the electronic device can generate a new interface for displaying the service card.
[0146] In the embodiment of the present application, users can customize service cards according to their needs and combine sub-cards of services of different applications, which meets the needs of users to use multiple applications and multiple services in one scenario. Users can retain or delete sub-cards of services according to their needs, effectively utilizing limited display space. Users can operate the service cards displayed on the interface, enter the service card reconstruction process, and generate the required service cards, which is simple and feasible to operate.
[0147] Figure 5 Another set of GUIs provided by an embodiment of the present application is shown.
[0148] like Figure 5 As shown in (a), there are multiple service cards on the desktop, among which service card 510 is a music service card, which contains 1 service sub-card, and the corresponding service is "Play Music". Service card 511 is a sports and health service card, which contains 4 service sub-cards, corresponding to different services: "Start Running", "Today's Steps", "Sleep Duration", and "Heart Rate".
[0149] like Figure 5As shown in (b) and (c) of FIG. 1 , the electronic device detects the first operation and the second operation of the user, and enters the service card reconstruction process in response to the first operation and the second operation. For the description of the first operation and the second operation, please refer to the above embodiment, which will not be repeated here.
[0150] like Figure 5 As shown in (d) and (e), after the electronic device enters the service card reconstruction process, according to the first condition, the electronic device can omit the service selection process and display the card preview interface 513.
[0151] For example, the first condition may be: the number of sub-cards of the service card whose service is reconstructed is less than the first threshold, and / or the time interval between the overlap of the service card and the finger leaving the screen is less than (or greater than) the second threshold. Figure 5 As shown in (d) and (e) in the figure, the electronic device responds to the user's first operation and the second operation, and the service card 510 and the service card 511 are reconstructed. The sum of the number of sub-cards of the services of the two service cards is 5, and the number of sub-cards of the services is less than the first threshold. In order to simplify the service card reconstruction process, the electronic device can omit the service selection process and display the card preview interface 513. The card preview interface 513 may include a preview card 514, and the preview card 514 may include the sub-cards of the services of the service card 510 and the service sub-cards of the service card 511. Alternatively, the electronic device responds to the user's first operation and the second operation, and the electronic device detects that the time of highlighting the reconstruction icon is less than (or greater than) the second threshold, and the electronic device omits the service selection process and displays the card preview interface 513.
[0152] Optionally, the card preview interface may further include a card style icon. For the description of the card style icon, please refer to the aforementioned embodiment and will not be repeated here.
[0153] Optionally, the card preview interface may also include an editing control (such as an editing key 515), which may be used to trigger the electronic device to display a service selection interface, which includes all service sub-cards of the service card that has been reconstructed. The user can reselect the service sub-cards in the service selection interface. For example, the preview cards displayed by the electronic device in the card preview interface include "Play Music", "Start Running", "Today's Steps", "Sleep Duration", and "Heart Rate". In response to the user clicking the editing key 515, the electronic device displays a service selection interface, which includes the above five service sub-cards. The user reselects "Play Music", "Start Running", and "Today's Steps". The preview cards displayed in the preview card interface include the three service sub-cards of "Play Music", "Start Running", and "Today's Steps".
[0154] like Figure 5 As shown in (f) of FIG. 1 , after the electronic device detects the user's operation of confirming the content and style of the service card, in response to the operation, the reconstructed service card is displayed on the desktop. For the description of displaying the reconstructed service card on the desktop, please refer to the above embodiment, which will not be repeated here.
[0155] It should be understood that whether the electronic device omits the service selection process can be pre-set by the user or the system. If the user or the system has pre-set that the electronic device will enter the service selection process when a reconstruction service card occurs, then when the first condition is met, the electronic device can also enter the service selection process.
[0156] Optionally, the electronic device may also omit the style selection process. After the electronic device enters the service card reconstruction process, the electronic device may omit the style selection process according to the second condition and display the reconstructed service card on the desktop. The second condition may be the same as the first condition or different from the first condition. For example, Figure 5 As shown in (a), (b), (c), and (f), the electronic device responds to the user's first operation and the second operation, and service card 510 and service card 511 are reconstructed. The sum of the number of service sub-cards of the two service cards is 5. If the number of service sub-cards is less than the first threshold, the style selection process is omitted, and the reconstructed service card is displayed on the desktop according to the default service card style or the display area of the desktop.
[0157] It should be understood that whether the electronic device omits the style selection process can be pre-set by the user or the system. If the user or the system has pre-set that the electronic device will enter the style selection process when a reconstruction service card occurs, then when the first condition is met, the electronic device can also enter the style selection process.
[0158] It should also be understood that when the electronic device omits the style selection process, the service selection process may also be omitted.
[0159] Optionally, after the electronic device enters the service card reconstruction process, the electronic device can display the service selection interface according to the second condition. When the electronic device detects that the user has completed the service sub-card selection operation, in response to the operation, the service sub-cards selected by the user are combined to generate a service card that is displayed on the desktop, or the negative one screen, or the control center, or the lock screen interface.
[0160] In the embodiment of the present application, the user can customize the service card according to his / her needs and combine the sub-cards of services of different applications, thereby meeting the needs of the user to use multiple applications and multiple services in one scenario. The electronic device can simplify the service card process according to the first condition and generate the required service card, which is simple and feasible to operate.
[0161] Figure 6 Another set of GUIs provided by an embodiment of the present application is shown.
[0162] like Figure 6 As shown in (a) and (b), the electronic device detects a first operation and a second operation of the user, and enters a service card reconstruction process in response to the first operation and the second operation.
[0163] like Figure 6 As shown in (c), after the electronic device enters the service card reconstruction process, according to the third condition, the electronic device can omit the service selection process and display the card preview interface 614. The card preview interface 614 includes multiple preview cards. The service sub-cards included in each preview card can be different.
[0164] For example, the third condition may be: the number of sub-cards of the service card whose service is reconstructed is greater than a first threshold. For example, the first threshold is 6. Figure 6 As shown in (c), the electronic device responds to the user's first operation and the second operation, and the service card 610 and the service card 611 are reconstructed. The sum of the number of sub-cards of the services of the two service cards is 9, and the number of sub-cards of the services is greater than the first threshold value. In this case, the electronic device can omit the service selection process, and display preview cards 612 and 613 in the card preview interface 614 according to the relevance of the sub-cards of the services of the service card 610 and the service card 611 (see the following description for details). Preview card 612 includes sub-cards corresponding to the services of "Play Music", "Start Running", "Today's Steps", "Sleep Duration", and "Heart Rate"; preview card 613 includes sub-cards corresponding to the services of "Play Music", "Local", "I Like", "Download", and "Heart Rate".
[0165] Optionally, the card preview interface may further include a card style icon. For the description of the card style icon, please refer to the aforementioned embodiment and will not be repeated here.
[0166] Optionally, when switching the service card style, the user can switch two service card styles at the same time, or switch different service card styles separately. For example, the user can click on the preview card 612, the preview card 612 is highlighted, and then the user clicks on the card style icon to switch the service card style, completing the switching of the service card style of the preview card 612. The switching operation of the service card style of the preview card 613 is the same as the above operation, which will not be repeated here.
[0167] Optionally, the card preview interface 614 may further include an editing control. For a description of the editing control, please refer to the aforementioned embodiment and will not be repeated here.
[0168] It should be understood that in the embodiment of the present application, the electronic device simultaneously displays two preview cards in the card preview interface as an example, but it is not limited to this. The electronic device can also simultaneously display more preview cards in the card preview interface. Optionally, the user or the system can pre-set the number of cards to be displayed simultaneously. For example, set a maximum of 3 preview cards to be displayed simultaneously.
[0169] like Figure 6 As shown in (c) and (d), after the electronic device detects the user's operation of confirming the content and style of the service card, it displays the reconstructed service card on the desktop in response to the operation.
[0170] For example, multiple reconstructed service cards can be stacked and displayed on the desktop. Figure 6 As shown in (d) in FIG. 6 , the service card 616 is above the service card 615 , and the edge of the service card 615 and the complete service card 616 are displayed on the desktop.
[0171] It should be noted that there are many ways to display the stacked service cards. Please refer to the following description for details.
[0172] Above Figure 6 In (a)-(d) of FIG. 1 , multiple service cards that have been reconstructed can be stacked and displayed on the desktop as an example, but the present invention is not limited thereto. Optionally, multiple service cards that have been reconstructed can also be displayed separately on the desktop. Figure 6 As shown in (a), (b), (c), and (e), service card 615 and service card 616 are displayed on the desktop at the same time.
[0173] It should be understood that service card 615 is a service card after preview card 613 has been reconstructed, and service card 616 is a service card after preview card 612 has been reconstructed.
[0174] When the display area of the reconstructed multiple service cards is larger than the remaining display area of the original interface, the multiple service cards can be displayed on multiple interfaces, or can be displayed side by side on another interface that can accommodate the multiple service cards.
[0175] In the embodiment of the present application, the user can customize the service card according to his own needs and combine the sub-cards of services of different applications, so as to meet the needs of the user to use multiple applications and multiple services in one scenario. The electronic device can simplify the service card process according to the third condition and generate multiple service cards according to the correlation between the service sub-cards, which is simple and feasible to operate.
[0176] Figure 7 Another set of GUIs provided by an embodiment of the present application is shown.
[0177] like Figure 7As shown in (a)-(b) in FIG. 7 , the electronic device enters the service card reconstruction process and displays the service selection interface 710. When the electronic device detects that the user completes the service selection operation, in response to the operation, the electronic device can display a card preview interface 712. The electronic device displays a preview card in the card preview interface 712. The operation of the electronic device entering the service card reconstruction process and completing the service selection is similar to the above-mentioned embodiment, and will not be repeated here for the sake of brevity.
[0178] like Figure 7 As shown in (b), the card preview interface 712 may include a preview card 711 and may also include an add card control 701. The electronic device detects that a user clicks on the add card control 701, and in response to the operation, displays a service selection interface 710.
[0179] For example, the electronic device displays a preview card 711 in the card preview interface 712. The service sub-card of the preview card is the sub-card of the service selected by the user in the service selection interface 710, and the corresponding services are "play music", "start running", and "today's steps". In order to generate multiple service cards in a service card reconstruction process, the electronic device responds to the user clicking the add card key 701 and displays the service selection interface 710 again. The user can select the service sub-card again in the service selection interface, which are "play music", "sleep duration", and "heart rate".
[0180] like Figure 7 As shown in (c)-(d) in FIG. 1 , when the electronic device detects that the user has completed the service selection operation, in response to the operation, the electronic device may display a card preview interface 712, and the electronic device may display multiple preview cards in the card preview interface 712. The operation of the user completing the service selection is similar to the above-mentioned embodiment, and will not be described again.
[0181] For example, Figure 7 As shown in (d) in FIG. 7 , the electronic device displays two preview cards on the card preview interface 712 , namely preview card 711 and preview card 713 .
[0182] like Figure 7 As shown in (e)-(f) in the figure, after the electronic device detects the user's operation of confirming the content and style of the service card, in response to the operation, the reconstructed multiple service cards are displayed on the desktop. For the description of the service card style and the display of the service card on the desktop, please refer to the above embodiment, which will not be repeated here.
[0183] In the embodiment of the present application, users can customize service cards according to their needs and combine sub-cards of services of different applications, meeting the needs of users to use multiple applications and multiple services in one scenario. Users can combine and generate multiple service cards in a single reconstruction service card process, meeting the needs of users to generate multiple service cards at the same time for the reconstructed service cards, and the operation is simple and feasible.
[0184] Figure 8 Another set of GUIs provided by an embodiment of the present application is shown.
[0185] like Figure 8 As shown in (a)-(b) in the figure, the electronic device enters the service card reconstruction process and displays the service selection interface 810. The service selection interface 810 may include sub-cards of all services of the reconstructed service card, and may also include an add more service control 801. The electronic device detects the user's operation of adding more services, and in response to the operation, the electronic device may display a more service interface 811. For the description of the electronic device entering the service card reconstruction process, please refer to the aforementioned embodiment, which will not be repeated here.
[0186] Exemplarily, the operation of the user adding more services may be that the user clicks the add more services button 801 in the service selection interface 810 .
[0187] like Figure 8 As shown in (b) of FIG. 8 , the electronic device displays a more service selection interface 811 in response to the user's operation of adding more services.
[0188] Exemplarily, the more service selection interface 811 may include service sub-cards other than the service sub-card that has been restructured. Figure 8 As shown in (a), the service sub-cards that have been reconstructed are "Play Music", "Local", "Recently Played", "I Like", "Download", "Start Running", "Today's Steps", "Sleep Duration", and "Heart Rate". The more service interface 811 can display service sub-cards other than the above-mentioned service sub-cards, such as "Identify Songs by Listening", "Daily Recommended Playlist", "Heart-beating Playlist", and "Clock".
[0189] Optionally, the electronic device can also display the sub-cards by application classification in the more services interface 811 according to the applications to which the service sub-cards belong. For the description of the application classification display of the sub-cards, please refer to the aforementioned embodiment and will not be repeated here. Alternatively, the electronic device can also display the service sub-cards with high relevance to the selected card in the more services interface 811 based on the correlation between the service sub-cards. Alternatively, the electronic device can also display the sub-cards of services with high usage frequency in the more services interface 811 based on the frequency of use of the services.
[0190] like Figure 8 As shown in (b)-(c) in FIG. 8 , after the electronic device detects that the user has completed the operation of selecting more services, in response to the operation, the electronic device can display a card preview interface 812 .
[0191] Exemplarily, the user completing the operation of selecting more services may be that the user clicks the add button 802 on the more services interface.
[0192] The card preview interface 812 may include a preview card 813. Figure 8 As shown in (a)-(c) in the figure, the user selects 3 service sub-cards in the service selection interface 810 and selects 2 service sub-cards in the more services interface 811. In response to the user completing the more service selection operation, the electronic device displays a preview card 813 in the card preview interface 812.
[0193] Optionally, when the number of service sub-cards after the user adds more service sub-cards is greater than the first threshold, the electronic device may prompt that the number of service sub-cards exceeds the first threshold.
[0194] Optionally, when the number of service sub-cards after the user adds more service sub-cards is greater than the first threshold, the electronic device may display multiple preview cards on the card preview interface according to the correlation between the service sub-cards.
[0195] like Figure 8 As shown in (d) in the figure, after the electronic device detects the user's operation of confirming the content and style of the service card, it displays the reconstructed service card on the desktop in response to the operation.
[0196] In the embodiment of the present application, users can customize service cards according to their needs and combine sub-cards of services of different applications, meeting the needs of users to use multiple applications and multiple services in one scenario. Users can add service sub-cards that do not belong to the original service card when reconstructing the service card according to their needs, which increases the selectivity of users and the combinability of service cards, and the operation is simple and feasible.
[0197] Fig. 9 Another set of GUIs provided by an embodiment of the present application is shown.
[0198] The electronic device may enter the service card reconstruction process by responding to the first operation and the second operation of the user, and may also enter the service card reconstruction process through the quick service center.
[0199] like Fig. 9 As shown in (a)-(b) in the figure, the electronic device can enter the service card reconstruction process through the quick service center.
[0200] Exemplarily, the electronic device may display the quick service center interface 910 in response to a user clicking on an icon or other control for displaying the quick service center. The icon or other control may be placed on the desktop, the negative first screen, the control center, or the lock screen interface.
[0201] The quick service center interface 910 may include multiple service cards, which may be service cards that have been reconstructed or preset service cards. For example, there are 5 preset service cards for "sports and health". The electronic device displays the 5 preset service cards in a stack on the quick service center interface 910, and prompts the application to which the service card belongs below the service card, and may also prompt the number of stacked service cards.
[0202] like Fig. 9 As shown in (a)-(b) in the figure, the electronic device detects the user's operation of determining to enter the service card reconstruction process, and enters the service card reconstruction process in response to the operation.
[0203] Exemplarily, the user determines to enter the service card reconstruction process by clicking on the control 901 of the quick service center, triggering the electronic device to display an operation prompt interface 911 , and then the user clicks on the card reconstruction key 902 on the operation prompt interface 911 .
[0204] like Fig. 9 As shown in (b)-(c) in FIG. 1 , after the electronic device enters the service card, a service selection interface 912 may be displayed.
[0205] Exemplarily, the service selection interface 912 may display sub-cards of all services in the electronic device. Fig. 9 As shown in (c) in FIG. 1 , the electronic device enters the service card reconstruction process through the quick service center, and the electronic device can display all service sub-cards on the quick service center interface 910 on the service selection interface 912 .
[0206] Optionally, the electronic device may also classify and display the service sub-cards according to the applications to which the service sub-cards belong.
[0207] Optionally, the electronic device can also display the service sub-cards in order according to the frequency of use. For example, "Listen to Songs and Identify Songs" is used most frequently, "Start Running" is used second most frequently, and "Today's Steps" is used third most frequently. The electronic device can display "Listen to Songs and Identify Songs", "Start Running", and "Today's Steps" in order from top to bottom on the service selection interface 912.
[0208] like Fig. 9As shown in (c) of FIG. 1 , when the electronic device detects that the user has completed the service selection operation, in response to the operation, the electronic device can display a card preview interface. For the description of the card preview interface, please refer to the above embodiment, which will not be repeated here.
[0209] It should be understood that the description of displaying the reconstructed service card on the desktop can be found in the aforementioned embodiment and will not be repeated here.
[0210] In an embodiment of the present application, a user can enter the service card reconstruction process through a global entrance. The user can select service sub-cards as needed and reconstruct them into service cards, thereby meeting the user's needs to use multiple applications and multiple services in one scenario.
[0211] Above Figure 3-Figure 9 Having introduced the process of service card reconstruction, the following will introduce the process of card linkage.
[0212] Card linkage: The sub-cards of the services on the service card can share information. When the information shared between the service sub-cards matches, the electronic device can associate the sub-cards of the services with each other based on the information to achieve functional linkage. For example, the service card includes two service sub-cards, namely: "Calendar" and "Daily Recommendation", where the "Calendar" sub-card can include date information, and the "Daily Recommendation" sub-card can include date information. The above two sub-cards can share date information, and the "Calendar" and "Daily Recommendation" are associated with each other to achieve functional linkage. For example, during the Spring Festival, the "Daily Recommendation" can recommend music related to the Spring Festival.
[0213] Fig.10 Another set of GUIs provided by an embodiment of the present application is shown.
[0214] like Fig.10 As shown in (a) and (b) in FIG. 1010 , a service card is displayed on the desktop, and there are two service sub-cards in the service card 1010, namely, "Calendar" and "Today's Weather". The "Calendar" sub-card may include date information, and the "Today's Weather" sub-card may include date information. Based on the date information, the electronic device associates the above two sub-cards with each other to realize functional linkage. When the date information changes, the above two sub-cards may display corresponding interfaces according to the date information.
[0215] Optionally, the user can manually change the information of the sub-card. For example, if the user manually changes the date from January 6, 2021 to January 10, 2021, the "Today's Weather" will switch to the weather conditions synchronously, showing the weather on January 10, 2021.
[0216] like Fig.10As shown in (c) and (d) in the figure, a service card is displayed on the desktop, and there are three service sub-cards in the service card 1011, namely "Calendar", "Today's Weather", and "Clothing Recommendation". The "Calendar" sub-card may include location information and date information, the "Today's Weather" sub-card may include date information and location information, and the "Clothing Recommendation" may include temperature information. The above three service sub-cards form a service card, and the service sub-cards can share the above information. Based on the above information, the electronic device associates the three service sub-cards with each other to realize functional linkage.
[0217] For example, the "Today's Weather" sub-card determines the temperature information based on the date information and location information shared by the "Calendar" sub-card, and the "Clothing Recommendations" service can display clothing plans based on the location information and temperature information.
[0218] In the embodiment of the present application, the card linkage can be manually triggered by the user, such as Fig.10 As shown in (a) and (b) in , the user manually changes the date to check the weather, or it can be triggered automatically, such as Fig.10 As shown in (c) and (d) in the figure, the temperature is automatically updated and the outfit is recommended as the date and location change.
[0219] In the embodiment of the present application, information can be shared between the service sub-cards of the service card. When the shared information matches, the sub-cards can be linked, which improves the user experience and meets the user's needs to use multiple applications and multiple services in one scenario.
[0220] Fig.11 Another set of GUIs provided by an embodiment of the present application is shown.
[0221] like Fig.11 As shown in (a)-(b) in the figure, the card preview interface can display whether the previewed card forms a card linkage.
[0222] For example, Fig.11 As shown in (a) of FIG. 1 , the preview card interface 1111 includes a preview card 1110, and the preview card 1110 includes 5 service sub-cards. The 5 service sub-cards do not form a linkable function, and the preview card interface 1111 may display "No linkable function is currently found for this combination." Fig.11 As shown in (b), the preview card interface 1111 includes a preview card 1112, and the preview card 1112 includes 5 service sub-cards. The above 5 service sub-cards form two interlockable functions in total. The preview card interface 1111 can display the introduction information of the two interlockable functions, such as the "exercise and music" interlockable function is "automatically play exercise music after starting exercise"; such as the "heart rate and music" interlockable function is "automatically match music rhythm according to heart rate".
[0223] Optionally, when the sub-cards of the service of the preview card do not form a linkable function, the preview card interface can display a control for adding a linkable function. For details, please refer to the following description.
[0224] like Fig.11 As shown in (b)-(c) in the figure, after the electronic device detects that the user selects the operation of editing the preview service card, in response to the operation, the electronic device enters the process of editing the preview card.
[0225] Exemplarily, the user's operation of selecting to edit the preview service card may be that the user clicks the edit button 1101 on the preview card interface 1111 .
[0226] Optionally, the card preview interface may further include a card style icon. For the description of the card style icon, please refer to the aforementioned embodiment and will not be repeated here.
[0227] like Fig.11 As shown in (c) , the electronic device enters the editing and previewing card process and may display a service selection interface 1113 .
[0228] Exemplarily, the service selection interface 1113 may include sub-cards of all services of the reconstructed service card, and may also include controls for linked functions. Fig.11 As shown in (c) in FIG. 1 , the preview card 1113 forms two interoperable functions, and the electronic device can display a “sports and music” key 1114 and a “heart rate and music” key 1115 on the service selection interface 1113 .
[0229] like Fig.11 As shown in (c) in FIG. 11 , the user can select a service sub-card in the service selection interface 1113 and can also select a linked function.
[0230] When the electronic device detects that the service sub-card selected by the user can form a linked function, the electronic device can automatically select the control corresponding to the linked function. Fig.11 As shown in (c), the electronic device detects that the user has selected three service sub-cards, namely "Play Music", "Today's Steps" and "Heart Rate" in the service selection interface 1113. The electronic device detects that "Play Music" and "Heart Rate" can form a linked function "Heart Rate and Music", and the electronic device automatically selects the "Heart Rate and Music" key 1115.
[0231] When the electronic device detects a linked control selected by the user, the electronic device can automatically select the service sub-card corresponding to the linked function. For example, the electronic device detects that the user clicks the "Heart Rate and Music" button 1115 in the service selection interface 1113 in order to select the linked function "Heart Rate and Music". In response to the click operation, the electronic device automatically selects the two service sub-cards "Play Music" and "Heart Rate". Optionally, the user can also select other service sub-cards (such as the user also selects the "Today's Steps" sub-card).
[0232] When the electronic device detects that the user cancels the selection of the service sub-card corresponding to the linkable function, the electronic device can automatically cancel the selection of the control corresponding to the linkable function. For example, the electronic device detects that the user clicks on the selected "Start Running" in the service selection interface in order to cancel the selection of the "Start Running" service sub-card. In response to the click operation, the electronic device automatically cancels the selection of the "Sports and Music" key 1114, and the "Sports and Music" key 1114 changes from a selected state to an unselected state.
[0233] It should be understood that the description of displaying the reconstructed service card on the desktop can be found in the aforementioned embodiment and will not be repeated here.
[0234] In the embodiment of the present application, information can be shared between the service sub-cards of the service card. When the shared information matches, the sub-cards can be linked, which improves the user experience and meets the needs of users to use multiple applications and multiple services in one scenario. Users can freely choose all or some of the functions that can be linked, and the operation is simple and feasible.
[0235] Fig.12 Another set of GUIs provided by an embodiment of the present application is shown.
[0236] like Fig.12 As shown in (a), the preview card interface can display a preview card. When the preview card does not form a linkable function, the electronic device can also display a control for adding a linkable function.
[0237] Exemplarily, the control for adding a linkable function may be adding a linkable function key 1201. For example, Fig.12 As shown in (a) in FIG. 1 , the preview card 1210 includes 5 service sub-cards, and the 5 service sub-cards do not form a linkable function. The electronic device can display an add linkable function key 1201 in the card preview interface 1211 .
[0238] like Fig.12 As shown in (a)-(b) in the figure, the electronic device detects the user's operation of adding a linkable function, and in response to the operation, enters the process of adding a linkable function.
[0239] Exemplarily, the operation of adding a linkable function by the user may be that the user clicks the add linkable function key 1201 .
[0240] like Fig.12 As shown in (a)-(b) in the figure, after the electronic device enters the process of adding a linkable function, the electronic device can display a service selection interface 1212.
[0241] The service selection interface 1212 may include all service sub-cards of the preview card 1210 , and may also include linkable function keys 1202 .
[0242] like Fig.12 As shown in (b)-(c) in the figure, after the electronic device detects that the user has completed the service selection operation, in response to the operation, the electronic device can display an interface for adding linked functions.
[0243] For example, the user completes the service selection operation by clicking on the linkable function key 1202 in the service selection interface 1212. Fig.12 As shown in (b)-(c) in the figure, the user selects two service sub-cards, "Sound and Vibration" and "Work Plan", in the service selection interface. In response to the user clicking on the linkable function key 1202, the electronic device displays the add linkable function interface 1213.
[0244] like Fig.12 As shown in (c) in FIG. 1 , the add linkable function interface 1213 may display the service sub-card selected by the user, and may also display introduction information of the linkable function according to the service sub-card selected by the user.
[0245] It should be understood that when the electronic device responds to detecting the user's operation of adding a linkable function, the electronic device can recommend a linkable function for the service sub-card that cannot share information based on rules set by the user or the system.
[0246] For example, Fig.12 As shown in (b)-(c), the user selects two service sub-cards, "Sound and Vibration" and "Work Plan" in the service selection interface. The "Work Plan" sub-card can include "Date" information and "Plan" information, and the "Sound and Vibration" sub-card cannot match the "Date" information and "Plan" information. In response to the user clicking on the linkable function key 1202, the electronic device can associate the "Work Plan" and "Sound and Vibration" with each other according to the rules set by the user or the system to achieve functional interaction, and display "Adjust the sound and vibration of the device according to the work plan" in the add linkable function interface 1213.
[0247] Exemplarily, the method of setting linkage for the service sub-card according to the rules set by the system may be:
[0248] When the "work plan" sub-card includes "date" information and "plan" information (such as meeting, exercise, etc.), and the "sound and vibration" sub-card includes "sound and vibration" information (such as silent, vibrating, ringing, etc.), the electronic device can associate the "date" information and "plan" information in the "work plan" sub-card with the "sound and vibration" information in the "sound and vibration" sub-card. The electronic device can collect statistics and analyze the user's usage habits, and when it is determined that the "plan" information is a meeting, the corresponding "sound and vibration" information is "silent"; when it is determined that the "plan" information is an exercise, the corresponding "sound and vibration" information is "ringing".
[0249] like Fig.12 As shown in (d) in the figure, after the electronic device detects the user's operation of confirming the content and style of the service card, in response to the operation, the reconstructed service card is displayed on the desktop.
[0250] For example, the electronic device may automatically adjust the state of the electronic device to a silent state based on the product development meeting time being 9:00-10:00.
[0251] In an embodiment of the present application, when the information shared between the service sub-cards of a service card cannot be matched, a linkage function can be added through user-preset rules or system-preset rules, thereby improving the user experience and meeting the user's needs to use multiple applications and multiple services in one scenario.
[0252] Above Figure 11-Figure 12 The card linkage process of service cards is introduced. The following will introduce the process of service card stacking.
[0253] The display area on the desktop is limited, and not only application icons but also service cards need to be arranged. If all service cards are displayed on the desktop, many interfaces will be generated, which will be cumbersome for users to search. Based on this, the embodiment of the present application provides a method for stacking service cards, and users can stack multiple service cards and display them in the same display area, effectively utilizing the limited display area. Users can operate the service cards displayed on the interface and enter the service card stacking process, which is simple and feasible to operate.
[0254] Fig.13 Another set of GUIs provided by an embodiment of the present application is shown.
[0255] like Fig.13 As shown in (a) in the figure, a plurality of service cards are displayed on the desktop. For the description of the service card 1310 and the service card 1311, please refer to the aforementioned embodiment and will not be repeated here.
[0256] like Fig.13As shown in (b) of FIG. 1 , when the electronic device detects a first operation of the user, it can display a stack icon 1312 in response to the first operation. For the description of the first operation, please refer to the aforementioned embodiment, which will not be repeated here.
[0257] like Fig.13 As shown in (c) , when the electronic device detects that the user selects the third operation of stacking icon 1312 , the service card stacking is completed in response to the third operation.
[0258] The third operation may be: after the user drags a service card onto another service card, the user lifts the finger off the screen. Here, one service card may be completely on the display area of another service card, or one service card may be partially on the display area of another service card. Optionally, the electronic device may highlight the stacking icon 1312 so that the user knows that lifting the finger off the screen will complete the stacking of the service cards.
[0259] For example, Fig.13 As shown in (c), after the electronic device displays the stacking icon, the electronic device detects that the user continues to press and hold the service card 1310 and drags it downward until the service card 1310 is completely above the display area of the service card 1311, then the stacking icon 1312 is highlighted. At this time, if the electronic device detects that the user's finger has left the screen, the electronic device completes the service card stacking.
[0260] It should be noted that when the electronic device displays multiple icons such as the stack icon 1312, the restructure icon 1313, and the arrangement icon 1314, the user can drag the card to select the corresponding icon as needed. Fig.13 As shown in (c), after dragging the service card 1310 onto the service card 1311, the electronic device displays the stacking icon 1312, the reconstruction icon 1313, and the arrangement icon 1314 from left to right. The stacking icon 1312 is in a selected state. The user can drag the service card 1310 to the right to select the reconstruction icon 1313, and then drag the card to the right to select the arrangement icon 1314.
[0261] It should be understood that the third operation of selecting a stack icon in the embodiment of the present application can be set by the user or the system, and the present application does not limit this. Figure 4 The example shown in .
[0262] It should be noted that in the above embodiment, the first operation and the third operation are taken as an example to be described as one continuous operation. It can be understood that the first operation and the third operation may also be two incoherent operations.
[0263] like Fig.13As shown in (d) in the figure, the completed stacked service cards are displayed on the desktop.
[0264] For example, the electronic device displays the complete service card 1310 and the edge of the service card 1311 on the desktop.
[0265] like Fig.13 As shown in (e)-(f) in FIG. 1 , when the electronic device detects the fourth operation, in response to the operation, the process of switching the stacked service cards can be entered.
[0266] Exemplarily, the fourth operation may be that the user draws an arc on the display area of the stacked service cards, and / or the user slides down on the display area of the stacked service cards. Fig.13 As shown in (e)-(f) of FIG. 1 , in response to the user's operation of drawing an arc on the stacked service cards, the electronic device displays a portion of the stacked service card 1310 and the service card 1311 on the desktop. When the electronic device detects that the user clicks on the service card 1311, in response to the operation, the service card 1311 can be displayed on the top.
[0267] like Fig.13 As shown in (f) in the figure, the electronic device detects the user's operation of exiting the switching stacking service card process, and in response to the operation, exits the switching stacking service card process.
[0268] Exemplarily, the user's operation of exiting the switching stacking service card process may be that the user clicks the cancel key 1303. Fig.13 As shown in (f) of FIG. 1 , the electronic device responds to the user clicking the cancel key 1303 and returns to the state shown in FIG. Fig.13 The desktop shown in (d).
[0269] Alternatively, the electronic device may also exit the process of switching stacked service cards after no operation of the user on the service card is detected within a preset time. The following will introduce the display methods of different stacked service cards. In order to clearly explain the display methods of stacked service cards and the process of switching service cards, the desktop is omitted in the following description, and only the operation of the stacked service cards is shown.
[0270] Fig.14 Another set of GUIs provided by an embodiment of the present application is shown.
[0271] The operation of completing the service card stacking is similar to that in the above-mentioned embodiment and will not be described again for the sake of brevity.
[0272] like Fig.14 As shown in (a)-(b), the electronic device detects the fourth operation of the user, and in response to the fourth operation, enters the process of switching the stacking service cards.
[0273] For example, the fourth operation may be: the user slides in the display area of the service card. Fig.14 As shown in (a) and (b), the electronic device enters the process of switching stacked service cards in response to the user sliding upward on the display area of the service card 1410.
[0274] like Fig.14 As shown in (b), after the electronic device enters the process of switching stacked service cards, the electronic device can display a card indicator 1411 to indicate the total number of stacked service cards and the positional relationship between the currently displayed service card and other service cards.
[0275] For example, Fig.14 As shown in (b), there are 5 stacked service cards in total, and the blank point of the card indicator 1411 is on the far left, which can indicate that the service card 1410 is the first service card among the 5 stacked service cards.
[0276] like Fig.14 As shown in (c)-(d) in the figure, the electronic device detects the user's operation of switching service cards, and displays different service cards in response to the operation.
[0277] For example, the user's operation of switching the service card may be that the user slides a single finger (or multiple fingers) on the display area of the service card, or the user clicks the indication point on the card indicator. Fig.14 As shown in (c)-(d) in FIG. 1 , the electronic device displays service card 1412 in response to the user sliding left on the display area of service card 1410 .
[0278] Optionally, the card indicator 1411 may display the positional relationship between the switched service card and other service cards. Fig.14 As shown in (d) in FIG. 1 , the second point of the card indicator 1411 from left to right is a blank point, which may indicate that the service card 1412 is the second service card among the five stacked service cards.
[0279] like Fig.14 As shown in (e), after the electronic device no longer detects the user's operation on the service card, it exits the process of switching the stacked service cards.
[0280] For example, after the electronic device does not detect the user's operation on the service card 1412 within a preset time, it exits the process of switching the stacked service cards.
[0281] Optionally, after the electronic device detects no user operation on the service card 1412 within a preset time, the electronic device may hide the card indicator 1411 .
[0282] It should be noted that in the above embodiment, the fourth operation and the operation of switching service cards are taken as an example to illustrate as one continuous operation. It can be understood that the fourth operation and the operation of switching service cards can also be two incoherent operations.
[0283] Fig.15 Another set of GUIs provided by an embodiment of the present application is shown.
[0284] like Fig.15 As shown in (a) and (b) of FIG. 1 , the electronic device detects the fourth operation of the user, and in response to the fourth operation, enters the process of switching the stacked service cards. For the description of the fourth operation, please refer to the above embodiment, which will not be repeated here.
[0285] like Fig.15 As shown in (b), after the electronic device enters the process of switching stacked service cards, the electronic device can display the application icon.
[0286] For example, the service card 1510 is a music service card. After the electronic device enters the process of switching and stacking service cards, the electronic device can display a music application icon 1511 below the service card 1510 .
[0287] Optionally, the electronic device may highlight the application icon so that the user is aware of it.
[0288] like Fig.15 As shown in (c) in the figure, the electronic device detects the user's operation of switching service cards, and displays different service cards in response to the operation.
[0289] For example, the user's operation of switching the service card may be that the user slides one finger (or multiple fingers) on the display area of the service card, or the user clicks the application icon. Fig.15 As shown in (b)-(c) in the figure, in response to the user clicking on the sports and health application icon 1512, the electronic device switches the service card 1510 to the service card 1513.
[0290] like Fig.15 As shown in (d), after the user completes the selection of the service card, when the electronic device detects that the user exits the operation of switching the stacked service cards process, the service card selected by the user is displayed on the desktop.
[0291] Exemplarily, the user exits the switching stacked service card process by sliding down in the display area of the service card. For example, the electronic device responds to the user sliding down with a single finger (or multiple fingers) in the display area of the service card 1513.
[0292] Fig.16 Another set of GUIs provided by an embodiment of the present application is shown.
[0293] like Fig.16 As shown in (a) in the figure, a scroll bar can be displayed on one side of the stacked service cards.
[0294] Exemplarily, the scroll bar 1612 may be displayed on the right side of the service card 1610 , or the scroll bar 1612 may be displayed on the upper side of the service card 1610 .
[0295] like Fig.16 As shown in (b) and (c) in FIG. 1 , the electronic device detects the user's operation of sliding the scroll bar 1612 and switches the service card in response to the operation.
[0296] For example, Fig.16 As shown in (b) and (c), when the scroll bar is on the right side of the service card, the electronic device switches the service card 1610 to the service card 1611 in response to the user sliding the scroll bar 1612.
[0297] When the user slides the scroll bar 1612 , a portion of the service card 1610 and a portion of the service card 1611 may be displayed simultaneously.
[0298] Fig.17 Another set of GUIs provided by an embodiment of the present application is shown.
[0299] like Fig.17 As shown in (a) in the figure, stacked application icons may be displayed on the stacked service cards.
[0300] Exemplarily, the electronic device may display stacked application icons in the upper right corner of the stacked service cards. For example, if the service card 1711 is a music service card, the stacked application icon displayed is a music application icon 1710 .
[0301] like Fig.17 As shown in (a)-(b), the electronic device detects the user's fourth operation, and in response to the operation, enters the process of switching stacking service cards.
[0302] Exemplarily, the fourth operation may also be that the user clicks on the stacked application icon. Fig.17 As shown in (a) in FIG. 1 , the user clicks the music application icon 1710 .
[0303] like Fig.17 As shown in (b)-(c) in FIG. 1 , the electronic device enters the process of switching stacked service cards and can expand and display stacked application icons. The electronic device detects the user's operation of switching service cards and displays different service cards in response to the operation.
[0304] Exemplarily, the operation of switching the service card may also be that the user clicks on the application icon. Fig.17 As shown in (b)-(c) in the figure, in response to the user clicking on the sports and health icon 1712, the electronic device switches the service card from 1711 to the service card 1713.
[0305] Optionally, if the electronic device does not detect any user operation on the application icon within a preset time, the application icon resumes the stacked display mode.
[0306] Fig.18 Another set of GUIs provided by an embodiment of the present application is shown.
[0307] like Fig.18 As shown in (a) in the figure, stacked service cards are displayed on the desktop, and a card quantity icon can also be displayed on the stacked service cards. The card quantity icon is used to indicate the number of stacked service cards.
[0308] like Fig.18 As shown in (a)-(b) in the figure, the electronic device detects the user clicking the card quantity icon 1810, and in response to the operation, all stacked service cards can be displayed.
[0309] Illustratively, the electronic device may display stacked service card 1811, service card 1812, and service card 1813 on the desktop, or the electronic device may display a new interface on which service card 1811, service card 1812, and service card 1813 are displayed.
[0310] Fig.19 Another set of GUIs provided by an embodiment of the present application is shown.
[0311] like Fig.19 As shown in (a) of FIG. 1 , a scroll bar can be displayed on one side of the stacked service cards. For the description of the scroll bar, please refer to the above embodiment, which will not be repeated here.
[0312] like Fig.19 As shown in (a)-(b) in FIG. 1 , when the electronic device detects that the user slides the scroll bar 1913 , in response to the operation, the service card is switched and the card indicator 1911 is displayed.
[0313] like Fig.19 As shown in (c) in FIG. 1 , when the switching of the service card is completed, the switching of the card indicator is completed synchronously.
[0314] It should be understood that the process of switching the service card and the process of switching the card indicator are similar to those in the above-mentioned embodiment and will not be described in detail here.
[0315] Fig. 20 Another set of GUIs provided by an embodiment of the present application is shown.
[0316] like Fig. 20 As shown in (a) of FIG. 2 , a scroll bar 2014 may be displayed on one side of the stacked service cards. For the description of the scroll bar, please refer to the above embodiment, which will not be repeated here.
[0317] like Fig. 20 As shown in (a)-(b) in FIG. 1 , when the electronic device detects that the user slides the scroll bar 2014, in response to the operation, the service card is switched and the application icon is displayed at the same time.
[0318] like Fig. 20 As shown in (c) in FIG. 1 , when the switching of the service card is completed, the switching of the application icon is completed synchronously.
[0319] It should be understood that the process of switching the service card and the process of switching the application icon are similar to those in the above-mentioned embodiment and will not be described in detail here.
[0320] Fig.21 Another set of GUIs provided by an embodiment of the present application is shown.
[0321] like Fig.21 As shown in (a) of FIG. 1 , a scroll bar 2114 may be displayed on one side of the stacked service cards, and stacked application icons may also be displayed. For the description of the scroll bar, please refer to the above embodiment, which will not be repeated here.
[0322] like Fig.21 As shown in (a)-(b) in the figure, when the electronic device detects that the user slides the scroll bar 2114, in response to the operation, the service card is switched and the stacked application icons are expanded and displayed.
[0323] like Fig.21 As shown in (c) in FIG. 1 , when the switching of the service card is completed, the switching of the application icon is completed synchronously.
[0324] It should be understood that the process of switching the service card and the process of switching the application icon are similar to those in the above-mentioned embodiment and will not be described in detail here.
[0325] Fig. 22 Another set of GUIs provided by an embodiment of the present application is shown.
[0326] like Fig. 22 As shown in (a)-(b) in FIG. 1 , the electronic device detects the fourth operation of the user, and in response to the fourth operation, enters the process of switching stacking service cards. For the description of the fourth operation, please refer to the above embodiment, which will not be repeated here.
[0327] It should be understood that the service card icon can be understood as when the sub-cards of the service included in the service card belong to multiple applications, the multiple application icons can be combined to form the service card icon.
[0328] For example, Fig. 22 As shown in (b), the currently displayed service card 2210 includes 5 service sub-cards, namely "Play Music", "Local", "Recently Played", "I Like", and "Heart Rate", among which "Play Music", "Local", "Recently Played", and "I Like" belong to the music application, and "Heart Rate" belongs to the sports and health application. Therefore, the icon of the service card is composed of two application icons, the music application and the sports and health application, such as the service card icon 2211. Through the service card icon, the user can clearly understand the application to which the service sub-card in the service card belongs.
[0329] like Fig. 22 As shown in (b), after the electronic device enters the process of switching stacked service cards, the electronic device can display the service card icon.
[0330] Optionally, the electronic device may highlight the service card icon so that the user is aware of it.
[0331] like Fig. 22 As shown in (c) in the figure, the electronic device detects the user's operation of switching service cards, and displays different service cards in response to the operation.
[0332] Exemplarily, the user's operation of switching the service card may be that the user slides a single finger (or multiple fingers) on the display area of the service card, and / or the user clicks the service card icon. Fig. 22 As shown in (b)-(c) in FIG. 1 , in response to a user clicking on the service card icon 2213 , the electronic device switches the service card 2210 to the service card 2212 .
[0333] like Fig. 22 As shown in (d), after the user completes the selection of the service card, when the electronic device detects that the user exits the operation of switching the stacked service cards process, the service card selected by the user is displayed on the desktop.
[0334] It should be understood that the operation of the user exiting the service card selection is similar to the aforementioned embodiment and will not be described in detail here.
[0335] It should also be understood that the service card icons can be displayed at the locations where the application icons are displayed on the electronic device in the aforementioned embodiments.
[0336] It should be noted that the above embodiment is described by taking the example of displaying different service cards in response to the user's operation of switching service cards after entering the process of switching stacked service cards in response to the fourth operation. It should be understood that the operation of entering the process of switching stacked service cards can also be the same as the operation of displaying different service cards.
[0337] Above Figure 13-Figure 22The process and form of service card stacking are introduced.
[0338] In the embodiment of the present application, the user can stack service cards according to their needs, stack different service cards in the same display area, and save desktop space. The user can choose the style of stacking service cards according to their needs, which improves the user experience and is simple and feasible to operate.
[0339] The following will introduce the service card arrangement and the arrangement process.
[0340] Service card arrangement means that the sub-cards of the services in the service card can perform corresponding functions in sequence.
[0341] like Fig.23 As shown in (a) and (b), multiple service cards are displayed on the desktop. For the description of service card 2310 and service card 2311, please refer to the previous embodiment and will not be repeated here.
[0342] like Fig.23 As shown in (b) of FIG. 2 , when the electronic device detects the first operation of the user, it can respond to the first operation and display the arrangement icon 2314. For the description of the first operation, please refer to the above embodiment, which will not be repeated here.
[0343] like Fig.23 As shown in (c), when the electronic device detects that the user selects the fifth operation of stacking icons, it enters the service card arrangement process in response to the fifth operation.
[0344] The fifth operation may be: after the user drags a service card onto another service card, the user lifts the finger off the screen. Here, one service card may be completely on the display area of another service card, or one service card may be partially on the display area of another service card. Optionally, the electronic device may highlight the arrangement icon 2314 so that the user knows that when the user lifts the finger off the screen, the service card arrangement process will be entered.
[0345] For example, Fig.23 As shown in (c), after the electronic device displays the arrangement icon, the electronic device detects that the user continues to press and hold the service card 2310 and drags it downward until the service card 2310 is completely above the display area of the service card 2311, then the arrangement icon is highlighted. At this time, if the electronic device detects that the user's finger has left the screen, the electronic device completes the service card stacking.
[0346] It should be noted that when the electronic device displays multiple icons such as the stacking icon 2312, the reconstructing icon 2313, and the arranging icon 2314, the user can drag the card to select the corresponding icon according to the needs. Fig.23As shown in (c), after dragging the service card 2310 onto the service card 2311, the electronic device displays the stacking icon 2312, the reconstruction icon 2313, and the arrangement icon 2314 from left to right. The arrangement icon 2312 is in a selected state. The user can drag the card to the left to select the stacking icon 2313, and then drag the card to the left to select the stacking icon 2312.
[0347] It should be understood that the fifth operation of selecting a stack icon in the embodiment of the present application can be set by the user or the system, and the present application does not limit this. Figure 4 The example shown in .
[0348] It should be noted that in the above embodiment, the first operation and the fifth operation are taken as an example to be described as one continuous operation. It can be understood that the first operation and the fifth operation may also be two incoherent operations.
[0349] like Fig.23 As shown in (d) in FIG. 2 , after the electronic device enters the service card editing process, the electronic device can display a card editing interface 2315 .
[0350] Exemplarily, the card arrangement interface 2315 may include sub-cards of all services of the arranged service card.
[0351] like Fig.23 As shown in (e) in the figure, in the card arrangement interface 2315, the user can select the service sub-cards and can also sort the service sub-cards.
[0352] For example, the user can sort the service sub-cards by pressing and holding the service sub-cards and dragging them. Fig.23 As shown in (d), the user selects the "Clock" sub-card, the "Play Music" sub-card, and the "Start Running" sub-card. After completing the service sub-card selection, the user can press and hold the "Start Running" sub-card and drag it to be parallel to the "Play Music" sub-card. After completing the service sub-card sorting operation, the electronic device has the "Clock" sub-card in the first position from top to bottom in the card arrangement interface 2315, the "Play Music" sub-card and the "Start Running" sub-card in the second position, and the "Today's Steps" sub-card in the third position. The sorting of the above service sub-cards means that the service corresponding to the "Clock" sub-card is executed first, and then the services corresponding to the "Play Music" sub-card and the "Start Running" sub-card are executed synchronously. For example, if the user sets a 19:00 run, when the time reaches 19:00, the arranged service card can remind the user of the running time, and synchronously start the services corresponding to the remaining two service sub-cards after detecting that the user has started running.
[0353] It should be understood that in the embodiment of the present application, the example is taken that the user first selects the service sub-cards and then sorts the service sub-cards, but it is not limited to this. The user can also first sort the service sub-cards and then select the service sub-cards.
[0354] Optionally, after the service sub-cards are sorted, the position of the sub-card may be displayed on the service sub-card. Fig.23 As shown in (f), after the user completes the sorting of the service sub-cards, clicking the "Clock" sub-card will display "1", indicating that the service corresponding to the sub-card will be executed first, clicking the "Play Music" sub-card will display "2", and clicking the "Start Running" sub-card will display "2", indicating that the services corresponding to the above two sub-cards will be executed after the service corresponding to the "Clock" sub-card is executed.
[0355] In the embodiment of the present application, the user can arrange the service cards according to the automatic needs, so that the service sub-pieces in the service cards execute the corresponding functions according to the set execution order, which improves the user experience and is simple and feasible to operate.
[0356] In combination with the above embodiments and related drawings, the present application embodiment provides a method for processing a service card. The method can be used in Figure 1 , Figure 2 The method is implemented in an electronic device with a touch screen (such as a mobile phone, a tablet computer, etc.). Fig.24 is a schematic flow chart of processing service cards provided in an embodiment of the present application, such as Fig.24 As shown, the method may include the following steps:
[0357] S2401, display the first interface, the first interface includes a first service card and a second service card, the first service card includes M service sub-cards of the first application, the second service card includes N service sub-cards of the second application, wherein M is an integer greater than or equal to 1, and N is an integer greater than or equal to 1.
[0358] S2402: The electronic device detects a first input, where the first input is used to instruct the electronic device to generate a service card based on the first service card and the second service card.
[0359] It should be understood that the first input may include the first operation and the second operation in the aforementioned embodiment.
[0360] S2403, the electronic device displays a second interface, the second interface includes the third service card, the third service card includes X service sub-cards among the M service sub-cards and Y service sub-cards among the N service sub-cards, wherein X is an integer greater than or equal to 1 and less than or equal to M, and wherein Y is an integer greater than or equal to 1 and less than or equal to N.
[0361] It should be understood that the first interface and the second interface can be the desktop, the negative first screen, the control center, or the lock screen interface of the electronic device.
[0362] In a possible implementation, the first input includes: dragging the first service card or the second service card so that the first service card completely or partially overlaps with the second service card.
[0363] In a possible implementation, if the sum of the M and the N is less than or equal to a first threshold, then in response to the first input, the electronic device displays the second interface. If the sum of the M and the N is greater than the first threshold, then in response to the first input, the electronic device displays a service selection interface.
[0364] For example, Figure 5 As shown in (a), (b), (c), and (f), when the number of reconstructed service cards is less than or equal to the first threshold, the reconstructed service cards can be directly displayed on the second display.
[0365] In another possible implementation, if the time interval from when the first service card overlaps with the second service card to when the finger leaves the screen is less than or equal to a second threshold, then in response to the first input, the electronic device displays the second interface.
[0366] In a possible implementation, after the electronic device detects the first input and before the electronic device displays the second interface, the method further includes: in response to the first input, the electronic device displays a third interface, the third interface including the M service sub-cards and the N service sub-cards. The third interface may be a service selection interface. The electronic device detects a second input in which a user selects the X service sub-cards and the Y service sub-cards; and generates a third service card according to the X service sub-cards and the Y service sub-cards selected by the user.
[0367] For example, Figure 4 As shown in (d), the electronic device displays a service selection interface in response to the first input. The service selection interface may include all service sub-cards of the reconstructed service card. When the electronic device detects that the user selects one of the service sub-cards, a service card may be generated according to the user's selection.
[0368] In a possible implementation, after the electronic device detects the second input and before the electronic device displays the second interface, the method further includes: based on the X service sub-cards and the Y service sub-cards selected by the user, the electronic device displays a fourth interface, where the fourth interface may be a preview interface of the third service card.
[0369] In a possible implementation, in certain implementations of the first aspect, if the sum of the M and the N is greater than a first threshold, then in response to the first input, the electronic device omits the service selection process and displays the fourth interface.
[0370] For example, Figure 5 As shown in (a)-(e), when the sum of the service sub-cards of the reconstructed service card is greater than the first threshold, the electronic device responds to the first input and the electronic device can omit the service selection process and directly display the card preview interface.
[0371] In one possible implementation, the fourth interface also includes a first icon and a second icon, the first icon is used to indicate a first service card style, and the second icon is used to indicate a second service card style, the first service card style is different from the second service card style, and the display of the fourth interface includes: when the first icon is selected, displaying a preview interface of the third service card in the first service card style; or, when the second icon is selected, displaying a preview interface of the third service card in the second style.
[0372] For example, Figure 4 As shown in (e) of FIG. 1 , when the electronic device detects that the user clicks on the service card style template 418, the service card style is changed from Figure 4 (e) in the switch to Figure 4 (f) in.
[0373] In one possible implementation, after the electronic device displays the third interface in response to the first input and before the electronic device detects the second input, the method also includes: when displaying the third interface, the electronic device detects a third input in which the user selects P service sub-cards and Q service sub-cards, wherein P is an integer greater than or equal to 1 and less than or equal to M, and Q is an integer greater than or equal to 1 and less than or equal to N; in response to the third input, the electronic device displays a fifth interface, which is a preview interface of a fourth service card, and the fourth service card includes the P service sub-cards and the Q service sub-cards; the electronic device detects a fourth input; and in response to the fourth input, displays the third interface.
[0374] In one possible implementation, after the first input, the method also includes: in response to the first input, the electronic device displays a third interface, and the third interface includes the M service sub-cards and the N service sub-cards; in response to detecting the fifth input of the user selecting the U service sub-cards and the V service sub-cards, the electronic device generates a fifth service card, and the fifth service card includes the U service sub-cards and the V service sub-cards selected by the user; in response to detecting the sixth input of the user selecting the J service sub-cards and the K service sub-cards; the electronic device generates a sixth service card, and the sixth service card includes the J service sub-cards and the K service sub-cards selected by the user; the electronic device displays a sixth interface, and the sixth interface includes the fifth service card and the sixth service card.
[0375] It should be understood that the sixth interface may be the desktop of the electronic device, or the negative first screen, or the control center, or the lock screen interface.
[0376] In a possible implementation, the electronic device displays a sixth interface, and the sixth interface includes the fifth service card and the sixth service card, including: the fifth service card and the sixth service card are stacked and displayed; the fifth service card and the sixth service card are displayed side by side. The fifth service card and the sixth service card can be displayed on the same interface or on different interfaces.
[0377] In a possible implementation, after the electronic device detects the first input, the method further includes: in response to the first input, the electronic device displays a third interface, the third interface includes the M service sub-cards and the N service sub-cards; in response to detecting a seventh input of the user on the third interface, displaying a seventh interface, the seventh interface is a more service selection interface, the seventh interface includes L service sub-cards, the L service cards are different from the M service cards and the N service cards, wherein L is an integer greater than or equal to 1; in response to an eighth input of the user selecting Z service sub-cards from the L service sub-cards, displaying an eighth interface, the eighth interface is a preview interface of the seventh service card, the seventh service card includes the X service sub-cards, the Y service sub-cards and the Z service sub-cards.
[0378] In one possible implementation, after the electronic device detects the first input, the method also includes: if the sum of the M and the N is greater than a third threshold, the electronic device generates and displays an eighth service card and a ninth service card based on the M service sub-cards and the N service sub-cards, wherein the eighth service card and the ninth service card are different.
[0379] It should be understood that the third threshold value may be the same as the first threshold value, or may be different.
[0380] In one possible implementation, the electronic device displays a tenth service sub-card, which includes a first service sub-card and a second service sub-card; when the content displayed by the first service sub-card is updated from the first content to the second content, the electronic device updates the content displayed by the second service sub-card according to the second content.
[0381] In a possible implementation, the first interface may also include an eleventh service card and a twelfth service card, and the method also includes: the electronic device detects a ninth input, and the ninth input is used to instruct the electronic device to display the eleventh service card and the twelfth service card in full or partial overlap on the second interface.
[0382] It should be understood that the ninth input may include the first operation and the third operation.
[0383] For example, Figure 13-22 As shown, the electronic device can display service cards in a variety of stacked display formats.
[0384] In one possible implementation, after the electronic device detects the first input and before the electronic device displays the second interface, the method also includes: in response to the first input, the electronic device displays a ninth interface, and the ninth interface can be a card arrangement interface, including the M service sub-cards and the N service sub-cards; the electronic device detects a tenth input in which the user selects and sorts the third service sub-card and the fourth service sub-card, wherein the third service sub-card is any one of the M service sub-cards, and the fourth service sub-card is any one of the N service sub-cards; a thirteenth service card is generated based on the user's selection and sorting of the third service sub-card and the fourth service sub-card; and the electronic device displays the third content of the third service sub-card and the fourth content of the fourth service sub-card based on the user's sorting.
[0385] It should be understood that the first input may be the first operation and the fifth operation.
[0386] In the embodiment of the present application, users can customize service cards according to their needs and combine sub-cards of services of different applications, which meets the needs of users to use multiple applications and multiple services in one scenario. Users can retain or delete sub-cards of services according to their needs, effectively utilizing limited display space. Users can operate the service cards displayed on the interface, enter the service card reconstruction process, and generate the required service cards. The operation is simple and feasible. Users can also stack or arrange service cards, which increases the interactivity of service cards and saves display space.
[0387] The above embodiments may be used alone or in combination with each other to achieve different technical effects.
[0388] In the embodiments provided by the present application, the method provided by the embodiments of the present application is introduced from the perspective of the electronic device as the execution subject. In order to implement the functions in the methods provided by the embodiments of the present application, the electronic device may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
[0389] The embodiment of the present application also provides an electronic device, including: a display screen, a processor, a memory, one or more sensors, a power button, an application, and a computer program. The above-mentioned devices can be connected via one or more communication buses. Among them, the one or more computer programs are stored in the above-mentioned memory and are configured to be executed by the one or more processors, and the one or more computer programs include instructions, which can be used to enable the electronic device to perform each step of the interface display method in the above-mentioned embodiments.
[0390] Exemplarily, the processor may be Figure 2 The processor 110 shown in the figure, the above-mentioned memory can be specifically Figure 2 The internal memory 120 shown and / or the external memory connected to the electronic device, the display screen may be Figure 2 The display screen 130 shown in FIG. 1 , the sensor may specifically be Figure 2 One or more sensors in the sensor module 150 shown, the power button can be Figure 2 The power button 141 is shown. The present application embodiment does not impose any limitation on this.
[0391] In addition, an embodiment of the present application further provides a graphical user interface (GUI) on an electronic device, and the graphical user interface specifically includes a graphical user interface displayed by the electronic device when executing the above-mentioned method embodiments.
[0392] As used in the above embodiments, the term "when..." or "after..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrase "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
[0393] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc. In the absence of conflict, the solutions of the above embodiments can be used in combination.
Claims
1. A method for processing a service card, the method being applied to an electronic device, the electronic device comprising a first application and a second application, characterized in that: The method comprises: The electronic device displays a first interface, the first interface includes a first service card and a second service card, the first service card includes M service sub-cards of a first application, the second service card includes N service sub-cards of a second application, wherein M is an integer greater than or equal to 1, and N is an integer greater than or equal to 1; The electronic device detects a first input, where the first input is used to instruct the electronic device to generate a service card according to the first service card and the second service card; The electronic device displays a second interface, the second interface includes the third service card, the third service card includes X service sub-cards among the M service sub-cards and Y service sub-cards among the N service sub-cards, wherein X is an integer greater than or equal to 1 and less than or equal to M, and Y is an integer greater than or equal to 1 and less than or equal to N.
2. The method according to claim 1, characterized in that: The first input includes: dragging the first service card or the second service card so that the first service card and the second service card completely overlap or partially overlap.
3. The method according to claim 2, characterized in that The electronic device displays a second interface, including: If the sum of the M and the N is less than or equal to a first threshold, then in response to the first input, the electronic device displays the second interface.
4. The method according to claim 2, characterized in that: The electronic device displays a second interface, including: If the time interval from when the first service card overlaps with the second service card to when the finger leaves the screen is less than or equal to a second threshold, then in response to the first input, the electronic device displays the second interface.
5. The method according to claim 1, characterized in that After the electronic device detects the first input and before the electronic device displays the second interface, the method further includes: In response to the first input, the electronic device displays a third interface, wherein the third interface includes the M service sub-cards and the N service sub-cards; The electronic device detects a second input in which a user selects the X service sub-cards and the Y service sub-cards; A third service card is generated according to the X service sub-cards selected by the user and the Y service sub-cards.
6. The method according to claim 5, characterized in that After the electronic device detects the second input and before the electronic device displays the second interface, the method further includes: According to the X service sub-cards and the Y service sub-cards selected by the user, the electronic device displays a fourth interface, where the fourth interface is a preview interface of the third service card.
7. The method according to claim 6, characterized in that The fourth interface further includes a first icon and a second icon, the first icon is used to indicate a first service card style, the second icon is used to indicate a second service card style, the first service card style is different from the second service card style, and the display of the fourth interface includes: When the first icon is selected, a preview interface of the third service card is displayed in the style of the first service card; or, When the second icon is selected, a preview interface of the third service card is displayed in the style of the second service card.
8. The method according to claim 5, characterized in that After the electronic device displays the third interface in response to the first input and before the electronic device detects the second input, the method further includes: When displaying the third interface, the electronic device detects a third input of the user selecting P service sub-cards and Q service sub-cards, where P is an integer greater than or equal to 1 and less than or equal to M, and Q is an integer greater than or equal to 1 and less than or equal to N; In response to the third input, the electronic device displays a fifth interface, where the fifth interface is a preview interface of a fourth service card, where the fourth service card includes the P service sub-cards and the Q service sub-cards; The electronic device detects a fourth input; In response to the fourth input, the third interface is displayed.
9. The method according to claim 1, characterized in that: After the first input, the method further includes: In response to the first input, the electronic device displays a third interface, wherein the third interface includes the M service sub-cards and the N service sub-cards; In response to detecting a fifth input in which a user selects the U service sub-cards and the V service sub-cards, the electronic device generates a fifth service card, the fifth service card including the U service sub-cards and the V service sub-cards selected by the user; In response to detecting a sixth input of a user selecting the J service sub-cards and the K service sub-cards; the electronic device generates a sixth service card, the sixth service card including the J service sub-cards and the K service sub-cards selected by the user; The electronic device displays a sixth interface, and the sixth interface includes the fifth service card and the sixth service card.
10. The method according to claim 9, characterized in that The electronic device displays a sixth interface, the sixth interface including the fifth service card and the sixth service card, including: The fifth service card and the sixth service card are displayed overlappingly; The fifth service card and the sixth service card are displayed side by side.
11. The method according to claim 1, characterized in that: After the electronic device detects the first input, the method further includes: In response to the first input, the electronic device displays a third interface, wherein the third interface includes the M service sub-cards and the N service sub-cards; In response to detecting a seventh input of the user on the third interface, displaying a seventh interface, the seventh interface including L service sub-cards, the L service cards being different from the M service cards and the N service cards, wherein L is an integer greater than or equal to 1; In response to an eighth input of the user selecting Z service sub-cards from the L service sub-cards, an eighth interface is displayed, wherein the eighth interface is a preview interface of a seventh service card, and the seventh service card includes the X service sub-cards, the Y service sub-cards, and the Z service sub-cards.
12. The method according to claim 1, characterized in that After the electronic device detects the first input, the method further includes: If the sum of the M and the N is greater than a third threshold, the electronic device generates and displays an eighth service card and a ninth service card according to the M service sub-cards and the N service sub-cards, wherein the eighth service card is different from the ninth service card.
13. The method according to any one of claims 1 to 12, characterized in that The method further comprises: The electronic device displays a tenth service sub-card, wherein the tenth service sub-card includes a first service sub-card and a second service sub-card; When the content displayed on the first service sub-card is updated from the first content to the second content, the electronic device updates the content displayed on the second service sub-card according to the second content.
14. An electronic device, characterized in that: include: one or more processors; one or more memories; display screen; the one or more memories store one or more computer programs, the one or more computer programs include instructions, when the instructions are executed by the one or more processors, the electronic device executes the method described in any one of claims 1 to 13.
15. A computer-readable storage medium comprising computer instructions, which, when executed on an electronic device, enables the electronic device to execute the method according to any one of claims 1 to 13.
16. A computer program, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 13.
17. A computer program product, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 13.
