Application card adjustment method and device, terminal equipment and storage medium
Patent Information
- Application Number
- CN202380062424.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-08-26
- Filing Date
- 2023-04-27
- Publication Date
- 2025-04-04
AI Technical Summary
In the existing technology, the efficiency of changing the display size of application cards is low, and the operation process is lengthy, which affects the user experience.
By triggering sliding gestures on the application card, you can obtain the size adjustment strategy and automatically adjust the display size, simplifying the operation process and improving efficiency.
The application card display size adjustment process is simplified, the adjustment efficiency is improved, and the user operation experience is improved.
Smart Images

Figure CN119768760A_ABST
Abstract
Description
Application card adjustment method, device, terminal device and storage medium
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on August 26, 2022, with application number 202211037857.1 and invention name “Application card adjustment method, device, terminal equipment and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to an application card adjustment method, apparatus, terminal device, and storage medium. Background Art
[0003] With the continuous development of smart mobile terminals and software technologies, browsing various information through mobile terminal clients, applications, web pages, applets, and app cards has become increasingly popular. App cards present information about a target application in a card format. Users can access the required information about the target application by simply browsing the corresponding app card on the mobile terminal's display, without having to access the application page.
[0004] In related technologies, some app cards are preset with multiple display sizes. When a user needs to change the initial display size of any app card on the currently displayed desktop, they need to long-press the menu key to enter the menu content display interface, select the "More Service Cards" submenu, and then select and add an app card at the target display size of the application in this submenu, and then return to the currently displayed desktop. Furthermore, the app card at the initial display size is deleted from the currently displayed desktop, and the app card at the target size is added to the corresponding position.
[0005] However, the above technology has a lengthy operation process when changing the display size of the application card, resulting in low efficiency in changing the display size of the application card.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide an application card setting method, apparatus, terminal device, and storage medium, which can quickly and effectively adjust the display size of application cards. The technical solution is as follows:
[0008] In a first aspect, an embodiment of the present application provides an application card adjustment method, the method comprising:
[0009] In response to a first sliding operation gesture triggered by a user on a first application card in a currently displayed interface, obtaining a size adjustment strategy for the first application card;
[0010] Determine a target display size of the first application card based on the current display size of the first application card and the size adjustment policy;
[0011] The first application card is displayed in the target display size in the current display interface.
[0012] As can be seen, when adjusting the display size of an application card, the present application does not need to trigger the menu key and select the application and the display size of the application card in sequence in the menu content display interface. Instead, the first sliding operation gesture is directly triggered on the application card to instruct the terminal device to obtain the size adjustment policy corresponding to the application card according to the first sliding operation gesture, and automatically adjust the display size of the application card according to the current display size and size adjustment policy of the application card. In this way, the display size adjustment process of the application card is simplified, the adjustment efficiency of the display size of the application card is improved, and the user operation experience is better.
[0013] In one possible implementation, in response to a first sliding operation gesture triggered by a user on a first application card in a currently displayed interface, obtaining a size adjustment strategy for the first application card includes:
[0014] Obtain the operation strategy correspondence between card operation gestures and card adjustment strategies;
[0015] A size adjustment strategy corresponding to the first application card is determined according to a correspondence between a first sliding operation gesture triggered by the user on the first application card and the operation strategy.
[0016] That is, after presetting the operation policy correspondence, this application can quickly and accurately determine the user's adjustment requirements for the application card based on the operation gesture triggered by the user on the application card. When the terminal device detects the first sliding operation gesture on the first application card, it can quickly obtain the size adjustment policy of the first application card based on the operation policy correspondence, so as to accurately and effectively respond to the user operation and improve the user experience.
[0017] In one possible implementation, determining a target display size of the first application card according to the current display size of the first application card and a size adjustment policy includes:
[0018] Get the display size switching order of the first application card;
[0019] A target display size of the first application card is determined according to the current display size of the first application card and the display size switching order.
[0020] In this implementation, the user can initiate the display size switching process of the first application card through a first sliding operation gesture. In other words, the terminal device responds to the user's first sliding operation gesture and determines the target display size that the user needs to switch to based on the display size switching order, which is simple to operate.
[0021] Moreover, by repeatedly switching, the user can intuitively understand the display effect of the first application card under each display size, so that the target display size selected after switching meets the user's actual needs and the user's operating experience is better.
[0022] In one possible implementation, determining the target display size of the first application card according to the current display size of the first application card and the display size switching order includes:
[0023] In response to a first sliding operation gesture triggered by a user on a first application card and a display size switching sequence, determining an intermediate display size of the first application card, and displaying the first application card at the intermediate size;
[0024] If a size confirmation operation triggered by the user is detected on the first application card displayed in the middle display size, the middle display size is determined as the target display size of the first application card.
[0025] In this implementation, after the terminal device switches from the current display size to an intermediate display size according to the display size switching sequence in response to the user's first slide gesture, the user determines whether to use the intermediate size as the target display size after the switch. This ensures that the target display size after the switch meets the user's actual display size adjustment needs through user interaction and display size confirmation, resulting in more accurate adjustment results.
[0026] In one possible implementation, determining a target display size of the first application card according to the current display size of the first application card and a size adjustment policy includes:
[0027] Display candidate display cards of the first application card in multiple preset display sizes;
[0028] A target display card corresponding to the first application card is determined from a plurality of candidate display cards; the display size of the target display card is the target display size of the first application card.
[0029] That is, in response to the user's first sliding gesture on the first app card, the terminal device uses a global preview to display candidate display cards for the first app card at multiple preset display sizes, and then determines the target display card and target display size based on the multiple candidate display cards. This simplifies the display size adjustment process for the first app card.
[0030] Moreover, multiple candidate display cards are displayed at the same time, which makes it easier for users to intuitively understand the display effects of the first application card under different display sizes. Multiple display sizes can also be comprehensively compared, so that the selection of the target display size is more in line with the user's real ideas, effectively avoiding the deviation between the selection result and the actual needs, improving the browsing efficiency of the display size of the first application card, and enhancing the user's operating experience.
[0031] In one possible implementation, displaying the first application card in the target display size in the current display interface includes:
[0032] The first application card is switched to a target display card to display the target application card in the current display interface.
[0033] As can be seen, after determining the target application card through the global preview method, the target display card can be directly displayed in the card display area corresponding to the first application card in the current display interface. In this way, the display size can be quickly adjusted by directly switching the entire application card.
[0034] In one possible implementation, determining a target display size of the first application card according to the current display size of the first application card and a size adjustment policy includes:
[0035] Obtaining a display size adjustment amount of the first application card according to a first sliding operation gesture triggered by the user on the first application card;
[0036] A target display size of the first application card is determined according to the current display size of the first application card and the display size adjustment amount.
[0037] In this implementation, in response to a first sliding gesture triggered by a user on a first application card, the terminal device adaptively adjusts the display size of the first application card to the target display size based on the current display size and the display size adjustment amount determined based on the user's first sliding gesture. This simplifies the display size adjustment process for the first application card. At the same time, by adaptively adjusting the display size, users can flexibly and effectively adjust the display size of the first application card according to their actual needs, so that the adjusted target display size matches the user's actual needs, enhancing the user's operating experience.
[0038] In a possible implementation, the first sliding operation gesture includes a horizontal sliding operation and / or a vertical sliding operation, and the display size adjustment amount includes a horizontal size adjustment amount and / or a vertical size adjustment amount;
[0039] Obtaining a display size adjustment amount of the first application card according to a first sliding operation gesture triggered by a user on the first application card, including:
[0040] Obtaining a horizontal size adjustment amount of the first application card based on a horizontal sliding operation triggered by the user on the first application card;
[0041] and / or,
[0042] According to a vertical sliding operation triggered by the user on the first application card, a vertical size adjustment amount of the first application card is obtained.
[0043] That is, when the display size of the first application card is adaptively adjusted through the first sliding operation gesture, only the horizontal size adjustment can be performed, or only the vertical size adjustment can be performed, or the display size of the first application card can be adjusted in both horizontal and vertical dimensions, which is more flexible.
[0044] In one possible implementation, displaying the first application card in the target display size in the current display interface includes:
[0045] Obtain the card display area corresponding to the first application card at the target display size;
[0046] Based on the card display area, determine the icon to be moved from multiple application icons in the current display interface;
[0047] Based on a preset icon movement rule, the icon to be moved is moved to display the first application card in the card display area at a target display size.
[0048] As can be seen from this, when the first application card is displayed in the current display interface at the target display size, the icon to be moved needs to be moved based on the card display area determined by the target display size. In this way, the first application card and application icon displayed in the current display interface can be clearly displayed without blocking or overlapping each other.
[0049] In a possible implementation, the icon to be moved includes a first moving icon and a second moving icon; the first moving icon is an application icon corresponding to the card display area, and the second moving icon includes at least one application icon other than the first moving icon in the current display interface;
[0050] Based on the preset icon movement rules, the icons to be moved are moved, including:
[0051] Add a blank display interface between the current display interface and the next display interface; the current display interface and the next display interface are adjacent display interfaces;
[0052] Move the first moving icon or the second moving icon to the blank display interface for display.
[0053] In this way, by adding a new display interface, the mobile icon is displayed without affecting the display order of application icons in other display interfaces in the terminal device, and the operation is simple; at the same time, the user's original application icon deployment habits in other display interfaces are maintained, and the user experience is better.
[0054] In a possible implementation, the icon to be moved includes a third moving icon; the third moving icon includes a plurality of application icons below and behind the card display area in the current display interface;
[0055] Based on the preset icon movement rules, the icons to be moved are moved, including:
[0056] According to the preset movement direction priority, the third movement icon is moved backward in sequence to display the third movement icon in the current display interface and / or the next display interface;
[0057] The moving direction priority indicates that the horizontal moving priority is higher than the vertical moving priority.
[0058] In this way, the icons to be moved are displayed by moving the application icons backward in sequence, so that after adjusting the display size of the first application card, the application icons in the terminal device are still displayed neatly and the display order remains unchanged, which is in line with the user's original application icon browsing habits.
[0059] In a possible implementation, the method further includes:
[0060] In response to a second sliding operation gesture triggered by the user on the first application card in the current display interface, obtaining an application switching policy for the first application card;
[0061] According to the application switching policy, the first application card is switched to the second application card; the first application card and the second application card correspond to different applications.
[0062] It can be seen from this that when adjusting the application type of an application card, the present application does not need to trigger the menu key and select the second application to be switched in the menu content display interface; instead, the second sliding operation gesture is directly triggered on the first application card to instruct the terminal device to obtain the application switching policy corresponding to the application card according to the second sliding operation gesture, and automatically switch the first application card to the second application card according to the application switching policy, so as to display the second application card in the current display interface. In this way, the application type adjustment process of the application card is simplified, the adjustment efficiency of the application card application type is improved, and the user operation experience is better.
[0063] In one possible implementation, if the current display size of the first application card is a preset maximum display size or a preset minimum display size, the method further includes:
[0064] In response to a first sliding operation gesture triggered by a user on a first application card in a currently displayed interface, obtaining an application switching policy for the first application card;
[0065] According to the application switching policy, the first application card is switched to the second application card; the first application card and the second application card correspond to different applications.
[0066] That is, when a user triggers the first sliding operation gesture on a first app card to adjust the current display size of the first app card, if the current display size of the first app card or the adjusted target display size is equal to the preset maximum display size or minimum display size, then after the user continues to trigger the first sliding operation gesture, the display size switching operation is no longer performed. Instead, the first app card is switched to the second app card according to the above-mentioned application switching policy. Therefore, the first sliding operation gesture can not only adjust the display size of the app card, but also adjust the application type of the app card, making the adjustment of the app card more flexible and more effective.
[0067] In a second aspect, an embodiment of the present application provides an application card adjustment device, the device comprising:
[0068] an acquisition module, configured to acquire a size adjustment policy for the first application card in response to a first sliding operation gesture triggered by a user on the first application card in the current display interface;
[0069] a determination module, configured to determine a target display size of the first application card based on the current display size of the first application card and a size adjustment policy;
[0070] The display module is used to display the first application card in the target display size in the current display interface.
[0071] In a third aspect, an embodiment of the present application provides a terminal device, including a memory and a processor;
[0072] Memory is used to store computer programs;
[0073] The processor is used to read the computer program from the memory and execute the computer program to implement the steps of the application card adjustment method shown in any method embodiment of the first aspect above.
[0074] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the application card adjustment method shown in any method embodiment of the first aspect above.
[0075] In the fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program; when the computer program product is run on the above-mentioned terminal device, the terminal device executes the steps of the application card adjustment method shown in any method embodiment in the above-mentioned first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] FIG1 is a schematic structural diagram of a terminal device shown in an exemplary embodiment of the present application;
[0077] FIG2 is a flow chart of an application card adjustment method according to an exemplary embodiment of the present application;
[0078] FIG3 is a schematic diagram of a process for determining a target display size according to an exemplary embodiment of the present application;
[0079] FIG4 is a schematic diagram of display size switching shown in an exemplary embodiment of the present application;
[0080] FIG5 is a schematic diagram of another process for determining a target display size according to an exemplary embodiment of the present application;
[0081] FIG6 is another schematic diagram of display size switching shown in an exemplary embodiment of the present application;
[0082] FIG7 is a schematic diagram of another process for determining a target display size according to an exemplary embodiment of the present application;
[0083] FIG8 is a schematic diagram of another display size switching method according to an exemplary embodiment of the present application;
[0084] FIG9 is a schematic diagram of a process of displaying an application card according to an exemplary embodiment of the present application;
[0085] FIG10 is a schematic diagram showing an application card display according to an exemplary embodiment of the present application;
[0086] FIG11 is a schematic diagram showing another application card display according to an exemplary embodiment of the present application;
[0087] FIG12 is a schematic diagram showing another application card display according to an exemplary embodiment of the present application;
[0088] FIG13 is a flow chart of another application card adjustment method according to an exemplary embodiment of the present application;
[0089] FIG14 is a schematic structural diagram of an application card adjustment device according to an exemplary embodiment of the present application;
[0090] FIG15 is a schematic structural diagram of another application card adjustment device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0091] In order to make the purpose, technical solutions and advantages of this application more clear, the technical solutions of this application will be further described in detail below with reference to the accompanying drawings and embodiments.
[0092] Before explaining the application card adjustment method provided in the embodiment of the present application, the application scenario of the embodiment of the present application is first introduced.
[0093] With the continuous development of smart mobile terminals and software technology, it has become increasingly common to use clients, applications, web pages, applets, and app cards on terminal devices to browse various information. In the display interface of terminal devices, applications generally adopt two layout forms: application icon layout and application card layout.
[0094] In the application icon layout, by clicking an application icon, you can enter the application interface of that application (which can be the main interface of that application), thereby viewing and editing detailed information within the application. In this layout, when a user needs to obtain detailed information within a certain application, they must enter the relevant application interface, then follow the content displayed on the application interface and gradually select the required content. The operation steps are relatively cumbersome and cannot be directly accessed in one step.
[0095] In the app card layout, the core functionality of an app is displayed on a card. Because the content displayed in an app card is linked to the content displayed when the associated app is opened, when users want to access information within an app, they can directly browse the app card corresponding to the app without having to open the app page.
[0096] Typically, app cards provide multiple display sizes for users to set to clearly display application-related information and meet users' browsing needs.
[0097] For any application card displayed on the terminal device's display interface, when the user wants to adjust the display size of the application card, the adjustment process is as follows: first, long press the menu key to enter the menu content display interface, click the "More Service Cards" submenu in the menu content display interface, and then select the corresponding application in the submenu and add an application card for the application at the target display size. Then, return to the current display desktop, delete the application card at the initial display size on the current display desktop, and add the application card at the target size to the corresponding card display area.
[0098] However, the above display size adjustment process requires the user to perform multiple click selection operations, the operation process is relatively lengthy, and the display size adjustment efficiency of the application card is low, which affects the user's operating experience.
[0099] Based on this, the present application provides an application card adjustment method, apparatus, terminal device, and storage medium. These methods directly respond to user gestures triggered by an application card and employ corresponding resizing strategies to adjust the current display size of the application card so that the application card is displayed at the target display size. This method improves the efficiency of adjusting the display size of the application card by simplifying the user's operation steps, thereby providing a better user experience.
[0100] Of course, the above-mentioned adjustment of the display size of the application card by triggering the first sliding operation gesture on the application card is only one application scenario of the present application. The present application can also be applied to other display states and display content adjustment scenarios of the application card, which will not be listed one by one.
[0101] Furthermore, after introducing the application scenarios of the embodiments of the present application, the implementation environment of the present application is introduced.
[0102] In an exemplary embodiment, the application card adjustment method provided in the embodiment of the present application can be applied to a terminal device. As shown in FIG1 , the terminal device includes at least one processor 110 , a memory 120 , a communication interface 130 , and a system bus 140 .
[0103] The processor 110 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, or one or more integrated circuits for implementing the technical solutions of the present application, such as an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0104] The memory 120 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, or a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0105] Optionally, the memory 120 may exist independently and be connected to the processor 110 via the system bus 140 ; the memory 120 may also be integrated with the processor 110 .
[0106] The communication interface 130 is used to communicate with other devices or communication networks. The communication interface 130 may include a wired communication interface or a wireless communication interface. The wired communication interface may be an Ethernet interface; the Ethernet interface may be an optical interface, an electrical interface, or a combination thereof. The wireless communication interface may be a wireless local area network (WLAN) interface, a cellular network communication interface, or a combination thereof.
[0107] The system bus 140 is used to transmit information between the aforementioned components. The system bus 140 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the figure uses only one thick double-arrowed line, but this does not mean that there is only one bus or only one type of bus.
[0108] Optionally, the processor 110 may include one or more CPUs.
[0109] Optionally, the terminal device may also include multiple processors 110. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).
[0110] Optionally, the terminal device may further include an output device and an input device (not shown in FIG1 ). The output device communicates with the processor 110 and may display information in a variety of ways. For example, the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device communicates with the processor 110 and may receive user input information or instructions in a variety of ways. For example, the input device may be a mouse, a keyboard, a touch screen, or a sensor device.
[0111] In addition, in some embodiments, the memory 120 is used to store a computer program for executing the technical solution of the present application, and the processor 110 can execute the computer program stored in the memory 120. For example, the terminal device can call and execute the computer program in the memory 120 through the processor 110 to implement the application card adjustment method provided in the embodiment of the present application.
[0112] Next, the technical solutions of the embodiments of the present application and how the technical solutions of the embodiments of the present application solve the above-mentioned technical problems will be described in detail in conjunction with the accompanying drawings. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that the embodiment of the present application provides an application card adjustment method, the execution subject of which can be the terminal device shown in Figure 1 above, or an application card adjustment device, which can be implemented as part or all of the processor in the terminal device through software, hardware, or a combination of software and hardware. Obviously, the described embodiment is a part of the embodiment of the present application, not all of the embodiments.
[0113] In one method embodiment, as shown in FIG2 , the present application embodiment provides an application card adjustment method to adjust the display size of a first application card. The method can be applied to the terminal device shown in FIG1 and includes the following steps:
[0114] Step 210: In response to a first sliding operation gesture triggered by the user on a first application card in the current display interface, a size adjustment strategy for the first application card is obtained.
[0115] In terms of sliding mode, the first sliding operation gesture may include a light touch sliding operation and a long press sliding operation; in terms of sliding direction, the first sliding operation gesture may include a horizontal sliding operation and a vertical sliding operation, wherein the horizontal sliding operation includes a left sliding operation and a right sliding operation, and the vertical sliding operation includes an upward sliding operation and a downward sliding operation. The first sliding operation gesture in the embodiment of the present application can be one of the sliding operation gestures listed above or a combination of multiple sliding operation gestures, without limitation.
[0116] Taking a mobile phone as an example, a mobile phone typically includes multiple display interfaces, such as a main desktop interface, a negative first screen interface, and at least one application interface. In the embodiments of the present application, the current display interface is any display interface on the mobile phone that has an application card, and the first application card is a card for any application installed on the terminal device.
[0117] It should be understood that the main desktop interface is usually the first desktop page, which can be set at the factory or configured according to the user's preferences; the negative first screen interface is a display interface located to the left of the main desktop interface, which is used to provide users with search, application suggestions, quick services, application cards, contextual intelligence and other services. This embodiment of the application does not impose any limitation on this.
[0118] Furthermore, since the first sliding operation gesture refers to the operation performed by the user by sliding the touch screen of the terminal device, after the terminal device detects the first sliding operation gesture for the first application card in the current display interface, it determines the size adjustment strategy of the first application card in response to the first sliding operation gesture.
[0119] Among them, when determining the size adjustment strategy based on the first sliding operation gesture, the size adjustment strategy of the first application card can be determined in real time based on the machine learning model; the size adjustment strategy of the first application card can also be determined based on a preset correspondence relationship; the size adjustment strategy of the first application card can also be input by the user independently, and the embodiments of the present application do not limit this.
[0120] In one possible implementation, the implementation process of step 210 may be: obtaining the operation strategy correspondence between the card operation gesture and the card adjustment strategy; determining the size adjustment strategy corresponding to the first application card based on the first sliding operation gesture triggered by the user on the first application card and the operation strategy correspondence.
[0121] Among them, the operation strategy correspondence may include the correspondence between the sliding operation gesture and the card adjustment strategy, the correspondence between the clicking operation gesture and the card adjustment strategy, and the correspondence between other operation gestures and the card adjustment strategy.
[0122] Specifically, the correspondence between the sliding operation gesture and the card adjustment policy can further include the card adjustment policy corresponding to different sliding operation gestures. For example, the card adjustment policy corresponding to the first sliding operation gesture is a size adjustment policy; the card adjustment policy corresponding to the second sliding operation gesture is an application switching policy; the card adjustment policy corresponding to the third sliding operation gesture is a content editing policy, and so on. This embodiment of the application does not limit this.
[0123] As an example, before executing step 210, an operation policy correspondence between the first sliding operation gesture and the resizing policy can be pre-configured and stored in a server corresponding to the application client. In actual application, upon detecting a first sliding operation gesture initiated by a user using a finger or a stylus on a first application card in the current display interface, the resizing policy for the first application card is determined based on the pre-configured operation policy correspondence.
[0124] In this way, by pre-configuring the operation strategy correspondence, the user's card adjustment requirements can be accurately determined in actual application, and the size adjustment strategy of the first application card can be quickly obtained to quickly respond to user operations and provide a better user experience.
[0125] Step 220: Determine the target display size of the first application card according to the current display size and size adjustment policy of the first application card.
[0126] The first application card may provide one display size or multiple display sizes. If one display size is provided, the target display size determined in step 220 is the same as the current display size; if multiple display sizes are provided, the target display size may be different from the current display size.
[0127] It should be noted that the display size of the first application card can be expressed in pixel values. For example, the display size of the first application card can be 600px long, 100px wide; 976px long, 440px wide; 1200px long, 640px wide, etc., which are not listed here.
[0128] When implementing the above step 220, the terminal device responds to the first sliding operation gesture triggered by the user on the first application card, and can determine the target display size by switching the size based on the current display size and the multiple display sizes preset for the first application card; it can also first display the display effect of the first application card under multiple display sizes through a global preview to determine the target display size; it can also directly adjust the current display size of the first application card to adjust it to the target display size.
[0129] It should be understood that there is no single way to determine the target display size. It can be one or more of the above-listed ways, or other ways. The embodiments of the present application do not limit this.
[0130] Next, the three implementation methods for determining the target display size listed above are described in detail.
[0131] In an exemplary embodiment, as shown in FIG3 , the process of determining the target display size in step 220 may include the following steps:
[0132] Step 310: Obtain the display size switching order of the first application card.
[0133] The display size switching sequence may include switching in an ascending order of display size, or switching in an ascending order of display size.
[0134] In step 310, the display size switching order can be pre-stored in the server corresponding to the first application client, or stored in the terminal device installed with the first application, or stored in other third-party devices or systems, and the embodiment of the present application does not limit this.
[0135] Specifically, when the user triggers the first sliding operation gesture on the first application card, the terminal device obtains the display size switching order of the first application card from the local database or the remote database according to the size adjustment strategy corresponding to the first sliding operation gesture, and executes the following step 320.
[0136] Step 320: Determine the target display size of the first application card according to the current display size of the first application card and the display size switching order.
[0137] It should be noted that after obtaining the display size switching order of the first application card, the terminal device can determine the target display size in response to the user's further operation gesture; the terminal device can also automatically determine the target display size of the first application card based on a preset size determination logic.
[0138] In one possible implementation, the implementation process of step 320 may be: in response to the first sliding operation gesture triggered by the user on the first application card and the display size switching order, determining the middle display size of the first application card, and displaying the first application card in the middle size; if a size confirmation operation triggered by the user is detected on the first application card displayed in the middle display size, determining the middle display size as the target display size of the first application card.
[0139] That is, in response to the first sliding operation gesture triggered by the user on the first application card, the display size switching operation is performed according to the display size switching order of the first application card to display the first application card through the switched intermediate display size.
[0140] It should be noted that when performing the first switching operation, the intermediate display size may be a display size adjacent to the current display size in the display size switching order. If the user continues to trigger the first sliding operation gesture on the first app card, then in the display size switching order, there is an interval of one display size between the intermediate display size and the current display size. And so on, no further explanation is given.
[0141] Furthermore, if the user triggers a size confirmation operation on a first app card displayed at an intermediate display size, the intermediate display size is determined as the target display size of the first app card. That is, each time the terminal device displays a first app card at an intermediate display size, it detects whether a size confirmation operation has been performed on the first app card, and then determines the target display size of the first app card based on the user's size confirmation operation.
[0142] Optionally, if no size confirmation operation is detected on the first app card displayed at the intermediate display size within a preset adjustment time, the current display size is determined as the target display size of the first app card. In other words, there is no need to adjust the current display size of the first app card.
[0143] Optionally, if no size confirmation operation is detected on the first application card displayed in the intermediate display size within a preset adjustment time, the intermediate display size is automatically determined as the target display size of the first application card.
[0144] The adjustment time may be any pre-set time, such as 30 seconds, 1 minute, 2 minutes, etc. The size confirmation operation may be a click operation.
[0145] In addition, a size confirmation button may be preset on the first application card, and the user can click the confirmation button to determine the current display size of the first application card as the target display size.
[0146] Taking the first sliding gesture as an upward swipe, the first application card includes three display sizes: A, B, and C. The display size switching order is A, B, and C. Among them, A is smaller than B, and B is smaller than C.
[0147] Refer to Figure 4. If the current display size is A display size, as shown in Figure 4 (a); when the user triggers a swipe up operation on the first application card, the first application card is displayed in B display size in the current display interface, as shown in Figure 4 (b); continue to trigger the swipe up operation on the first application card (i.e., the second swipe up operation), and the first application card is displayed in C display size in the current display interface, as shown in Figure 4 (c).
[0148] Furthermore, as shown in FIG4(c), a size confirmation button is provided on the first application card. When the user swipes up to switch to the C display size and clicks the size confirmation button, the C display size is determined as the target display size. The first application card is then displayed in the C display size, as shown in FIG4(d).
[0149] Optionally, during the display size switching process, navigation dots are displayed on the side of the first app card to remind the user which display size is currently being switched to among the multiple preset display sizes of the first app card. It should be understood that the number of navigation dots is the same as the number of preset display sizes of the first app card, and the navigation dots are updated each time the display size is switched.
[0150] In the above-mentioned target display size determination method, based on the display size switching order of the first application card, the display size of the first application card can be quickly switched in response to the user's first sliding operation gesture, so as to switch from the current display size to the target display size. That is, through the sliding switching method, the terminal device can quickly respond to the user's first sliding operation gesture and determine the target display size that the user needs to switch to, and the operation is simple. In addition, by repeatedly switching, the user can intuitively understand the display effect of the first application card under each display size, so that the target display size selected after switching meets the user's actual needs, and the user's operating experience is better.
[0151] In another exemplary embodiment, as shown in FIG5 , the process of determining the target display size in step 220 may include the following steps:
[0152] Step 510: Display candidate display cards of the first application card in a plurality of preset display sizes.
[0153] The number of the preset display sizes is the same as the number of candidate display cards. For example, if the first application card is preset with three display sizes, the number of candidate display cards for the first application card is also three.
[0154] In one possible implementation, the implementation process of step 510 may be: in response to a first sliding operation gesture triggered by the user on the first application card in the current display interface, candidate display cards for the first application card in multiple display sizes are displayed according to the size adjustment strategy of the first application card.
[0155] Continuing with the example of swiping up as the first sliding gesture, the first app card has three display sizes: A, B, and C. The display size switching order is A, B, and C. Among them, A is smaller than B, and B is smaller than C.
[0156] Referring to (a) in Figure 6, the current display interface includes a first application card displayed in a display size of B, and application icons corresponding to Application 1-Application 8; when the user triggers a swipe-up operation on the first application card, as shown in (b) in Figure 6, multiple candidate display cards are displayed above the first application card in a horizontal arrangement on the upper layer of the current display interface.
[0157] Among them, the candidate display cards include candidate display card A, candidate display card B and candidate display card C, and candidate display card A is a rendering of the first application card displayed in the A display size, candidate display card B is a rendering of the first application card displayed in the B display size; candidate display card C is a rendering of the first application card displayed in the C display size.
[0158] In this way, displaying the candidate display cards on the upper layer of the current display interface can effectively prevent the user from mistakenly triggering other application icons or display cards in the current display interface when selecting the target display card.
[0159] Optionally, multiple candidate display cards may also be displayed in an unoccupied display area in the current display interface, so that the user can select a target display size of the first application card according to the size of the unoccupied display area.
[0160] Optionally, multiple candidate display cards may also be displayed in a vertical arrangement.
[0161] Optionally, multiple candidate display cards may also be located below the first application card displayed in the current display size.
[0162] Step 520: Determine a target display card corresponding to the first application card from a plurality of candidate display cards; the display size of the target display card is the target display size of the first application card.
[0163] In a possible implementation, when determining the target display size from the plurality of candidate display cards in step 520, any of the following selection methods may be used:
[0164] (1) Based on a click operation triggered by a user on a candidate display card, the display size of the candidate display card is determined as a target display size.
[0165] The click operation may be a single click or multiple consecutive clicks, which is not limited in this embodiment of the present application.
[0166] (2) Based on a third sliding operation gesture triggered by the user on the candidate display card, the display size of the candidate display card is determined as the target display size.
[0167] Among them, the third sliding operation gesture can be the same as the first sliding operation gesture, or different from the first sliding operation gesture, and the embodiment of the present application does not limit this.
[0168] As an example, for the above-mentioned methods (1) and (2), as shown in (b) of Figure 6, if the user triggers a click operation or a third sliding operation gesture on the candidate display card C, the candidate display card C is determined as the target display card, and the display size C corresponding to the candidate display card C is the target display size.
[0169] (3) Based on the user's voice instruction, the display size of the target display card is determined as the target display size.
[0170] The voice command carries the card information of the target display card. After receiving the voice command, the terminal device determines the target display card from multiple candidate display cards and determines the display size of the target display card as the target display size.
[0171] (4) Based on the preset adjustment duration, if no user-triggered operation is detected on any candidate display card, the candidate display card corresponding to the current display size is determined as the target display card. In other words, there is no need to adjust the current display size, and the target display size of the first application card is the current display size.
[0172] As an example, referring to FIG6 (b), if no operation is detected on candidate display card A, candidate display card B, and candidate display card C, since candidate display card B and the first application card have the same current display size, candidate display card B is determined as the target display card. In this case, the target display size is the display size of B.
[0173] It should be noted that the embodiment of the present application aims to emphasize the method of displaying multiple candidate display cards at the same time, and does not limit the method of selecting the target display card or the target display size.
[0174] Furthermore, after determining the target display card based on the above step 520, the implementation process of displaying the first application card in the target display size in the current display interface can be: switching the first application card to the target display card to display the target application card in the current display interface.
[0175] That is, the first application card is directly deleted in the current display interface, and the target display card is displayed in the corresponding card display area.
[0176] In the above-described target display size determination method, in response to a user's first swipe gesture on a first app card, a global preview is used to display candidate display cards for the first app card at multiple preset display sizes. The target display card and target display size are then determined based on the multiple candidate display cards. This simplifies the display size adjustment process for the first app card.
[0177] In addition, by displaying multiple candidate display cards simultaneously, users can intuitively understand the display effects of the first application card at different display sizes. They can also conduct comprehensive comparisons of multiple display sizes, making the target display size selection more in line with the user's actual needs, effectively avoiding deviations between the selection results and actual needs. At the same time, the browsing efficiency of the display size of the first application card is improved, enhancing the user's operation experience.
[0178] In another exemplary embodiment, as shown in FIG7 , the process of determining the target display size in step 220 may include the following steps:
[0179] Step 710: Obtain a display size adjustment amount of the first application card according to a first sliding operation gesture triggered by the user on the first application card.
[0180] The first sliding operation gesture includes a horizontal sliding operation and / or a vertical sliding operation, and correspondingly, the display size adjustment amount includes a horizontal size adjustment amount and / or a vertical size adjustment amount.
[0181] In one possible implementation, the implementation process of step 710 may be: obtaining the horizontal size adjustment amount of the first application card based on a horizontal sliding operation triggered by the user on the first application card; and / or obtaining the vertical size adjustment amount of the first application card based on a vertical sliding operation triggered by the user on the first application card.
[0182] In other words, when the user triggers the first sliding operation gesture on the first application card to directly adjust the current display size of the first application card, he can use a horizontal sliding operation to adjust only the horizontal display size of the first application card; he can also use a vertical sliding operation to adjust only the vertical display size of the first application card; he can also perform horizontal sliding operations and vertical sliding operations on the first application card in sequence to adjust both the horizontal and vertical display sizes of the first application card.
[0183] Furthermore, in a specific implementation, a correspondence between a unit sliding distance and a unit size adjustment amount on the display screen can be pre-set to determine the actual sliding distance of the user on the display screen based on the first sliding adjustment gesture triggered by the user on the first application card. Furthermore, the display size adjustment amount of the first application card is calculated based on the correspondence between the actual sliding distance and the distance adjustment amount.
[0184] Step 720: Determine the target display size of the first application card according to the current display size of the first application card and the display size adjustment amount.
[0185] It should be noted that the user can reduce or enlarge the current display size of the first application card through the first sliding operation gesture, so the display size adjustment amount can be a positive value or a negative value.
[0186] In one possible implementation, the implementation process of step 720 can be: if the display size adjustment amount is a positive value, the sum of the current display size and the display size adjustment amount is used as the target display size of the first application card; if the display size adjustment amount is a negative value, the difference between the current display size and the display size adjustment amount is used as the target display size of the first application card.
[0187] Continuing with the example of swiping up as the first sliding gesture, the first app card has three display sizes: A, B, and C. The display size switching order is A, B, and C. Among them, A is smaller than B, and B is smaller than C.
[0188] Referring to FIG8(a), assuming that the current display size of the first application card is display size A, in response to a vertical swipe operation triggered by the user on the first application card, the current display size is adjusted according to the longitudinal size adjustment amount corresponding to the vertical swipe operation, resulting in the display size shown in FIG8(b). Furthermore, in response to a horizontal swipe operation triggered by the user on the first application card shown in FIG8(b), the display size of the first application card is further adjusted according to the transverse size adjustment amount corresponding to the horizontal swipe operation, resulting in the target display size shown in FIG8(c).
[0189] It should be understood that FIG8 is only one adjustment order in this exemplary embodiment. The horizontal display size of the first application card may be adjusted first, and then the vertical display size may be adjusted. This embodiment does not impose any limitation on this.
[0190] In the above-described target display size determination method, in response to a first sliding gesture triggered by a user on a first app card, a display size adjustment amount for the first app card is determined, so that the display size of the first app card is adaptively adjusted to the target display size based on the current display size and the display size adjustment amount. This simplifies the display size adjustment process for the first app card. Furthermore, by adaptively adjusting the display size, users can flexibly and effectively adjust the display size of the first app card based on their actual needs, ensuring that the adjusted target display size matches the user's actual needs and enhancing the user's operational experience.
[0191] Based on the target display size determination method provided in the embodiment of Figure 7 above, when the first application card is preset with multiple display sizes, the sliding distance corresponding to each display size can be pre-set, and then the display size switching operation is determined based on the actual sliding distance.
[0192] As an example, similarly, it is assumed that the first application card includes three display sizes: A display size, B display size, and C display size, and the A display size is smaller than the B display size, and the B display size is smaller than the C display size.
[0193] Furthermore, assuming that the current display size of the first application card is display size A, the corresponding relationship between the display size and the sliding distance may be as shown in Table 1 below:
[0194] Table 1
[0195] It can be seen that when the actual sliding distance generated by the first sliding operation gesture triggered by the user on the first application card is less than x1 mm, the current display size is kept unchanged, that is, the A display size is determined as the target display size; when the actual sliding distance generated by the first sliding operation gesture triggered by the user on the first application card is greater than or equal to x1 mm, and the actual sliding distance is less than x2 mm, the B display size is determined as the target display size; when the actual sliding distance generated by the first sliding operation gesture triggered by the user on the first application card is greater than or equal to x2 mm, the C display size is determined as the target display size.
[0196] It should be noted that when the actual sliding distance generated by the first sliding operation gesture triggered by the user on the first application card is greater than the sliding distance corresponding to the preset maximum display size of the first application card, continuing to trigger the first sliding operation gesture will no longer change the display size of the first application card.
[0197] In addition, based on the above three methods for determining the target display size, in actual applications, for any application card in the terminal device, the display size can be adjusted in the following ways:
[0198] Method 1: Set a size adjustment strategy for the first sliding operation gesture.
[0199] As an example, for the first sliding operation gesture, the size adjustment policy for the first application card can be the display size switching method shown in the embodiment of Figure 3 above; or, the size adjustment policy for the first application card can be the display size global preview method shown in the embodiment of Figure 5 above; or, the size adjustment policy for the first application card can be the display size adaptive adjustment method shown in Figure 7 above.
[0200] That is, for each application card, the display size adjustment strategy is unique.
[0201] Method 2: For each size adjustment strategy, set the corresponding first sliding operation gesture.
[0202] As an example, if the first sliding operation gesture is a vertical sliding operation, including an upward sliding operation or a downward sliding operation, the size adjustment strategy for setting the first application card can be the display size switching method shown in the embodiment of Figure 3 above; if the first sliding operation gesture is a long press sliding operation, the size adjustment strategy for setting the first application card can be the display size global preview method shown in the embodiment of Figure 5 above; if the first sliding operation gesture is a horizontal sliding operation, including a left sliding operation or a right sliding operation, the size adjustment strategy for setting the first application card can be the display size adaptive adjustment method shown in Figure 7 above.
[0203] That is, each application card may correspond to a plurality of display size adjustment methods, and based on different first sliding operation gestures, different adjustment strategies may be used to adjust the current display size of the application card.
[0204] Step 230: Display the first application card in the current display interface at the target display size.
[0205] It should be noted that if the target display size is smaller than the current display size of the first app card, the first app card will be displayed directly in the current display interface at the target display size, without affecting or adjusting the app icons in the current display interface. If the target line display size is larger than the current display size of the first app card, when the first app card is displayed in the current display interface at the target display size, the app icons in the current display interface will need to be adjusted to avoid icons blocking each other or cards covering icons.
[0206] It should be understood that for ease of explanation, no application icon is provided behind the first application card in Figures 4, 6 and 8, and the display position and display order of the application icon and application card are not restricted.
[0207] In actual situations, there may be application icons behind the first application card to ensure a clean desktop. In this case, if the target display size is larger than the current display size, when the first application card is displayed at the target display size, the application icons behind and below it need to be adjusted to avoid obstruction.
[0208] Therefore, in the case where the current display size of the first application card is smaller than the target display size, in an exemplary embodiment, as shown in FIG9 , the implementation process of step 230 may include the following sub-steps:
[0209] Step 910: Obtain the card display area corresponding to the first application card at the target display size.
[0210] Among them, the card display area can be the display area range corresponding to the target display size; it can also be the display area range corresponding to the current display size of the first application card, and the display area range that needs to be expanded when the first application card is displayed in the target display size.
[0211] Furthermore, if the card display area is an expanded display area, the expanded display area may be determined according to a difference between the target display size and the current display size.
[0212] Step 920: Based on the card display area, determine the icon to be moved from multiple application icons in the current display interface.
[0213] The icons to be moved may be some or all application icons in the current display interface, and this embodiment does not impose any limitation on this.
[0214] As an example, the icon to be moved may include a first moving icon and a second moving icon, wherein the first moving icon is an application icon corresponding to the card display area, and the second moving icon includes at least one application icon other than the first moving icon in the current display interface.
[0215] It should be noted that the second moving icon may be determined based on a preset computer algorithm, or may be selected by the user, or may be any icon except the first moving icon, which is not limited in this embodiment.
[0216] As another example, the icon to be moved includes a third moving icon, and the third moving icon includes multiple application icons below and behind the card display area in the current display interface.
[0217] That is, when the first application card is displayed in the target display size, the positions of the application icons behind and below the first application card need to be adjusted to avoid being covered by the first application card displayed in the target display size.
[0218] Step 930: Based on a preset icon movement rule, the icon to be moved is moved to display the first application card in the card display area at the target display size.
[0219] Among them, when moving the icon to be moved, the icon to be moved can be moved by adding a new display interface; or the icon to be moved can be directly moved in at least one existing display interface of the terminal device.
[0220] In one possible implementation, if the icons to be moved include the above-mentioned first moving icon and second moving icon, the implementation process of step 930 can be: adding a blank display interface between the current display interface and the next display interface; moving the first moving icon or the second moving icon to the blank display interface for display.
[0221] Among them, the current display interface and the next display interface are adjacent display interfaces.
[0222] As an example, as shown in FIG10 , the current display interface includes a first application card and application icons corresponding to applications 1 to 12 .
[0223] Referring to FIG10(a), the current display size of the first app card is 2*2 (i.e., it occupies two app icon positions horizontally and two icon positions vertically). However, when the target display size is adjusted to 2*4 (i.e., it occupies four app icon positions horizontally and two icon positions vertically), as shown in FIG10(b), after the first app card is displayed at the target display size, the display positions of the app icons behind and / or below it need to be adjusted.
[0224] The first mobile icons include application icons corresponding to Application 1, Application 2, Application 3, and Application 4, and the second mobile icons include application icons corresponding to Application 9, Application 10, Application 11, and Application 12.
[0225] Specifically, a blank display interface is added between the current display interface and the next display interface (not shown), and the first mobile icon is moved to the newly added blank display interface for display. The display positions of other application icons in the current display interface remain unchanged, as shown in (c) in Figure 10.
[0226] Alternatively, the application icons in the current display interface are sequentially moved backward, and the application icons corresponding to Applications 9-12 that can no longer be displayed in the current display interface are determined as second mobile icons. The second mobile icons are then moved to a newly added blank display interface for display, as shown in (d) of Figure 10. At this point, the application icons corresponding to Applications 1-8 are displayed sequentially below the first application card in the current display interface.
[0227] It should be noted that the above-mentioned moving process only changes the display position of the icon to be moved, and does not change the display order of the icons to be moved.
[0228] In this way, by adding a new display interface, the mobile icon is displayed without affecting the display order of application icons in other display interfaces in the terminal device, and the operation is simple; at the same time, the user's original application icon deployment habits in other display interfaces are maintained, and the user experience is better.
[0229] In another possible implementation, if the icon to be moved includes the above-mentioned third moving icon, the implementation process of step 930 can be: according to the preset moving direction priority, the third moving icon is moved backward in sequence to display the third moving icon in the current display interface and / or the next display interface.
[0230] The movement direction priority indicates that horizontal movement has a higher priority than vertical movement. That is, when moving a third mobile icon, the third mobile icons in the current row are first moved horizontally. During the horizontal movement process, if at least one third application icon exceeds the current display interface, the third mobile icon that exceeds the current display interface is moved vertically to be displayed in the next row, and so on.
[0231] As an example, as shown in FIG11 , the current display interface includes the first application card and application icons corresponding to application 1 - application 12 , and the next display interface includes application icons corresponding to application 13 - application 20 .
[0232] Referring to (a) in 11, the current display size of the first app card is 2*2 (i.e., it occupies two app icon positions horizontally and two icon positions vertically). When the target display size is adjusted to 2*4 (i.e., it occupies four app icon positions horizontally and two icon positions vertically), after the first app card is displayed at the target display size, the display positions of the app icons behind and / or below it need to be adjusted.
[0233] The third moving icon includes application icons corresponding to Application 1 to Application 12 located behind and below the first application card in the current display interface.
[0234] Specifically, the app icons corresponding to Apps 1 through 12 are sequentially moved backward, first horizontally and then vertically. Ultimately, the app icons corresponding to Apps 1 through 8 are displayed on the current display interface, as shown in Figure 11(b). The app icons corresponding to Apps 9 through 20 are displayed on the next display interface, as shown in Figure 11(c).
[0235] Similarly, the above-mentioned moving process only changes the display position of the icon to be moved, and does not change the display order of the icons to be moved.
[0236] In this way, the icons to be moved are displayed by moving the application icons backward in sequence, so that after adjusting the display size of the first application card, the application icons in the terminal device are still displayed neatly and the display order remains unchanged, which is in line with the user's original application icon browsing habits.
[0237] In another possible implementation, if the icon to be moved includes the above-mentioned first moving icon and second moving icon, the implementation process of step 930 can be: grouping the second moving icons according to the combination method of the first moving icons to obtain at least one second moving icon group; according to the preset moving direction priority, moving the first moving icon and each second moving icon group backward to display the icon to be moved in the current display interface and the next display interface.
[0238] The first moving icon and each second moving icon group are moved backward in the same order, that is, the first moving icon and each moving icon group are moved backward at the same time.
[0239] As an example, it is also assumed that the current display interface includes the first application card and application icons corresponding to application 1 - application 12, and the next display interface includes application icons corresponding to application 13 - application 20.
[0240] Referring to (a) in 12 , the current display size of the first application card is 2*2 (i.e., it occupies two application icon positions horizontally and two icon positions vertically), and when the target display size is adjusted to 2*4 (i.e., it occupies four application icon positions horizontally and two icon positions vertically), the first mobile icons include application icons corresponding to Application 1, Application 2, Application 3, and Application 4, and the second mobile icons include application icons corresponding to Application 5-Application 12.
[0241] The first mobile icon is moved backward as a whole to be displayed in the current display interface, as shown in FIG12(b). Since the first mobile icon includes four application icons, the four application icons are grouped based on the original display position of the second mobile icon, and the application icons corresponding to application 5, application 6, application 9 and application 10 are grouped as a second mobile icon group, and the application icons corresponding to application 7, application 8, application 11 and application 12 are grouped as another second mobile icon group. Then, as shown in FIG12(b), the second mobile icon group consisting of the application icons corresponding to application 5, application 6, application 9 and application 10 is moved backward to be displayed in the current display interface and located behind the first application icon; at the same time, the second mobile icon group consisting of the application icons corresponding to application 7, application 8, application 11 and application 12 is displayed in the next display interface, as shown in FIG12(c).
[0242] Specifically, the application icons corresponding to Application 13 to Application 20 can be divided according to the second moving icon grouping method and then moved backward as a whole to be displayed in the next display interface, as shown in Figure 12 (c); the application icons corresponding to Application 13 to Application 20 can also be moved backward in sequence according to the preset moving direction priority and displayed in the next display interface, as shown in Figure 12 (d). This embodiment does not impose any restrictions on this.
[0243] It should be noted that, in this implementation, the move process not only changes the display position of the icon to be moved, but also changes the display order of the icons to be moved. Specifically, the display order of some application icons in the second move icon is changed.
[0244] In addition, if the current display interface also includes other application cards, and the other application cards are located below or behind the first application card, it is necessary to move the other application cards and the application icons in the current display interface. The implementation principle is similar to the above three implementation methods and will not be repeated here.
[0245] In this way, by moving the application icons backward as a group, the icons to be moved are displayed so that the display order of some icons remains unchanged, which helps users quickly find a type of application icons displayed in the same area.
[0246] Optionally, in step 930, to further reduce the amount of movement of the application icons, the first application icons may be combined and displayed as a combined icon. Specifically, the combined icon may be displayed after the last application icon in the current display interface; or before the first application icon in the next display interface, or after the last application icon.
[0247] In the application card adjustment method provided in an embodiment of the present application, the terminal device obtains the size adjustment policy of the first application card in response to the first sliding operation gesture triggered by the user on the first application card in the current display interface. Then, based on the current display size and size adjustment policy of the first application card, the target display size of the first application card is determined, and then the first application card is displayed with the target display size in the current display interface. It can be seen that when adjusting the display size of the application card, the present application does not need to trigger the menu key and select the application and the display size of the application card in sequence in the menu content display interface; instead, the first sliding operation gesture is directly triggered on the application card to instruct the terminal device to obtain the size adjustment policy corresponding to the application card according to the first sliding operation gesture, and automatically adjust the display size of the application card according to the current display size and size adjustment policy of the application card. In this way, the display size adjustment process of the application card is simplified, the adjustment efficiency of the display size of the application card is improved, and the user operation experience is better.
[0248] Based on the same technical concept as the above method embodiment, in another method embodiment, as shown in FIG13 , the present application further provides another application card adjustment method to switch the application type of the first application card; this method can also be applied to the terminal device shown in FIG1 , and includes the following steps:
[0249] Step 1310: In response to a second sliding operation gesture triggered by the user on the first application card in the current display interface, obtain an application switching policy of the first application card.
[0250] The second sliding operation gesture is different from the first sliding operation gesture. It should be understood that the first sliding operation gesture is used to start the display size adjustment process of the first application card, while the second sliding operation gesture is used to start the application type switching process of the first application card.
[0251] Furthermore, the application switching strategy includes a plurality of application cards and a switching order of the plurality of application cards. The plurality of application cards includes a first application card and at least one second application card, and each application card corresponds to a different application.
[0252] It should be noted that the switching strategies of the first application card and the second application card may be the same or different; the switching strategies of different application cards all represent the order of switching application types starting with the application card as the starting application card.
[0253] As an example, the application switching strategy of application card I may include application card I, application card II, application card III and application card IV, and the switching order of application cards is "application card I - application card II - application card III - application card IV"; the application switching strategy of application card II may include application card II, application card III and application card IV, and the switching order of application cards is "application card II - application card III - application card VI".
[0254] Step 1320: According to the application switching policy, the first application card is switched to the second application card; the first application card and the second application card correspond to different applications.
[0255] In one possible implementation, the implementation process of step 1320 may be: based on the switching order of multiple application cards in the application switching policy, determine the second application card located after the first application card; use the second application card to replace the first application card in the current display interface to display the second application card in the current display interface.
[0256] The first application card and the second application card have the same card display area in the current display interface. Specifically, the first application card is deleted in the current display interface, and the second application card is displayed in the card display area corresponding to the original first application card.
[0257] It should be noted that if the preset display sizes of the first application card and the second application card are different, after switching to the second application card, it will be displayed at the minimum display size of the second application card, reducing the movement of other application cards or application icons in the current display interface.
[0258] In addition, based on the above application card switching strategy, if the current display size of the first application card is the preset maximum display size or the preset minimum display size, when switching the application cards, it can also be triggered based on the first sliding operation gesture.
[0259] In one possible implementation, in response to a first sliding operation gesture triggered by a user on a first application card in a currently displayed interface, an application switching policy of the first application card is obtained; according to the application switching policy, the first application card is switched to a second application card; the first application card and the second application card correspond to different applications.
[0260] That is, when the user triggers the first sliding operation gesture on the first application card to adjust the current display size of the first application card, if the current display size of the first application card or the adjusted target display size is equal to the preset maximum display size or minimum display size, the user continues to trigger the first sliding operation gesture and no longer performs the display size switching operation. Instead, the first application card is switched to the second application card according to the above-mentioned application switching strategy.
[0261] In the application card adjustment method provided in the embodiment of the present application, the terminal device obtains the application switching policy of the first application card in response to the second sliding operation gesture triggered by the user on the first application card in the current display interface; and then switches the first application card to the second application card according to the application switching policy. The first application card and the second application card correspond to different applications. It can be seen that when adjusting the application type of the application card, the present application does not need to trigger the menu key and select the second application to be switched in the menu content display interface; instead, it directly triggers the second sliding operation gesture on the first application card to instruct the terminal device to obtain the application switching policy corresponding to the application card according to the second sliding operation gesture, and automatically switches the first application card to the second application card according to the application switching policy to display the second application card in the current display interface. In this way, the application type adjustment process of the application card is simplified, the adjustment efficiency of the application type of the application card is improved, and the user operation experience is better.
[0262] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0263] Based on the same technical concept, the present application also provides an application card adjustment device for implementing the above-mentioned application card adjustment method. The implementation solution provided by this device in solving the technical problem is similar to the implementation solution described in the above-mentioned method embodiment. Therefore, the specific functional limitations of one or more application card adjustment device embodiments provided below can be referred to the definitions of the relevant steps in the application card adjustment method above, and will not be repeated here.
[0264] In one device embodiment, as shown in FIG14 , the present application embodiment further provides an application card adjustment device, which includes:
[0265] An acquisition module 1410 is configured to acquire a size adjustment policy for a first application card in response to a first sliding operation gesture triggered by a user on a first application card in a currently displayed interface;
[0266] Determining module 1420, configured to determine a target display size of the first application card based on the current display size of the first application card and a size adjustment policy;
[0267] The display module 1430 is configured to display the first application card in the current display interface at a target display size.
[0268] In a possible implementation, the acquisition module 1410 includes:
[0269] A relationship acquisition unit, configured to acquire an operation strategy correspondence between a card operation gesture and a card adjustment strategy;
[0270] The strategy determination unit is used to determine the size adjustment strategy corresponding to the first application card according to the correspondence between the first sliding operation gesture triggered by the user on the first application card and the operation strategy.
[0271] In one possible implementation, the determining module 1420 includes:
[0272] A switching order obtaining unit, configured to obtain a display size switching order of the first application card;
[0273] The first determining unit is configured to determine a target display size of the first application card according to the current display size of the first application card and a display size switching order.
[0274] In a possible implementation, the first determining unit is specifically configured to:
[0275] In response to a first sliding operation gesture triggered by a user on a first application card and a display size switching sequence, determining an intermediate display size of the first application card, and displaying the first application card at the intermediate size;
[0276] If a size confirmation operation triggered by the user is detected on the first application card displayed in the middle display size, the middle display size is determined as the target display size of the first application card.
[0277] In one possible implementation, the determining module 1420 includes:
[0278] a display unit, configured to display candidate display cards of the first application card in a plurality of preset display sizes;
[0279] The second determining unit is configured to determine a target display card corresponding to the first application card from a plurality of candidate display cards; the display size of the target display card is the target display size of the first application card.
[0280] In a possible implementation, the display module 1430 is specifically configured to:
[0281] The first application card is switched to a target display card to display the target application card in the current display interface.
[0282] In one possible implementation, the determining module 1420 includes:
[0283] an adjustment amount obtaining unit, configured to obtain a display size adjustment amount of the first application card according to a first sliding operation gesture triggered by a user on the first application card;
[0284] The third determining unit is configured to determine a target display size of the first application card according to the current display size and the display size adjustment amount of the first application card.
[0285] In a possible implementation, the first sliding operation gesture includes a horizontal sliding operation and / or a vertical sliding operation, and the display size adjustment amount includes a horizontal size adjustment amount and / or a vertical size adjustment amount;
[0286] The adjustment amount acquisition unit includes:
[0287] A first acquiring subunit, configured to acquire a horizontal size adjustment amount of the first application card according to a horizontal sliding operation triggered by the user on the first application card;
[0288] and / or,
[0289] The second acquisition subunit is configured to acquire a vertical size adjustment amount of the first application card according to a vertical sliding operation triggered by the user on the first application card.
[0290] In a possible implementation, the display module 1430 includes:
[0291] An area acquisition unit, configured to acquire a card display area corresponding to the first application card at a target display size;
[0292] a fourth determining unit, configured to determine an icon to be moved from a plurality of application icons in a current display interface based on a card display area;
[0293] The icon processing unit is used to perform movement processing on the icon to be moved based on a preset icon movement rule, so as to display the first application card in the card display area with a target display size.
[0294] In a possible implementation, the icon to be moved includes a first moving icon and a second moving icon; the first moving icon is an application icon corresponding to the card display area, and the second moving icon includes at least one application icon other than the first moving icon in the current display interface;
[0295] Icon processing unit, including:
[0296] A new sub-unit is added to the interface, which is used to add a blank display interface between the current display interface and the next display interface; the current display interface and the next display interface are adjacent display interfaces;
[0297] The display subunit is used to move the first moving icon or the second moving icon to a blank display interface for display.
[0298] In a possible implementation, the icon to be moved includes a third moving icon; the third moving icon includes a plurality of application icons below and behind the card display area in the current display interface;
[0299] Icon processing unit, including:
[0300] An icon moving subunit, configured to sequentially move the third moving icon backward according to a preset moving direction priority, so as to display the third moving icon in the current display interface and / or the next display interface;
[0301] The moving direction priority indicates that the horizontal moving priority is higher than the vertical moving priority.
[0302] In a possible implementation, as shown in FIG15 , the apparatus further includes:
[0303] The acquisition module 1410 is further configured to acquire an application switching policy of the first application card in response to a second sliding operation gesture triggered by the user on the first application card in the current display interface;
[0304] The switching module 1440 is configured to switch the first application card to the second application card according to an application switching policy; the first application card and the second application card correspond to different applications.
[0305] In one possible implementation, if the current display size of the first application card is a preset maximum display size or a preset minimum display size, then in the device:
[0306] The acquisition module 1410 is further configured to acquire an application switching policy of the first application card in response to a first sliding operation gesture triggered by a user on the first application card in the current display interface;
[0307] The switching module 1440 is further configured to switch the first application card to the second application card according to an application switching policy; the first application card and the second application card correspond to different applications.
[0308] It should be noted that the various modules in the aforementioned application card adjustment device may be implemented in whole or in part through software, hardware, or a combination thereof. The aforementioned modules may be embedded in or independent of a processor in a terminal device in the form of hardware, or may be stored in a memory in the terminal device in the form of software, so that the processor can call and execute the corresponding operations of the aforementioned modules.
[0309] In addition, the application card adjustment device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when adjusting the display size and application type of the application card. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0310] In an exemplary embodiment, the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a terminal device, the application card adjustment method provided in the above embodiment can be implemented.
[0311] In an exemplary embodiment, the present application also provides a computer program product, including a computer program, which, when executed by a processor of a terminal device, can implement the application card adjustment method provided in the above embodiment.
[0312] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0313] The above is only a specific implementation method of the embodiment of the present application and is not intended to limit the scope of protection of the embodiment of the present application. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the embodiment of the present application should be included in the scope of protection of the embodiment of the present application.
Claims
1. A method for adjusting an application card, characterized in that: The method comprises: In response to a first sliding operation gesture triggered by a user on a first application card in a currently displayed interface, obtaining a size adjustment strategy for the first application card; Determining a target display size of the first application card according to the current display size of the first application card and the size adjustment policy; The first application card is displayed in the current display interface at the target display size.
2. The method according to claim 1, characterized in that The acquiring, in response to a first sliding operation gesture triggered by a user on a first application card in a currently displayed interface, a size adjustment strategy for the first application card includes: Obtain the operation strategy correspondence between card operation gestures and card adjustment strategies; A size adjustment strategy corresponding to the first application card is determined according to a correspondence between the first sliding operation gesture triggered by the user on the first application card and the operation strategy.
3. The method according to claim 1 or 2, characterized in that The determining, according to the current display size of the first application card and the size adjustment policy, a target display size of the first application card includes: Obtaining a display size switching order of the first application card; A target display size of the first application card is determined according to the current display size of the first application card and the display size switching order.
4. The method according to claim 3, characterized in that The determining, according to the current display size of the first application card and the display size switching order, a target display size of the first application card includes: In response to a first sliding operation gesture triggered by the user on the first application card and the display size switching order, determining an intermediate display size of the first application card, and displaying the first application card in the intermediate size; If a size confirmation operation triggered by a user is detected on the first application card displayed in the intermediate display size, the intermediate display size is determined as the target display size of the first application card.
5. The method according to claim 1 or 2, characterized in that The determining, according to the current display size of the first application card and the size adjustment policy, a target display size of the first application card includes: Displaying candidate display cards of the first application card in a plurality of preset display sizes; A target display card corresponding to the first application card is determined from the plurality of candidate display cards; the display size of the target display card is the target display size of the first application card.
6. The method according to claim 5, characterized in that The displaying the first application card in the target display size in the current display interface includes: The first application card is switched to the target display card to display the target application card in the current display interface.
7. The method according to claim 1 or 2, characterized in that The determining, according to the current display size of the first application card and the size adjustment policy, a target display size of the first application card includes: Obtaining a display size adjustment amount of the first application card according to a first sliding operation gesture triggered by the user on the first application card; A target display size of the first application card is determined according to the current display size of the first application card and the display size adjustment amount.
8. The method according to claim 7, characterized in that The first sliding operation gesture includes a horizontal sliding operation and / or a vertical sliding operation, and the display size adjustment amount includes a horizontal size adjustment amount and / or a vertical size adjustment amount; The acquiring, according to the first sliding operation gesture triggered by the user on the first application card, a display size adjustment amount of the first application card includes: acquiring a horizontal size adjustment amount of the first application card according to a horizontal sliding operation triggered by the user on the first application card; and / or, According to a vertical sliding operation triggered by the user on the first application card, a vertical size adjustment amount of the first application card is obtained.
9. The method according to claim 1 or 2, characterized in that The displaying the first application card in the target display size in the current display interface includes: Obtaining a card display area corresponding to the first application card at the target display size; Determining an icon to be moved from a plurality of application icons in the current display interface based on the card display area; Based on a preset icon movement rule, the icon to be moved is moved to display the first application card in the card display area at the target display size.
10. The method according to claim 9, characterized in that The icons to be moved include a first moving icon and a second moving icon; the first moving icon is an application icon corresponding to the card display area, and the second moving icon includes at least one application icon in the current display interface other than the first moving icon; The moving process of the icon to be moved based on the preset icon movement rule includes: Adding a blank display interface between the current display interface and the next display interface; the current display interface and the next display interface are adjacent display interfaces; The first moving icon or the second moving icon is moved to the blank display interface for display.
11. The method according to claim 9, characterized in that The icon to be moved includes a third moving icon; the third moving icon includes a plurality of application icons below and behind the card display area in the current display interface; The moving process of the icon to be moved based on the preset icon movement rule includes: According to a preset movement direction priority, the third movement icon is moved backward in sequence to display the third movement icon in the current display interface and / or the next display interface; The movement direction priority indicates that the horizontal movement priority is higher than the vertical movement priority.
12. The method according to claim 1 or 2, characterized in that The method further comprises: In response to the second sliding operation gesture triggered by the user on the first application card in the current display interface, the first application is obtained. Card application switching strategy; According to the application switching policy, the first application card is switched to a second application card; the first application card and the second application card correspond to different applications.
13. The method according to claim 1 or 2, characterized in that If the current display size of the first application card is a preset maximum display size or a preset minimum display size, the method further includes: In response to a first sliding operation gesture triggered by a user on a first application card in a currently displayed interface, obtaining an application switching policy for the first application card; According to the application switching policy, the first application card is switched to a second application card; the first application card and the second application card correspond to different applications.
14. An application card adjustment device, characterized in that: The device comprises: an acquisition module, configured to acquire a size adjustment policy for a first application card in response to a first sliding operation gesture triggered by a user on the first application card in the current display interface; a determination module, configured to determine a target display size of the first application card according to the current display size of the first application card and the size adjustment policy; The display module is configured to display the first application card in the target display size in the current display interface.
15. A terminal device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is configured to read the computer program from the memory and execute the computer program to implement the steps of the application card adjustment method according to any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that The storage medium stores a computer program, which, when executed by a processor, implements the steps of the application card adjustment method according to any one of claims 1 to 13.