Application card adjustment method and apparatus, terminal device, and storage medium
By enabling direct sliding gestures for size adjustment, the method simplifies and enhances the display size change process of application cards, improving user experience and efficiency.
Patent Information
- Application Number
- JP2025511859
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-08-26
- Filing Date
- 2023-04-27
- Publication Date
- 2025-08-15
AI Technical Summary
The existing method for changing the display size of application cards in mobile terminals is cumbersome, requiring multiple tap selections and reducing efficiency and user experience.
A method and apparatus that allows for adjusting the display size of application cards by directly triggering a sliding gesture on the card, obtaining a size adjustment policy, and automatically changing the display size based on the gesture, simplifying the process and improving efficiency.
The method simplifies the display size adjustment of application cards, enhancing user experience by allowing quick and accurate size changes through intuitive gestures.
Smart Images

Figure 2025527010000001_ABST
Abstract
Description
[Technical Field]
[0001] This application claims priority to Chinese Patent Application No. 202211037857.1, entitled "APPLICATION CARD ADJUSTMENT METHOD AND APPARATUS, TERMINAL DEVICE, AND STORAGE MEDIUM," filed with the State Intellectual Property Office of the People's Republic of China on August 26, 2022, which is incorporated herein by reference in its entirety.
[0002] Technical Field The present invention relates to the field of terminal technology, and in particular to an application card adjustment method and apparatus, a terminal device, and a storage medium. [Background technology]
[0003] With the continuous development of intelligent mobile terminals and software technology, it has become more common to browse various information using clients, applications, web pages, mini programs, and application cards within mobile terminals. Application cards present relevant information about target applications in card format. Users can obtain the required target application information by simply browsing the application card corresponding to the target application directly on the display screen of their mobile terminal without entering the application page.
[0004] In the related art, multiple display sizes are preset for some application cards. When a user needs to change the initial display size of any application card in the current display desktop, the user needs to long-press the menu button to enter the menu content display interface, select the "More Service Cards" submenu, select and add an application card with the application's target display size from the submenu, and then return to the current display desktop. Furthermore, the application card with the initial display size is removed from the current display desktop, and the application card with the target size is added in the corresponding position.
[0005] However, with the above technology, the operating procedure for changing the display size of the application card is complicated, which reduces the efficiency of the task of changing the display size of the application card. Summary of the Invention [Problem to be solved by the invention]
[0006] The embodiments of the present application provide an application card setting method and apparatus, a terminal device, and a storage medium, which can quickly and efficiently adjust the display size of an application card. [Means for solving the problem]
[0007] According to a first aspect, an embodiment of the present application provides an application card adjustment method, the method including:
[0008] obtaining a size adjustment policy for a first application card in response to a first sliding gesture triggered by a user on the first application card in the current display interface;
[0009] determining 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; and
[0010] Displaying the first application card in the current display interface at the target display size.
[0011] Based on this, in the present application, when adjusting the display size of an application card, instead of triggering a menu button to sequentially select an application and the display size of the application card in the menu content display interface, a first sliding operation gesture is directly triggered on the application card to instruct the terminal device to obtain a size adjustment policy corresponding to the application card based on the first sliding operation gesture, and automatically adjust the display size of the application card based on the current display size of the application card and the size adjustment policy. This simplifies the procedure for adjusting the display size of the application card, improves the efficiency of adjusting the display size of the application card, and thereby improves the user's operation experience.
[0012] In a possible implementation, the step of obtaining a size adjustment policy for a first application card in response to a first sliding gesture triggered by a user on a first application card in the current display interface includes:
[0013] Obtaining an operation-policy correspondence relationship between a card operation gesture and a card adjustment policy; and
[0014] Determining a size adjustment policy corresponding to the first application card based on a first sliding operation gesture triggered by the user on the first application card and the operation-policy correspondence relationship.
[0015] In other words, in the present application, after the operation-policy correspondence relationship is preset, the user's adjustment request for the application card can be quickly and accurately determined based on the operation gesture triggered by the user on the application card. Upon detecting a first sliding operation gesture on a first application card, the terminal device can quickly obtain a size adjustment policy for the first application card based on the operation-policy correspondence relationship to accurately and effectively respond to the user operation and improve the user experience.
[0016] In a possible implementation, determining 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 includes:
[0017] Obtaining a display size switching order of the first application card; and
[0018] Determining a target display size of the first application card based on the current display size of the first application card and the display size switching order.
[0019] In this implementation, the user may initiate a procedure for switching the display size of the first application card based on the first slide operation gesture. In other words, in response to the user's first slide operation gesture, the terminal device determines, through a simple operation, a target display size to which the user needs to switch based on the display size switching order.
[0020] In addition, the user can visually grasp the display effect of the first application card at each display size through repeated switching, so that the target display size selected after switching meets the user's actual requirements, improving the user's operating experience.
[0021] In a possible implementation, determining a target display size of the first application card based on the current display size of the first application card and the display size switching order includes:
[0022] determining an intermediate display size of the first application card in response to a first sliding gesture triggered by a user on the first application card and the display size switching order, and displaying the first application card at the intermediate size; and
[0023] When a size determination operation triggered by a user for the first application card displayed at the intermediate display size is detected, determining the intermediate display size as the target display size of the first application card.
[0024] In this implementation, after the terminal device switches from the current display size to the intermediate display size based on the display size switching order in response to the user's first slide operation gesture, the user determines whether to use the intermediate size as the target display size after switching. In this case, by determining the display size through interaction with the user, the target display size after switching matches the user's actual display size adjustment request, and the adjustment result is more accurate.
[0025] In a possible implementation, determining 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 includes:
[0026] presenting a plurality of candidate display cards with a preset display size for the first application card; and
[0027] A step of determining a target display card corresponding to the first application card from the plurality of candidate display cards, where the display size of the target display card is the target display size of the first application card.
[0028] Specifically, in response to a first sliding gesture triggered by a user on a first application card, the terminal device presents multiple candidate display cards with preset display sizes for the first application card in a global preview manner, and then determines a target display card and a target display size based on the multiple candidate display cards, thereby simplifying the procedure for adjusting the display size of the first application card.
[0029] In addition, by simultaneously presenting multiple candidate display cards, it is easy for the user to visually understand the display effects of the first application card with different display sizes and to comprehensively compare various display sizes, so that the selection of the display size is more in line with the user's actual thinking, and the discrepancy between the selection result and the actual requirement can be effectively avoided, thereby improving the efficiency of viewing the display size of the first application card and enhancing the user's operation experience.
[0030] In a possible implementation, the step of displaying the first application card in the current display interface at the target display size includes:
[0031] Switching the first application card to the target display card so as to display the target application card within the current display interface.
[0032] In this case, after determining the target application card in a global preview manner, the target display card can be directly displayed in the card display area corresponding to the first application card in the current display interface, thereby quickly adjusting the display size by directly switching the entire application card.
[0033] In a possible implementation, determining 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 includes:
[0034] obtaining a display size adjustment amount of the first application card based on a first sliding gesture triggered by a user on the first application card; and
[0035] Determining a target display size of the first application card based on the current display size of the first application card and the display size adjustment amount.
[0036] In this implementation, in response to a first sliding operation gesture triggered by a user on a first application card, the terminal device adaptively adjusts the display size of the first application card to a target display size based on the current display size and the display size adjustment amount determined based on the user's first sliding operation gesture. Therefore, the procedure for adjusting the display size of the first application card is simplified. Additionally, by adaptively adjusting the display size, the user can flexibly and effectively adjust the display size of the first application card based on actual requirements, so that the adjusted target display size is in line with the user's actual thinking, improving the user's operation experience.
[0037] In one possible implementation, the first slide gesture includes a horizontal slide operation and / or a vertical slide operation, and the display size adjustment amount includes a horizontal size adjustment amount and / or a vertical size adjustment amount;
[0038] The step of obtaining a display size adjustment amount of the first application card based on a first sliding operation gesture triggered by a user on the first application card includes:
[0039] obtaining a horizontal size adjustment amount of the first application card based on a horizontal sliding operation triggered by a user on the first application card;
[0040] and / or
[0041] Obtaining a vertical size adjustment amount of the first application card based on a vertical sliding operation triggered by a user on the first application card.
[0042] Specifically, based on the first slide operation gesture, the display size of the first application card can be adaptively adjusted horizontally only, vertically only, or both horizontally and vertically, making the adjustment more flexible.
[0043] In a possible implementation, the step of displaying the first application card in the current display interface at the target display size includes:
[0044] obtaining a card display area corresponding to the first application card in the target display size;
[0045] determining a target icon to be moved from a plurality of application icons in the current display interface based on the card display area; and
[0046] A step of executing a movement process on the icon to be moved based on a preset icon movement rule in order to display the first application card in the card display area at the target display size.
[0047] In this case, when the first application card is displayed in the current display interface at the target display size, it is necessary to perform a move process on the icon to be moved based on the card display area determined based on the target display size, thereby ensuring that the first application card and the application icon displayed in the current display interface are clearly displayed and do not obscure or obscure each other.
[0048] In a possible implementation, the moving target icon includes a first movable icon and a second movable icon, the first movable icon is an application icon corresponding to the card display area, and the second movable icon includes at least one application icon other than the first movable icon in the current display interface;
[0049] The step of performing a movement process on the icon to be moved based on the preset icon movement rule includes:
[0050] adding a blank display interface between the current display interface and the next display interface, the current display interface and the next display interface being adjacent display interfaces; and
[0051] Moving the first movable icon or the second movable icon to a blank display interface for display.
[0052] In this case, the icon to be moved is displayed by adding a display interface, which does not affect the display order of application icons in other display interfaces of the terminal device, is easy to operate, and maintains the user's original application icon deployment habits in other display interfaces, improving the user experience.
[0053] In a possible implementation, the icons to be moved include a third movable icon, and the third movable icon includes a plurality of application icons located below and behind the card display area in the current display interface;
[0054] The step of executing a movement process on an icon to be moved based on a preset icon movement rule includes:
[0055] sequentially moving the third movable icon backward based on a preset moving direction priority to display the third movable icon in the current display interface and / or the next display interface;
[0056] Here, the movement direction priority indicates that horizontal movement priority is higher than vertical movement priority.
[0057] In this case, the icon to be moved is displayed by sequentially moving the application icons backward, so that the application icons in the terminal device continue to be displayed in an orderly manner without changing the display order even after adjusting the display size of the first application card, which is in line with the user's original application icon viewing habits.
[0058] In a possible implementation, the method further includes:
[0059] In response to a second sliding gesture triggered by a user on a first application card in the current display interface, obtaining an application switching policy for the first application card; and
[0060] Switching the first application card to a second application card based on an application switching policy, where the first application card and the second application card correspond to different applications.
[0061] Based on this, in the present application, when adjusting the application type of an application card, a second sliding gesture is directly triggered on the first application card without triggering a menu button to select a second application for switching in the menu content display interface, to instruct the terminal device to obtain an application switching policy corresponding to the application card based on the second sliding gesture, and automatically switch the first application card to the second application card based on the application switching policy, and display the second application card in the current display interface. This simplifies the procedure for adjusting the application type of an application card, improves the efficiency of adjusting the application type of an application card, and results in a better user operation experience.
[0062] In a 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:
[0063] In response to a first sliding gesture triggered by a user on a first application card in the current display interface, obtaining an application switching policy for the first application card; and
[0064] Switching the first application card to a second application card based on an application switching policy, where the first application card and the second application card correspond to different applications.
[0065] Specifically, when a user adjusts the current display size of a first application card by performing a first sliding gesture on the first application card, if the current display size or the adjusted target display size of the first application card is equal to the preset maximum display size or the preset minimum display size, the user no longer performs a display size switching operation after performing the first sliding gesture, but switches the first application card to a second application card based on the application switching policy. In this case, not only the display size of the application card can be adjusted based on the first sliding gesture, but also the application type of the application card can be adjusted, thereby making the adjustment of the application card more flexible and improving the adjustment effect.
[0066] According to a second aspect, an embodiment of the present application provides an application card adjustment device, the device including:
[0067] an acquiring module configured to acquire a size adjustment policy for a first application card in response to a first sliding gesture triggered by a user on the first application card in the current display interface;
[0068] a determination module configured to determine a target display size of the first application card based on a current display size of the first application card and a size adjustment policy; and
[0069] A display module configured to display the first application card at a target display size within the current display interface.
[0070] According to a third aspect, an embodiment of the present application provides a terminal device including a memory and a processor.
[0071] The memory is configured to store a computer program.
[0072] The processor is configured to read the computer program from the memory and to execute the computer program to implement the steps of the application card adjustment method according to any of the method embodiments of the first aspect.
[0073] According to a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, the computer program being configured to, when executed by a processor, implement the steps of the application card adjustment method according to any of the method embodiments of the first aspect.
[0074] According to a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program that, when executed on the aforementioned terminal device, causes the terminal device to perform the steps of the application card adjustment method according to any of the method embodiments of the first aspect. [Brief explanation of the drawings]
[0075] [Figure 1] 1 is a schematic diagram of the structure of a terminal device according to an exemplary embodiment of the present application;
[0076] [Figure 2] 1 is a schematic flowchart of an application card adjustment method according to an exemplary embodiment of the present application;
[0077] [Figure 3] 3 is a schematic flow chart of determining a target display size according to an exemplary embodiment of the present application;
[0078] [Figure 4A] FIG. 2 is a schematic diagram of display size switching according to an exemplary embodiment of the present application; [Figure 4B]FIG. 2 is a schematic diagram of display size switching according to an exemplary embodiment of the present application; [Figure 4C] FIG. 2 is a schematic diagram of display size switching according to an exemplary embodiment of the present application; [Figure 4D] FIG. 2 is a schematic diagram of display size switching according to an exemplary embodiment of the present application;
[0079] [Figure 5] 10 is another schematic flowchart of determining a target display size according to an exemplary embodiment of the present application;
[0080] [Figure 6A] FIG. 10 is another schematic diagram of display size switching according to an exemplary embodiment of the present application. [Figure 6B] FIG. 10 is another schematic diagram of display size switching according to an exemplary embodiment of the present application.
[0081] [Figure 7] 10 is yet another schematic flowchart of determining a target display size according to an exemplary embodiment of the present application;
[0082] [Figure 8A] FIG. 10 is yet another schematic diagram of display size switching according to an exemplary embodiment of the present application. [Figure 8B] FIG. 10 is yet another schematic diagram of display size switching according to an exemplary embodiment of the present application. [Figure 8C] FIG. 10 is yet another schematic diagram of display size switching according to an exemplary embodiment of the present application.
[0083] [Figure 9] 3 is a schematic flowchart of displaying an application card according to an exemplary embodiment of the present application;
[0084] [Figure 10A] FIG. 1 is a schematic diagram of displaying an application card according to an exemplary embodiment of the present application; [Figure 10B]FIG. 1 is a schematic diagram of displaying an application card according to an exemplary embodiment of the present application; [Figure 10C] FIG. 1 is a schematic diagram of displaying an application card according to an exemplary embodiment of the present application; [Figure 10D] FIG. 1 is a schematic diagram of displaying an application card according to an exemplary embodiment of the present application;
[0085] [Figure 11A] FIG. 10 is another schematic diagram of displaying an application card according to an exemplary embodiment of the present application. [Figure 11B] FIG. 10 is another schematic diagram of displaying an application card according to an exemplary embodiment of the present application. [Figure 11C] FIG. 10 is another schematic diagram of displaying an application card according to an exemplary embodiment of the present application.
[0086] [Figure 12A] FIG. 10 is yet another schematic diagram of displaying an application card according to an exemplary embodiment of the present application. [Figure 12B] FIG. 10 is yet another schematic diagram of displaying an application card according to an exemplary embodiment of the present application. [Figure 12C] FIG. 10 is yet another schematic diagram of displaying an application card according to an exemplary embodiment of the present application. [Figure 12D] FIG. 10 is yet another schematic diagram of displaying an application card according to an exemplary embodiment of the present application.
[0087] [Figure 13] 4 is a schematic flowchart of another application card adjustment method according to an exemplary embodiment of the present application;
[0088] [Figure 14] 1 is a schematic diagram of the structure of an application card adjustment device according to an exemplary embodiment of the present application;
[0089] [Figure 15]FIG. 10 is a schematic diagram of the structure of another application card adjustment device according to an exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION
[0090] To make the objectives, technical solutions and advantages of the present application clearer, the following describes the technical solutions of the present application in more detail with reference to the accompanying drawings and embodiments.
[0091] Before explaining and describing the application card adjustment method provided in the embodiments of the present application, the application scenario of the embodiments of the present application will be first described.
[0092] With the continuous development of intelligent mobile terminals and software technology, it has become more common to browse various information using clients, applications, web pages, mini programs, and application cards within terminal devices. In the display interface of terminal devices, applications usually have two layouts: application icon layout and application card layout.
[0093] In the application icon layout, tapping an application icon enters the application interface (which may be the main interface) of the application to check or edit the detailed information of the application. In this layout, when a user needs to obtain detailed information of an application, the user must enter the relevant application interface and select the required content one by one based on the display content of the application interface, which has cumbersome operation procedures that cannot be directly implemented.
[0094] In the application card layout, the core functions of an application are arranged on a presentation card. The display content in the application card is related to the content displayed by the launched application associated with the application card. In this case, when a user wants to obtain information about an application, the user can directly view the application card corresponding to the application to obtain the required application information without entering the application page.
[0095] Typically, an application card provides users with different display sizes for configuration, in order to clearly display the relevant information of the application and meet users' viewing needs.
[0096] For any application card presented on the display interface of the terminal device, when the user wants to adjust the display size of the application card, the adjustment procedure is as follows: first, long press the menu button to enter the menu content display interface; tap the submenu "More Service Cards" in the menu content display interface; select the corresponding application from the submenu and add an application card of the target display size for that application; then return to the current display desktop; remove the application card of the initial display size from the current display desktop, and add the application card of the target size to the corresponding card display area.
[0097] However, the above display size adjustment procedure requires the user to perform multiple tap selection operations, which requires complex operation procedures, reducing the efficiency of adjusting the display size of the application card and affecting the user's operation experience.
[0098] Based on this, the present application provides an application card adjustment method and apparatus, a terminal device, and a storage medium, which directly adjust the current display size of an application card based on a corresponding size adjustment policy in response to an operation gesture triggered by a user on the application card, and display the application card at a target display size. Therefore, by simplifying the user's operation procedure, the efficiency of adjusting the display size of the application card is improved, and as a result, the user's operation experience is improved.
[0099] Of course, adjusting the display size of the application card by triggering a first sliding operation gesture on the application card is just one application scenario of the present application, and the present application may also be applied to other scenarios for adjusting the display state or display content of the application card, the details of which will not be described here.
[0100] Furthermore, after describing the application scenario of the embodiments of the present application, the implementation environment of the present application will be described.
[0101] In an exemplary embodiment, the application card adjustment method provided in the embodiment of the present invention can be applied to a terminal device. As shown in Figure 1, the terminal device includes at least one processor 110, a memory 120, a communication interface 130, and a system bus 140.
[0102] The processor 110 may be a general-purpose central processing unit (CPU), a network processor (NP), or a microprocessor, or may be 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.
[0103] Memory 120 may be, but is not limited to, Read-Only Memory (ROM) or another type of static storage device capable of storing static information and instructions, Random Access Memory (RAM) or another type of dynamic storage device capable of storing information and instructions, Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other compact disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile optical disc, or Blu-ray disc), magnetic disk storage medium or other magnetic storage, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
[0104] Optionally, the memory 120 may exist independently and be connected to the processor 110 via the system bus 140 , or the memory 120 may be integrated with the processor 110 .
[0105] The communication interface 130 is configured to communicate with another device or a communication network. The communication interface 130 may include a wired communication interface or a wireless communication interface. The wired communication interface may be an Ethernet interface, which 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.
[0106] The system bus 140 is configured to transfer information among the aforementioned components. The system bus 140 can be classified into an address bus, a data bus, a control bus, etc. For ease of representation, the system bus is represented in the drawings using only one thick line with a double-headed arrow, but this does not indicate that only one bus or only one type of bus is present.
[0107] Optionally, processor 110 may include one or more CPUs.
[0108] Optionally, the terminal device may alternatively include multiple processors 110. Each of these processors may be a single-core processor (single CPU) or a multi-core processor (multiple CPUs). A processor herein may be one or more devices or circuits and / or processing cores configured to process data (e.g., computer program instructions).
[0109] Optionally, the terminal device may further include an output device and an input device (not shown in FIG. 1 ). 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, a projector, etc. The input device communicates with the processor 110 and may receive input information or instructions from a user in a variety of ways. For example, the input device may be a mouse, a keyboard, a touch screen, or a sensor device.
[0110] In addition, in some embodiments, the memory 120 is configured to store a computer program for implementing the technical solutions of the present application, and the processor 110 may execute the computer program stored in the memory 120. For example, the terminal device may implement the application card adjustment method provided in the embodiments of the present application by the processor 110 calling and executing the computer program in the memory 120.
[0111] The technical solutions of the embodiments of the present application and how to solve the above technical problems according to the technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings. Some specific embodiments below may be combined with each other, and some embodiments may not repeatedly describe the same or similar concepts or processes. It should be noted that the execution entity of the application card adjustment method according to the embodiments of the present application may be the terminal device shown in FIG. 1 or the application card adjustment device. In addition, the device may be implemented by software, hardware, or a combination thereof as all or part of the processor in the terminal device. Obviously, the described embodiments are some, but not all, of the embodiments of the present application.
[0112] In a method embodiment, as shown in Figure 2, an embodiment of the present invention provides an application card adjustment method for adjusting the display size of a first application card. The method is applicable to the terminal device shown in Figure 1 and includes the following steps:
[0113] Step 210: In response to a first sliding gesture triggered by a user on a first application card in a current display interface, obtain a size adjustment policy for the first application card.
[0114] Regarding the sliding behavior, the first sliding gesture may include a light touch and a sliding operation, or a long press and a sliding operation. Regarding the sliding direction, the first sliding gesture may include a horizontal sliding operation and a vertical sliding operation. The horizontal sliding operation includes a left sliding operation and a right sliding operation. The vertical sliding operation includes an up sliding operation and a down sliding operation. In this embodiment of the present application, the first sliding gesture may be, but is not limited to, one sliding gesture or a combination of the above-mentioned sliding gestures.
[0115] For example, the terminal device is a mobile phone. A mobile phone may typically include multiple display interfaces, such as a main desktop interface, a left-most home screen interface, and at least one application interface. In this embodiment of the present application, the current display interface is any display interface of an application card configured in the mobile phone, and the first application card is any application card installed on the terminal device.
[0116] It should be understood that the main desktop interface is typically the first desktop page, and the main desktop page may be configured at the factory or based on user preferences, and the left-most home screen interface is a display interface on the left side of the main desktop interface, and is configured to provide users with services such as search, application suggestions, quick services, application cards, and situational intelligence, which is not limited in the embodiments of the present application.
[0117] Furthermore, the first sliding gesture is an operation formed by a user sliding the touch screen of the terminal device, in which after detecting the first sliding gesture for the first application card in the current display interface, the terminal device determines a size adjustment policy for the first application card in response to the first sliding gesture.
[0118] When determining the size adjustment policy based on the first sliding gesture, the size adjustment policy of the first application card may be determined in real time based on a machine learning model, or may be determined based on a preset correspondence, or may be autonomously input by a user, which is not limited in the embodiment of the present application.
[0119] In a possible implementation, the implementation process of step 210 may include: obtaining an operation-policy correspondence relationship between a card operation gesture and a card adjustment policy; and determining a size adjustment policy corresponding to the first application card based on a first slide operation gesture triggered by a user on the first application card and the operation-policy correspondence relationship.
[0120] The operation-policy correspondence may include a correspondence between a slide operation gesture and a card adjustment policy, or may include a correspondence between a press operation gesture and a card adjustment policy, or may include a correspondence between another operation gesture and a card adjustment policy.
[0121] Specifically, the correspondence between the slide gestures and the card adjustment policies may further include card adjustment policies corresponding to different slide gestures. For example, the card adjustment policy corresponding to the first slide gesture is a size adjustment policy; the card adjustment policy corresponding to the second slide gesture is an application switching policy; and the card adjustment policy corresponding to the third slide gesture is a content editing policy. This is not limited to the embodiments of the present application.
[0122] For example, before step 210 is performed, an operation-policy correspondence relationship between a first sliding operation gesture and a size adjustment policy may be preset and stored in a server corresponding to the application client. In practical application, when a first sliding operation gesture initiated by a user on a first application card using a finger or a stylus is detected in a current display interface, a size adjustment policy of the first application card is determined based on the preset operation-policy correspondence relationship.
[0123] In this case, by setting the operation-policy correspondence relationship in advance, in actual application, the user's card adjustment request can be accurately determined, the size adjustment policy of the first application card can be quickly obtained, and the user operation can be quickly responded to, thereby improving the user experience.
[0124] Step 220: 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.
[0125] The first application card may provide one or more 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.
[0126] Note that the display size of the first application card may be expressed in pixel values, for example, the display size of the first application card may be 600px long and 100px wide, 976px long and 440px wide, or 1200px long and 640px wide, which are not listed here.
[0127] When implementing step 220, in response to a first slide operation gesture triggered by a user on a first application card, the terminal device may determine a target display size through size switching based on the current display size and multiple display sizes pre-set for the first application card; or may determine the target display size by first presenting the display effect of the first application card in multiple display sizes in a global preview manner; or may directly adjust the current display size of the first application card to the target display size.
[0128] It should be understood that the manner in which the target display size is determined is not unique and may be one or more of the manners listed above or may be another manner, which is not limited in the embodiments of the present application.
[0129] Three enumerated implementations for determining the target display size are described in detail below.
[0130] In an exemplary embodiment, as shown in FIG. 3, the implementation process of determining the target display size in step 220 may include the following steps:
[0131] Step 310: Obtain the display size switching order of the first application card.
[0132] The display size switching order may include switching based on ascending order of display size or switching based on descending order of display size.
[0133] In step 310, the display size switching sequence may be pre-stored in a server corresponding to the first application client, may be stored in a terminal device on which the first application is installed, or may be stored in another third-party device or system, which is not limited to the embodiments of the present application.
[0134] Specifically, after a user triggers a first sliding operation gesture on a first application card, the terminal device obtains a display size switching order of the first application card from a local database or a remote database based on a size adjustment policy corresponding to the first sliding operation gesture, and performs step 320.
[0135] Step 320: Determine a target display size of the first application card based on the current display size of the first application card and the display size switching order.
[0136] It should be noted that after obtaining the display size switching order of the first application card, the terminal device may determine the target display size in response to the user's further operation gesture; or the terminal device may automatically determine the target display size of the first application card based on a preset size determination logic.
[0137] In a possible implementation, the implementation process of step 320 may include: determining an intermediate display size of the first application card in response to a first slide operation gesture triggered by a user on the first application card and a display size switching order; displaying the first application card at the intermediate size; and, if a size determination operation triggered by a user on the first application card displayed at the intermediate display size is detected, determining the intermediate display size as the target display size of the first application card.
[0138] In other words, in response to a first slide operation gesture triggered by a user on the first application card, a display size switching operation is performed based on the display size switching order of the first application card, and after the switching, the first application card is displayed at an intermediate display size.
[0139] When the first switching operation is performed, the intermediate display size may be a display size adjacent to the current display size in the display size switching order; when the user continues to trigger the first sliding operation gesture on the first application card, there is a display size between the intermediate display size and the current display size in the display size switching order. The remaining points can be made in the same manner, and the details will not be described again here.
[0140] Furthermore, when the user triggers a size determination operation on the first application card displayed at the intermediate display size, the intermediate display size is determined as the target display size of the first application card. In other words, every time the first application card is displayed at the intermediate display size, the terminal device detects whether there is a size determination operation on the first application card, and then determines the target display size of the first application card based on the user's size determination operation.
[0141] Optionally, if a size determination operation for the first application card displayed at an intermediate display size is not detected within a preset adjustment period, the current display size is determined as the target display size of the first application card, and in this case, there is no need to adjust the current display size of the first application card.
[0142] Optionally, if a size determination operation for the first application card displayed at the intermediate display size is not detected within a preset adjustment period, the intermediate display size is automatically determined as the target display size of the first application card.
[0143] The adjustment time may be any preset time such as 30 seconds, 1 minute, or 2 minutes. The size determination operation may be a tap operation.
[0144] In addition, a size determination button may be further pre-configured on the first application card, and the user taps the determination button to determine the current display size of the first application card as the target display size.
[0145] Using an example in which the first slide operation gesture is an up slide operation, the first application card includes three display sizes: display size A, display size B, and display size C, and the display size switching order is display size A-display size B-display size C. Display size A is smaller than display size B, and display size B is smaller than display size C.
[0146] 4A, 4B, 4C, and 4D. As shown in FIG. 4A, the current display size is display size A. After a user triggers a slide-up operation on a first application card, the first application card is displayed in the current display interface with a display size B, as shown in FIG. 4B. The user subsequently triggers a slide-up operation on the first application card (i.e., a second slide-up operation), after which the first application card is displayed in the current display interface with a display size C, as shown in FIG. 4C.
[0147] Furthermore, as shown in Fig. 4C, a size determination button is configured on the first application card. After switching to display size C by sliding up, the user taps the size determination button to determine display size C as the target display size, and the first application card is displayed in display size C as shown in Fig. 4D.
[0148] Optionally, in the display size switching process, a navigation point is displayed next to the first application card to indicate to the user which of the plurality of display sizes preset for the first application card the currently switched display size is, the number of navigation points is the same as the number of display sizes preset for the first application card, and the navigation point is updated every time the display size is switched.
[0149] In the above-described aspect of determining the target display size based on the display size switching order of the first application card, the display size of the first application card can be quickly switched and the current display size can be switched to the target display size in response to the user's first sliding operation gesture. In this case, in the sliding switching aspect, the terminal device can quickly determine the target display size to which the user needs to switch in response to the user's first sliding operation gesture, which is a simple operation. In addition, the user can visually understand the display effect of the first application card at each display size through the repeated switching aspect, so that the target display size selected after switching meets the user's actual requirements, and the user's operation experience is improved.
[0150] In another exemplary embodiment, as shown in FIG. 5 , the implementation process for determining the target display size in step 220 may include the following steps:
[0151] Step 510: Present a plurality of candidate display cards in a preset display size for the first application card.
[0152] The number of preset display sizes is the same as the number of candidate display cards to be displayed. For example, if three display sizes are preset for the first application card, there will be three candidate display cards for the first application card.
[0153] In a possible implementation, the implementation process of step 510 may include, in response to a first slide manipulation gesture triggered by a user on a first application card in a current display interface, presenting multiple candidate display cards at a display size for the first application card based on a size adjustment policy for the first application card.
[0154] Furthermore, continuing to use the example in which the first slide operation gesture is an upward slide operation, the first application card includes three display sizes: display size A, display size B, and display size C, and the display size switching order is display size A-display size B-display size C. Display size A is smaller than display size B, and display size B is smaller than display size C.
[0155] As shown in Fig. 6A , the current display interface includes a first application card displayed at a display size B and application icons corresponding to applications 1 to 8. After a user triggers an upward sliding operation on the first application card, multiple candidate display cards are presented above the first application card in a horizontal arrangement on the upper layer of the current display interface, as shown in Fig. 6B .
[0156] The candidate display cards include candidate display card A, candidate display card B, and candidate display card C. Candidate display card A is an effect of displaying the first application card in display size A, candidate display card B is an effect of displaying the first application card in display size B, and candidate display card C is an effect of displaying the first application card in display size C.
[0157] In this case, the candidate display card is displayed on a higher layer of the current display interface, which can effectively prevent the user from accidentally triggering another application icon or display card in the current display interface when selecting the target display card.
[0158] Optionally, multiple candidate display cards may alternatively be presented in an unoccupied display area within the current display interface, allowing the user to select a target display size for the first application card based on the size of the unoccupied display area.
[0159] Optionally, multiple candidate display cards may alternatively be displayed in a vertical arrangement.
[0160] Optionally, multiple candidate display cards may alternatively be arranged below the first application card displayed in the current display size.
[0161] Step 520: Determine a display card corresponding to the first application card from the plurality of candidate display cards, where the display size of the target display card is the target display size of the first application card.
[0162] In a possible implementation, in step 520, the target display size may be determined from a plurality of candidate display cards in any of the following selection manners:
[0163] (1) Based on a tap 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.
[0164] The tap operation may be a single tap or multiple consecutive taps, which is not limited in the embodiment of the present application.
[0165] (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 a target display size.
[0166] The third sliding gesture may be the same as the first sliding gesture or may be different from the first sliding gesture, which is not limited in the embodiment of the present application.
[0167] For example, with respect to aspects (1) and (2), as shown in FIG. 6B, when a user triggers a tap operation or a third slide operation gesture on candidate display card C, candidate display card C is determined as the target display card, and display size C corresponding to candidate display card C is the target display size.
[0168] (3) Based on the user's voice instruction, the display size of the target display card is determined as the target display size.
[0169] The voice instruction conveys card information of the target display card. After receiving the voice instruction, the terminal device determines a target display card from the plurality of candidate display cards and determines a display size of the target display card as a target display size.
[0170] (4) If no user-triggered operation is detected in any of the candidate display cards within a preset adjustment time, 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.
[0171] 6B, if no operation is detected for candidate display card A, candidate display card B, or candidate display card C, the display size of candidate display card B is the same as the current display size of the first application card, and therefore candidate display card B is determined as the target display card. In this case, the target display size is display size B.
[0172] This embodiment of the present application is intended to emphasize the aspect of simultaneously presenting multiple candidate display cards, but does not limit the aspect of selecting a target display card or target display size.
[0173] Furthermore, after the target display card is determined in step 520, the implementation process of displaying the first application card in the current display interface at the target display size may include switching the first application card to the target display card and displaying the target application card in the current display interface.
[0174] In other words, the first application card is directly removed from the current display interface, and the target display card is displayed in the corresponding card display area.
[0175] In the above-described manner of determining the target display size, in response to a first sliding gesture triggered by a user on a first application card, a plurality of candidate display cards having preset display sizes for the first application card are presented in a global preview manner, and the target display card and the target display size are determined based on the plurality of candidate display cards, thereby simplifying the procedure for adjusting the display size of the first application card.
[0176] In addition, multiple candidate display cards are presented simultaneously, which facilitates the user to visually understand the display effects of the first application card with different display sizes and comprehensively compare various display sizes, so that the selection of the display size is in line with the user's actual thinking, which can effectively avoid the discrepancy between the selection result and the actual requirements, improve the efficiency of viewing the display size of the first application card, and enhance the user's operation experience.
[0177] In yet another exemplary embodiment, as shown in FIG. 7, the implementation process of determining the target display size in step 220 may include the following steps:
[0178] Step 710: Obtain a display size adjustment amount of the first application card based on a first sliding operation gesture triggered by a user on the first application card.
[0179] The first slide gesture includes a horizontal slide operation and / or a vertical slide operation, and correspondingly, the display size adjustment amount includes a horizontal size adjustment amount and / or a vertical size adjustment amount.
[0180] In a possible implementation, the implementation process of step 710 may include: obtaining a horizontal size adjustment amount for the first application card based on a horizontal slide operation triggered by the user on the first application card; and / or obtaining a vertical size adjustment amount for the first application card based on a vertical slide operation triggered by the user on the first application card.
[0181] In other words, when triggering a first slide operation gesture on the first application card to directly adjust the current display size of the first application card, the user may adjust only the horizontal display size of the first application card based on a horizontal slide operation, or may adjust only the vertical display size of the first application card based on a vertical slide operation, or may sequentially perform horizontal and vertical slide operations on the first application card to adjust both the horizontal and vertical display sizes of the first application card.
[0182] In addition, in a specific implementation, a distance-adjustment amount correspondence relationship between a unit slide distance on the display screen and a unit size adjustment amount may be preset, and based on a first slide adjustment gesture triggered by the user on the first application card, the user's actual slide distance on the display screen may be determined, and then the display size adjustment amount of the first application card may be calculated based on the actual slide distance and the distance-adjustment amount correspondence relationship.
[0183] Step 720: Determine a target display size of the first application card based on the current display size of the first application card and the display size adjustment amount.
[0184] It should be noted that the user may reduce or increase the current display size of the first application card based on the first sliding gesture, in which case the display size adjustment amount may be a positive or negative value.
[0185] In a possible implementation, the implementation process of step 720 may include: if the display size adjustment amount is a positive value, using the sum of the current display size and the display size adjustment amount as the target display size of the first application card; or if the display size adjustment amount is a negative value, using the difference between the current display size and the display size adjustment amount as the target display size of the first application card.
[0186] Continuing with the example in which the first slide operation gesture is an up slide operation, the first application card includes three display sizes: display size A, display size B, and display size C, and the display size switching order is display size A-display size B-display size C. Display size A is smaller than display size B, and display size B is smaller than display size C.
[0187] Assuming that the current display size of the first application card is display size A as shown in Fig. 8A, in response to a user's vertical sliding operation on the first application card, the current display size is adjusted based on a vertical size adjustment amount corresponding to the vertical sliding operation, to obtain the display size shown in Fig. 8B. Furthermore, in response to a user's horizontal sliding operation on the first application card shown in Fig. 8B, the display size of the first application card continues to be adjusted based on a horizontal size adjustment amount corresponding to the horizontal sliding operation, to obtain the target display size shown in Fig. 8C.
[0188] 8A, 8B, and 8C only show one adjustment order in this exemplary embodiment, and it should be understood that the horizontal display size of the first application card may be adjusted first, and then the vertical display size may be adjusted, which is not limited in this embodiment.
[0189] In the above aspect of determining the target display size, a display size adjustment amount for the first application card is determined in response to a first sliding operation gesture triggered by a user on the first application card, and the display size of the first application card is adaptively adjusted to the target display size based on the current display size and the display size adjustment amount. Therefore, the procedure for adjusting the display size of the first application card is simplified. Additionally, by adaptively adjusting the display size, the user can flexibly and effectively adjust the display size of the first application card based on actual requirements, so that the adjusted target display size is in line with the user's actual thinking, improving the user's operation experience.
[0190] Based on the method for determining the target display size provided in the embodiment of Figure 7, when multiple display sizes are preset for the first application card, a slide distance corresponding to each display size may be preset, and whether to perform a display size switching operation is determined based on the actual slide distance.
[0191] As an example, assume again that the first application card includes three display sizes: display size A, display size B, and display size C, where display size A is smaller than display size B, which is smaller than display size C.
[0192] In addition, assuming that the current display size of the first application card is display size A, the correspondence between the display size and the sliding distance can be shown as in Table 1 below: [Table 1]
[0193] It can be seen that when the actual sliding distance generated based on the first sliding operation gesture triggered by the user on the first application card is less than x1 mm, the current display size is maintained unchanged, i.e., display size A is determined as the target display size; when the actual sliding distance generated based on 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, display size B is determined as the target display size; or when the actual sliding distance generated based on the first sliding operation gesture triggered by the user on the first application card is greater than or equal to x2 mm, display size C is determined as the target display size.
[0194] When the actual sliding distance generated based on the first sliding gesture triggered by the user on the first application card is greater than the sliding distance corresponding to the maximum display size preset for the first application card, successive triggers of the first sliding gesture no longer change the display size of the first application card.
[0195] In addition, based on the above three aspects of determining the target display size, in practical application, the display size of any application card in the terminal device may be adjusted according to the following aspects:
[0196] Aspect 1: A size adjustment policy is set for the first slide manipulation gesture.
[0197] For example, setting the size adjustment policy of the first application card for the first slide manipulation gesture may be a display size switching aspect shown in the embodiment of FIG. 3; or setting the size adjustment policy of the first application card may be a display size global preview aspect shown in the embodiment of FIG. 5; or setting the size adjustment policy of the first application card may be a display size adaptive adjustment aspect shown in FIG. 7.
[0198] In this case, the display size adjustment policy for each application card is unique.
[0199] Aspect 2: For each size adjustment policy, a corresponding first slide operation gesture is set.
[0200] For example, if the first slide operation gesture is a vertical slide operation including an up slide operation or a down slide operation, setting the size adjustment policy of the first application card may be the display size switching aspect shown in the embodiment of FIG. 3; or if the first slide operation gesture is a long press and slide operation, setting the size adjustment policy of the first application card may be the display size global preview aspect shown in the embodiment of FIG. 5; or if the first slide operation gesture is a horizontal slide operation including a left slide operation or a right slide operation, setting the size adjustment policy of the first application card may be the display size adaptive adjustment aspect shown in FIG. 7.
[0201] In this case, each application card may support different display size adjustment manners, and the current display size of the application card may be adjusted based on different adjustment policies for different first sliding manipulation gestures.
[0202] Step 230: Display the first application card in the current display interface at the target display size.
[0203] It should be noted that if the target display size is smaller than the current display size of the first application card, the first application card is directly displayed in the current display interface at the target display size, which does not affect the application icons in the current display interface, and there is no need to adjust the application icons in the current display interface.If the target display size is larger than the current display size of the first application card, when the first application card is displayed in the current display interface at the target display size, there is a need to adjust the application icons in the current display interface to avoid icons overlapping or the cards covering the icons.
[0204] For the sake of convenience, in the above, in Figures 4A, 4B, 4C, 6A, 6B, 8A, 8B and 8C, there are no application icons configured after the first application card, but it should be understood that the display positions and display order of the application icons and application cards are not limited.
[0205] In practice, application icons may be deployed behind the first application card to ensure tidy display desktop. In this case, if the target display size is larger than the current display size, application icons before and after the first application card need to be adjusted to avoid occlusion when the first application card is displayed at the target display size.
[0206] Therefore, if the current display size of the first application card is smaller than the target display size, in an exemplary embodiment, as shown in FIG. 9 , the implementation process of step 230 may include the following sub-steps:
[0207] Step 910: Obtain a card display area corresponding to the first application card in the target display size.
[0208] The card display area may be a display area range corresponding to the target display size, or may be a display area range that needs to be expanded based on the display area range corresponding to the current display size of the first application card when the first application card is displayed at the target display size.
[0209] Furthermore, if the card display area is an expanded display area, the expanded display area may be determined based on the difference between the target display size and the current display size.
[0210] Step 920: Determine a target icon to be moved from the plurality of application icons in the current display interface based on the card display area.
[0211] The icon to be moved may be part or all of the application icons in the current display interface, which is not limited in this embodiment.
[0212] For example, the icons to be moved may include a first movable icon and a second movable icon, where the first movable icon is an application icon corresponding to the card display area, and the second movable icon includes at least one application icon other than the first movable icon in the current display interface.
[0213] It should be noted that the second movable icon may be determined based on a preset computer algorithm, may be selected autonomously by the user, or may be any icon other than the first movable icon, which is not limited in this embodiment.
[0214] As another example, the icons to be moved include a third movable icon, and the third movable icon includes a plurality of application icons below and behind the card display area in the current display interface.
[0215] In this case, when the first application card is displayed at the target display size, the position of the application icons behind and below the first application card needs to be adjusted to avoid being covered by the first application card displayed at the target display size.
[0216] Step 930: Based on the preset icon movement rule, a movement process is executed on the icon to be moved, and the first application card is displayed in the card display area at the target display size.
[0217] The moving process for the icon to be moved may be performed by adding a display interface, or the moving process for the icon to be moved may be performed directly on at least one display interface already present on the terminal device.
[0218] In a possible implementation, if the icons to be moved include a first movable icon and a second movable icon, the implementation process of step 930 may include: adding a blank display interface between the current display interface and the next display interface; and moving the first movable icon or the second movable icon to the blank display interface for display.
[0219] The current display interface and the next display interface are adjacent display interfaces.
[0220] For example, as shown in FIGS. 10A, 10B, 10C, and 10D, the current display interface includes a first application card and application icons corresponding to application 1 to application 12.
[0221] 10A, the current display size of the first application card is 2*2 (i.e., occupying the positions of two application icons horizontally and two icons vertically). When adjusting the target display size to 2*4 (i.e., occupying the positions of four application icons horizontally and two icons vertically), as shown in FIG. 10B, after the first application card is displayed at the target display size, the display positions of the application icons behind and / or below the first application card need to be adjusted.
[0222] The first movable icons include application icons corresponding to application 1, application 2, application 3, and application 4. The second movable icons include application icons corresponding to application 9, application 10, application 11, and application 12.
[0223] Specifically, as shown in FIG. 10C, a blank display interface is added between the current display interface and the next display interface (not shown), and the first movable icon is moved to the added blank display interface for display, and the display positions of other application icons in the current display interface are not changed.
[0224] Alternatively, as shown in Fig. 10D, the application icons in the current display interface are sequentially moved backward, and the application icons corresponding to applications 9 to 12 that cannot continue to be displayed in the current display interface are determined as second movable icons, and the second movable icons are moved to the added blank display interface for display. In this case, the application icons corresponding to applications 1 to 8 are sequentially displayed below the first application card in the current display interface.
[0225] It should be noted that the moving process only changes the display position of the icon to be moved, and does not change the display order of the icon to be moved.
[0226] In this case, the icon to be moved is displayed by adding a display interface that does not affect the display order of application icons in other display interfaces of the terminal device, and the operation is simple, and the user's original application icon deployment habits in other display interfaces are maintained, resulting in a better user experience.
[0227] In another possible implementation, if the icon to be moved includes a third movable icon, the implementation process of step 930 may include sequentially moving the third movable icon backward based on a preset movement direction priority, and displaying the third movable icon in the current display interface and / or the next display interface.
[0228] The movement direction priority indicates that the horizontal movement priority is higher than the vertical movement priority. Specifically, the third movable icon is first moved horizontally within the current row. In the horizontal movement process, if there is at least one third application icon beyond the current display interface, the third movable icon beyond the current display interface is moved vertically to the next row for display, and so on.
[0229] For example, as shown in Figures 11A, 11B, and 11C, the current display interface includes a first application card and application icons corresponding to application 1 to application 12, and the next display interface includes application icons corresponding to application 13 to application 20.
[0230] 11A, the current display size of the first application card is 2*2 (i.e., occupying the positions of two application icons horizontally and two icons vertically). When adjusting the target display size to 2*4 (i.e., occupying the positions of four application icons horizontally and two icons vertically), after the first application card is displayed at the target display size, the display positions of the application icons behind and / or below the first application card need to be adjusted.
[0231] The third movable icons include application icons corresponding to application 1 to application 12 that are located behind and below the first application card in the current display interface.
[0232] Specifically, the application icons corresponding to application 1 to application 12 are sequentially moved backward, first horizontally and then vertically. Finally, as shown in Fig. 11B, the application icons corresponding to application 1 to application 8 are displayed in the current display interface, and as shown in Fig. 11C, the application icons corresponding to application 9 to application 20 are displayed in the next display interface.
[0233] Similarly, the moving process only changes the display position of the icon to be moved, and does not change the display order of the icon to be moved.
[0234] In this case, the icon to be moved is displayed by sequentially moving the application icons backward, so that the application icons in the terminal device continue to be properly displayed in the same display order even after adjusting the display size of the first application card, which is in line with the user's original application icon viewing habits.
[0235] In yet another possible implementation, when the icons to be moved include a first movable icon and a second movable icon, the implementation process of step 930 may include: performing a grouping process on the second movable icon in a combined manner of the first movable icon to obtain at least one second movable icon group; and moving the first movable icon and each second movable icon group backward based on a preset movement direction priority, and displaying the icons to be moved in the current display interface and the next display interface.
[0236] The first movable icon and each of the second movable icon groups have the same backward movement order, that is, the first movable icon and each of the second movable icon groups are moved backward at the same time.
[0237] As an example, assume that the current display interface includes a first application card and application icons corresponding to application 1 through application 12, and the next display interface includes application icons corresponding to application 13 through application 20.
[0238] 12A, the current display size of the first application card is 2*2 (i.e., occupying two application icon positions horizontally and two icon positions vertically). When the target display size is adjusted to 2*4 (i.e., occupying four application icon positions horizontally and two icon positions vertically), the first movable icons include application icons corresponding to application 1, application 2, application 3, and application 4, and the second movable icons include application icons corresponding to application 5 to application 12.
[0239] As shown in FIG. 12B, the first movable icons are moved backward as a whole to display the first movable icons in the current display interface. Because the first movable icons include four application icons, the four application icons are grouped based on the original display positions of the second movable icons, such that the application icons corresponding to application 5, application 6, application 9, and application 10 are grouped into one second movable icon group, and the application icons corresponding to application 7, application 8, application 11, and application 12 are grouped into another second movable icon group. Then, as shown in FIG. 12B, the second movable icon group including the application icons corresponding to application 5, application 6, application 9, and application 10 is moved backward to display after the first application icons in the current display interface. At the same time, as shown in FIG. 12C, the second movable icon group including the application icons corresponding to application 7, application 8, application 11, and application 12 is displayed in the next display interface.
[0240] Specifically, as shown in Fig. 12C, the application icons corresponding to the applications 13 to 20 may be grouped in the second movable icon grouping manner and then moved backward as a whole to be displayed in the next display interface. Alternatively, as shown in Fig. 12D, the application icons corresponding to the applications 13 to 20 may be moved backward sequentially based on a preset movement direction priority to be displayed in the next display interface. This is not limited to this embodiment.
[0241] In this implementation, it should be noted that the moving process not only changes the display position of the icon to be moved, but also changes the display order of the icon to be moved. Specifically, the display order of some application icons among the second movable icons is changed.
[0242] In addition, if the current display interface further includes another application card, and the application card is located below or behind the first application card, the movement process of the application card and application icon in the current display interface needs to be performed according to the same implementation principles as the above three implementation aspects, and the details will not be described again here.
[0243] In this case, the icon to be moved is displayed by moving the application icons backward in groups, so that the display order of some icons remains unchanged, which makes it easier for the user to quickly find a group of application icons displayed in the same area.
[0244] Optionally, in step 930, to further reduce the amount of movement of the application icons, a merging process may be performed on the first application icon to display it as a combined icon. Specifically, the combined icon may be displayed after the last application icon in the current display interface, or may be displayed before the first application icon or after the last application icon in the next display interface.
[0245] In an application card adjustment method provided in an embodiment of the present application, the terminal device acquires a size adjustment policy for the first application card in response to a first sliding gesture triggered by a user on a first application card in a current display interface, then determines a target display size for the first application card based on the current display size of the first application card and the size adjustment policy, and displays the first application card in the current display interface at the target display size. Based on this, when adjusting the display size of an application card in the present application, the terminal device directly triggers a first sliding gesture on the application card without triggering a menu button to sequentially select an application and the display size of the application card in the menu content display interface, thereby instructing the terminal device to acquire a size adjustment policy corresponding to the application card based on the first sliding gesture and automatically adjust the display size of the application card based on the current display size of the application card and the size adjustment policy. This simplifies the procedure for adjusting the display size of an application card, improves the efficiency of adjusting the display size of an application card, and improves the user's operation experience.
[0246] Based on the same technical idea as the above-mentioned method embodiment, in another method embodiment, the present application further provides another application card adjustment method for switching the application type of a first application card, as shown in Figure 13. This method is also applicable to the terminal device shown in Figure 1, and includes the following steps:
[0247] Step 1310: In response to a second sliding 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.
[0248] It should be understood that the second sliding gesture is different from the first sliding gesture, in that the first sliding gesture is for initiating a procedure for adjusting the display size of the first application card, and the second sliding gesture is for initiating a procedure for switching the application type of the first application card.
[0249] Furthermore, the application switching policy includes a plurality of application cards and a switching order of the plurality of application cards, wherein the plurality of application cards include a first application card and at least one second application card, and the application cards correspond to different applications.
[0250] The switching policy of the first application card and the switching policy of the second application card may be the same or different, and the switching policies of the different application cards represent the switching order of the application types with the application card as the starting application card.
[0251] For example, the application switching policy of application card I may include application card I, application card II, application card III and application card IV, and the application card switching order is "application card I-application card II-application card III-application card IV", and the application switching policy of application card II may be application card II, application card III, application card, and the application card switching order is "application card II-application card III-application card IV".
[0252] Step 1320: Switch the first application card to a second application card based on the application switching policy, where the first application card and the second application card correspond to different applications.
[0253] In a possible implementation, the implementation process of step 1320 may include: determining a second application card to be located after a first application card based on the switching order of multiple application cards in the application switching policy; and replacing the first application card in the current display interface with the second application card and displaying the second application card in the current display interface.
[0254] The card display area of the first application card in the current display interface is the same as the card display area of the second application card in the current display interface, specifically, the first application card is removed from the current display interface, and the second application card is displayed in the card display area corresponding to the first application card.
[0255] Please note that if the preset display size of the first application card is different from the preset display size of the second application card, after switching to the second application card, the second application card will be displayed at the minimum display size, and a move process to another application card or application icon in the current display interface will be avoided.
[0256] In addition, based on the above application card switching policy, if the current display size of the first application card is a preset maximum display size or a preset minimum display size, switching of the application card can be triggered based on the first slide operation gesture.
[0257] In a possible implementation, in response to a first sliding gesture triggered by a user on a first application card in a current display interface, an application switching policy for the first application card is obtained, and based on the application switching policy, the first application card is switched to a second application card, where the first application card and the second application card correspond to different applications.
[0258] Specifically, when a user adjusts the current display size of a first application card by triggering a first slide operation gesture on the first application card, if the current display size or the adjusted target display size of the first application card is equal to a preset maximum display size or a preset minimum display size, the user no longer performs a display size switching operation after triggering the first slide operation gesture, but switches the first application card to a second application card based on the application switching policy.
[0259] In an application card adjustment method provided in an embodiment of the present application, the terminal device obtains an application switching policy for the first application card in response to a second sliding gesture triggered by a user on a first application card in the current display interface, and then switches the first application card to a second application card based on the application switching policy. The first application card and the second application card correspond to different applications. Based on this, in the present application, when adjusting the application type of an application card, the terminal device directly triggers a second sliding gesture on the first application card without triggering a menu button to select a second application in the menu content display interface for switching, thereby instructing the terminal device to obtain an application switching policy corresponding to the application card based on the second sliding gesture, and automatically switch the first application card to the second application card based on the application switching policy to display the second application card in the current display interface. This simplifies the procedure for adjusting the application type of an application card, improves the efficiency of adjusting the application type of an application card, and thereby improves the user's operation experience.
[0260] In the flowcharts of the embodiments, steps are displayed sequentially according to the direction of the arrows, but it should be understood that these steps are not necessarily performed sequentially in the order indicated by the arrows. Unless otherwise expressly specified in the present application, the implementation of these steps is not strictly limited, and these steps may be implemented in other orders. Furthermore, at least some of the steps in the flowcharts of the embodiments may include multiple steps or multiple stages. These steps or stages do not necessarily have to be performed simultaneously, but may be performed at different times. These steps do not necessarily have to be performed sequentially, but may be performed alternately with other steps or with at least some steps or stages of other steps.
[0261] Based on the same technical concept, the embodiments of the present application further provide an application card adjustment device that implements the application card adjustment method. The implementation solutions provided by the device to solve technical problems are similar to the implementation solutions recorded in the above-mentioned method embodiments. Therefore, for specific functional limitations in one or more embodiments of the application card adjustment device provided below, please refer to the limitations in the relevant steps of the above-mentioned application card adjustment method. Details will not be described herein.
[0262] In an embodiment of the device, as shown in Figure 14, an embodiment of the present application further provides an application card adjustment device. The device includes:
[0263] an acquiring module 1410 configured to acquire a size adjustment policy of a first application card in response to a first sliding gesture triggered by a user on the first application card in the current display interface;
[0264] a determination 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 the size adjustment policy; and
[0265] A display module 1430 configured to display the first application card at the target display size within the current display interface.
[0266] In a possible implementation, the acquisition module 1410 includes:
[0267] a correspondence obtaining unit configured to obtain an operation-policy correspondence between a card operation gesture and a card adjustment policy; and
[0268] a policy determination unit configured to determine a size adjustment policy corresponding to the first application card based on a first sliding operation gesture triggered by a user on the first application card and the operation-policy correspondence relationship;
[0269] In a possible implementation, the determination module 1420 includes:
[0270] a switching order obtaining unit configured to obtain a display size switching order of the first application card; and
[0271] a first determining unit configured to determine a target display size of the first application card based on the current display size of the first application card and the display size switching order;
[0272] In a possible implementation, the first decision module is specifically configured as follows:
[0273] determining an intermediate display size of the first application card in response to a first sliding gesture triggered by a user on the first application card and the display size switching order, and displaying the first application card at the intermediate size;
[0274] When a size determination operation triggered by a user for a first application card displayed at an intermediate display size is detected, the intermediate display size is determined as the target display size of the first application card.
[0275] In a possible implementation, the determination module 1420 includes:
[0276] a presentation unit configured to present a plurality of candidate display cards at a preset display size for the first application card; and
[0277] a second determining unit configured to determine, from the plurality of candidate display cards, a target display card corresponding to the first application card, where the display size of the target display card is the target display size of the first application card;
[0278] In a possible implementation, the display module 1430 is specifically configured as follows:
[0279] The first application card is switched to the target display card to display the target application card within the current display interface.
[0280] In a possible implementation, the determination module 1420 includes:
[0281] an adjustment amount obtaining unit configured to obtain a display size adjustment amount of the first application card based on a first sliding operation gesture triggered by a user on the first application card; and
[0282] a third determining unit configured to determine a target display size of the first application card based on the current display size of the first application card and the display size adjustment amount;
[0283] In one possible implementation, the first slide gesture includes a horizontal slide operation and / or a vertical slide operation, and the display size adjustment amount includes a horizontal size adjustment amount and / or a vertical size adjustment amount;
[0284] The adjustment amount acquisition unit includes:
[0285] a first obtaining subunit configured to obtain a horizontal size adjustment amount of the first application card based on a horizontal sliding operation triggered by a user on the first application card;
[0286] and / or
[0287] A second obtaining subunit configured to obtain a vertical size adjustment amount of the first application card based on a vertical sliding operation triggered by a user on the first application card.
[0288] In a possible implementation, the display module 1430 includes:
[0289] an area obtaining unit configured to obtain a card display area corresponding to the first application card in a target display size;
[0290] a fourth determination unit configured to determine a moving target icon from the plurality of application icons in the current display interface based on the card display area; and
[0291] an icon processing unit configured to execute a movement process on the movement target icon based on a preset icon movement rule in order to display the first application card in the card display area at a target display size;
[0292] In a possible implementation, the moving target icon includes a first movable icon and a second movable icon, the first movable icon is an application icon corresponding to the card display area, and the second movable icon includes at least one application icon other than the first movable icon in the current display interface;
[0293] The icon processing unit includes:
[0294] an interface adding subunit configured to add a blank display interface between a current display interface and a next display interface, where the current display interface and the next display interface are adjacent display interfaces;
[0295] A display subunit configured to move the first movable icon or the second movable icon to the blank display interface for display.
[0296] In a possible implementation, the icons to be moved include a third movable icon, and the third movable icon includes a plurality of application icons located below and behind the card display area in the current display interface;
[0297] The Icon Processing Unit:
[0298] an icon moving subunit configured to sequentially move the third movable icon backward based on a preset moving direction priority so as to display the third movable icon in the current display interface and / or the next display interface;
[0299] The movement direction priority indicates that horizontal movement priority is higher than vertical movement priority.
[0300] In a possible implementation, as shown in FIG. 15 , the device further includes:
[0301] an acquiring module 1410 further configured to acquire an application switching policy of the first application card in response to a second sliding gesture triggered by the user on the first application card in the current display interface;
[0302] A switching module 1440 configured to switch the first application card to a second application card based on an application switching policy, where the first application card and the second application card correspond to different applications.
[0303] In a possible implementation, when the current display size of the first application card is a preset maximum display size or a preset minimum display size, the method:
[0304] The obtaining module 1410 is further configured to obtain, in response to a first sliding gesture triggered by a user on a first application card in the current display interface, an application switching policy of the first application card;
[0305] The device is further configured to switch the first application card to a second application card based on an application switching policy, where the first application card and the second application card correspond to different applications.
[0306] It should be noted that each module in the application card adjustment device may be implemented in whole or in part by software, hardware, or a combination thereof. In hardware form, each module may be built into or independent of a processor in a terminal device, and in software form, each module may be stored in a memory in the terminal device, allowing the processor to easily call the module and perform the operation corresponding to the module.
[0307] In addition, when the application card adjustment device provided in the above embodiment adjusts the display size and application type of the application card, the function modules are used only as examples for explanation. In actual applications, functions may be achieved by different function modules as needed. In other words, the internal structure of the device is divided into different function modules to achieve all or part of the above functions.
[0308] In an exemplary embodiment, the embodiment of the present application further provides a computer-readable storage medium storing 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.
[0309] In an exemplary embodiment, the embodiments of the present application further provide 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 embodiments.
[0310] The technical features of the above embodiments can be randomly combined. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, unless there is a contradiction in the combination of these technical features, the combination should be considered within the scope described herein.
[0311] The above description is only a specific implementation of the embodiments of the present application and is not intended to limit the protection scope of the embodiments of the present application. Any modifications, equivalent replacements, improvements, etc. made based on the technical solutions of the embodiments of the present application shall fall within the protection scope of the embodiments of the present application.
Claims
1. 1. A method for adjusting an application card, the method comprising: In response to a first sliding gesture triggered by a user on a first application card in a current display interface, obtaining a size adjustment policy for the first application card; determining a target display size of the first application card based on a current display size of the first application card and the size adjustment policy; displaying the first application card in the current display interface at the target display size; 1. An application card adjustment method, including:
2. The step of obtaining a size adjustment policy for a first application card in a current display interface in response to a first sliding gesture triggered by a user on the first application card includes: obtaining an operation-policy correspondence relationship between a card operation gesture and a card adjustment policy; determining the size adjustment policy corresponding to the first application card based on the first slide manipulation gesture triggered by the user on the first application card and the manipulation-policy correspondence; The method of claim 1 , comprising:
3. determining a target display size of the first application card based on a current display size of the first application card and the size adjustment policy, obtaining a display size switching order of the first application card; determining the target display size of the first application card based on the current display size of the first application card and the display size switching order; 3. The method of claim 1 or 2, comprising:
4. determining the target display size of the first application card based on the current display size of the first application card and the display size switching order, determining an intermediate display size of the first application card in response to the first sliding gesture triggered by the user on the first application card and the display size switching order, and displaying the first application card at the intermediate size; determining the intermediate display size as the target display size of the first application card when a size determination operation triggered by the user is detected for the first application card displayed at the intermediate display size; The method of claim 3, comprising:
5. determining a target display size of the first application card based on a current display size of the first application card and the size adjustment policy, presenting a plurality of candidate display cards with a preset display size for the first application card; determining a target display card corresponding to the first application card from the plurality of candidate display cards, wherein the display size of the target display card is the target display size of the first application card; 3. The method of claim 1 or 2, comprising:
6. The step of displaying the first application card in the current display interface at the target display size includes: switching the first application card to the target display card for displaying the target application card within the current display interface; The method of claim 5 , comprising:
7. determining a target display size of the first application card based on a current display size of the first application card and the size adjustment policy, obtaining a display size adjustment amount of the first application card based on the first sliding gesture triggered by the user on the first application card; determining the target display size of the first application card based on the current display size of the first application card and the display size adjustment amount; 3. The method of claim 1 or 2, comprising:
8. the first slide operation gesture includes a horizontal slide operation and / or a vertical slide operation, and the display size adjustment amount includes a horizontal size adjustment amount and / or a vertical size adjustment amount; The step of acquiring a display size adjustment amount of the first application card based on the first sliding operation gesture triggered by the user on the first application card includes: obtaining the horizontal size adjustment amount of the first application card based on the 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 the vertical sliding operation triggered by the user on the first application card; The method of claim 7, comprising:
9. The step of displaying the first application card in the current display interface at the target display size includes: obtaining a card display area corresponding to the first application card in the target display size; determining a target icon to be moved from a plurality of application icons in the current display interface based on the card display area; a step of executing a movement process on the movement target icon based on a preset icon movement rule in order to display the first application card in the card display area at the target display size; 3. The method of claim 1 or 2, comprising:
10. the target icons to be moved include a first movable icon and a second movable icon, the first movable icon is an application icon corresponding to the card display area, and the second movable icon includes at least one application icon other than the first movable icon in the current display interface; The step of executing a movement process on the icon to be moved based on a preset icon movement rule includes: adding a blank display interface between the current display interface and a next display interface, the current display interface and the next display interface being adjacent display interfaces; moving the first movable icon or the second movable icon into the blank display interface for display; 10. The method of claim 9, comprising:
11. the target icons to be moved include a third movable icon, and the third movable icon includes a plurality of application icons located below and behind the card display area in the current display interface; The step of executing a movement process on the icon to be moved based on a preset icon movement rule includes: sequentially moving the third movable icon backward based on a preset moving direction priority to display the third movable icon in the current display interface and / or a next display interface; The movement direction priority indicates that a horizontal movement priority is higher than a vertical movement priority.
10. The method of claim 9, comprising:
12. The method comprises: In response to a second sliding 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; switching the first application card to a second application card based on the application switching policy, wherein the first application card and the second application card correspond to different applications; The method of claim 1 or 2, further comprising:
13. If the current display size of the first application card is a preset maximum display size or a preset minimum display size, the method includes: In response to the first sliding 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; switching the first application card to a second application card based on the application switching policy, wherein the first application card and the second application card correspond to different applications; The method of claim 1 or 2, further comprising:
14. 1. An application card adjustment device, comprising: an acquisition module configured to acquire a size adjustment policy of a first application card in response to a first sliding gesture triggered by a user on the first application card in a current display interface; a determination module configured to determine a target display size of the first application card based on a current display size of the first application card and the size adjustment policy; a display module configured to display the first application card in the current display interface at the target display size; An application card adjustment device comprising:
15. A terminal device comprising a memory and a processor; the memory is configured to store a computer program; A terminal device, wherein the processor is configured to read the computer program from the memory and to execute the computer program to implement the steps of the application card adjustment method according to any one of claims 1 to 13.
16. 14. A computer readable storage medium storing a computer program that, when executed by a processor, implements the steps of the application card adjustment method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Widget display method and electronic equipment
CN114860136A
Mobile terminal and control method therefor
US20130311920A1