Method for replacing application card and terminal equipment
By displaying a customized second user interface on the terminal device, users are allowed to customize the application card type and style and automatically delete the original card, solving the complex problem of application card replacement operation in the prior art and improving the user experience.
Patent Information
- Application Number
- CN202510344745.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-04-29
- Filing Date
- 2022-12-12
- Publication Date
- 2025-08-01
AI Technical Summary
Existing terminal devices are complicated to operate when replacing application cards, and cannot implement custom card types and style settings across applications, which makes the user experience poor.
Provide a method of replacing application cards, displaying the second user interface by receiving user operations, allowing the user to customize the card type and style, and automatically delete the original application cards, realizing quick replacement across applications.
It simplifies the application card replacement process, improves user interaction experience, supports custom card types and style settings across applications, and realizes quick replacement of application cards.
Smart Images

Figure CN120406799A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202280065592.8, the original application date is December 12, 2022, and the entire content of the original application is incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technologies, and in particular, to a method for replacing application cards and a terminal device. Background Art
[0003] With the development of terminal technologies, terminal devices such as mobile phones and tablet computers have become indispensable tools in people's lives, work, study, and entertainment. Currently, to provide convenience to users, terminal devices can display application cards on their main interfaces. An application card refers to a component that displays the information content corresponding to one or some application pages in an application program on the desktop of a terminal device. Compared with application icons, application cards not only provide an entry to the application program for users, but also can display corresponding function information, which is more attractive to users. For example, after a user triggers a certain application card, the terminal device can directly start the corresponding application program and display the corresponding application page to fully present the information content; in addition, important information of the application program can also be displayed on the application card to facilitate users' viewing.
[0004] In the main interface of a terminal device, different styles of application cards corresponding to the same application program can be displayed, and users can replace each style of application card. Currently, the way for a terminal device to replace an application card is to add a new application card. If the old-style application card is not deleted, two cards of the same application program will exist on the desktop at the same time. The user experience is not good. Summary of the Invention
[0005] This application provides a method for replacing application cards and a terminal device to replace application cards more quickly.
[0006] In a first aspect, this application provides a method for replacing application cards, including: 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, where 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, and 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.
[0007] When the method provided by the embodiment of the present application performs application card replacement, it is not necessary to first remove the original application card. The application card can be quickly replaced through simple operations. Moreover, the new application card for replacement can customize the card type, style, etc., realizing the replacement of application cards across applications, and the user's interaction experience is better.
[0008] In one implementation, the first user interface and the third user interface are the desktops of the terminal device.
[0009] In one implementation, the first option includes a parameter setting option and a first control. The second user interface further 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: in response to the third operation, generating a third application card 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, and the card in the preview area will change accordingly, facilitating the user to view the display effect of the set second application card in real time after completing the operation on the corresponding parameter setting option.
[0010] In one implementation, receiving a second operation on the first option further includes: 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 make corresponding selections in each parameter setting option in the second user interface, and thus complete the parameter setting of the second application card, and the user's interaction experience is better.
[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, a second control. The parameter setting option includes one or more of the following: application type, card type, layout, color, size. In this way, the terminal device allows the user to customize parameters such as the size, color, layout, card type, application type, etc. of the application card, achieving the integration of customization and convenient interaction.
[0012] In one implementation, the parameter setting option includes a first parameter setting option within the field of view of the display screen of the terminal device and a second parameter setting option outside the field of view of the display screen area of the terminal device. The method further includes: receiving a fifth operation on the second user interface. In response to the fifth operation, moving the second parameter setting option into the field of view of the display screen of the terminal device. In this way, the terminal device allows the user to complete the configuration of multiple parameters of the second application card in the second user interface, and the user's interaction experience is better.
[0013] In one implementation, the parameters set for the first option include the 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, realizing the replacement of the application card at the original position.
[0014] In one implementation, if the size of the second application card is greater 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, where 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 second application card with a large size cannot be displayed on the interface where the first application card is located, the terminal device can display the second application card by showing a new screen interface to ensure that the second application card can replace the first application card for display, providing a better user interaction experience.
[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 replacement operation of the application card at any time, providing a better user interaction experience.
[0016] In one implementation, the first operation includes a plurality of continuously executed sub-operations; in response to the first operation, displaying the second user interface includes: receiving a first sub-operation performed on the first application card; in response to the first sub-operation, selecting the first application card; receiving a second sub-operation performed on the first application card; in response to the second sub-operation, moving the first application card to the target position; receiving a third sub-operation performed on the first application card; 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, providing a better user interaction experience.
[0017] In one implementation, the method further includes: in response to the second sub-operation, displaying a prompt area at the target position; when it is detected that the first application card contacts 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 which the first application card is moved through the prompt area, and prompt the user that performing the third sub-operation can trigger the display of the second user interface through the prompt animation, providing a better user interaction experience.
[0018] In one implementation, the first operation includes multiple sub-operations that are executed intermittently; in response to the first operation, a second user interface is displayed, including: receiving a fourth sub-operation performed on the first application card; in response to the fourth sub-operation, selecting the first application card, and displaying an editing pop-up window at a position on one side of the first application card, where the editing pop-up window includes a third control; receiving a fifth sub-operation performed on the third control; 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 interaction experience is better.
[0019] In a second aspect, the present application further 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 for replacing an application card 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. When the program instructions run on a computer, the computer executes the method for replacing an application card performed by the terminal device 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 it runs on a computer, the computer executes the method for replacing an application card performed by the terminal device described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings required in the embodiments. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0023] Figure 1A is a schematic diagram of a terminal device displaying an application card currently;
[0024] Figure 1B is a flowchart of a terminal device deleting an application card currently;
[0025] Figure 1C is a flowchart of a terminal device adding an application card currently;
[0026] Figure 1D is a flowchart of a terminal device replacing an application card at the original position currently;
[0027] Figure 2 is a schematic structural diagram of a terminal device provided by an embodiment of the present application;
[0028] Figure 3 It is a flowchart of a method for replacing an application card provided by an embodiment of the present application;
[0029] Figure 4 It is a schematic diagram of displaying a second user interface provided by an embodiment of the present application;
[0030] Figure 5 It is another schematic diagram of displaying a second user interface provided by an embodiment of the present application;
[0031] Figure 6 It is a schematic diagram of the second user interface provided by an embodiment of the present application;
[0032] Figure 7 It is a schematic diagram of sliding the second user interface provided by an embodiment of the present application;
[0033] Figure 8 It is a schematic diagram of setting a second application card based on the second user interface provided by an embodiment of the present application;
[0034] Figure 9 It is another schematic diagram of setting a second application card based on the second user interface provided by an embodiment of the present application;
[0035] Figure 10 It is a schematic diagram of displaying a small - sized second application card provided by an embodiment of the present application;
[0036] Figure 11 It is a schematic diagram of displaying a large - sized second application card provided by an embodiment of the present application;
[0037] Figure 12 It is another schematic diagram of displaying a large - sized second application card provided by an embodiment of the present application;
[0038] Figure 13 It is a schematic structural diagram of a device for replacing an application card provided by an embodiment of the present application. Detailed implementation manners
[0039] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0040] With the development of terminal technologies, terminal devices such as mobile phones and tablet computers have become indispensable tools in people's lives, work, study, and entertainment. Currently, to provide convenience to users, terminal devices can display application cards on their main interfaces. An application card refers to a component that displays the information content corresponding to one or some application pages in an application program on the desktop of a terminal device. Compared with application icons, application cards not only provide an entry to the application program for users, but also can display corresponding function information, which is more attractive to users.
[0041] In one implementation, application cards can be implemented using desktop widgets. Each application program can be displayed on the desktop in the form of a widget, such as a memo widget, a mail widget, a calendar widget, etc. Desktop widgets can achieve different display styles, and users can flexibly build the UI (User Interface) through widgets of different styles, enriching the display effect of the terminal device desktop.
[0042] Application cards corresponding to different application programs can be displayed on the main interface of the terminal device. Users can perform at least one operation such as editing, deleting, and adding other style cards through the application cards. At least one of the size, shape, layout, etc. of different style cards 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 for displaying the title and content corresponding to the application program.
[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 the 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 the 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 the area surrounded by 16 icons, 4 horizontally and 4 vertically.
[0044] Figure 1A It is a schematic diagram of a terminal device displaying application cards currently. Refer to Figure 1A , users can operate the target application program in the terminal device to create application cards of specified styles and display each specified style application card 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, and can also perform operations such as deleting any application card and adding an application card.
[0046] Figure 1B It is a flowchart for deleting an application card on the terminal device currently. Refer to Figure 1B , when the user wants to edit Application Card 3, they can long-press Application Card 3 with their finger. In response to the long-press operation performed by the user on Application Card 3, the terminal device adds a blurred overlay or other non-transparent overlay on the main interface, and displays Application Card 3 and Edit Box 100A on the overlay. The overlay can block other content in the main interface, and expose Application Card 3 and Edit Box 100A in the main interface. In a possible implementation, Edit Box 100A can be displayed on one side of Application Card 3, such as Figure 1B shown, and Edit Box 100A is displayed below Application Card 3.
[0047] Edit items 101, add item 102, remove item 103, etc. are displayed in Edit Box 100A. Edit item 101 is used to modify the content of the application card, add item 102 is used to add a new application card on the desktop, and remove item 103 is used to delete the current application card from the desktop.
[0048] When the user wants to delete Application Card 3, they can click on remove item 103 in the edit box. In response to the click operation of the user, 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. Remove button 201 and cancel button 202 are displayed in confirmation pop-up window 200. Next, if the terminal device detects that the user clicks on remove button 201, it deletes Application Card 3 in the main interface; if it detects that the user clicks on cancel button 202, confirmation pop-up window 200 cancels the display, and does not perform the removal operation on Application Card 3, and Application Card 3 remains in its original position on the main interface.
[0049] Figure 1C It is a flowchart for adding an application card on the terminal device currently. Refer to Figure 1C, when the user wants to add a new app card to the main interface, they can click on the add item 102 in the edit box 100A. The app corresponding to the new app card provided by the add item 102 is the same as the app corresponding to the app card touched by the finger when the user long-presses 11 to bring up the edit box 100A, that is, it realizes adding an app card of the same app. For example, if the user long-presses 11 on the app card 3 to bring up the edit box 100A, and if the app card 3 is the app card of the app "Memo", then 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 app card of "Memo" can be added through the add 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 on the main interface. The alternative app cards displayed in the add pop-up window 300 are of the same type as the app cards that the add item 102 can provide, and the first page of the add pop-up window 300 displays an app card with the same style as the app card 3. If the user wants to add app cards of other styles, the terminal device detects the user's left swipe 15 operation on the add pop-up window 300 and displays app cards of other styles provided on other pages.
[0050] For example, if the add item 102 provides the addition of app cards of the "Memo" type, then alternative app cards of the "Memo" type are displayed in the add pop-up window 300. Next, when the terminal device detects that the user selects the app card displayed on the second page through a left swipe 15 and clicks 16 on the add button 301 in the add pop-up window 300, the add pop-up window 300 is hidden, and the selected app card form is added to the desktop.
[0051] It can be seen that the existing interaction process for adding app cards is relatively complex, and if there is enough free space on the current screen, the new app card will be displayed in the free space, while if there is no free space on the current screen, the new app card needs to occupy a new screen of the smart device, both of which will occupy too much screen space and are not convenient for the user to manage. In addition, it is not possible to replace the original position of the original app card. For example, after the user triggers the edit box based on the app card 3 and adds a new app card 4, the app card 4 cannot replace the content of the app card 3 and will be displayed in the free space on the current screen or on another screen. Moreover, the card type of the new app card is determined by the app corresponding to the already added card, and it is not possible to add app cards of other apps, resulting in a poor user experience.
[0052] Figure 1D It is the flowchart of the original position replacement of app cards on the current terminal device. Refer to Figure 1D , if the user wants to replace the display of another new app card 4 at the original position of the app card 3 and add app cards of other apps, they can first delete the app card 3. The implementation process of deleting the app card 3 can be seen in Figure 1BThe content shown is not elaborated here. Taking the example of adding an application card corresponding to the address book, a floating card 400 is displayed on the application program address book by long-pressing operation 17. Among them, Figure 1D the operation identifier of long-pressing 17 in Figure 1D is the combination of a finger identifier and a time identifier, which is used to represent that this operation is an operation in which the finger remains in contact with the screen, such as long-pressing, dragging and other operations. The same operation identifiers in other attached drawings can be referred to the description here. Click the add button in the upper right corner of 18 in the floating card 400 to generate an application card 4 based on the new application program. The application card 4 is displayed at the original position of the application card 3. This interaction process of replacing the application card is relatively complex and takes more time for operation.
[0053] It can be seen that the current interaction process for editing the application card is complex and the editing functions are few. It is impossible to replace the application card through simple operations, nor can the style, type, etc. of the application card be customized. The user's interaction experience is not good.
[0054] Therefore, in order to reduce the operation path of replacing the application card and further improve the user's operation experience, the embodiment of the present application provides a method for replacing the application card. The method provided by the embodiment of the present application can realize the replacement of the application card through simple operations, and moreover, the replaced new application card can customize the card type, style, etc., and realize the replacement of the application card across application programs, and the user's interaction experience is better. Among them, the customizable styles include but are not limited to size, color, layout, etc.
[0055] The method provided by the embodiment of the present application can be applied to a terminal device. Among them, the terminal device includes but is not limited to mobile phones, tablet computers, personal computers, workstation devices, large-screen devices (such as: smart screens, smart TVs, etc.), wearable devices (such as: smart bracelets, smart watches), handheld game consoles, home game consoles, virtual reality devices, augmented reality devices, mixed reality devices, etc., in-vehicle intelligent terminals, etc.
[0056] Figure 2 is a schematic structural diagram of the terminal device provided by the embodiment of the present application. Refer to Figure 2, the 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, a headphone jack 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0057] It can be understood that the structure schematically shown in the embodiments 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 certain components, or split certain components, or have different component arrangements. 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 processing unit (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 in one or more processors. The controller may generate operation control signals according to the instruction operation code and the timing signal to complete the control of fetching instructions and executing instructions.
[0059] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may store the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory.
[0060] The USB interface 130 is an interface that complies with the USB standard specification. Specifically, it 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 transfer data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. This interface can also be used to connect other terminal devices, such as AR devices, etc.
[0061] The charging management module 140 is used to receive a charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the terminal device 100. While charging the battery 142, the charging management module 140 can also supply power to 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 the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be provided in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be provided in the same device.
[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 modulation and demodulation processor, and the baseband processor, etc.
[0064] Antenna 1 and Antenna 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, Antenna 1 can be multiplexed 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, etc. applied to the terminal device 100. The mobile communication module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves through Antenna 1, and perform processing such as filtering and amplifying on the received electromagnetic waves, and then 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 through Antenna 1 and radiate it out. In some embodiments, at least some functional modules of the mobile communication module 150 can be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be provided in the same device.
[0066] The modulation and demodulation processor can include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modulation and demodulation processor can be an independent device. In some other embodiments, the modulation and demodulation processor can be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
[0067] The wireless communication module 160 can provide solutions for wireless communications 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 the GPU, the display screen 194, the application processor, etc. The GPU is a microprocessor for image processing, and is connected to 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 implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, etc.
[0070] The external memory interface 120 can be used to connect to 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 the data storage function. For example, files such as music and videos are saved in the external memory card.
[0071] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the file transfer function, the photo album function, etc.). The data storage area can store the data created during the use of the terminal device 100 (such as files, photos, videos, etc.).
[0072] The terminal device 100 can implement the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.
[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 disposed on the display screen 194. When a touch operation acts on the display screen 194, the terminal device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal device 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations with the same touch position but different touch operation intensities can correspond to different operation instructions.
[0074] The gyroscope sensor 180B can 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 (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B.
[0075] The barometric pressure sensor 180C is used to measure barometric pressure. In some embodiments, the terminal device 100 calculates the altitude based on the barometric pressure value measured by the barometric pressure sensor 180C to assist in 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 the acceleration of the terminal device 100 in various directions (generally three axes). 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 distance. The terminal device 100 can measure 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 the 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 sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance during photography. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in the 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 to application locks, fingerprint photography, fingerprint answering of incoming calls, etc.
[0082] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 executes a temperature processing strategy using the temperature detected by the temperature sensor 180J.
[0083] The touch sensor 180K, also known as the "touch control device". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch control screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194.
[0084] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals of the vibrating bone mass of the human vocal part. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulsation signals. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone to form a bone conduction earphone. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M to implement the voice function.
[0085] The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys. They can also be touch keys. The terminal device 100 can receive key inputs and generate key signal inputs related to the user settings and function control of the terminal device 100.
[0086] The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback. For example, touch operations on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. Touch operations on different regions of the display screen 194 can also correspond to different vibration feedback effects for the motor 191.
[0087] The indicator 192 can be an indicator light and can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0088] The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation from the terminal device 100. 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, etc. 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 communication.
[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 required to practice the specific embodiments described or their equivalents. Similarly, other terminal devices may include a greater number of modules, components, etc. In appropriate cases, some modules may be implemented as software or hardware. Accordingly, it should be understood that the above description is not intended to be exhaustive or to limit the present application to the precise forms described herein. On the contrary, many modifications and variations will be apparent to those of ordinary skill in the art in light of the above teachings.
[0090] Figure 3 It is a flowchart of a method for replacing an application card provided by an embodiment of the present application.
[0091] As Figure 3 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, receive 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, where the second user interface includes a first option.
[0094] Step S103, receive a second operation on the first option.
[0095] Step S104, in response to the second operation, display a third user interface, and 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 cards. 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. Among them, the first application card corresponds to the application card to be replaced, and the second application card corresponds to the new application card.
[0098] The first user interface and the third user interface are the desktops of the terminal device, 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 embodiments of the present application, both 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 the user on the first user interface. The embodiments of the present application do not make specific limitations in this regard. As long as the operation can be responded to by the terminal device to trigger the display of the second user interface, it can be the first operation; and, any operation that can be responded to by the terminal device to generate the second application card can be the second operation. Among them, the multi-finger sliding operation of the user may, for example, be a multi-finger sliding operation of one hand of the user or a multi-finger sliding operation of both hands of the user, and may be a multi-finger sliding operation in the same direction or a multi-finger sliding operation in different directions. The embodiments of the present application do not make specific limitations in this regard; the multi-finger multi-click screen operation of the user may, for example, be a multi-finger multi-click screen operation of one hand of the user or a multi-finger multi-click screen operation of both hands of the user. The embodiments of the present application also do not make specific limitations in this regard.
[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 operations, that is, the finger does not lift from the screen during the continuous execution of the multiple sub-operations. In one implementation, the multiple sub-operations may be intermittently executed operations, that is, after the first sub-operation is executed, the finger is lifted from the screen, and then the second sub-operation is performed on the screen.
[0101] Figure 4 It is a schematic diagram showing the display of the second user interface provided by the embodiments of the present application.
[0102] In one implementation, as Figure 4 shown, when switching to display the second user interface for generating the second application card, the first operation may be multiple sub-operations continuously performed by the user on the first user interface. For this reason, step S102 may specifically include the following steps S201 - step S203:
[0103] Step S201, receive the first sub-operation performed on the first application card.
[0104] Step S202, in response to the first sub-operation, select the first application card.
[0105] Step S203, receive the second sub-operation performed on the first application card.
[0106] Step S204, in response to the second sub-operation, move the first application card to the target position.
[0107] Step S205, receive the third sub-operation performed on the first application card.
[0108] Step S206, in response to the third sub-operation, generate a second user interface.
[0109] Exemplarily, the first sub-operation may be an operation where the user long-presses the first application card 10. The second sub-operation may be an operation of dragging the first application card 42 to a target position, and the third sub-operation may be an operation where the user's finger lifts from the first application card. The first sub-operation, the second sub-operation, and the third sub-operation are continuously executed, that is, during the process of the user performing the first sub-operation and the second sub-operation based on the first application card, the finger is always in contact with the screen, and when the finger lifts from the first application card, the execution of the third sub-operation is completed.
[0110] In steps S201 and S202, when the terminal device detects that the user performs a first sub-operation on the first application card 10 in the first user interface, for example, when long-pressing the first application card 10, an edit pop-up window 100A is popped up and displayed on one side of the first application card 10, such as popping up the edit 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, adds a blurred mask or other non-transparent masks to the first user interface, so as to block other display contents in the first user interface through the mask and expose the first application card 10 and the edit pop-up window 100A for display.
[0111] When presenting the mask on the first user interface, and / or when displaying the edit pop-up window 100A on one side of the first application card 10, it indicates that the first operation is completed, and then slide 42 to the target position with the finger always in contact with the screen.
[0112] Exemplarily, the target position may be one of the positions such as the lower left corner of the screen, the lower right corner of the screen, the center of the bottom of the screen, the upper right corner of the screen, the upper left corner of the screen, the center of the top of the screen, etc. Then, the target sliding direction may be one of the directions such as sliding to the lower left corner of the screen, sliding to the lower right corner of the screen, sliding to the center of the bottom of the screen, sliding to the upper right corner of the screen, sliding to the upper left corner of the screen, sliding to the center of the top of the screen, etc.
[0113] In steps S203 and S204, when the terminal device detects that the user performs a second sub-operation on the first application card 10 in the first user interface, for example, when dragging the first application card 42 to the target position on the screen, a prompt area 500 is displayed at the target position on the screen, such as the prompt area 500 is located at the lower left corner of the screen. The terminal device can also cancel the display of the edit pop-up window 100A, and the first user interface returns to the visible state. That is, when the user drags the first application card 42 to the target position on the screen, the user can see other contents displayed in the first user interface.
[0114] As the user drags the first application card 10 towards the lower left corner, the distance between the first application card 10 and the prompt area 500 gets closer and closer. When the first application card 10 touches 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 performing a 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 is in a state of diverging towards the surroundings. For example, as the dragging 42 of the first application card 10 makes its contact area with the prompt area 500 gradually increase, the diverging area of the prompt animation 501 around the prompt area 500 also gradually increases, that is, the degree of divergence towards the surroundings gradually increases. When the contact area between one end of the first application card 10 and the prompt area 500 reaches the maximum in response to the dragging 42 operation of the first application card 10, the degree of divergence 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's finger lifts from the first application card, a second user interface is generated.
[0116] Figure 5 It is another schematic diagram for displaying the second user interface provided by the embodiments of the present application.
[0117] In one implementation, as Figure 5 shown, when switching to display the second user interface for generating the second application card, the first operation may be multiple sub-operations intermittently performed by the user in the first user interface. Therefore, step S102 may specifically further include the following steps S301 - step S302:
[0118] Step S301, receiving a fourth sub-operation performed on the first application card.
[0119] Step S302, in response to the fourth sub-operation, selecting the first application card, and displaying an editing pop-up window at a side position of the first application card. 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, generating the second user interface.
[0122] Exemplarily, the fourth sub-operation may be a long-press on the screen operation, that is, the user's long-press 51 operation on the first application card 10. The fifth sub-operation may be a click on the screen operation, that is, the user's click 52 operation on the screen. The fourth sub-operation and the fifth sub-operation are performed intermittently, that is, the user first performs the first operation based on the first application card 10, then lifts the finger from the screen, and then performs the second operation.
[0123] In steps S301 and S302, when the terminal device detects that the user is performing a fourth sub-operation on the first application card 10 in the first user interface, such as long-pressing the first application card 10 for 51, an editing pop-up window 100A is popped up and displayed on one side of the first application card 10. The terminal device blurs the first user interface and adds a blurred mask or other non-transparent state mask to the first user interface to block other display contents in the first user interface through the mask, and exposes and displays the first application card 10 and the editing pop-up window 100A.
[0124] Multiple controls are displayed in the editing pop-up window 100A, and the multiple controls include but are not limited to an editing item 101, an adding item 102, a replacement item 104, a removal item 103, etc. The editing pop-up window provided by the embodiment of the present application can provide more operation functions than the commonly used editing box at present, that is, a replacement item 104 is configured in the editing pop-up window provided by the embodiment of the present application, such as Figure 5 the "replace other cards" item in, to realize the in-place replacement of the application card. The editing function, adding function, removal function, etc. provided by the editing pop-up window 100A can refer to the content of the commonly used editing box provided by the foregoing embodiment, and will not be elaborated here.
[0125] In steps S303 and S304, when the third control is the replacement item 104, when the terminal device detects that the user performs a fifth sub-operation on the replacement item 104 in the editing pop-up window 100A, such as clicking the replacement item 104 in the editing pop-up window 100A for 52, a second user interface is generated and replaced and displayed on the screen of the terminal device.
[0126] The embodiment of the present application provides the above two ways to trigger the display of the second user interface through the user's operation. One is that the user long-presses the first application card and drags the first application card to the target position, and lifting the finger at the target position can 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 editing 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, facilitating the user to realize the in-place replacement of the application card, and the user's interaction experience is better. It should be noted that the ways to realize the generation of the second user interface can also be other combinations of operations or other generation methods, which will not be elaborated or limited here.
[0127] Figure 6 is a schematic diagram of the second user interface provided by the embodiment of the present application.
[0128] Such as Figure 6As shown, to facilitate the user to generate a 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. Each parameter setting option is used to select a parameter for generating the second application card. The second user interface can allow the user to customize at least one or more parameters such as the size, color, layout, card type, application type, etc. of the application card, and integrate customization and convenient interaction. The first control may include a replacement button 608, and the second control may include a cancel button 607.
[0129] In the embodiments of the present application, the parameter setting options include a combination of at least one or more of an application type parameter setting option 601, a card type parameter setting option 602, a layout parameter setting option 603, a color parameter setting option 604, a size parameter setting option, etc. The application type parameter setting option 601 is used to provide different application categories, such as one or more of application types like office efficiency, audio and video entertainment, guess you like, newly launched, etc.; 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 memo and schedule, then the card types are the application cards corresponding to applications such as memo and schedule. Among them, the application card provided by the memo application is an "all notes" card, and the application card provided by the schedule application is a "schedule" card. The layout parameter setting option 603 is used to provide various layout methods for different information displayed on the application card. When two parts of content, a title and content, are displayed on the application card, then 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 an up - 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 various 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 makes corresponding selections in each parameter setting option in the second user interface to complete the parameter setting of the second application card. 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 embodiments 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 the state where 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 all parameter setting options are displayed on the second user interface, they may not be able to be presented within the visible area of the second user interface simultaneously. As a result, the second user interface includes a first parameter setting option within the field of view of the display screen of the terminal device and a second parameter setting option outside the field of view of the display screen area of the terminal device. Therefore, some parameter setting options can be displayed within 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 on the parameter setting options in the invisible area, the terminal device responds to the fifth operation performed by the user on the second user interface and moves the second parameter setting option into the field of view of the display screen of the terminal device. Exemplarily, the fifth operation may include a sliding 71 operation. Then, by performing the sliding 71 operation on the second user interface, the terminal device slides the parameter setting options in the invisible area to be displayed within the visible area of the second user interface for the user to perform interactive operations.
[0132] Figure 7 It is a schematic diagram of sliding the second user interface provided by an embodiment of the present application.
[0133] As Figure 7 shown, to facilitate the user to operate on the parameter setting options not displayed within the visible area of the second user interface, the terminal device responds to the sliding 71 operation performed by the user on the second user interface and slides the parameter setting options that were not originally displayed within the visible area to be displayed within the visible area.
[0134] Exemplarily, if the sorting method of each parameter setting option in the second user interface is such that the size parameter setting option is in the last position and the size parameter setting option 605 is 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 within the visible area of the second user interface by performing an upward sliding 71 operation. The terminal device responds to the upward sliding 71 operation of the user on the second user interface and slides the parameter setting options in the invisible area upward to be displayed within the visible area of the second user interface. If the user wants to view the parameter setting options that have been slid into the invisible area by upward sliding, the terminal device responds to the downward sliding operation of the user on the second user interface and slides the parameter setting options in the invisible area downward to be displayed within the visible area of 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 remain fixed, and the remaining parameter setting options move along with the sliding direction.
[0136] In one implementation, when the user sets the relevant parameters of the second application card based on the respective 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 parameter setting option contents provided by the target parameter setting option within the visible area of the second user interface. Therefore, to facilitate the user to select the parameter setting option content that is relatively rearward in position, the terminal device can respond to the left or right sliding operation performed by the user on the target parameter setting option, so as to display more parameter setting option contents within 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 that responds to the left or right sliding operation switches the corresponding parameter setting option content along with the sliding direction, while the remaining parameter setting options, the preview area 606, the cancel button 607, and the replace button 608 remain stationary.
[0138] In one implementation, the second user interface further includes a cancel button 607 and a replace button 608. The cancel button 607 is used to cancel the replacement operation of the application card, and the replace button 608 is used to determine 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 a first operation on the first application card in the first user interface. Therefore, the first application card 10 is default displayed in the preview area 606 of the second user interface, and the control focus corresponding to each parameter setting option is default selected for the corresponding parameters of the first application card. 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 the configuration parameters of the first application card, including: the application type is "office efficiency", the card type is "file management", the layout is a tiled manner, the color is beige, and the size is 4×2. Then, combining Figure 6 and Figure 7As shown in the figure, in response to obtaining the parameters of the first application card, the terminal device displays in the preview area 606 of the second user interface an application card with an application type of "Office Efficiency", a card type of "File Management", a layout in a tiled manner, a color of blue, and a size of 4×2; and, the terminal device controls the application type parameter setting option 601 in the second user interface to default to select "Office Efficiency", the card type parameter setting option 602 to default to select the style of "File Management", the color parameter setting option 604 to default to select the blue color block, and the size parameter setting option 605 to default to select the size item of 4×2. Since there may be no division between the title and the content in the "File Management" style type, no matter it is laid out in a left-right or up-down layout structure, its presentation effect is a tiled effect. Therefore, in the layout parameter setting option 603, the layout may not be default selected, or the first layout method provided by the layout parameter setting option may be default selected.
[0141] In one implementation, the control focus corresponding to each parameter setting option in the second user interface may not default to select the corresponding parameter of the first application card, but is sequentially displayed in the order of the parameter setting option content provided by each parameter setting option, and the selected state of the control focus is not displayed on the content of each parameter setting option. Alternatively, the control focus defaults to select the content of the first parameter setting option provided by each parameter setting option.
[0142] It can be understood that the above various ways of displaying the initial state of the second user interface can be determined according to the actual application situation, and the embodiments of the present application do not make specific limitations.
[0143] In the embodiments 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 accessory parameter setting options, and the color parameter setting option 604 and the size parameter setting option 605 belong to the general parameter setting options. Then when the user switches different application types based on the application type parameter setting option 601, the parameter setting option content provided as the accessory parameter setting option changes with the switching of the main parameter setting option. And the parameter setting option content provided as the general parameter setting option does not change with the switching of the main parameter setting option, that is, the parameter setting option content provided by the general parameter setting option remains unchanged. [[ID=I0]]
[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 applications such as memo and schedule; the layout parameter setting option 603 provides layout methods that meet the display requirements of all application cards such as notes and schedule, such as left-right layout structure method, up-down layout structure method, etc. When the user selects the "Audio-Visual 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-Visual Entertainment" type, such as application cards corresponding to applications such as music and video; the layout parameter setting option 603 provides layout methods that meet the display requirements of applications such as music and video, such as tiled layout structure method, etc.
[0145] In one implementation, when displaying each parameter setting option in the second user interface, the application type parameter setting option (main parameter setting option) that causes the option content of other parameter setting options to change is displayed at the top, and then the parameter setting options (auxiliary parameter setting options) that may change with the switching of the application type are displayed, 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 each parameter setting option displayed in the second user interface can also be determined according to the actual application situation, and specific limitations are not provided here.
[0148] Figure 8 It is a schematic diagram of setting a second application card based on a second user interface provided by an embodiment of the present application.
[0149] In one implementation, as Figure 8 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 further include: the terminal device generates a third application card in response to the third operation and displays it in the preview area 606.
[0150] Among them, the third application card is equivalent to a preview image of the second application card, and following the user's operation 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 following the user's operation on the option setting parameters; when the configuration of the parameters of the second application card is completed, 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 a 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 intermittently executing at least one or more third operations. Exemplarily, the third operation may be an operation of clicking on the screen, that is, the user's operation of 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, refer to 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 refer to the embodiments shown in Figure 4 or Figure 5 above. 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] Exemplarily, since the application type to which the "File Management" application belongs is "Office Efficiency", the "Office Efficiency" type is default selected in the application type parameter setting option 601. Therefore, if the user needs to replace the application card of other applications under the Office Efficiency classification, it is not necessary to click on the parameter setting option for Office Efficiency. Then, the content in the card type parameter setting option 602 also default displays the application card content of the applications corresponding to the "Office Efficiency" category. For example, the content in the card type parameter setting option 602 displays the application cards of applications such as Memo and Schedule, and, in the layout parameter setting option 603, the layout methods that the application cards of the above applications can provide are displayed, such as: vertical layout, horizontal layout, etc.
[0155] To facilitate the user to see the effect of the custom second application card in real time, the terminal device can update the display effect of the preview image (the third application card) in the preview area in real time based on the user's selection. The terminal device determines the parameters of the second application card in response to a click operation performed by the user on at least one parameter setting option in the second user interface, 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 a click operation performed by the user on at least one parameter setting option.
[0156] Exemplarily, when the terminal device detects that the user clicks on the application card corresponding to the "All Notes" application in the 82 card type parameter setting option 602, it can display the application card of this type in the preview area 606. Among them, the application card in the preview area 606 can be initially displayed in a default layout and color, for example: vertical 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, it can replace the layout of the application card in the preview area 606 from a vertical layout structure to a 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, it can replace the background color of the application card in the preview area 606 with green.
[0158] Combined 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, it can replace the size of the application card in the preview area 606 with that 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, it can replace the size of the application card in the preview area from 4×2 to 2×2.
[0159] In one implementation manner, step S103 may specifically further include: receiving a fourth operation on the first control. Then, step S104 may specifically further include: in response to the fourth operation, displaying a third user interface and displaying a third application card in the third user interface.
[0160] Exemplarily, the first control is the replacement button 608, and the fourth operation may be a click operation. When the terminal device detects that the user clicks the replacement button 608 in the second user interface, it displays the third user interface and displays the third application card shown in the preview area in the third user interface. The third application card generated based on each of the foregoing parameters is the second application card 20, and the second application card 20 is displayed by replacing 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 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; in response to the sixth operation, closing the second user interface and displaying the first user interface.
[0162] Exemplarily, the second control is the 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 can click the cancel button 607. When the terminal device detects that the user clicks the cancel button 607 in the second user interface, it does not replace the application card, cancels the display of the second user interface, and returns to the first user interface, and the first application card 10 in the first user interface is still displayed at the original position.
[0163] It can be seen that for the method for replacing an application card provided by the embodiments of the present application, after the user sets the parameters of the second application card in the second user interface based on the foregoing content, when the user triggers the replacement button in the second user interface, the first application card can be removed, and the second application card can be displayed at the original position of the first application card, realizing the interaction effect of replacing a new application card at the original position without first removing the original application card.
[0164] Figure 9 It is another schematic diagram of setting the second application card based on the second user interface provided by the embodiments of the present application.
[0165] Exemplarily, referring to Figure 9 , the terminal device generates a second user interface in response to a 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 foregoing embodiments and will not be elaborated here.
[0166] Since the application type of the first application card is of 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-visual entertainment" type, when the terminal device detects that the user clicks on the "audio-visual entertainment" type in the application type parameter setting option 601 of the second user interface, it can switch the card type parameter setting option 602 and the layout parameter setting option 603 to the content corresponding to the "audio-visual entertainment" type. For example, the content in the card type parameter setting option 602 can be switched to application cards such as music and video types. 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, for example: star layout method and triangle layout method, etc.
[0167] Exemplarily, when the terminal device detects that the user clicks on the application card of the "video" type in the card type parameter setting option 602, it can display the application card in the preview area 606, such as the application card of "video application B". The size of the application card in the preview area 606 is default the same as the size of the first application card 10, and the terminal device switches and displays the layout method 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 layout parameter setting option 603, such as the star layout method, it can switch the layout of the application card in the preview area 606 from the default layout structure of "video application B" to the star layout method. When the terminal device detects that the user clicks on the pink color block in the color parameter setting option 604, it can set the background color of the application card in the preview area 606 to pink. When the terminal device detects that the user clicks on the target size in the size parameter setting option 605, it can replace the size of the application card in the preview area 606 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 on the replacement button 608 in the second user interface, it generates the second application card 20 based on the various parameters set above, and replaces the first application card 10 with the second application card 20 for display. For example: remove the first application card 10 and display the second application card 20 at the original position of the first application card 10.
[0170] If the user does not want to replace the application card, they can click the cancel button 607. When the terminal device detects that the user clicks the cancel button 607 in the second user interface, it does not replace the application card, cancels the display of the second user interface, and returns to the first user interface. At this time, the first application card 10 in the first user interface is still displayed in its original position.
[0171] It can be seen that the method for replacing application cards provided by the embodiments of the present application can achieve the original position replacement of different types of application cards across applications, and can replace the size of the application card, realizing the quick interaction effect of replacing the new application card at the original position without first removing the original application card, and the user interaction experience is better.
[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 the size of the first application card, and thus the second application card may be displayed in the first user interface where the first application card is located, or displayed 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 less than or equal to the size of the first application card 10, the second application card 20 can be displayed in 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 greater than the size of the first application card 10, the situation where the second application card 20 cannot be displayed in the original position of the first application card 10 will occur.
[0174] In one implementation, when the size of the second application card 20 is greater 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 greater 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 desktop different from the first user interface.
[0175] Wherein, 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 replacement display of application cards, it can display the second application card 20 in different ways based on the size relationship between the size of the first application card 10 and the size of the second application card 20.
[0177] Figure 10 It is a schematic diagram of displaying a small-sized second application card provided by an embodiment of the present application.
[0178] In one implementation, referring to Figure 10 , if the size of the second application card 20 is less 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 indicates that the original position of the first application card 10 can be replaced and displayed with the second application card 20, that is, it 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, it can remove the first application card 10 and display the second application card 20 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 idle position.
[0179] Figure 11 It is a schematic diagram of displaying a large-sized second application card provided by an embodiment of the present application.
[0180] In one implementation, referring to Figure 11 , if the size of the second application card 20 is greater than the size 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 indicates that the original position of the first application card 10 cannot be directly replaced and displayed with the second application card 20. Then, to display the second application card 20 within the current screen where the first application card 10 is located, it can be determined whether there is enough space in the current screen where the first application card 10 is located to display the large-sized second application card 20.
[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 within the display screen view of the first application card 10 or in another screen interface. Among them, the blank area is the area of the first user interface within the display screen view that does not include application cards.
[0182] Exemplarily, referring to Figure 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, if the total size of the enclosed area A is 4×4 and the size of the second application card is 4×4, it indicates that the large-sized second application card 20 can be displayed within the current screen of the first application card 10. Furthermore, it shows 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, it can remove the first application card 10 and display the second application card 20 at the original position of the first application card 10 and the position of the area A enclosed by the adjacent blank area.
[0183] Figure 12 It is another schematic diagram showing the display of the large-sized second application card provided by the embodiments of the present application.
[0184] In one implementation, refer to Figure 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 less than the size of the second application card 20. For example, if the total size of the enclosed area A is 4×3 and the size of the second application card is 4×4, it indicates that the large-sized second application card 20 cannot be displayed within the current screen of the first application card 10, which means that the third user interface is a newly created desktop and is 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, it displays a new screen interface B 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 back to the screen where the original first application card 10 was 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 for a method and a terminal device for replacing application cards provided by the embodiments of the present application, the terminal device receives a first operation on a first application card on a first user interface; in response to the first operation, it displays a second user interface, and the second user interface includes a first option; it receives a second operation on the first option; in response to the second operation, it displays a third user interface, and 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 performing application card replacement, this method and terminal device do not need to first remove the original application card, and can achieve quick replacement of application cards through simple operations. Moreover, the new application cards for replacement can customize the card type, style, etc., to achieve replacement of application cards across application programs, providing a better user interaction experience.
[0186] In the above embodiments provided by the present application, the various solutions of the method for replacing application cards provided by the present application are introduced from the perspective of the terminal device itself. It can be understood that in order for the terminal device to implement the above functions, it includes the corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0187] Figure 13 It is a schematic structural diagram of a device for replacing application cards provided by an embodiment of the present application. As Figure 13 shown, the device for replacing application cards 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 may be independent devices or integrated in one or more processors. The memory 1302 is coupled to the processor 1303 and is used to store various software programs and / or multiple sets of instructions. In some embodiments, the memory 1302 may include volatile memory and / or non-volatile memory. The touch screen 1301 is used to display the user interface and obtain the operations of the user.
[0189] In one implementation, Figure 13 the device for replacing application cards shown can be used to implement the functions of the terminal device.
[0190] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is caused 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, where 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, the third user interface including a second application card, the second application card being 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 first remove the original application card, and can achieve quick replacement of the application card through simple operations. Moreover, the new application card for replacement can customize the card type, style, etc., to achieve replacement of application cards across application programs, and the user's interaction experience is better.
[0191] In one implementation, the first user interface and the third user interface are the desktops of the terminal device.
[0192] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is caused to perform the following method steps: the first option includes a parameter setting option and a first control, and the second user interface further 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: in response to the third operation, generating a third application card 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, and the card in the preview area will change accordingly, facilitating the user to view the display effect of the set second application card in real time after completing the operation on the corresponding parameter setting option.
[0193] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is caused to perform the following method steps: receiving a second operation on the first option further includes: receiving a fourth operation on the first control; in response to the second operation, displaying a third user interface, the third user interface including 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 make corresponding selections among the various parameter setting options in the second user interface to complete the parameter setting of the second application card, and the user's interaction experience is better.
[0194] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is used to execute 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, a second control. The parameter setting option includes one or more of the following: application type, card type, layout, color, size. In this way, the terminal device allows the user to customize parameters such as the size, color, layout, card type, and application type of the application card, achieving the integration of customization and convenient interaction.
[0195] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is used to execute the following method steps: The parameter setting option includes a first parameter setting option within the visual field of the display screen of the terminal device and a second parameter setting option outside the visual field of the display screen area of the terminal device; The method further includes: receiving a fifth operation performed on the second user interface; in response to the fifth operation, moving the second parameter setting option into the visual field of the display screen of the terminal device. In this way, the terminal device allows the user to complete the configuration of multiple parameters for the second application card in the second user interface, and the user's interaction experience is better.
[0196] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is used to execute the following method steps: The parameter set by the first option includes size; If the size of the second application card is less than or equal to the size of the first application card, then 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, realizing the replacement of the application card at the original position.
[0197] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is used to execute the following method steps: If the size of the second application card is greater than the size of the first application card, then the third user interface is a newly created desktop, and the third user interface is a desktop different from the first user interface, where 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 the large-sized second application card at the original position of the first application card, it can display the second application card 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 interaction experience is better.
[0198] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is used to execute the following method steps: receiving a sixth operation on a second control; in response to the sixth operation, closing the second user interface and displaying a first user interface. In this way, the terminal device allows the user to cancel the replacement operation of the application card at any time, providing a better user interaction experience.
[0199] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is used to execute the following method steps: The first operation includes multiple consecutively executed sub-operations; in response to the first operation, displaying a second user interface, including: receiving a first sub-operation performed on a first application card; in response to the first sub-operation, selecting the first application card; receiving a second sub-operation performed 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 performed on the first application card; in response to the third sub-operation, generating a second user interface. In this way, the terminal device can support the user to generate the second user interface through consecutive operations, so as to configure the second application card through the second user interface, providing a better user interaction experience.
[0200] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is used to execute the following method steps: 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 contacts the prompt area, displaying a prompt animation in the prompt area. In this way, the terminal device can display the prompt area and the prompt animation when the user moves the first application card, inform the user of the target position to which the first application card is moved through the prompt area, and prompt the user that performing the third sub-operation can trigger the display of the second user interface through the prompt animation, providing a better user interaction experience.
[0201] In one implementation, when the software program and / or multiple sets of instructions in the memory 1302 are run by the processor 1303, the terminal device is used to execute the following method steps: The first operation includes multiple intermittently executed sub-operations; in response to the first operation, displaying a second user interface, including: receiving a fourth sub-operation performed on a 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, where the edit pop-up window includes a third control; receiving a fifth sub-operation performed on the third control; in response to the fifth sub-operation, generating a 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, providing a better user interaction experience.
[0202] The embodiments of the present application also provide a computer-readable storage medium, in which instructions are stored, and when they run on a computer, the computer is enabled to execute the methods in the above aspects.
[0203] The embodiments of the present application also provide a computer program product containing instructions, and when it runs on a computer, the computer is enabled to execute the methods in the above aspects.
[0204] The above specific embodiments further elaborate on the purpose, technical solutions, and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for replacing application cards, characterized in that, Applied to a terminal device, the method includes: Display a first user interface, where 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 the application program corresponding to the first application card and displays the application interface of the application program; In response to a second operation on the first application card, display a replacement item on one side of the first application card; In response to a third operation on the replacement item, display a second user interface, where 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 a fourth operation is received, the application type parameter setting option is displayed as selecting a second application category, and the second application card included in the second user interface is switched to a third application card, where 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 a fifth operation is received, display the desktop, where 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 was displayed, where the fifth operation is associated with the third application card.
2. The method according to claim 1, characterized in that Before the fourth operation is received, the method further includes: When a sixth operation is received, display the desktop, where on the desktop, the first application card is stopped from being displayed, and the second application card is displayed at the original position where the first application card was displayed, where 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 swipe operation and a click operation.
4. The method according to claim 1, wherein In response to the third operation on the replacement item, the displayed second user interface further includes a fourth application card, the fourth application card is a card of an application of the first application category, and the applications to which the second application card and the fourth application card belong are different.
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, wherein The application to which the second application card belongs is different from the application to which the first application card belongs.
7. The method according to any one of claims 1-6, characterized in that, The application type parameter setting option includes at least one of the following options: office efficiency, audio-visual entertainment.
8. The method according to claim 7, wherein The application types corresponding to office efficiency include at least one of the following applications: memo, schedule.
9. The method according to claim 7, wherein The application types corresponding to audio-visual entertainment include at least one of the following applications: music, video.
10. The method according to claim 1, wherein The second user interface further includes a first control. The fifth operation includes an operation on the first control.
11. The method according to claim 1, wherein The second user interface further includes a second control, and the method further includes: In response to an operation on the second control, close the second user interface and display the first user interface, 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-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-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 the second operation on the first application card, displaying an editing pop - up window at a position on one side of the first application card, where the editing pop - up window includes the replacement item.
14. The method according to claim 13, wherein The editing pop - up window further includes a removal control, and the method further includes: In response to an operation on the removal control, deleting the first application card on the first user interface.
15. The method according to claim 1, characterized in that, The method further includes: In response to a sliding operation, switching the cards of the applications of the first application category displayed in the second user interface.
16. The method according to claim 1, wherein, 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.
17. A method for replacing application cards, characterized in that, Applied to a terminal device, the method includes: Displaying a first user interface, where 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, 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 a third operation, displaying the desktop, where 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 was displayed, where 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 - click screen operation, a multi - click screen operation, a multi - finger single - click screen operation, and a multi - finger multi - click screen 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 includes a fourth application card, and the fourth application card is a card of an application of the second application category; After receiving a sixth operation, displaying the desktop, where on the desktop, the second application card is stopped from being displayed, and the fourth application card is displayed at the original position where the second application card was displayed, where the sixth operation is associated with the fourth application card.
18. The method according to claim 17, wherein, 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.
19. The method according to claim 17, wherein When a seventh operation on the first application card is received, in response to the seventh operation, the terminal device starts the application program corresponding to the first application card and displays the application interface of the application program.
20. The method according to claim 17, wherein Both the second user interface and the third user interface include application type parameter setting options. When the second user interface is displayed in response to the second operation on the third control on one side of the first application card, the default option of the application type parameter setting option displayed on the second user interface is the first application category. When the third user interface is displayed in response to the fifth operation on the third control on one side of the second application card, the default option of the application type parameter setting option displayed on the third user interface is the second application category.
21. The method according to claim 20, wherein Both the second user interface and the third user interface include card type parameter setting options. The card type parameter setting option of the second user interface includes the third application card, and the card type parameter setting option of the third user interface includes the fourth application card.
22. The method according to claim 21, wherein After an eighth operation is received when the second user interface is displayed, the application type parameter setting option is displayed as the second application category selected, 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.
23. The method according to claim 22, wherein The eighth operation includes one or more of a click operation and a swipe operation.
24. The method according to claim 17, characterized in that, The second user interface further includes a fifth application card, and the fifth application card is a card of an application in the first application category. The third user interface further includes a sixth application card, and the sixth application card is a card of an application in the second application category.
25. The method according to claim 17, wherein The third application card is different from the application to which the first application card belongs.
26. The method according to claim 20, characterized in that, The application type parameter setting option includes at least one of the following options: office efficiency, audio and video entertainment.
27. The method according to claim 26, characterized in that, The application types corresponding to the office efficiency include at least one of the following applications: memo, schedule.
28. The method according to claim 26, wherein The application types corresponding to the audio and video entertainment include at least one of the following applications: music, video.
29. The method according to claim 17, characterized in that, Both the second user interface and the third user interface 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.
30. The method according to claim 17, wherein 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.
31. The method according to any one of claims 17-30, characterized in that The first operation is a long press operation on the first application card.
32. The method according to any one of claims 17 - 30, 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 the first operation on the first application card, an edit pop-up window is displayed at a position on one side of the first application card, and the third control is included in the edit pop-up window.
33. The method according to claim 32, wherein, The editing pop-up window further includes a removal control, and the method further includes: In response to an operation on the removal control, deleting the first application card on the first user interface.
34. The method according to claim 21, wherein The method further includes: In response to a sliding operation, switching the cards displayed in the card type parameter setting option.
35. A terminal device, characterized in that, Including a memory; A processor; And a touch screen, which 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 for replacing an application card according to any one of claims 1-34.
36. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program instructions. When the program instructions run on a computer, the computer executes the method for replacing an application card by a terminal device according to any one of claims 1-34.
37. A computer program product, characterized in that, When it runs on a computer, the computer executes the method for replacing an application card by a terminal device according to any one of claims 1-34.