A method for replacing application card and terminal device
By displaying the second user interface in the terminal device, allowing the user to generate and replace the application card, the problem of first deleting old cards in the prior art is solved, and the application card replacement and customization functions across applications are realized, improving the user experience.
Patent Information
- Application Number
- CN202280065592.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-04-29
- Filing Date
- 2022-12-12
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2042-12-12
AI Technical Summary
When replacing application cards, existing terminal devices need to delete the old cards first, resulting in poor user experience and inability to implement application cards replacement across applications.
By receiving the user's operation on the first application card, the second user interface is displayed, allowing the user to select and generate the second application card, and automatically delete the first application card, to realize the quick replacement of the application card.
The replacement of the application card is achieved without first removing the original application card. Users can customize the type, style, etc. of the new application card, improving the user interaction experience.
Smart Images

Figure CN118043767B_ABST
Abstract
Description
[0001] This application claims priority to the Chinese patent application filed on April 29, 2022, with application number 2022104753141 and invention name “A method and terminal device for replacing application cards”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to a method for replacing an application card and a terminal device. Background Art
[0003] With the development of terminal technology, mobile phones, tablet computers and other terminal devices have become indispensable tools for people's life, work, study and entertainment. At present, in order to provide convenience to users, terminal devices can display application cards on their main interface. Application cards refer to components that display the information content corresponding to one or some application pages in an application on the desktop of the terminal device. Compared with application icons, application cards not only provide users with an entrance to the application, but also display corresponding functional information, which is more attractive to users. For example, after a user triggers an application card, the terminal device can directly start the corresponding application and display the corresponding application page to fully present the information content; in addition, important information of the application can also be displayed on the application card for users to view.
[0004] The main interface of the terminal device can display different styles of application cards corresponding to the same application, and users can replace application cards of different styles. Currently, the way to replace application cards on terminal devices is to add a new application card. If the old style application card is not deleted, two cards of the same application will exist on the desktop at the same time. The user experience is not good. Summary of the invention
[0005] The present application provides a method and a terminal device for replacing an application card, so as to replace the application card more quickly.
[0006] In a first aspect, the present application provides a method for replacing an application card, comprising: receiving a first operation on a first application card on a first user interface; in response to the first operation, displaying a second user interface, wherein the second user interface includes a first option; receiving a second operation on the first option; in response to the second operation, displaying a third user interface, wherein the third user interface includes a second application card, and the second application card is a card generated in response to the second operation; and the terminal device automatically deletes the first application card.
[0007] The method provided in the embodiment of the present application does not need to remove the original application card first when replacing the application card. The application card can be quickly replaced through simple operations. In addition, the replaced new application card can have customized card type, style, etc., to achieve the replacement of application cards across applications, and provide a better user interaction experience.
[0008] In one implementation, the first user interface and the third user interface are desktops of the terminal device.
[0009] In one implementation, the first option includes a parameter setting option and a first control, and the second user interface also includes a preview area; receiving a second operation on the first option includes: receiving a third operation on the parameter setting option; the method further includes: generating a third application card in response to the third operation, and displaying the third application card in the preview area. In this way, the terminal device can follow the user's operation on the parameter setting option, so that the card in the preview area will change accordingly, so that the user can view the display effect of the set second application card in real time after completing the operation of the corresponding parameter setting option.
[0010] In one implementation, receiving a second operation on a first option further includes: receiving a fourth operation on a first control; in response to the second operation, displaying a third user interface, the third user interface including a second application card, and including: in response to the fourth operation, displaying the third user interface, and displaying the third application card in the third user interface. In this way, the terminal device allows the user to select correspondingly from each parameter setting option in the second user interface, thereby completing the parameter setting of the second application card, and providing a better user interaction experience.
[0011] In one implementation, the second user interface includes one or more of the following: a preview area, a first option; the first option includes one or more of the following: a parameter setting option, a first control, and a second control. The parameter setting option includes one or more of the following: application type, card type, layout, color, and size. In this way, the terminal device allows users to customize the size, color, layout, card type, application type, and other parameters of the application card, thereby achieving a fusion of customization and convenient interaction.
[0012] In one implementation, the parameter setting options include a first parameter setting option located within the display screen field of the terminal device and a second parameter setting option located outside the display screen field of the terminal device; the method further includes: receiving a fifth operation performed on the second user interface; and in response to the fifth operation, moving the second parameter setting option into the display screen field of the terminal device. In this way, the terminal device can allow the user to complete multiple parameter configurations of the second application card in the second user interface, and the user's interactive experience is better.
[0013] In one implementation, the parameters set by the first option include size; if the size of the second application card is less than or equal to the size of the first application card, the first user interface and the third user interface are the same desktop of the terminal device. In one implementation, the second application card is displayed at the position of the first application card. In this way, the terminal device compares the size of the generated second application card with the size of the first application card to ensure that the second application card can be displayed at the original position of the first application card, thereby replacing the application card at the original position.
[0014] In one implementation, if the size of the second application card is larger than the first size, the third user interface is a newly created desktop, and the third user interface is a desktop different from the first user interface, wherein the first size is the size of the largest blank area formed after deleting the first application card on the first user interface. In this way, when the interface where the first application card is located cannot display the second application card of large size, the terminal device can display the second application card by displaying a new screen interface to ensure that the second application card can replace the first application card for display, and the user's interactive experience is better.
[0015] In one implementation, the method further includes: receiving a sixth operation on the second control; in response to the sixth operation, closing the second user interface and displaying the first user interface. In this way, the terminal device allows the user to cancel the application card replacement operation at any time, and the user's interactive experience is better.
[0016] In one implementation, the first operation includes a plurality of sub-operations that are executed continuously; in response to the first operation, the second user interface is displayed, including: receiving a first sub-operation executed on a first application card; in response to the first sub-operation, selecting the first application card; receiving a second sub-operation executed on the first application card; in response to the second sub-operation, moving the first application card to a target position; receiving a third sub-operation executed on the first application card; and in response to the third sub-operation, generating the second user interface. In this way, the terminal device can support the user to generate the second user interface through continuous operations, so as to configure the second application card through the second user interface, and the user's interactive experience is better.
[0017] In one implementation, the method further includes: in response to the second sub-operation, displaying a prompt area at the target position; in response to detecting that the first application card is in contact with the prompt area, displaying a prompt animation in the prompt area. In this way, when the user moves the first application card, the terminal device can display the prompt area and the prompt animation, inform the user of the target position to move the first application card through the prompt area, and prompt the user through the prompt animation that the third sub-operation can trigger the display of the second user interface, so that the user's interactive experience is better.
[0018] In one implementation, the first operation includes a plurality of intermittently executed sub-operations; in response to the first operation, the second user interface is displayed, including: receiving a fourth sub-operation executed on the first application card; in response to the fourth sub-operation, selecting the first application card, and displaying an edit pop-up window at a side position of the first application card, wherein the edit pop-up window includes a third control; receiving a fifth sub-operation executed on the third control; and in response to the fifth sub-operation, generating the second user interface. In this way, the terminal device can support the user to generate the second user interface through intermittent operations, so as to configure the second application card through the second user interface, and the user's interactive experience is better.
[0019] In the second aspect, the present application also provides a terminal device, including a memory, a processor and a touch screen, the touch screen is used to display a user interface and obtain user operations, the memory stores computer program instructions, when the computer program instructions are executed by the processor, the terminal device executes the method of replacing application cards described in the first aspect.
[0020] In a third aspect, an embodiment of the present application further provides a computer storage medium, characterized in that program instructions are stored in the computer-readable storage medium, and when the program instructions are run on the computer, the computer executes the method of replacing application cards executed by the terminal device as described in the first aspect.
[0021] In a fourth aspect, an embodiment of the present application further provides a computer program product, characterized in that when the computer program product is run on a computer, the computer executes the method of replacing an application card executed by a terminal device as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0023] Figure 1A This is a schematic diagram of the current terminal device displaying application cards;
[0024] Figure 1B This is the flowchart of deleting application cards on the current terminal device;
[0025] Figure 1C This is the flowchart of adding application cards to terminal devices at present;
[0026] Figure 1D This is a flow chart of replacing the application card at the original location of the current terminal device;
[0027] Figure 2 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0028] Figure 3 is a flow chart of a method for replacing an application card provided in an embodiment of the present application;
[0029] Figure 4 is a schematic diagram of displaying a second user interface provided in an embodiment of the present application;
[0030] Figure 5 is another schematic diagram of displaying a second user interface provided in an embodiment of the present application;
[0031] Figure 6 is a schematic diagram of a second user interface provided in an embodiment of the present application;
[0032] Figure 7 is a schematic diagram of a sliding second user interface provided in an embodiment of the present application;
[0033] Figure 8 This is a schematic diagram of setting a second application card based on a second user interface provided in an embodiment of the present application;
[0034] Fig. 9 is another schematic diagram of setting a second application card based on a second user interface provided in an embodiment of the present application;
[0035] Fig.10 is a schematic diagram of displaying a small-sized second application card provided in an embodiment of the present application;
[0036] Fig.11 This is a schematic diagram of displaying a large-sized second application card provided in an embodiment of the present application;
[0037] Fig.12 is another schematic diagram of displaying a large-sized second application card provided in an embodiment of the present application;
[0038] Fig.13 It is a structural schematic diagram of a device for replacing an application card provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0040] With the development of terminal technology, mobile phones, tablet computers and other terminal devices have become indispensable tools for people's life, work, study and entertainment. At present, in order to provide convenience to users, terminal devices can display application cards on their main interface. Application cards refer to components that display the information content corresponding to one or some application pages in an application on the desktop of the terminal device. Compared with application icons, application cards not only provide users with an entrance to the application, but also display corresponding functional information, which is more attractive to users.
[0041] In one implementation, application cards can be implemented as desktop components (widgets), and each application can be displayed on the desktop in the form of widgets, such as memo widgets, mail widgets, calendar widgets, etc. Desktop components can realize different styles of display, and users can flexibly build UI (UserInterface) through different styles of widgets to enrich the display effect of the terminal device desktop.
[0042] The main interface of the terminal device can display application cards corresponding to different applications, and users can perform at least one operation such as editing, deleting, and adding other styles of cards through the application cards. At least one of the size, shape, layout, etc. of the cards of different styles is different. The size can be 2×2, 4×2, 4×4, etc., the shape can be square or rectangular, etc., and the layout can be the relative position relationship between the title and content corresponding to the application.
[0043] The size of the application card is determined by the number of icons that can be displayed on the desktop. If the size of the application card is 2×2, it means that the application card occupies an area surrounded by 4 icons, 2 horizontally and 2 vertically; if the size of the application card is 4×2, it means that the application card occupies an area surrounded by 8 icons, 4 horizontally and 2 vertically; if the size of the application card is 4×4, it means that the application card occupies an area surrounded by 16 icons, 4 horizontally and 4 vertically.
[0044] Figure 1A This is a schematic diagram of the current terminal device display application card. Figure 1A , the user can operate the target application in the terminal device to create an application card of a specified style, and display each application card of the specified style at a specified position on the main interface. For example, three application cards are added to the main interface of the terminal device, application card 1 is displayed in the upper left corner of the desktop, with a size of 2×2; application card 2 is displayed in the upper right corner of the desktop, with a size of 2×2; application card 3 is displayed in the middle of the left side of the desktop, with a size of 2×2.
[0045] At least one application card is displayed on the main interface. The user can edit the style of any application card, delete any application card, add application cards, and perform other operations.
[0046] Figure 1B This is the flowchart of deleting application cards on terminal devices. Figure 1B When the user wants to edit the application card 3, the user can long press 11 on the application card 3. In response to the long press 11 operation performed by the user on the application card 3, the terminal device adds a blurred mask or other non-transparent mask on the main interface, and displays the application card 3 and the edit box 100A on the mask. The mask can cover other content in the main interface, and the application card 3 and the edit box 100A in the main interface are exposed. In a possible implementation, the edit box 100A can be displayed on one side of the application card 3, such as Figure 1B As shown, an edit box 100A is displayed below the application card 3.
[0047] The edit box 100A displays an edit item 101, an add item 102, a remove item 103, etc. The edit item 101 is used to modify the content of the application card, the add item 102 is used to add a new application card on the desktop, and the remove item 103 is used to delete the current application card from the desktop.
[0048] When the user wants to delete the application card 3, he can click 12 the remove item 103 in the edit box. In response to the user's click 12 operation, the terminal device cancels the display of the edit box and pops up a confirmation pop-up window 200 at the bottom of the main interface. The confirmation pop-up window 200 displays a remove button 201 and a cancel button 202. Next, if the terminal device detects that the user clicks 13 the remove button 201, the application card 3 in the main interface is deleted; if it detects that the user clicks the cancel button 202, the confirmation pop-up window 200 is canceled, and the removal operation of the application card 3 is not performed. The application card 3 is still located at the original position of the main interface.
[0049] Figure 1C This is the flowchart of adding application cards to terminal devices. Figure 1C, when the user wants to add a new application card to the main interface, he can click 14 the add item 102 in the edit box 100A. The application corresponding to the newly added application card provided by the add item 102 is the same as the application corresponding to the application card touched by the user's finger when the edit box 100A is called out by long pressing 11, that is, the application card of the same application is added. For example, the user long presses 11 on the application card 3 to call out the edit box 100A. If the application card 3 is the application card of the application "Memo", the text displayed on the entry where the add item 102 is located in the edit box 100A is "More 'Memo' Cards", that is, the application card of "Memo" can be added by adding the item 102. In response to the user's click 14 operation on the add item 102, the terminal device pops up an add pop-up window 300 in the main interface. The alternative application cards displayed in the add pop-up window 300 are of the same type as the application cards that can be provided by the add item 102, and the home page of the add pop-up window 300 displays application cards of the same style as the application card 3. If the user wants to add application cards of other styles, the terminal device detects the user's left swipe 15 on the add pop-up window 300 and displays application cards of other styles provided by other pages.
[0050] For example, if the addition item 102 provides the addition of an application card of the "memo" type, an alternative application card of the "memo" type is displayed in the addition pop-up window 300. Next, when the terminal device detects that the user selects the application card displayed on the second page by swiping left 15 and clicks 16 the add button 301 in the addition pop-up window 300, the addition pop-up window 300 is hidden, and the selected application card form is added to the desktop.
[0051] It can be seen that the existing interaction process of adding new application cards is relatively complicated, and if the current screen has enough free space, the new application card will be displayed in the free space. If the current screen has no free space, the new application card needs to occupy a new screen of the smart device, which will take up too much screen space and is not convenient for users to manage. In addition, it is not possible to replace the original position of the original application card. For example, after the user triggers the edit box based on application card 3 and adds an application card 4, application card 4 cannot replace the content of application card 3, and will be displayed in the free position of the current screen or on another screen. In addition, the card type of the newly added application card is determined by the application corresponding to the added card, and application cards of other applications cannot be added, and the user experience is not good.
[0052] Figure 1D This is the flowchart of replacing the application card in the original position of the current terminal device. Figure 1D If the user wants to replace the original position of application card 3 with another new application card 4 and add application cards of other applications, the application card 3 can be deleted first. The implementation process of deleting application card 3 can be found in Figure 1BThe contents shown are not repeated here. Taking adding the application card corresponding to the address book as an example, a floating card 400 is displayed by long pressing 17 on the application address book, wherein: Figure 1D The operation identifier of the long press 17 is a combination of the finger identifier and the time identifier, which is used to characterize that the operation is an operation in which the finger keeps in contact with the screen, such as long press, drag, etc. The same operation identifiers in other figures can refer to the description here. In the floating card 400, click the add button 18 in the upper right corner to generate an application card 4 based on the new application, and the application card 4 is displayed in the original position of the application card 3. This interactive process of replacing the application card is relatively complicated and the operation consumes more time.
[0053] It can be seen that the current interactive process for editing application cards is complicated and has few editing functions. It is impossible to replace application cards through simple operations, and it is impossible to customize the style and type of application cards, resulting in a poor user interaction experience.
[0054] Therefore, in order to reduce the operation path of replacing application cards and further improve the user's operation experience, the embodiment of the present application provides a method for replacing application cards. The method provided in the embodiment of the present application can achieve application card replacement through simple operations, and the replaced new application card can customize the card type, style, etc., to achieve the replacement of application cards across applications, and the user's interactive experience is better. Among them, the customizable styles include but are not limited to size, color, layout, etc.
[0055] The method provided in the embodiments of the present application can be applied to terminal devices. The terminal devices include but are not limited to mobile phones, tablet computers, personal computers, workstation devices, large-screen devices (e.g., smart screens, smart TVs, etc.), wearable devices (e.g., smart bracelets, smart watches), handheld game consoles, home game consoles, virtual reality devices, augmented reality devices, mixed reality devices, etc., in-vehicle smart terminals, etc.
[0056] Figure 2 Schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Figure 2The terminal 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 button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, 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, etc.
[0057] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal 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.
[0058] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated into one or more processors. 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.
[0059] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory 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 may be directly called from the memory.
[0060] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.
[0061] 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 terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.
[0062] 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 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.
[0063] The wireless communication function of the terminal 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.
[0064] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal 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.
[0065] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal 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.
[0066] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0067] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth, etc. applied to the terminal device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module.
[0068] The terminal 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, which execute program instructions to generate or change display information.
[0069] The terminal device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0070] 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 terminal 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.
[0071] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a file transfer function, an album function, etc.), etc. The data storage area can store data (such as files, photos, videos, etc.) created during the use of the terminal device 100.
[0072] The terminal 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.
[0073] 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. When a touch operation is applied to the display screen 194, the terminal device 100 detects the touch operation intensity according to the pressure sensor 180A. The terminal 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.
[0074] The gyro sensor 180B may be used to determine the motion posture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.
[0075] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
[0076] The magnetic sensor 180D includes a Hall sensor. The terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the terminal device 100 is a folding screen mobile phone, the terminal device 100 can detect the opening and closing of the folding screen mobile phone according to the magnetic sensor 180D.
[0077] The acceleration sensor 180E can detect the magnitude of acceleration in various directions (generally three axes) of the terminal device 100. When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected.
[0078] The distance sensor 180F is used to measure the distance. The terminal device 100 can measure the distance by infrared or laser.
[0079] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100.
[0080] The ambient light sensor 180L is used to sense the ambient light brightness. The terminal 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 terminal device 100 is in a pocket to prevent accidental touch.
[0081] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0082] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
[0083] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect a touch operation 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.
[0084] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of a human body's vocal part. The bone conduction sensor 180M can also contact a human body's pulse to receive a blood pressure pulse signal. In some embodiments, the bone conduction sensor 180M can also be disposed in an earphone to form a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of a vibrating bone block of a vocal part obtained by the bone conduction sensor 180M to implement a voice function.
[0085] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The terminal device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100.
[0086] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. Motor 191 can also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194.
[0087] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0088] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the terminal device 100 by inserting the SIM card interface 195 or pulling the SIM card interface 195 out. The terminal device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
[0089] It will be apparent to those skilled in the art that some of the specific details presented above regarding the terminal device 100 may not be necessary for practicing a particular embodiment or its equivalent. Similarly, other terminal devices may include a greater number of modules, components, etc. Where appropriate, some modules may be implemented as software or hardware. Therefore, it should be understood that the above description is not intended to be exhaustive or to limit the present application to the precise form described herein. On the contrary, it will be apparent to those skilled in the art that many modifications and variations are possible based on the above teachings.
[0090] Figure 3 This is a flow chart of a method for replacing an application card provided in an embodiment of the present application.
[0091] like Figure 3 As shown, the method for replacing an application card can be applied to a terminal device, and the method may include the following steps:
[0092] Step S101: receiving a first operation on a first application card on a first user interface.
[0093] Step S102: In response to the first operation, display a second user interface, wherein the second user interface includes a first option.
[0094] Step S103: receiving a second operation on the first option.
[0095] Step S104: In response to the second operation, display a third user interface, where the third user interface includes a second application card, and the second application card is a card generated in response to the second operation.
[0096] Step S105: the terminal device automatically deletes the first application card.
[0097] The first user interface may be the main interface of the terminal device, and at least one application card pre-added by the user is displayed in the main interface, and the first application card is one of the at least one application card. When the user needs to replace any application card in the main interface with a new application card, the terminal device displays the second application card in the third user interface, and deletes the first application card. The first application card corresponds to the replaced application card, and the second application card corresponds to the new application card.
[0098] The first user interface and the third user interface are desktops of the terminal device, and the second user interface is an interface for the user to set the second application card, and the second user interface includes: one or more of a preview area, a first option, etc. The first option includes one or more of a parameter setting option, a first control, a second control, etc., and the first option is used to select the parameters of the second application card.
[0099] In the embodiment of the present application, the first operation and the second operation may include one or more of a sliding operation, a multi-finger sliding operation, a single-click screen operation, a multi-click screen operation, a multi-finger single-click screen operation, and a multi-finger multi-click screen operation performed by a user on the first user interface. The embodiment of the present application does not make any specific limitation. As long as the operation can be triggered by the terminal device to display the second user interface in response, it can be the first operation; and the operation that can be responded by the terminal device to generate a second application card can be the second operation. Among them, the multi-finger sliding operation of the user can be, for example, a multi-finger sliding operation of a single hand of the user, or a multi-finger sliding operation of both hands of the user, and can be a sliding operation of multiple fingers in the same direction, or a sliding operation of multiple fingers in different directions. The embodiment of the present application does not make any specific limitation on this; the multi-finger multi-click screen operation of the user can be, for example, a multi-finger multi-click screen operation of a single hand of the user, or a multi-finger multi-click screen operation of both hands of the user, and the embodiment of the present application does not make any specific limitation on this.
[0100] In some embodiments, the first operation may be a combination of two or more operations, for example, the first operation includes multiple sub-operations. In one implementation, the multiple sub-operations may be continuously executed, that is, the finger is not lifted from the screen during the continuous execution of the multiple sub-operations. In one implementation, the multiple sub-operations may be intermittently executed, that is, after executing the first sub-operation, lift the finger from the screen and then execute the second sub-operation on the screen.
[0101] Figure 4 It is a schematic diagram of displaying a second user interface provided in an embodiment of the present application.
[0102] In one implementation, Figure 4 As shown, when switching to display the second user interface for generating the second application card, the first operation may be a plurality of sub-operations continuously performed by the user in the first user interface. To this end, step S102 may specifically include the following steps S201-S203:
[0103] Step S201: receiving a first sub-operation performed on a first application card.
[0104] Step S202: In response to the first sub-operation, a first application card is selected.
[0105] Step S203: receiving a second sub-operation performed on the first application card.
[0106] Step S204: In response to the second sub-operation, the first application card is moved to a target position.
[0107] Step S205: receiving a third sub-operation performed on the first application card.
[0108] Step S206: generating a second user interface in response to the third sub-operation.
[0109] For example, the first sub-operation may be an operation in which the user long presses 41 the first application card 10. The second sub-operation may be an operation in which the first application card is dragged 42 to a target position, and the third sub-operation may be an operation in which the user lifts the finger from the first application card. The first sub-operation, the second sub-operation, and the third sub-operation are performed continuously, that is, the user's finger is always in contact with the screen during the process of performing the first sub-operation and the second sub-operation based on the first application card, and the execution of the third sub-operation is completed when the finger is lifted from the first application card.
[0110] In step S201 and step S202, the terminal device detects that the user performs a first sub-operation on the first application card 10 in the first user interface, such as long pressing 41 the first application card 10, and an editing pop-up window 100A pops up on one side of the first application card 10 for display, such as popping up the editing pop-up window 100A on the upper side (or lower side) of the first application card 10. The terminal device blurs the first user interface, and adds a blurred mask or other non-transparent mask to the first user interface, so as to cover other display contents in the first user interface through the mask, and expose the first application card 10 and the editing pop-up window 100A for display.
[0111] When the mask is presented in the first user interface, and / or when the editing pop-up window 100A is displayed on one side of the first application card 10, it indicates that the first operation is completed, and then the finger is slid 42 toward the target position with the finger always in contact with the screen.
[0112] Exemplarily, the target position may be one of the lower left corner of the screen, the lower right corner of the screen, the bottom center of the screen, the upper right corner of the screen, the upper left corner of the screen, the top center of the screen, etc. Then, the target sliding direction may be one of the direction of sliding toward the lower left corner of the screen, the direction of sliding toward the lower right corner of the screen, the direction of sliding toward the bottom center of the screen, the direction of sliding toward the upper right corner of the screen, the direction of sliding toward the upper left corner of the screen, the direction of sliding toward the top center of the screen, etc.
[0113] In step S203 and step S204, the terminal device detects that the user performs a second sub-operation on the first application card 10 in the first user interface, such as dragging 42 the first application card to the target position of the screen, and displays a prompt area 500 at the target position of the screen, such as the prompt area 500 is located in the lower left corner of the screen. The terminal device can also cancel the display of the editing pop-up window 100A, and restore the first user interface to a visible state. That is, when the first application card is dragged 42 at the target position of the user's screen, the user can see other content displayed in the first user interface.
[0114] As the user drags 42 the first application card 10 to the lower left corner, the distance between the first application card 10 and the prompt area 500 is getting closer and closer. When the first application card 10 contacts the prompt area 500, the terminal device displays a prompt animation 501 around the prompt area 500. The prompt animation 501 is used to prompt the user that the third sub-operation can trigger the display of the second user interface. The initial area of the prompt animation 501 is the same as the area of the prompt area 500, and it is in a state of diverging to the surroundings. For example, as the first application card 10 is dragged 42 so that its contact area with the prompt area 500 gradually increases, the divergent area of the prompt animation 501 around the prompt area 500 also gradually increases, that is, the degree of divergence to the surroundings gradually increases. When the first application card 10 responds to the drag 42 operation so that the contact area between one end of the first application card 10 and the prompt area 500 reaches the maximum, the divergence degree of the prompt animation 501 reaches the maximum.
[0115] In step 205 and step S206, the terminal device detects that the user performs a third sub-operation on the first application card 10, for example, when the user lifts his finger from the first application card, a second user interface is generated.
[0116] Figure 5 This is another schematic diagram for displaying the second user interface provided in an embodiment of the present application.
[0117] In one implementation, Figure 5 As shown, when switching to display the second user interface for generating the second application card, the first operation may be a plurality of sub-operations intermittently performed by the user in the first user interface. To this end, step S102 may further specifically include the following steps S301-S302:
[0118] Step S301: receiving a fourth sub-operation performed on a first application card.
[0119] Step S302, in response to the fourth sub-operation, the first application card is selected, and an editing pop-up window is displayed on one side of the first application card, wherein the editing pop-up window includes a third control.
[0120] Step S303: receiving a fifth sub-operation performed on the third control.
[0121] Step S304: In response to the fifth sub-operation, generate a second user interface.
[0122] Exemplarily, the fourth sub-operation may be a long-press screen operation, i.e., the user long-presses 51 the first application card 10. The fifth sub-operation may be a single-click screen operation, i.e., the user clicks 52 the screen. The fourth sub-operation and the fifth sub-operation are performed intermittently, i.e., the user first performs the first operation based on the first application card 10, lifts the finger from the screen, and then performs the second operation.
[0123] In step S301 and step S302, the terminal device detects that the user performs the fourth sub-operation on the first application card 10 in the first user interface, such as long pressing 51 on the first application card 10, and an editing pop-up window 100A pops up on one side of the first application card 10 for display. The terminal device blurs the first user interface, adds a blurred mask or other non-transparent mask to the first user interface, so as to cover other display contents in the first user interface through the mask, and expose the first application card 10 and the editing pop-up window 100A for display.
[0124] The editing pop-up window 100A displays multiple controls, including but not limited to an edit item 101, an add item 102, a replace item 104, and a remove item 103. The editing pop-up window provided in the embodiment of the present application can provide more operation functions than the currently commonly used edit box, that is, the editing pop-up window provided in the embodiment of the present application is configured with a replace item 104, such as Figure 5 The "Replace other cards" item in the pop-up window 100A can be used to replace the original position of the application card. The editing function, adding function and removing function provided by the editing pop-up window 100A can refer to the content of the currently commonly used editing box provided in the above embodiment, and will not be repeated here.
[0125] In step S303 and step S304, when the third control is the replacement item 104, the terminal device detects that the user performs the fifth sub-operation on the replacement item 104 in the editing pop-up window 100A, such as clicking 52 on the replacement item 104 in the editing pop-up window 100A, and generates a second user interface replacement displayed on the screen of the terminal device.
[0126] The embodiments of the present application provide the above-mentioned two methods of triggering the display of the second user interface through user operations. One is that the user long presses the first application card and drags the first application card to the target position, and lifts the finger at the target position to trigger the generation of the second user interface. The other is that the user long presses the first application card and then moves the finger away from the screen, and then clicks the replacement item in the edit box to trigger the generation of the second user interface. Both triggering methods can generate a second user interface for configuring the parameters of the second application card, which can be applied in different scenarios, so that users can replace the original position of the application card, and the user's interactive experience is better. It should be noted that the method for generating the second user interface can also be a combination of other operations or other generation methods, which will not be repeated or limited here.
[0127] Figure 6 It is a schematic diagram of the second user interface provided in an embodiment of the present application.
[0128] like Figure 6As shown, in order to facilitate the user to generate the second application card based on the second user interface, the second user interface includes a first option and a preview area, the first option includes a first control, a second control and at least one parameter setting option for generating the second application card, and each parameter setting option is used to select a parameter for generating the second application card. The second user interface can allow users to customize at least one or more parameters such as the size, color, layout, card type, application type, etc. of the application card, completing the integration of customization and convenient interaction. The first control may include a replace button 608, and the second control may include a cancel button 607.
[0129] In the embodiment of the present application, the parameter setting options include at least one or more combinations of application type parameter setting options 601, card type parameter setting options 602, layout parameter setting options 603, color parameter setting options 604, size parameter setting options, etc. The application type parameter setting option 601 is used to provide one or more of different application categories, such as office efficiency, audio and video entertainment, guess you like, and freshly launched application types; one application category corresponds to at least one application. The card type parameter setting option 602 is used to provide application cards corresponding to different applications under the same application type (i.e., the same application category). For example, under the application type of office efficiency, it can provide applications such as memos and schedules, so the card type is the application card corresponding to applications such as memos and schedules. Among them, the application card provided by the memo application is the "all notes" card, and the application card provided by the schedule application is the "schedule" card. The layout parameter setting option 603 is used to provide multiple layout methods for different information displayed by the application card. When the two parts of the title and content are displayed on the application card, the layout refers to the relative position relationship between the title and the content. For example, the title and content are in a left-right layout structure, the title and content are in a top-down layout structure, etc. The color parameter setting option 604 provides multiple color blocks for changing the display color of the application card, such as changing the background color. The size parameter setting option is used to provide multiple sizes of the application card, such as 2×2, 4×2, 4×4, etc.; by selecting different sizes, the shape of the application card can be set to be square or rectangular, etc.
[0130] In one implementation, the user can complete the parameter setting of the second application card by selecting the corresponding parameter setting options in the second user interface. In order to facilitate the user to view the display effect of the set second application card in real time after completing the operation of the corresponding parameter setting option, the embodiment of the present application can also display a preview area 606 in the second user interface. The preview area can be displayed at the top or bottom of the second user interface, and the rest is used to display the content of each parameter setting option. Figure 6 The state shown is that the preview area 606 is located at the top position of the second user interface.
[0131] In one implementation, since the display area of the second user interface is limited, when displaying all parameter setting options in the second user interface, it may not be possible to simultaneously present them in the visible area of the second user interface, so that the second user interface includes a first parameter setting option located in the visual field of the display screen of the terminal device and a second parameter setting option located outside the visual field of the display screen area of the terminal device. To this end, some parameter setting options may be displayed in the visible area of the second user interface, while the remaining parameter setting options are displayed in the invisible area of the second user interface. When the user needs to operate the parameter setting options in the invisible area, the terminal device moves the second parameter setting options to the visual field of the display screen of the terminal device in response to the fifth operation performed by the user on the second user interface. Exemplarily, the fifth operation may include a sliding 71 operation, so that the user performs a sliding 71 operation on the second user interface, and the terminal device displays the parameter setting options in the invisible area in the visible area of the second user interface by sliding, so that the user can perform interactive operations.
[0132] Figure 7 It is a schematic diagram of a sliding second user interface provided in an embodiment of the present application.
[0133] like Figure 7 As shown, in order to facilitate the user to operate the parameter setting options that are not displayed in the visible area of the second user interface, the terminal device responds to the user's sliding operation 71 on the second user interface, and displays the parameter setting options that were originally not displayed in the visible area in the visible area by sliding.
[0134] Exemplarily, if the sorting method of the various parameter setting options in the second user interface is to put the size parameter setting option in the last position, the size parameter setting option 605 is located in the invisible area of the second user interface. Then, when the user needs to change the size of the second application card, the size parameter setting option 605 is displayed in the visible area of the second user interface by sliding upward 71. In response to the user's upward sliding 71 operation on the second user interface, the terminal device slides the parameter setting options in the invisible area upward to display them in the visible area of the second user interface. If the user wants to view the parameter setting options that are slid into the invisible area by sliding upward, the terminal device slides the parameter setting options in the invisible area downward to display them in the visible area of the second user interface in response to the user's downward sliding operation on the second user interface.
[0135] When the second user interface is slid upward or downward, the preview area 606, the application type parameter setting option 601, the cancel button 607 and the replace button 608 are fixed, and the remaining parameter setting options move along the sliding direction.
[0136] In one implementation, when the user sets the relevant parameters of the second application card based on the various parameter setting options provided by the second user interface, since each parameter setting option provides multiple parameter setting option contents, and the horizontal space of the screen is limited, it is impossible to display all the multiple parameter setting option contents provided by the target parameter setting option in the visible area of the second user interface. Therefore, in order to facilitate the user to select the parameter setting option contents that are relatively far back, the terminal device can respond to the user's left or right sliding operation on the target parameter setting option, so as to display more parameter setting option contents in the visible area of the second user interface through the sliding operation.
[0137] When the second user interface is swiped left or right, the target parameter setting option responding to the left or right sliding operation switches the corresponding parameter setting option content along the sliding direction, while the remaining parameter setting options, preview area 606, cancel button 607 and replace button 608 remain fixed.
[0138] In one implementation, the second user interface also includes a cancel button 607 and a replace button 608, wherein the cancel button 607 is used to cancel the replacement operation of the application card, and the replace button 608 is used to confirm the replacement operation of the application card to determine the generation of the second application card.
[0139] In one implementation, since the second user interface is the interface presented after the user performs the first operation on the first application card in the first user interface, the first application card 10 is displayed by default in the preview area 606 of the second user interface, and the control focus corresponding to each parameter setting option selects the corresponding parameter of the first application card by default. For this reason, when the parameters of the second application card are not configured, the terminal device uses the parameters of the first application card as the default parameters of the second application card, and displays the preview image of the second application card in the preview area.
[0140] Exemplarily, the terminal device obtains configuration parameters of the first application card, including: application type is "office efficiency", card type is "file management", layout is tiled, color is beige, and size is 4×2. Then, combined with Figure 6 and Figure 7As shown, in response to obtaining the parameters of the first application card, the terminal device displays an application card with the application type of "office efficiency", the card type of "file management", the layout of the tile mode, the color of blue, and the size of 4×2 in the preview area 606 of the second user interface; and the terminal device controls the application type parameter setting option 601 in the second user interface to select "office efficiency" by default, the card type parameter setting option 602 to select the style of "file management" by default, the color parameter setting option 604 to select the blue color block by default, and the size parameter setting option 605 to select the size item of 4×2 by default. Since the "file management" style type may not have the division of title and content, no matter it is laid out in a left-right or top-bottom layout structure, its presentation effect is a tiled effect. Therefore, the layout may not be selected by default in the layout parameter setting option 603, or the first layout mode provided by the layout parameter setting option may be selected by default.
[0141] In one implementation, the control focus corresponding to each parameter setting option in the second user interface may not select the corresponding parameter of the first application card by default, but may be displayed in sequence according to the order of the parameter setting option contents provided by each parameter setting option, and the selected state of the control focus is not displayed on each parameter setting option content. Alternatively, the control focus selects the first parameter setting option content provided by each parameter setting option by default.
[0142] It is understandable that the above-mentioned various ways of displaying the initial state of the second user interface may be determined according to actual application conditions, and the embodiments of the present application do not specifically limit them.
[0143] In the embodiment of the present application, the application type parameter setting option 601 belongs to the main parameter setting option, the card type parameter setting option 602 and the layout parameter setting option 603 belong to the subsidiary parameter setting option, and the color parameter setting option 604 and the size parameter setting option 605 belong to the general parameter setting option. Then, when the user switches different application types based on the application type parameter setting option 601, the content of the parameter setting option provided as the subsidiary parameter setting option changes with the switching of the main parameter setting option. However, the content of the parameter setting option provided as the general parameter setting option does not change with the switching of the main parameter setting option, that is, the content of the parameter setting option provided by the general parameter setting option remains unchanged.
[0144] Exemplarily, when the user selects the "office efficiency" type in the application type parameter setting option 601, the card type parameter setting option 602 provides application cards of different applications corresponding to the "office efficiency" type, such as application cards corresponding to memos, schedules, and other applications; the layout parameter setting option 603 provides a layout method that meets the display requirements of all note, schedule, and other application cards, such as a left-right layout structure method, an up-and-down layout structure method, and the like. When the user selects the "audio and video entertainment" type in the application type parameter setting option 601, the card type parameter setting option 602 provides application cards of different applications corresponding to the "audio and video entertainment" type, such as application cards corresponding to music, video, and other applications; the layout parameter setting option 603 provides a layout method that meets the display requirements of music, video, and the like, such as a tiled layout structure method, and the like.
[0145] In one implementation, when displaying various parameter setting options in the second user interface, the application type parameter setting option (main parameter setting option) that causes changes in the option content of other parameter setting options is displayed first, followed by the parameter setting options (subsidiary parameter setting options) that may change with the switching of the application type, and finally the parameter setting options (general parameter setting options) that do not change with the switching of the application type are displayed.
[0146] For example, when the preview area 606 is displayed at the top of the second user interface, the application type parameter setting option 601 is displayed below the preview area 606. The card type parameter setting option 602 and the layout parameter setting option 603 are displayed below the application type parameter setting option 601, and the order between the two is not limited. Finally, the color parameter setting option 604 and the size parameter setting option 605 are displayed, and the order between the two is also not limited.
[0147] In one implementation, the display order of the various parameter setting options displayed in the second user interface may also be determined according to actual application conditions, which is not specifically limited here.
[0148] Figure 8 This is a schematic diagram of setting a second application card based on a second user interface provided in an embodiment of the present application.
[0149] In one implementation, Figure 8 As shown, when the user performs a second operation on at least one parameter setting option in the second user interface to generate a second application card 20, step S103 may specifically include: receiving a third operation on the parameter setting option. Then, the method may also include: the terminal device generates a third application card in response to the third operation and displays it in the preview area 606.
[0150] The third application card is equivalent to the preview image of the second application card. As the user operates on the option setting parameters, the third application card in the preview area 606 will change accordingly.
[0151] When the parameters of the second application card are not configured, the third application card displayed in the preview area is an application card with the configuration parameters of the first application card; when the parameters of the second application card are configured, the third application card displayed in the preview area changes as the user operates on the option setting parameters; when the parameters of the second application card are configured, that is, when the first control is clicked, the third application card is the second application card finally displayed in the third user interface, that is, the second application card is the third application card with at least one parameter set by the user.
[0152] The user can click on at least one parameter setting option to complete the parameter setting of the second application card. Then, the second operation may include a third operation that is performed at least once or multiple times intermittently. Exemplarily, the third operation may be an operation of clicking on the screen, that is, an operation of the user clicking on at least one parameter setting option in the second user interface. Each time the user clicks on a parameter setting option, the corresponding parameter of the second application card can be configured.
[0153] In one implementation, see Figure 8 The terminal device generates a second user interface in response to the first operation 81 performed by the user on the first application card 10 in the first user interface. The specific process can be seen above. Figure 4 or Figure 5 In the embodiment shown, if the card type of the first application card is "File Management", the default parameters of the application card corresponding to "File Management" are displayed in the preview area 606 in the second user interface.
[0154] For example, since the application type of the "File Management" application is "Office Efficiency", the "Office Efficiency" type is selected by default in the application type parameter setting option 601. Therefore, if the user needs to replace the application cards of other applications in the office efficiency category, there is no need to click on the office efficiency parameter setting option. Then the content in the card type parameter setting option 602 also displays the application card content of each application corresponding to the "Office Efficiency" category by default. For example, the content in the card type parameter setting option 602 displays the application cards of applications such as memos and schedules, and the layout parameter setting option 603 displays the layout methods that can be provided by the application cards of the above applications, such as top-bottom layout, left-right layout, etc.
[0155] In order to facilitate the user to see the effect of the customized second application card in real time, the terminal device can update the display effect of the preview image (third application card) in the preview area in real time based on the user's selection in the preview area. In response to the user's click operation on at least one parameter setting option in the second user interface, the terminal device determines the parameters of the second application card and displays the preview image of the second application card in the preview area according to the parameters of the second application card; the terminal device updates the preview image in response to the user's click operation on at least one parameter setting option.
[0156] For example, when the terminal device detects that the user clicks the application card corresponding to the "All Notes" application in the card type parameter setting option 602, the terminal device can display the application card of this type in the preview area 606. The application card in the preview area 606 can initially be displayed in a default layout and color, such as top-bottom layout, yellow, etc.
[0157] Next, when the terminal device detects that the user clicks on the left-right layout parameter setting option in the 83 layout parameter setting option 603, the layout of the application card in the preview area 606 can be replaced from the top-bottom layout structure to the left-right layout structure. When the terminal device detects that the user clicks on the green color block in the 84 color parameter setting option 604, the background color of the application card in the preview area 606 can be replaced with green.
[0158] Combination Figure 7 and Figure 8 As shown, when the terminal device detects that the user clicks on any size in the size selection item 605, the size of the application card in the preview area 606 can be replaced with the size. For example, when the size of the application card displayed in the preview area 606 is 4×2, if the terminal device detects that the user clicks on the 2×2 parameter setting option, the size of the application card in the preview area can be replaced from 4×2 to 2×2.
[0159] In one implementation, step S103 may further include: receiving a fourth operation on the first control. Then, step S104 may further include: displaying a third user interface in response to the fourth operation, and displaying a third application card on the third user interface.
[0160] Exemplarily, the first control is a replacement button 608, and the fourth operation can be a click operation. When the terminal device detects that the user clicks 85 the replacement button 608 in the second user interface, the third user interface is displayed, and the third application card displayed in the preview area is displayed in the third user interface. The third application card generated based on the various parameters set above is the second application card 20, and the second application card 20 replaces the first application card 10 for display. For example: the first application card 10 is removed, and the second application card 20 is displayed at the original position of the first application card 10 to display the first user interface including the second application card 20.
[0161] In one implementation, the method further includes: receiving a sixth operation on the second control; and in response to the sixth operation, closing the second user interface and displaying the first user interface.
[0162] Exemplarily, the second control is a cancel button 607, and the sixth operation may be a click operation. If the user does not want to replace the application card, the user may click the cancel button 607. When the terminal device detects that the user clicks the cancel button 607 in the second user interface, the application card is not replaced, the display of the second user interface is canceled, and the display returns to the first user interface, and the first application card 10 in the first user interface is still displayed in the original position.
[0163] It can be seen that the method for replacing application cards provided in the embodiment of the present application is that after the user implements the parameter settings of the second application card in the second user interface based on the aforementioned content, the user triggers the replacement button in the second user interface to remove the first application card, and display the second application card at the original position of the first application card, thereby achieving the interactive effect of replacing the new application card at the original position without removing the original application card first.
[0164] Fig. 9 This is another schematic diagram of setting a second application card based on a second user interface provided in an embodiment of the present application.
[0165] For example, see Fig. 9 , the terminal device generates a second user interface in response to the first operation 91 performed by the user on the first application card 10 in the first user interface. If the card type of the first application card 10 is "file management", the default parameters of the application card corresponding to the "file management" application are displayed in the preview area 606 in the second user interface. The implementation process of the terminal device generating the second user interface in response to the first operation 91 can refer to the content of the aforementioned embodiment, which is not repeated here.
[0166] Since the application type of the first application card is the "office efficiency" type, if the user wants to replace the first application card 10 with an application card of another application type, such as an application card of the "audio and video entertainment" type, the terminal device can switch the card type parameter setting option 602 and the layout parameter setting option 603 to the content corresponding to the "audio and video entertainment" type when detecting that the user clicks the "audio and video entertainment" type in the application type parameter setting option 601 in the second user interface. For example, the content in the card type parameter setting option 602 can be switched to application cards such as music and video. The music application card can be provided by music application A, and the video application card can be provided by video application B; and the layout methods that can be provided by the above card types are displayed in the layout parameter setting option 603, such as: star layout method and triangle layout method, etc.
[0167] For example, when the terminal device detects that the user clicks on the application card of the "video type" application in the card type parameter setting option 602, the application card, such as the application card of "video application B", can be displayed in the preview area 606. The size of the application card in the preview area 606 is the same as the size of the first application card 10 by default, and the terminal device switches to display the layout mode corresponding to the application card in the preview area 606 in the layout parameter setting option 603.
[0168] Next, when the terminal device detects that the user clicks on the first layout structure parameter setting option in the 94 layout parameter setting option 603, such as the star layout mode, the layout of the application card in the preview area 606 can be switched from the default layout structure of "Video Application B" to the star layout mode. When the terminal device detects that the user clicks on the pink color block in the 95 color parameter setting option 604, the background color of the application card in the preview area 606 can be set to pink. When the terminal device detects that the user clicks on the target size in the size parameter setting option 605, the size of the application card in the preview area 606 can be replaced with the target size.
[0169] After the user configures the corresponding parameters of the second application card 20 based on at least one parameter setting option in the second user interface, when the terminal device detects that the user clicks the replacement button 608 in the second user interface, the terminal device generates the second application card 20 based on the aforementioned parameters, and displays the second application card 20 to replace the first application card 10. For example, the first application card 10 is removed, and the second application card 20 is displayed at the original position of the first application card 10.
[0170] If the user does not want to replace the application card, the user can click the cancel button 607. When the terminal device detects that the user clicks the cancel button 607 in the second user interface, the application card is not replaced, the display of the second user interface is canceled, and the display returns to the first user interface. At this time, the first application card 10 in the first user interface is still displayed in the original position.
[0171] It can be seen that the method for replacing application cards provided in the embodiment of the present application can realize the on-site replacement of different types of application cards across applications, and can replace the size of application cards, thereby achieving a quick interactive effect of replacing new application cards in the original position without removing the original application cards first, and providing a better user interaction experience.
[0172] In one implementation, since the user can modify the size of the second application card 20 when setting the relevant parameters of the second application card 20 based on the second user interface, the size of the second application card 20 may be different from that of the first application card, and the second application card is displayed in the first user interface where the first application card is located, or in another screen interface. For example, the size of the first application card 10 is 4×2, while the size of the second application card 20 is 2×2 or 4×4.
[0173] If the size of the newly customized application card is smaller than or equal to the size of the first application card 10, the second application card 20 can be displayed at the original position of the first application card 10, indicating that the first user interface and the third user interface are the same desktop of the terminal device. If the size of the second application card 20 is larger than the size of the first application card 10, the second application card 20 cannot be displayed at the original position of the first application card 10.
[0174] In one implementation, when the size of the second application card 20 is larger than the size of the first application card 10, if the size of the second application card is less than or equal to the first size, the second application card can still be displayed in the first user interface, indicating that the first user interface and the third user interface are the same desktop of the terminal device; if the size of the second application card is larger than the first size, the second application card cannot be displayed in the first user interface, then the third user interface is a newly created desktop, and the third user interface is a different desktop from the first user interface.
[0175] The first size is the size of the largest blank area formed after deleting the first application card on the first user interface. Exemplarily, the size of the largest blank area is the sum of the original blank area of the first user interface and the size of the first application card 10 .
[0176] To this end, when the terminal device performs application card replacement display, the second application card 20 may be displayed in different ways based on the size relationship between the first application card 10 and the second application card 20 .
[0177] Fig.10 It is a schematic diagram of displaying a small-sized second application card provided in an embodiment of the present application.
[0178] In one implementation, see Fig.10 If the size of the second application card 20 is smaller than or equal to the size of the first application card 10, for example, the size of the first application card is 4×2 and the size of the second application card is 2×2, it means that the original position of the first application card 10 can be replaced by the second application card 20, that is, the first user interface and the third user interface are the same desktop of the terminal device. Then, when the terminal device detects that the user clicks the replacement button 608 in the second user interface, the first application card 10 can be removed and the second application card 20 can be displayed at the original position of the first application card 10. Since the small-sized second application card 20 replaces the large-sized first application card 10, the second application card 20 cannot completely occupy the position of the first application card 10, leaving an empty position.
[0179] Fig.11 This is a schematic diagram of displaying a large-size second application card provided in an embodiment of the present application.
[0180] In one implementation, see Fig.11 If the size of the second application card 20 is larger than that of the first application card 10, for example, the size of the first application card 10 is 4×2 and the size of the second application card 20 is 4×4, it means that the original position of the first application card 10 cannot directly replace the second application card 20. Then, in order to display the second application card 20 in the current screen where the first application card 10 is located, it can be determined whether there is enough space on the current screen where the first application card 10 is located to display the second application card 20 of a large size.
[0181] In the embodiment of the present application, the terminal device determines the size relationship between the sum of the blank area of the first user interface and the size of the first application card 10 (i.e., the first size) and the size of the second application card 20 to determine whether the second application card 20 is displayed in the display screen field of the first application card 10 or in another screen interface. The blank area is the area of the first user interface in the display screen field that does not include application cards.
[0182] For example, see Fig.11, if the sum of the size of the blank area and the area A enclosed by the first application card (i.e., the first size) is greater than or equal to the size of the second application card, for example, the total size of the enclosed area A is 4×4, and the size of the second application card is 4×4, it means that the second application card 20 of large size can be displayed in the current screen of the first application card 10, and further indicates that the first user interface and the third user interface are the same desktop of the terminal device. Then, when the terminal device detects that the user clicks the replacement button 608 in the second user interface, the first application card 10 can be removed, and the second application card 20 can be displayed at the original position of the first application card 10 and the position of the area A enclosed by the adjacent blank area.
[0183] Fig.12 This is another schematic diagram of displaying a large-size second application card provided in an embodiment of the present application.
[0184] In one implementation, see Fig.12 , if the sum of the size of the blank area and the area A enclosed by the first application card (i.e., the first size) is smaller than the size of the second application card 20, for example, the total size of the enclosed area A is 4×3, and the size of the second application card is 4×4, it means that the second application card 20 of large size cannot be displayed in the current screen of the first application card 10, that is, it means that the third user interface is a newly created desktop, and the third user interface is a desktop different from the first user interface. Then, when the terminal device detects that the user clicks the replacement button 608 in the second user interface, a new screen interface B is displayed in the first user interface, and the new screen interface B is the third user interface. The second application card 20 is displayed in the new screen interface B, and the first application card 10 is removed. In response to the user's right swipe 1201 operation on the new screen interface B where the second application card 20 is located, the first user interface switches from displaying the new screen interface B to the screen where the original first application card 10 is located, and in the screen where the first application card 10 is located, the original position of the first application card 10 is empty.
[0185] It can be seen that the embodiment of the present application provides a method and terminal device for replacing an application card, wherein the terminal device receives a first operation on a first application card on a first user interface; in response to the first operation, displays a second user interface, the second user interface includes a first option; receives a second operation on the first option; in response to the second operation, displays a third user interface, the third user interface includes a second application card, and the second application card is a card generated in response to the second operation; the terminal device automatically deletes the first application card. When replacing an application card, the method and terminal device do not need to remove the original application card first, and can achieve quick replacement of application cards through simple operations. In addition, the replaced new application card can customize the card type, style, etc., to achieve replacement of application cards across applications, and provide a better user interaction experience.
[0186] In the above-mentioned embodiments provided by the present application, various schemes of the method for replacing the application card provided by the present application are introduced from the perspective of the terminal device itself. It is understandable that in order to realize the above-mentioned functions, the terminal device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0187] Fig.13 Schematic diagram of a device for replacing an application card provided in an embodiment of the present application. Fig.13 As shown, the device for replacing an application card may include: a touch screen 1301 , a memory 1302 , and a processor 1303 .
[0188] In some embodiments, the processor 1303 may include one or more processing units, for example, the processor 1303 may include an application processor, a modem processor, a graphics processor, an image signal processor, a controller, a video codec, a digital signal processor, a baseband processor, and / or a neural network processor, etc. Among them, different processing units can be independent devices or integrated into one or more processors. The memory 1302 is coupled to the processor 1303 for storing various software programs and / or multiple groups of instructions. In some embodiments, the memory 1302 may include a volatile memory and / or a non-volatile memory. The touch screen 1301 is used to display a user interface and obtain user operations.
[0189] In one implementation, Fig.13 The apparatus for replacing the application card shown can be used to implement the functions of the terminal device.
[0190] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: receiving a first operation on a first application card on a first user interface; in response to the first operation, displaying a second user interface, wherein the second user interface includes a first option; receiving a second operation on the first option; in response to the second operation, displaying a third user interface, wherein the third user interface includes a second application card, and the second application card is a card generated in response to the second operation; the terminal device automatically deletes the first application card. In this way, when the terminal device replaces an application card, it does not need to remove the original application card first, and can realize quick replacement of application cards through simple operations, and the replaced new application card can customize the card type, style, etc., to realize the replacement of application cards across applications, and the user's interactive experience is better.
[0191] In one implementation, the first user interface and the third user interface are desktops of a terminal device.
[0192] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: the first option includes a parameter setting option and a first control, and the second user interface also includes a preview area; receiving a second operation on the first option includes: receiving a third operation on the parameter setting option; the method also includes: generating a third application card in response to the third operation, and displaying the third application card in the preview area. In this way, the terminal device can follow the user's operation on the parameter setting option, so that the card in the preview area will change accordingly, so that the user can view the display effect of the set second application card in real time after completing the operation of the corresponding parameter setting option.
[0193] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: receiving a second operation on the first option, and also including: receiving a fourth operation on the first control; in response to the second operation, displaying a third user interface, the third user interface includes a second application card, including: in response to the fourth operation, displaying the third user interface, and displaying the third application card in the third user interface. In this way, the terminal device allows the user to select correspondingly various parameter setting options in the second user interface, and the parameter setting of the second application card can be completed, and the user's interactive experience is better.
[0194] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: the second user interface includes one or more of the following: a preview area, a first option; the first option includes one or more of the following: a parameter setting option, a first control, and a second control. The parameter setting option includes one or more of the following: application type, card type, layout, color, and size. In this way, the terminal device allows users to customize the size, color, layout, card type, application type, and other parameters of the application card, thereby completing the integration of customization and convenient interaction.
[0195] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: the parameter setting options include a first parameter setting option located within the display screen field of the terminal device and a second parameter setting option located outside the display screen field of the terminal device; the method also includes: receiving a fifth operation performed on the second user interface; in response to the fifth operation, moving the second parameter setting option to the display screen field of the terminal device. In this way, the terminal device can allow the user to complete multiple parameter configurations of the second application card in the second user interface, and the user's interactive experience is better.
[0196] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: the parameters set by the first option include size; if the size of the second application card is less than or equal to the size of the first application card, the first user interface and the third user interface are the same desktop of the terminal device. In one implementation, the second application card is displayed at the original position of the first application card. In this way, the terminal device compares the size of the generated second application card with the size of the first application card to ensure that the second application card can be displayed at the original position of the first application card, thereby replacing the application card at the original position.
[0197] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: if the size of the second application card is larger than the size of the first application card, the third user interface is a newly created desktop, and the third user interface is a desktop different from the first user interface, wherein the first size is the size of the largest blank area formed after deleting the first application card on the first user interface. In this way, when the terminal device cannot display a large-sized second application card at the original position of the first application card, the second application card can be displayed by occupying other blank positions on the current screen or by displaying a new screen interface to ensure that the second application card can replace the first application card for display, and the user's interactive experience is better.
[0198] In one implementation, when the software program and / or the plurality of groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: receiving a sixth operation on the second control; in response to the sixth operation, closing the second user interface and displaying the first user interface. In this way, the terminal device allows the user to cancel the application card replacement operation at any time, and the user's interactive experience is better.
[0199] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: the first operation includes multiple sub-operations that are executed continuously; in response to the first operation, the second user interface is displayed, including: receiving the first sub-operation executed on the first application card; in response to the first sub-operation, the first application card is selected; receiving the second sub-operation executed on the first application card; in response to the second sub-operation, the first application card is moved to the target position; receiving the third sub-operation executed on the first application card; in response to the third sub-operation, the second user interface is generated. In this way, the terminal device can support the user to generate the second user interface through continuous operations, so that the configuration of the second application card can be realized through the second user interface, and the user's interactive experience is better.
[0200] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: the method also includes: in response to the second sub-operation, displaying a prompt area at the target position; in response to detecting that the first application card is in contact with the prompt area, displaying a prompt animation in the prompt area. In this way, when the user moves the first application card, the terminal device can display the prompt area and the prompt animation, inform the user of the target position to move the first application card through the prompt area, and prompt the user through the prompt animation to perform the third sub-operation to trigger the display of the second user interface, so that the user's interactive experience is better.
[0201] In one implementation, when the software program and / or multiple groups of instructions in the memory 1302 are executed by the processor 1303, the terminal device is used to perform the following method steps: the first operation includes multiple sub-operations that are executed intermittently; in response to the first operation, the second user interface is displayed, including: receiving a fourth sub-operation executed on the first application card; in response to the fourth sub-operation, the first application card is selected, and an edit pop-up window is displayed on one side of the first application card, and the edit pop-up window includes a third control; receiving a fifth sub-operation executed on the third control; in response to the fifth sub-operation, the second user interface is generated. In this way, the terminal device can support the user to generate the second user interface through intermittent operations, so that the configuration of the second application card can be realized through the second user interface, and the user's interactive experience is better.
[0202] The embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned methods.
[0203] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the above-mentioned methods.
[0204] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for replacing an application card, characterized in that: Applied to a terminal device, the method comprises: Displaying a first user interface, wherein the first user interface is the desktop of the terminal device, the first user interface includes a first application card, the first application card is a card of an application of a first application category, and when a first operation on the first application card is received, in response to the first operation, the terminal device starts an application corresponding to the first application card and displays an application interface of the application; In response to a second operation on the first application card, displaying a replacement item on one side of the first application card; In response to a third operation on the replacement item, displaying a second user interface, wherein the second user interface includes an application type parameter setting option and a second application card, and the second application card is a card of an application of the first application category; After receiving the fourth operation, the application type parameter setting option is displayed as selecting the second application category, and the second application card included in the second user interface is switched to a third application card, wherein the third application card is a card of an application of the second application category, and the fourth operation is associated with the second application card; After receiving the fifth operation, the desktop is displayed, wherein, on the desktop, the first application card stops being displayed, and the third application card is displayed at the original position where the first application card is displayed, wherein the fifth operation is associated with the third application card, and the fifth operation includes one or more of a sliding operation, a multi-finger sliding operation, a single-click screen operation, a multi-click screen operation, a multi-finger single-click screen operation, and a multi-finger multi-click screen operation.
2. The method according to claim 1, characterized in that Before receiving the fourth operation, the method further includes: When the sixth operation is received, the desktop is displayed, wherein, on the desktop, the first application card stops being displayed, and the second application card is displayed at the original position where the first application card is displayed, wherein the sixth operation is associated with the second application card.
3. The method according to claim 1, characterized in that The fourth operation includes one or more of a sliding operation and a clicking operation.
4. The method according to claim 1, characterized in that In response to a third operation on the replacement item, the displayed second user interface also includes a fourth application card, where the fourth application card is a card of an application of the first application category, and the second application card and the fourth application card belong to different applications.
5. The method according to claim 4, characterized in that When the application type parameter setting option is displayed as selecting the second application category, the second user interface further includes a fifth application card, and the fifth application card is a card of an application of the second application category.
6. The method according to claim 1, characterized in that The second application card and the first application card belong to different applications.
7. The method according to any one of claims 1 to 6, characterized in that: The application type parameter setting options include at least one of the following options: office efficiency, audio and video entertainment.
8. The method according to claim 7, characterized in that The application type corresponding to the office efficiency includes at least one of the following applications: memo, schedule.
9. The method according to claim 7, characterized in that: The application type corresponding to the audio-visual entertainment includes at least one of the following applications: music and video.
10. The method according to claim 1, characterized in that The second user interface also includes a first control, The fifth operation includes an operation on the first control.
11. The method according to claim 1, characterized in that: The second user interface further includes a second control, and the method further includes: In response to an operation on the second control, the second user interface is closed, and the first user interface is displayed, and the first application card in the first user interface is displayed at the original position.
12. The method according to any one of claims 1 to 6, characterized in that: The second operation is a long press operation on the first application card.
13. The method according to any one of claims 1 to 6, characterized in that: In response to the second operation on the first application card, displaying the replacement item on one side of the first application card includes: In response to a second operation on the first application card, an editing pop-up window is displayed on a side of the first application card, and the editing pop-up window includes the replacement item.
14. The method according to claim 13, characterized in that The editing pop-up window also includes a removal control, and the method further includes: In response to an operation on the removal control, the first application card on the first user interface is deleted.
15. The method according to claim 1, characterized in that The method further comprises: In response to the sliding operation, the card of the application of the first application category displayed in the second user interface is switched.
16. A method for replacing an application card, characterized in that: Applied to a terminal device, the method comprises: Displaying a first user interface, wherein the first user interface is the desktop of the terminal device, the first user interface includes a first application card and a second application card, the first application card is a card of an application of a first application category, and the second application card is a card of an application of a second application category; In response to a first operation on the first application card, displaying a third control on one side of the first application card; In response to a second operation on the third control on one side of the first application card, displaying a second user interface, wherein the second user interface includes a third application card, and the third application card is a card of an application of the first application category; After receiving the third operation, display the desktop, wherein on the desktop, the first application card is stopped from being displayed, and the third application card is displayed at the original position where the first application card is displayed, wherein the third operation is associated with the third application card, and the third operation includes one or more of a sliding operation, a multi-finger sliding operation, a single-screen operation, a multi-clicking operation, a multi-finger single-screen operation, and a multi-finger multi-clicking operation; In response to a fourth operation on the second application card, displaying the third control on one side of the second application card; In response to a fifth operation on the third control on one side of the second application card, displaying a third user interface, the third user interface including a fourth application card, the fourth application card being a card of an application of the second application category; After receiving the sixth operation, the desktop is displayed, wherein, on the desktop, the second application card stops being displayed, and the fourth application card is displayed at the original position where the second application card is displayed, wherein the sixth operation is associated with the fourth application card, and the sixth operation includes one or more of a sliding operation, a multi-finger sliding operation, a single-click screen operation, a multi-click screen operation, a multi-finger single-click screen operation, and a multi-finger multi-click screen operation.
17. The method according to claim 16, characterized in that When receiving the seventh operation on the first application card, in response to the seventh operation, the terminal device starts the application corresponding to the first application card and displays the application interface of the application.
18. The method according to claim 16, characterized in that The second user interface and the third user interface both include an application type parameter setting option, In response to the second operation on the third control on one side of the first application card, when the second user interface is displayed, the default option of the application type parameter setting option displayed by the second user interface is the first application category; In response to the fifth operation on the third control on one side of the second application card, when the third user interface is displayed, the default option of the application type parameter setting option displayed by the third user interface is the second application category.
19. The method according to claim 18, characterized in that The second user interface and the third user interface both include card type parameter setting options; The card type parameter setting options of the second user interface include the third application card, and the card type parameter setting options of the third user interface include the fourth application card.
20. The method according to claim 19, characterized in that After receiving the eighth operation when displaying the second user interface, the application type parameter setting option is displayed as selecting the second application category, and the card type parameter setting option is switched from the third application card to the fourth application card, and the eighth operation is associated with the second application category.
21. The method according to claim 20, characterized in that The eighth operation includes one or more of a click operation and a slide operation.
22. The method according to claim 16, characterized in that The second user interface further includes a fifth application card, wherein the fifth application card is a card of an application of the first application category. The third user interface also includes a sixth application card, and the sixth application card is a card of an application of the second application category.
23. The method according to claim 16, characterized in that The third application card and the first application card belong to different applications.
24. The method according to claim 18, characterized in that The application type parameter setting options include at least one of the following options: office efficiency, audio and video entertainment.
25. The method according to claim 24, characterized in that The application type corresponding to the office efficiency includes at least one of the following applications: memo, schedule.
26. The method according to claim 24, characterized in that The application type corresponding to the audio-visual entertainment includes at least one of the following applications: music and video.
27. The method according to claim 16, characterized in that The second user interface and the third user interface both include a first control; The third operation includes an operation on the first control, and the sixth operation includes an operation on the first control.
28. The method according to claim 16, characterized in that The second user interface further includes a second control, and the method further includes: In response to an operation on the second control, the second user interface is closed, and the first user interface is displayed, and the first application card in the first user interface is displayed at the original position.
29. The method according to any one of claims 16 to 28, characterized in that: The first operation is a long press operation on the first application card.
30. The method according to any one of claims 16 to 28, characterized in that: The step of displaying the third control on one side of the first application card in response to the first operation on the first application card includes: In response to a first operation on the first application card, an editing pop-up window is displayed on a side of the first application card, and the editing pop-up window includes the third control.
31. The method according to claim 30, characterized in that The editing pop-up window also includes a removal control, and the method further includes: In response to an operation on the removal control, the first application card on the first user interface is deleted.
32. The method according to claim 19, characterized in that The method further comprises: In response to the sliding operation, the card displayed in the card type parameter setting option is switched.
33. A terminal device, characterized in that: including memory; processor; and a touch screen, wherein the touch screen is used to display a user interface and obtain user operations, and the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the terminal device executes the method for replacing an application card as described in any one of claims 1-32.
34. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program instructions, and when the program instructions are executed on a computer, the computer executes the method for replacing an application card executed by a terminal device as described in any one of claims 1 to 32.
35. A computer program product, characterized in that When it runs on a computer, it enables the computer to execute the method of replacing an application card executed by a terminal device as described in any one of claims 1 to 32.
Citation Information
Patent Citations
Card management method and device and storage medium
CN114327195A