A service card search method, device, storage medium and electronic device
By obtaining sliding gesture commands in the desktop editing mode of the terminal device and displaying the card panel of the target application, the problem of complex steps in the terminal device is solved, and the rapid search and addition of service cards is realized.
Patent Information
- Application Number
- CN202111569805.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2041-12-21
AI Technical Summary
In the prior art, there are many applications in terminal devices, and the same service cards have a large number of service cards, and the steps to find service cards are complicated. It is necessary to provide convenient and fast methods for finding and adding service cards.
In the desktop editing mode of the terminal interface, the sliding gesture command input for the application icon of the target application is obtained, and the card panel corresponding to the target application is displayed on the terminal interface based on the sliding gesture command, and all service cards of the target application are displayed on the card panel.
By directly entering a sliding gesture command to the target application, you can directly open the panel containing all service cards of the target application, reducing the steps required to find service cards and improving the efficiency of service cards.
Smart Images

Figure CN114327181B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a service card search method, device, storage medium and electronic device. Background Art
[0002] There are service cards containing text information, service components, etc. in the application. In the prior art, the service cards can be searched in the terminal device and then added to the desktop. However, there are many applications in the terminal device, and the number of similar service cards is large and the search steps are complicated. It is necessary to provide a method for searching and adding service cards conveniently and quickly. Summary of the invention
[0003] The embodiments of the present application provide a service card search method, device, storage medium and electronic device, which can directly open a panel containing all service cards of a target application by directly inputting a sliding gesture command to the target application, thereby reducing the steps required to search for service cards and improving the search efficiency of service cards. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a service card search method, the method comprising:
[0005] In a desktop editing mode of the terminal interface, obtaining a sliding gesture instruction input for an application icon of a target application;
[0006] Displaying a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction;
[0007] All service cards of the target application are displayed on the card panel.
[0008] In a second aspect, an embodiment of the present application provides a service card search device, the device comprising:
[0009] A gesture acquisition module, used to acquire a sliding gesture instruction inputted for an application icon of a target application in a desktop editing mode of a terminal interface;
[0010] A panel display module, used for displaying a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction;
[0011] A card display module is used to display all service cards of the target application on the card panel. In a third aspect, an embodiment of the present application provides a computer storage medium storing a plurality of instructions suitable for being loaded by a processor and executing the above method steps.
[0012] In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0013] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:
[0014] In one or more embodiments of the present application, in the desktop editing mode of the terminal interface, a sliding gesture instruction input for the application icon of the target application is obtained, and a card panel corresponding to the target application is displayed on the terminal interface based on the sliding gesture instruction, and all service cards of the target application are displayed on the card panel. By directly inputting a sliding gesture instruction to the target application, the panel containing all service cards of the target application can be directly opened, which reduces the steps required to find the service card and improves the search efficiency of the service card. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 This is an example schematic diagram of adding a service card provided in an embodiment of the present application;
[0017] Figure 2 It is a flowchart of a service card search method provided in an embodiment of the present application;
[0018] Figure 3 It is a flowchart of a service card search method provided in an embodiment of the present application;
[0019] Figure 4 This is an example schematic diagram of a card prompt mark display provided in an embodiment of the present application;
[0020] Figure 5 This is an example schematic diagram of a sliding gesture instruction judgment provided in an embodiment of the present application;
[0021] Figure 6 This is an example schematic diagram of a sliding gesture instruction judgment provided in an embodiment of the present application;
[0022] Figure 7 is an example schematic diagram of a card panel provided in an embodiment of the present application;
[0023] Figure 8 It is a structural schematic diagram of a service card search device provided in an embodiment of the present application;
[0024] Fig. 9 It is a structural schematic diagram of a service card search device provided in an embodiment of the present application;
[0025] Fig.10 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] The service card search method provided in the embodiment of the present application can be implemented by relying on a computer program and can be run on a service card search device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application. The service card search device in the embodiment of the present application can be a terminal device including but not limited to: a mobile phone, a personal computer, a tablet computer, a handheld device, a vehicle-mounted device, a wearable device, a computing device, or other processing devices connected to a wireless modem, and can also be a module in the terminal device for implementing the service card search method. Many applications can be installed in the terminal device, and the service card search device can add the service card of the application to the terminal interface of the terminal device. The service card can contain text information, image information, and service components related to the application. The service card search device adds the service card to the terminal interface to facilitate users to view and use it. Please refer to Figure 1, an example schematic diagram of adding a service card is provided for the embodiment of the present application. The terminal device may include several applications, such as application A, application B, etc., and the application may include several service cards, for example, application A may include service card A1, service card A2, and service card A3, etc., and application B may include service card B1, service card B2, and service card B3, etc. The application icon of the application will be displayed on the terminal interface of the terminal device. The user can start the application on the terminal device by directly clicking the application icon. Since many applications include service cards, the service card search device can add the service card of the application service to the terminal interface in the desktop editing mode of the terminal device. It can be understood that in order to prevent the placement of the application icon or service card on the terminal interface from being moved or changed during normal use, the application icon on the terminal interface can only change its position in the desktop editing mode, so the service card search device can also add the service card to the terminal interface in the desktop editing mode.
[0028] The service card search method provided by the present application is described in detail below in conjunction with specific embodiments.
[0029] See also Figure 2 , is a flow chart of a method for searching a service card according to an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps S101-S103.
[0030] S101, in a desktop editing mode of a terminal interface, obtaining a sliding gesture instruction input for an application icon of a target application.
[0031] In one embodiment, if the user wants to edit the terminal interface, the user can first enter the desktop editing mode of the terminal interface, then find the application icon of the target application that the user wants to operate, and input a sliding gesture instruction to the application icon. In the desktop editing mode, the service card search device can obtain the sliding gesture instruction input for the application icon of the target application. The sliding gesture instruction can be a pattern of sliding out the instruction on the application icon, or sliding in a specified direction on the application icon.
[0032] S102: Displaying a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction.
[0033] In one embodiment, the service card search device can obtain information such as the sliding track, sliding distance or sliding direction contained in the sliding gesture instruction. If the sliding track matches the instruction track, or the sliding distance is greater than the set distance and the sliding direction is within the set angle range, the service card device can confirm that the obtained sliding gesture instruction is qualified, and can display the card panel corresponding to the target program on the terminal interface. The set track, set distance and set angle range can be the initial settings of the service card search device, and can also be set by the user and saved in the service card search device.
[0034] S103, displaying all service cards of the target application on the card panel.
[0035] In one embodiment, after the service card search device displays the card panel on the terminal interface, all service cards of the target application can be displayed on the card panel. The user can select the target service card that he wants to add to the terminal interface in the card panel, long press and drag it to the set position where he wants to place the target service card, and the service card search device can display the target service card at the set position of the terminal interface.
[0036] In an embodiment of the present application, in the desktop editing mode of the terminal interface, a sliding gesture instruction input for the application icon of the target application is obtained, and a card panel corresponding to the target application is displayed on the terminal interface based on the sliding gesture instruction, and all service cards of the target application are displayed on the card panel. By directly inputting a sliding gesture instruction to the target application, the panel containing all service cards of the target application can be directly opened, which reduces the steps required to find the service card and improves the efficiency of finding the service card.
[0037] See also Figure 3 , is a flow chart of a method for searching a service card according to an embodiment of the present application. Figure 3 As shown, the method of the embodiment of the present application may include the following steps S201-S206.
[0038] S201: If a long press operation is detected in a blank area of the terminal interface, a desktop editing mode is started.
[0039] In one embodiment, in order to prevent the positions of application icons and service cards on the terminal interface from being accidentally changed during normal use by the user, the service card search device can only change the layout on the terminal interface and add service cards in the desktop editing mode of the terminal device. Therefore, the user can perform a long press operation on a blank area of the terminal interface, which is the area on the terminal interface except for all application icons and service cards. If the service card search device detects a long press operation in the blank area, the desktop editing mode is activated. In the desktop editing mode, the user can change the display position of the application icons and service cards on the terminal interface, and can also add service cards to the terminal interface.
[0040] S202, in the desktop editing mode of the terminal interface, obtaining an application icon corresponding to a target application having a service card in the terminal interface, obtaining a set position of the application icon, and displaying a card prompt mark at the set position of the application icon in a set display mode.
[0041] In one embodiment, it is understandable that not all applications in the terminal device have service cards, that is, the user cannot add a service card by inputting a sliding gesture command for an application that does not have a service card. If the service card search device detects that the desktop editing mode of the terminal interface is started, the application icon corresponding to the target application with a service card in the terminal interface can be obtained, and then the set position of the application icon can be obtained, and a card prompt mark is displayed at the set position of the English icon using a set display method, and the set position is used to indicate the set angle range corresponding to the sliding direction of the sliding gesture command. Then, after entering the desktop editing mode, the user can clearly see through the card prompt mark that the application corresponding to the application icon that displays the card prompt mark has a service card, thereby avoiding meaningless operations on application icons without service cards by the user.
[0042] It is understandable that the service card search device can determine whether the sliding direction of the sliding gesture instruction is within the set angle range. If not, the card panel will not be displayed. Therefore, when the user wants to enter the sliding gesture instruction, he needs to ensure that the sliding direction is within the set angle range when entering the sliding gesture instruction. Therefore, the service card search device can display a card prompt mark at the set position of the application icon to prompt the user to enter the sliding direction when entering the sliding gesture instruction, thereby improving the efficiency of the user in finding the service card. For example, if the set position is at the lower right corner of the application icon, it means that the sliding direction is from the upper left corner of the application icon to the lower right corner, prompting the user to slide from the upper left corner to the lower right corner of the application icon when entering the sliding gesture instruction; if the set position is at the bottom of the application icon, it means that the sliding direction is from the top of the application icon to the bottom, prompting the user to slide from the top to the bottom of the application icon when entering the sliding gesture instruction.
[0043] It is understandable that the setting display mode can be to use a highlighted dot to represent the card prompt mark, or to use a highlighted line to represent the card prompt mark. If a line is used to represent the card prompt mark, the length of the line can correspond to the set angle range.
[0044] Please also see Figure 4 , an example schematic diagram of a card prompt mark display is provided for an embodiment of the present application. After the desktop editing mode is started, the service card search device will display a card prompt mark on the application icon of the application program where the service card exists. If the set angle range of the sliding direction of the sliding gesture instruction is as follows Figure 4 As shown, that is, from the upper left corner of the application icon to the lower right corner, the service card search device can display the customer card prompt mark at the lower right corner of the application icon, instructing the user to slide from the upper left corner to the lower right corner of the application icon when inputting the sliding gesture command. And a highlighted line is used to represent the card prompt mark, and the length of the line corresponds to the size of the set angle range, instructing the user not to exceed the range corresponding to the card prompt mark when inputting the sliding gesture command.
[0045] S203, in the desktop editing mode of the terminal interface, obtaining a sliding gesture instruction input for an application icon of a target application.
[0046] In one embodiment, if the user wants to edit the terminal interface, the user can first enter the desktop editing mode of the terminal interface, then find the application icon of the target application that the user wants to operate, and input a sliding gesture instruction to the application icon. In the desktop editing mode, the service card search device can obtain the sliding gesture instruction input for the application icon of the target application. The sliding gesture instruction can be a pattern of sliding out the instruction on the application icon, or sliding in a specified direction on the application icon.
[0047] S204: Displaying a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction.
[0048] In one embodiment, the service card search device can obtain information such as the sliding track, sliding distance or sliding direction contained in the sliding gesture instruction. If the sliding track matches the instruction track, or the sliding distance is greater than the set distance and the sliding direction is within the set angle range, the service card device can confirm that the obtained sliding gesture instruction is qualified, and can display the card panel corresponding to the target program on the terminal interface. The set track, set distance and set angle range can be the initial settings of the service card search device, and can also be set by the user and saved in the service card search device.
[0049] Optionally, the service card search device can obtain the sliding track carried in the sliding gesture instruction. If the sliding track matches the instruction track, it can be confirmed that the obtained sliding gesture instruction is qualified, and the card panel corresponding to the target application is displayed on the terminal interface. The set track can be a pattern set by the user in the service card search device. Please refer to Figure 5 , an example schematic diagram of sliding gesture instruction judgment is provided for an embodiment of the present application. If the set track set by the user in the service card search device is a pattern of the number "2", when the sliding track obtained by the service card search device on the application icon matches the set track number "2", the card panel will be displayed on the terminal interface.
[0050] Optionally, the service card search device can obtain the sliding distance and sliding direction carried in the sliding gesture instruction. If the sliding distance is greater than the set distance and the sliding direction is within the set angle range, it can be confirmed that the obtained sliding gesture instruction is qualified, and the card panel corresponding to the target application is displayed on the terminal interface. Please refer to Figure 6 , an example schematic diagram of sliding gesture instruction judgment is provided for an embodiment of the present application. The service card search device can obtain the sliding distance and sliding direction of the sliding gesture instruction. If the sliding direction is from the upper left corner of the application icon to the lower right corner, the sliding distance can be the distance between the end point of the sliding gesture instruction and the upper left corner of the application icon. If the sliding distance is greater than the set distance, that is, the sliding gesture instruction slides across the line corresponding to the set distance, and the sliding direction of the sliding gesture instruction does not exceed the set angle range, then the service card search device can display the card panel corresponding to the target application on the terminal interface.
[0051] S205: Display all service cards of the target application on the card panel.
[0052] In one embodiment, after the service card search device displays the card panel on the terminal interface, all service cards of the target application can be displayed on the card panel. Figure 7 , an example schematic diagram of a card panel is provided for an embodiment of the present application. When the service card search device obtains a sliding gesture instruction on the application icon of application A, the card panel of application A is displayed on the terminal interface, and all service cards of application A are displayed on the card panel, such as service card A1, etc. The user can slide the card panel left and right to view all service cards of application A.
[0053] S206, obtaining a setting operation for a target service card among all service cards, closing the card panel, and displaying the target service card on the terminal interface.
[0054] In one embodiment, the user can select the target service card that he wants to add to the terminal interface in the card panel and perform a setting operation on the target service card. If the service card search device obtains the setting operation for the target service card, the card panel can be closed and the target service card can be displayed on the terminal interface. The user's setting operation can be to long press and drag the target service card to the setting position where the target service card is to be placed, and the service card search device can display the target service card at the setting position on the terminal interface. If the service card search device detects a drag setting operation for the target service card among all service cards, the setting position corresponding to the drag setting operation can be obtained, and then the card panel is closed and the target service card is displayed at the setting position on the terminal interface.
[0055] In an embodiment of the present application, after a long press operation is detected, the desktop editing mode is started to avoid changing the desktop layout by mistake during user use. A card prompt mark is displayed on the application icon of the application with a service card to prompt the user which applications have service cards and the sliding direction of the sliding gesture instruction to avoid user error operations. In the desktop editing mode of the terminal interface, the sliding gesture instruction input for the application icon of the target application is obtained, and the card panel corresponding to the target application is displayed on the terminal interface based on the sliding gesture instruction, and all service cards of the target application are displayed on the card panel. By directly inputting a sliding gesture instruction to the target application, the panel containing all service cards of the target application can be directly opened, which reduces the steps required to find the service card and improves the efficiency of finding the service card. In addition, the setting operation for the target service card can be obtained, and the service card can be displayed at the setting position corresponding to the setting operation to meet the personalized needs of the user.
[0056] The following will be combined with the attached Figure 8 -Attached Fig. 9 , the service card search device provided in the embodiment of the present application is introduced in detail. It should be noted that the attached Figure 8 -Attached Fig. 9 The service card search device in the present application is used to execute the service card search device in the present application Figure 2 and Figure 3 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2 and Figure 3 The embodiment shown.
[0057] See also Figure 8, which shows a schematic diagram of the structure of a service card search device provided by an exemplary embodiment of the present application. The service card search device can be implemented as all or part of the device through software, hardware or a combination of both. The device 1 includes a gesture acquisition module 11, a panel display module 12 and a card display module 13.
[0058] The gesture acquisition module 11 is used to acquire the sliding gesture instruction inputted for the application icon of the target application in the desktop editing mode of the terminal interface;
[0059] A panel display module 12, configured to display a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction;
[0060] The card display module 13 is used to display all service cards of the target application on the card panel.
[0061] In this embodiment, in the desktop editing mode of the terminal interface, a sliding gesture instruction input for the application icon of the target application is obtained, and a card panel corresponding to the target application is displayed on the terminal interface based on the sliding gesture instruction, and all service cards of the target application are displayed on the card panel. By directly inputting a sliding gesture instruction to the target application, the panel containing all service cards of the target application can be directly opened, which reduces the steps required to find the service card and improves the efficiency of finding the service card.
[0062] See also Fig. 9 , which shows a schematic diagram of the structure of a service card search device provided by an exemplary embodiment of the present application. The service card search device can be implemented as all or part of the device through software, hardware or a combination of both. The device 1 includes a gesture acquisition module 11, a panel display module 12 and a card display module 13, a mode start module 14, an identification display module 15 and a setting operation module 16.
[0063] A mode starting module 14, configured to start a desktop editing mode if a long press operation is detected in a blank area of the terminal interface, wherein the blank area is an area on the terminal interface excluding all application icons;
[0064] The identification display module 15 is used to obtain the application icon corresponding to the target application program having the service card in the terminal interface in the desktop editing mode of the terminal interface;
[0065] Displaying a card prompt mark on the application icon;
[0066] Optionally, the identification display module 14 is specifically used to obtain a set position of the application icon, and the set position is used to indicate a set angle range corresponding to the sliding direction;
[0067] A card prompt mark is displayed at a set position of the application icon in a set display mode.
[0068] The gesture acquisition module 11 is used to acquire the sliding gesture instruction inputted for the application icon of the target application in the desktop editing mode of the terminal interface;
[0069] A panel display module 12, configured to display a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction;
[0070] Optionally, the panel display module 12 is specifically used to obtain the sliding track carried in the sliding gesture instruction;
[0071] If the sliding track matches the instruction track, a card panel corresponding to the target application is displayed on the terminal interface.
[0072] Optionally, the panel display module 12 is specifically used to obtain the sliding distance and sliding direction carried in the sliding gesture instruction;
[0073] If the sliding distance is greater than a set distance and the sliding direction is within a set angle range, a card panel corresponding to the target application is displayed on the terminal interface.
[0074] A card display module 13, used for displaying all service cards of the target application on the card panel;
[0075] A setting operation module 16, used for obtaining a setting operation for a target service card among all the service cards;
[0076] The card panel is closed, and the target service card is displayed on the terminal interface.
[0077] Optionally, the setting operation module 16 is specifically configured to obtain a setting position corresponding to the drag setting operation if a drag setting operation is detected for a target service card among all the service cards.
[0078] Optionally, the setting operation module 16 is specifically used to close the card panel and display the target service card at the set position of the terminal interface.
[0079] In this embodiment, after a long press operation is detected, the desktop editing mode is started to avoid changing the desktop layout by mistake during user use. A card prompt mark is displayed on the application icon of the application with a service card to prompt the user which applications have service cards and the sliding direction of the sliding gesture instruction to avoid user's mistaken operation. In the desktop editing mode of the terminal interface, the sliding gesture instruction input for the application icon of the target application is obtained, and the card panel corresponding to the target application is displayed on the terminal interface based on the sliding gesture instruction, and all service cards of the target application are displayed on the card panel. The panel containing all service cards of the target application can be directly opened by directly inputting a sliding gesture instruction to the target application, which reduces the steps required to find the service card and improves the efficiency of finding the service card. In addition, the setting operation for the target service card can be obtained, and the service card is displayed at the setting position corresponding to the setting operation to meet the personalized needs of the user.
[0080] It should be noted that the service card search device provided in the above embodiment only uses the division of the above functional modules as an example when executing the service card search method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the service card search device provided in the above embodiment and the service card search method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.
[0081] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0082] The present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figure 2-Figure 6 The service card search method of the embodiment shown in the figure can be specifically executed by referring to Figure 2-Figure 6 The specific description of the illustrated embodiment will not be repeated here.
[0083] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figure 2-Figure 6 The service card search method of the embodiment shown in the figure can be specifically executed by referring to Figure 2-Figure 6 The specific description of the illustrated embodiment will not be repeated here.
[0084] Please refer to Fig.10, which shows a block diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. The electronic device in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.
[0085] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions and processes data of the terminal 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user pages, and applications; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0086] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium (Non-Transitory Computer-Readable Storage Medium). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The operating system may be an Android system, including a system deeply developed based on the Android system, an IOS system developed by Apple, including a system deeply developed based on the IOS system or other systems.
[0087] The memory 120 can be divided into an operating system space and a user space. The operating system runs in the operating system space, and native and third-party applications run in the user space. In order to ensure that different third-party applications can achieve good operating results, the operating system allocates corresponding system resources to different third-party applications. However, the requirements for system resources in different application scenarios in the same third-party application are also different. For example, in the local resource loading scenario, the third-party application has higher requirements for disk reading speed; in the animation rendering scenario, the third-party application has higher requirements for GPU performance. The operating system and third-party applications are independent of each other, and the operating system often cannot perceive the current application scenario of the third-party application in a timely manner, resulting in the operating system being unable to perform targeted system resource adaptation according to the specific application scenario of the third-party application.
[0088] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up data communication between third-party applications and the operating system so that the operating system can obtain the current scenario information of third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.
[0089] The input device 130 is used to receive input commands or data, and includes but is not limited to a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used to output commands or data, and includes but is not limited to a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 are touch screen displays.
[0090] The touch display screen can be designed as a full screen, a curved screen or a special-shaped screen. The touch display screen can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of the present application.
[0091] In addition, those skilled in the art will appreciate that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the electronic device also includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module and other components, which will not be described in detail here.
[0092] exist Fig.10 In the electronic device shown, the processor 110 may be used to call the service card search application stored in the memory 120, and specifically perform the following operations:
[0093] In a desktop editing mode of the terminal interface, obtaining a sliding gesture instruction input for an application icon of a target application;
[0094] Displaying a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction;
[0095] All service cards of the target application are displayed on the card panel.
[0096] In one embodiment, when the processor 110 displays the card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction, the processor 110 specifically performs the following operations:
[0097] Obtaining a sliding track contained in the sliding gesture instruction;
[0098] If the sliding track matches the instruction track, a card panel corresponding to the target application is displayed on the terminal interface.
[0099] In one embodiment, when the processor 110 displays the card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction, the processor 110 specifically performs the following operations:
[0100] Obtaining the sliding distance and sliding direction carried in the sliding gesture instruction;
[0101] If the sliding distance is greater than a set distance and the sliding direction is within a set angle range, a card panel corresponding to the target application is displayed on the terminal interface.
[0102] In one embodiment, the processor 110 further performs the following operations before acquiring the sliding gesture instruction input for the application icon of the target application in the desktop editing mode of the terminal interface:
[0103] In the desktop editing mode of the terminal interface, obtaining an application icon corresponding to a target application program having a service card in the terminal interface;
[0104] A card prompt mark is displayed on the application icon.
[0105] In one embodiment, when the processor 110 displays a card prompt mark on the application icon, the processor 110 specifically performs the following operations:
[0106] Obtaining a set position of the application icon, where the set position is used to indicate a set angle range corresponding to a sliding direction;
[0107] A card prompt mark is displayed at a set position of the application icon in a set display mode.
[0108] In one embodiment, the processor 110 further performs the following operations before acquiring the sliding gesture instruction input for the application icon of the target application in the desktop editing mode of the terminal interface:
[0109] If a long press operation is detected in a blank area of the terminal interface, a desktop editing mode is started, and the blank area is an area on the terminal interface excluding all application icons.
[0110] In one embodiment, when executing the service card search method, the processor 110 further performs the following operations:
[0111] Obtaining a setting operation for a target service card among all the service cards;
[0112] The card panel is closed, and the target service card is displayed on the terminal interface.
[0113] In one embodiment, when executing the setting operation of obtaining the target service card among all the service cards, the processor 110 specifically performs the following operations:
[0114] If a drag setting operation for a target service card among all the service cards is detected, a setting position corresponding to the drag setting operation is acquired.
[0115] In one embodiment, when the processor 110 closes the card panel and displays the target service card on the terminal interface, the processor 110 specifically performs the following operations:
[0116] The card panel is closed, and the target service card is displayed at the set position of the terminal interface.
[0117] In this embodiment, after a long press operation is detected, the desktop editing mode is started to avoid changing the desktop layout by mistake during user use. A card prompt mark is displayed on the application icon of the application with a service card to prompt the user which applications have service cards and the sliding direction of the sliding gesture instruction to avoid user's mistaken operation. In the desktop editing mode of the terminal interface, the sliding gesture instruction input for the application icon of the target application is obtained, and the card panel corresponding to the target application is displayed on the terminal interface based on the sliding gesture instruction, and all service cards of the target application are displayed on the card panel. The panel containing all service cards of the target application can be directly opened by directly inputting a sliding gesture instruction to the target application, which reduces the steps required to find the service card and improves the efficiency of finding the service card. In addition, the setting operation for the target service card can be obtained, and the service card is displayed at the setting position corresponding to the setting operation to meet the personalized needs of the user.
[0118] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0119] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A service card search method, characterized in that: The method comprises: In the desktop editing mode of the terminal interface, obtaining an application icon corresponding to a target application program having a service card in the terminal interface; Displaying a card prompt mark on the application icon, the card prompt mark is used to indicate that the target application has a service card, and prompt the user to input a sliding gesture instruction when the sliding direction and the set angle range; In a desktop editing mode of the terminal interface, obtaining a sliding gesture instruction input for an application icon of a target application; Displaying a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction; All the service cards of the target application are displayed on the card panel.
2. The method according to claim 1, characterized in that The displaying a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction includes: Obtaining a sliding track contained in the sliding gesture instruction; If the sliding track matches the instruction track, a card panel corresponding to the target application is displayed on the terminal interface.
3. The method according to claim 1, characterized in that The displaying a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction includes: Obtaining the sliding distance and sliding direction carried in the sliding gesture instruction; If the sliding distance is greater than a set distance and the sliding direction is within a set angle range, a card panel corresponding to the target application is displayed on the terminal interface.
4. The method according to claim 1, characterized in that: The displaying the card prompt mark on the application icon includes: Obtaining a set position of the application icon, where the set position is used to indicate a set angle range corresponding to a sliding direction; The card prompt mark is displayed at a set position of the application icon in a set display mode.
5. The method according to claim 1, characterized in that Before obtaining the sliding gesture instruction input for the application icon of the target application in the desktop editing mode of the terminal interface, the method further includes: If a long press operation is detected in a blank area of the terminal interface, a desktop editing mode is started, and the blank area is an area on the terminal interface excluding all application icons.
6. The method according to claim 1, characterized in that The method further comprises: Get the setting operation for the target service card in all service cards; The card panel is closed, and the target service card is displayed on the terminal interface.
7. The method according to claim 6, characterized in that The obtaining of the setting operation for the target service card among all the service cards includes: If a drag setting operation for a target service card among all the service cards is detected, a setting position corresponding to the drag setting operation is acquired.
8. The method according to claim 7, characterized in that The closing of the card panel and displaying the target service card on the terminal interface includes: The card panel is closed, and the target service card is displayed at the set position of the terminal interface.
9. A service card search device, characterized in that: The device comprises: The identification display module is used to obtain the application icon corresponding to the target application with a service card in the terminal interface in the desktop editing mode of the terminal interface; display a card prompt identification on the application icon, the card prompt identification is used to indicate that the target application has a service card, and prompt the user to enter a sliding direction and a set angle range when entering a sliding gesture instruction; A gesture acquisition module, used to acquire a sliding gesture instruction inputted for an application icon of a target application in a desktop editing mode of a terminal interface; A panel display module, used for displaying a card panel corresponding to the target application on the terminal interface based on the sliding gesture instruction; The card display module is used to display all service cards of the target application on the card panel.
10. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps as claimed in any one of claims 1 to 8.
11. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
Method and device for searching for application program and terminal
CN108829338A