WO2020024503A1 - Application display method and apparatus, and terminal and storage medium - Google Patents

Application display method and apparatus, and terminal and storage medium Download PDF

Info

Publication number
WO2020024503A1
WO2020024503A1 PCT/CN2018/120023 CN2018120023W WO2020024503A1 WO 2020024503 A1 WO2020024503 A1 WO 2020024503A1 CN 2018120023 W CN2018120023 W CN 2018120023W WO 2020024503 A1 WO2020024503 A1 WO 2020024503A1
Authority
WO
WIPO (PCT)
Prior art keywords
background application
target
hidden
displayed
display area
Prior art date
Application number
PCT/CN2018/120023
Other languages
French (fr)
Chinese (zh)
Inventor
李泱
邓晓语
Original Assignee
珠海格力电器股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2020024503A1 publication Critical patent/WO2020024503A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Definitions

  • the present invention relates to the technical field of terminals, and in particular, to an application display method, device, terminal, and storage medium.
  • the terminal displays a multitasking management interface.
  • the background application is generally displayed in the form of a card in chronological order, usually the most recently used background application At the top, the card displays the complete page content of the background application.
  • At least part of the embodiments of the present invention disclose an application display method, device, terminal, and storage medium to at least partially solve the problem that the complete page content of the background application displayed in the related technology will cause the user's privacy to leak and the user's search efficiency to be low The problem.
  • a method for displaying an application includes:
  • the icon of the first background application is displayed in the target circular display area.
  • the method before displaying the icon of the first background application in the target circular display area, the method further includes:
  • a first number of background applications is selected as the first background application from the second number of background applications.
  • the target display area is displayed in the target area.
  • the method further includes:
  • the method further includes:
  • displaying the icon of the first background application in the target circular display area includes:
  • the icon of the background application is displayed on the corresponding target placement.
  • the method further includes:
  • the method before the determining that the icon of the second background application is in a corresponding hidden position in the target hidden area, the method further includes:
  • the determining a corresponding hidden position of the icon of the second background application in the target hidden area includes:
  • each target hidden area is divided into at least two sub-areas according to a preset angle range, and the hidden position included in each sub-area is used as a hidden position group:
  • the hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
  • the method further includes:
  • the method further includes:
  • the method before identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance, the method further includes:
  • the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
  • an application display device is also provided.
  • the device includes:
  • a receiving module configured to receive a display request for a background application
  • a display module configured to display an icon of a first background application in a target circular display area.
  • the display module is further configured to determine, based on the first number of icons that can be displayed in all the circular display areas that are saved in advance, whether the icons of the second number of background applications to be displayed can be all Be shown
  • a first number of background applications is selected as the first background application from the second number of background applications.
  • the display module may further set To determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
  • the display module is further configured to use all the circular display areas saved in advance as target circular display areas.
  • the display module is specifically configured to determine that each first background application corresponds to the priority of each first background application and the priority of each placement in the target circular display area. , The higher the priority of the first background application, the higher the priority of its corresponding target placement;
  • the icon of the background application is displayed on the corresponding target placement.
  • the device further includes:
  • a hiding module configured to determine a second background application that is not displayed except the first number of the second number of background applications to be displayed, and determine that an icon of the second background application corresponds to a target hidden area To hide the icon of the second background application at the hidden position.
  • the hiding module is further configured to be based on the priority of each hidden area saved in advance, the fourth number of icons that can be hidden in each hidden area, and the fifth of the second background application. The number, determines the target hidden area, wherein the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
  • the hiding module is specifically set according to the priority of each target hidden area saved in advance, and according to each target hidden area.
  • the priority of each hidden position group is as follows in the order of the priority of the hidden position group from high to low for each hidden position group: wherein each target hidden area is divided into at least according to a preset angle range Two subareas, with the hidden locations included in each subarea as a hidden location group:
  • the hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
  • the apparatus further includes:
  • the saving module is set to save an angle of a corresponding position of an icon of each background application.
  • the receiving module is further configured to receive a rotation operation on a target circular display area
  • the display module is further configured to determine a rotation angle and a rotation direction of the rotation operation
  • the display module is further configured to identify an icon of each fourth background application located in the second angle range according to an angle corresponding to an icon of each background application that is saved in advance, Judging whether there is a target hidden position group that does not completely overlap the second angular range according to the angular range corresponding to each hidden position group;
  • the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
  • a terminal including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
  • a computer program is stored in the memory, and when the program is executed by the processor, the processor is caused to execute the steps of any one of the methods described above.
  • a computer-readable storage medium which stores a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device executes the program. Steps of the method of any of the above.
  • At least some embodiments of the present invention disclose an application display method, device, terminal, and storage medium.
  • the method includes: receiving a display request for a background application; and displaying an icon of a first background application in a target circular display area. Because in one optional embodiment of the present invention, displaying the background application icon can not only display multiple background applications, facilitate the user to view the background application, but also display the background application icon, which can prevent the user's privacy from being leaked.
  • FIG. 1 is a schematic diagram showing an application according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram showing an icon according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an application display device according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an application display process according to an embodiment of the present invention. The process includes the following steps:
  • S101 Receive a display request for a background application.
  • S102 Display the icon of each first background application in the target circular display area.
  • the application display method provided by the embodiment of the present invention should be set as a terminal, and the terminal may be a mobile phone, a tablet computer, or the like.
  • the user will use multiple applications on the terminal.
  • the applications that the user has used will run in the background, that is, there are background applications in the terminal.
  • Each running application can be regarded as a task.
  • the user can perform certain operations on the terminal to cause the terminal to display the information of the background application. This operation can be, for example, double-clicking, pressing the HOME key, and the like.
  • the terminal displays the information of the background application, that is, the terminal opens the multitasking management interface, and displays the information of the background application in the multitasking management interface.
  • the user triggers the display operation of the background application, and the terminal receives the display operation of the background application.
  • the terminal receives a display operation of the background application triggered by the user, it is determined that a request for display of the background application is received.
  • S102 Display the icon of each first background application in the target circular display area.
  • At least one circular display area is stored in the terminal. Specifically, parameters such as a center angle, a center position, a large circle radius, and a small circle radius of each circular display area may be stored.
  • the terminal may display the background application icon in the ring display area. Use the circular display area that displays the icon as the target circular display area.
  • the target circular display area may include part of the circular display area saved by the terminal, or it may include all the circular display area saved by the terminal.
  • the terminal can choose any circular display area as Target circular display area.
  • a background application displayed in a target circular display area is referred to as a first background application.
  • the terminal may determine each background application to be displayed before displaying the icon of the first background application, and each background application to be displayed may be understood as all currently existing background applications.
  • the terminal may select a first background application from each background application to be displayed, and display an icon of the first background application in a target circular display area.
  • the terminal may choose at random.
  • Each circular display area stored in the terminal may be a 1/4 ring, that is, the center angle is 90 degrees. More preferably, the circular display area may be a semi-ring, that is, the center angle is 180 degrees.
  • the position of the center of each circular display area can be preset by the system. The center angle and center position of each circular display area may be the same or different.
  • displaying the background application icon can not only display multiple background applications, facilitate the user to view the background application, but also display the background application icon, which can prevent the user's privacy from being leaked.
  • the The method also includes:
  • a first number of background applications is selected as the first background application from the second number of background applications.
  • the number of icons that can be displayed in each of the circular display areas stored in the terminal is limited. Generally, there are more icons that can be displayed in a circular display area with a large radius and a small circle with a small radius. There are fewer icons that can be displayed in the display area, and the number of icons that can be displayed in each circular display area in the terminal can be referred to as a third number.
  • the third number of icons that can be displayed in each circular display area is determined, and the number of icons that the terminal can display simultaneously is also determined.
  • the number of icons that the terminal can display simultaneously is called the first number, and each third number The sum is the first quantity.
  • the terminal may determine which applications are the first background application according to the first number of icons that can be displayed simultaneously by the terminal.
  • the second number of background applications to be displayed may be identified first, and according to the first number of icons that the terminal can display, determine whether the second number of icons of the background applications to be displayed can all be displayed, that is, determine the second Whether the number is greater than the first number. If the second number is not greater than the first number, the icons of the second number of background applications to be displayed can all be displayed, and each background application to be displayed can be used as the first background application. .
  • the icons of the second number of background applications to be displayed cannot all be displayed.
  • a part of the background applications can be selected as the first background application from the second number of background applications.
  • the selected number may be the first number, and when the terminal selects the first number of the first background applications in the second number, it may be arbitrarily selected.
  • the priority of each background application can be saved in advance, and selection can be made according to the priority of each background application. Specifically, each background application can be sorted in order of priority from high to low, and the first number of background applications ranked first among the sorted background applications is selected as the first background application.
  • the priority of the background application may be preset by the user, and may be determined by the terminal according to at least one of the time and frequency of each application being used. Generally, the higher the frequency used, the higher the corresponding priority, and the later the time used, the higher the corresponding priority.
  • the method further includes:
  • the number of circular display areas saved by the terminal may be one or multiple.
  • the terminal may save two circular display areas.
  • the circular display area is of a suitable size, and the size of the displayed icon is appropriate.
  • the two circular display areas saved in the terminal can be referred to as the inner display area and the outer display area, respectively.
  • the center positions of the inner display area and the outer display area can be the same.
  • the large circle radius of the inner display area is not larger than the outer display area.
  • the small circle radius of the display area is not larger than the outer display area.
  • the terminal When the terminal displays the icon of the background application, it can be displayed randomly in the inner ring display area and the outer ring display area. In order to make the displayed icons more regular, it can be displayed in a ring display area first.
  • the circular display area cannot display all the background application icons, and then display it in another circular display area.
  • the inner ring display area can be displayed in the inner ring display area first. If the inner ring display area cannot display all the icons of the background application, the inner ring display area and the outer ring display area can display the icons of the background application at the same time.
  • the terminal may first determine whether the second number of background applications to be displayed is greater than the third number of icons that can be displayed in the inner ring display area;
  • the inner ring display area can display all the icons of the background application, and then the second number of background application icons are displayed in the inner ring display area. Icon, that is, the inner ring display area is used as the target ring display area.
  • the inner ring display area cannot display all the icons of the background application, and the first ring number is displayed in the inner ring display area and the outer ring display area.
  • the second number of background application icons that is, the inner ring display area and the outer ring display area are used as the target ring display area.
  • the method further includes:
  • displaying the icons of each first background application in the target circular display area includes:
  • the icon of the background application is displayed on the corresponding target placement.
  • the terminal may save the placement position in each circular display area in advance, and then each placement in the target circular display area is determined, and the first background is displayed in the target circular display area.
  • the icon of the application When the icon of the application is used, the icon of the first background application may be displayed on any display position.
  • the terminal can save the priority of each placement and the priority of each background application, determine the placement corresponding to each first background application, and determine the first The placement corresponding to the background app is called the target placement.
  • the relationship between the first background application and the target placement is: The higher the priority of the first background application, the higher the priority of its corresponding target placement.
  • the target placement corresponding to each first background application may be the first A background application, if it is, select the first background application with the highest priority among the first background applications for which the placement is not determined. Identify the placement of the first background application that has not been identified, select the placement with the highest priority among them, and use the selected placement with the highest priority as the target placement of the selected background application with the highest priority, until There are first background applications for which no placement is determined, that is, all the first background applications have determined their corresponding target placements.
  • each first background application After the target placement corresponding to each first background application is determined, for each first background application, according to the determined target placement corresponding to the first background application, display on the corresponding target placement The background app icon.
  • Each placement in the inner display area may have a higher priority than each placement in the outer display area.
  • the priority trend of the placements in the inner ring display area can be different from the priority trend of the placements in the outer ring display area.
  • the lower ones can be the same. For example, in a clockwise direction, the placements in the inner ring display area From high to low, as well as from high to low in the outer display area.
  • the method further includes:
  • the number of icons that the terminal can display is limited.
  • the background application that is not shown is called the second background application.
  • the terminal may first determine the second background application, that is, the background applications other than the first background application among the second number of background applications to be displayed are the second background applications that are not displayed. After determining the second background application that is not displayed, the terminal may hide the icon of the second background application that is not displayed.
  • the terminal may store at least one hidden area, and the terminal may hide the icons in the hidden area.
  • the area set as the hidden icon is called the target hidden area.
  • the terminal determines the corresponding hidden position of the icon of the second background application in the target hidden area, and hides the icon of the second background application at the corresponding hidden position.
  • Each hidden area saved by the terminal includes a circular hidden area, and the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
  • the terminal can save parameters such as the center angle, the center position, the large circle radius, and the small circle radius of at least one annular hidden area contained therein.
  • Each ring-shaped hidden area can be a 1/4 ring, that is, the center angle is 90 degrees. More preferably, each ring-shaped hidden area can be a half ring, that is, the center angle is 180 degrees.
  • the position of the center of each annular hidden area can be preset by the system.
  • the center angle and the center position of each annular hidden area may be the same or different.
  • the determining Before the icon of the second background application is in a corresponding hidden position in the target hidden area the method further includes:
  • the number of icons that can be hidden in each hidden area stored in the terminal is limited, and the number of icons that can be hidden in each hidden area can be referred to as a fourth number.
  • the number of icons that can be hidden in each hidden area can be the same or different.
  • the terminal can select any hidden area as the target hidden area to hide the icons of the second background application that are not displayed, as long as the target hidden area can hide all the first Second, the icon of the background application is sufficient.
  • the terminal may save the priority of each hidden area.
  • the target hidden area it may be determined according to the priority of each hidden area.
  • the number of the second background applications may be identified first, and the number of the second background applications is referred to as a fifth number.
  • each hidden area is selected as a candidate area in order:
  • the candidate region and each hidden region having a higher priority than the candidate region are used as target hidden regions.
  • the icon of each second background application can be hidden in the target hidden area.
  • the corresponding hidden position of the icon of each second background application may be determined, and the icon of the second background application may be hidden at the determined corresponding hidden position.
  • determining the corresponding hidden position for each icon of the second background application it may be determined arbitrarily according to the hidden position in the target hidden area.
  • the determining The corresponding hidden position of the icon of the second background application in the target hidden area includes:
  • each target hidden area is divided into at least two sub-areas according to a preset angle range, and the hidden position included in each sub-area is used as a hidden position group:
  • the hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
  • the terminal stores the priority of each hidden area, that is, the priority of each target hidden area.
  • Each hidden area in the terminal has its corresponding angle range, such as 180-360 degrees, or 360-540 degrees, etc.
  • the terminal can divide each target hidden area into multiple target hidden areas according to a preset angle range. For each sub-area, at least one hidden location included in each sub-area is used as a hidden location group. The terminal may also save the priority of each hidden location group.
  • the hidden area with an angle range of 180-360 degrees is divided into three sub-areas.
  • the angle range corresponding to the first sub-area is 180-240 degrees
  • the angle range corresponding to the second sub-area is 240-300 degrees
  • the corresponding angle range of the three sub-regions is 300-360 degrees.
  • the angle corresponding to each hidden position in the hidden position group can also be determined.
  • the terminal may divide according to the angle range of each hidden position to ensure as much as possible the number of hidden positions included in each hidden position group.
  • the terminal After the terminal determines each hidden position group in each target circular display area, it can know the number of icons that can be hidden in each hidden position group.
  • the number of icons that can be hidden in each hidden position group is called The sixth number.
  • the number of icons that can be hidden in each hidden position group can be the same or different.
  • the terminal may determine the icon of each second background application according to the priority of each target hidden area, the priority of each hidden location group in the target hidden area, and the priority of each hidden location in the hidden location group. The corresponding hidden position.
  • the terminal may sequentially target the priority of each hidden position group according to the priority of each target hidden area saved in advance and the priority of each hidden position group in each target hidden area.
  • Each hidden location group performs the following steps:
  • the terminal determines whether there is a second background application whose hidden position is not determined;
  • the terminal can determine the sixth number of icons that can be hidden in the hidden position group, and each second background application whose hidden position is not determined. Priority, select the target second background application in each second background application whose hidden position is not determined. Specifically, it may be determined whether the number of second background applications whose hidden position is not determined is greater than the sixth number of icons that can be hidden in the hidden position group. If not, each second background application whose hidden position is not determined is determined. Both are used as the target second background application. If it is larger, a sixth background application with a higher priority is selected as the target second background application from the second background applications that have not determined the hidden position.
  • the terminal After the terminal selects the target second background application, the terminal can determine the hidden position corresponding to each target second background application according to each hidden position in the hidden position group. When determining the hidden position corresponding to each target second background application, it can be determined arbitrarily according to each hidden position.
  • the terminal may also save the priority of each hidden location in the hidden location group, and
  • the hidden position corresponding to each target second background application may be determined according to the priority of each target second background application and the priority of each hidden position in the hidden position group.
  • the relationship between the target second background application and the corresponding hidden location in the hidden location group is: the higher the priority of the target second background application, the higher the priority of the hidden location in the corresponding hidden location group.
  • the process of determining the hidden position in the hidden position corresponding to each target second background application is determined according to the priority of the first background application and the priority of each placement in the target circular display area in the foregoing embodiment.
  • the process of the target display position corresponding to each first background application is similar, and will not be described in detail in one of the optional embodiments of the present invention.
  • the method further includes:
  • the terminal determines the target display position corresponding to the icon of each first background application, and determines the hidden position corresponding to the icon of each second background application.
  • the terminal can save the angle corresponding to each display position and each hidden position in advance. After the terminal determines the position corresponding to the icon of each background application, it can save the corresponding position of the icon for each background application. Angle, that is, the corresponding angle is saved for each background application icon.
  • the method further includes:
  • the number of icons that the terminal can display at the same time is limited, and some of the icons of the background applications may be hidden.
  • the user may The display area is rotated to make the icons of background applications that are not displayed appear.
  • the terminal can receive the rotation operation on the target circular display area. After receiving the rotation operation on the target circular display area, the terminal can determine the rotation angle and rotation direction corresponding to the rotation operation. .
  • the terminal can identify the start position and end position corresponding to the rotation operation, and determine the rotation direction according to the start position and end position.
  • the rotation direction can be understood as a clockwise or counterclockwise direction.
  • the terminal determines the start position and end of the rotation operation.
  • the process of determining the rotation direction corresponding to the rotation operation is a well-known technique for those skilled in the art, and will not be described in detail in one of the optional embodiments of the present invention.
  • the terminal determines the rotation angle corresponding to the rotation operation, it may be determined according to the start position, the end position corresponding to the rotation operation, and the center position of the target circular display area.
  • the connection between the start position and the center position may be called the first connection
  • the connection between the end position and the center of the circle is called a second connection.
  • the angle between the first connection line and the second connection line is the rotation angle corresponding to the rotation operation.
  • the terminal stores the angle corresponding to the icon of each background application.
  • the terminal can determine the angle range formed by the icon of the background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application that is saved in advance.
  • the background application displayed is called the third background application. If the user rotates the target circular display area for the first time, the third background application may only include the first background application. If the user does not rotate the target circular display area for the first time, Operation, the third background application may include only the second background application, or may include both the first background application and the second background application.
  • the angle range formed by the icon of the third background application currently displayed in the target circular display area is referred to as a first angle range.
  • the terminal After the terminal determines the first angle range, the rotation direction, and the rotation angle, the terminal can determine the second angle range to be displayed. Specifically, it can first determine whether the first angle range is based on whether the rotation direction is counterclockwise or clockwise. Whether to increase or decrease the upper and lower thresholds, for example, it can be saved in advance that the clockwise direction is increased and the counterclockwise direction is decreased.
  • the upper and lower thresholds of the first angular range may be increased by the rotation angle to obtain a new upper and lower threshold, and the angular range formed by the new upper and lower thresholds may be determined. Is the second angle range to be shown.
  • the upper and lower thresholds of the first angle range may be reduced by the rotation angle to obtain a new upper and lower threshold, and the angle range formed by the new upper and lower thresholds may be determined. Is the second angle range to be shown.
  • the icon of each fourth background application located in the second angle range can be identified according to the angle corresponding to the icon of each background application saved in advance; that is, the to-be-displayed The fourth background application icon.
  • the icons of each third background application currently displayed can be updated according to the icons of each fourth background application.
  • the icon of the fourth background application can be arbitrarily displayed in the target circular display area. Preferably, it can be according to the angle corresponding to each icon of the fourth background application, from small to large according to the angle, or from large to small. Each placement in the circular display area is displayed in order.
  • the corresponding relationship between the angle and the priority of each position stored in the terminal in advance may be: the larger the angle corresponding to the icon, the more the icon corresponds The greater the priority of the background application, or the larger the angle corresponding to the icon, the smaller the priority of the background application corresponding to the icon.
  • the method further includes:
  • the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
  • the angle range corresponding to each hidden position group is stored in the terminal.
  • the icon of the fourth background application to be displayed it can be considered whether all of the hidden position groups can be displayed.
  • the icon is displayed. If not, the second angle range to be displayed can be updated. Specifically, it can be determined whether there is a target hidden position group that does not completely overlap the second angle range according to the angle range corresponding to each hidden position group.
  • the terminal determines a target hidden position group that does not completely overlap with the second angle range, and then updates the second angle range according to the angle range corresponding to the target hidden position group, where there is no second angle after the update
  • the interval difference value of the updated second angle range is the same as the interval difference value of the second angle range that is not updated.
  • the target hidden position group overlaps with the second angle and does not completely overlap with the second angle range. It is assumed that the second angle range is 170-350 degrees, and the angle range where a certain hidden position group exists is 300-360 degrees, 300-360. There is an overlap between the degree and 70-350 degrees, and it does not completely overlap, then the hidden position group corresponding to the 300-360 degree is called the target hidden position group. After updating for the second angle range of 170-350 degrees, the second angle range can be updated to 180-360 degrees.
  • the inner ring display area of the solid line portion includes 5 placement locations
  • the outer ring display area includes 9 placement locations. It can be understood that the larger the number, the lower the priority of the corresponding background application.
  • the inner ring display area displays the five first background application icons ranked 1-5
  • the outer ring display area displays the sort 9 first icons of background apps in 6-15.
  • the hidden area in the dashed line can hide the icons of the second background application with a priority order of 15 and later.
  • the number of circular hidden areas included in each hidden area is two, which is the same as the number of circular display areas included in the target circular display area.
  • the hidden area is divided into at least two hidden position groups according to a preset angle.
  • the hidden positions at 15, 16, and 17 in FIG. 2 form a hidden position group, and the hidden positions at 18, 19, and 20 form a hidden position group.
  • the hidden locations where 21, 22 are located form a hidden location group, the hidden locations where 23, 24, 25 are located constitute a hidden location group, and the hidden locations where 26, 27, 28 are located constitute a hidden location group.
  • the hidden position in each hidden position group has its corresponding priority. For each hidden position group, the priority of the hidden area of the inner ring is greater than the priority of the hidden area of the outer ring.
  • the user rotates the target circular display area clockwise, and the rotation angle is about 90 degrees.
  • the icon of the hidden second background application in the hidden area is displayed, as shown in FIG. 2, and the hidden order is in the range of 15-22.
  • the background application icon is displayed.
  • FIG. 3 is a schematic diagram of an application display device according to an embodiment of the present invention.
  • the device includes:
  • the receiving module 31 is configured to receive a display request for a background application
  • the display module 32 is configured to display the icon of the first background application in the target circular display area.
  • the display module 32 is further configured to determine, based on the first number of icons that can be displayed in all the circular display areas that are stored in advance, whether the second number of icons of the background application to be displayed can All displayed
  • a first number of background applications is selected as the first background application from the second number of background applications.
  • the display module 32 and Set to determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
  • the display module 32 is further configured to use all the circular display areas saved in advance as target circular display areas.
  • the display module 32 is specifically configured to determine each first background application according to the priority of each first background application and the priority of each placement in the target circular display area.
  • the corresponding target placement where the higher the priority of the first background application, the higher the priority of the corresponding target placement;
  • the icon of the background application is displayed on the corresponding target placement.
  • the device further includes:
  • the hiding module 33 is configured to determine a second background application that is not displayed except the first number of the second number of background applications to be displayed, and determine that an icon of the second background application is in a target hidden area. The corresponding hidden position hides the icon of the second background application at the hidden position.
  • the hiding module 33 is further configured to set a fourth number of icons that can be hidden in each hidden area according to the priority of each hidden area that is saved in advance, and the number of the second background application. Five numbers determine the target hidden area, where the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
  • the hiding module is specifically set according to the priority of each target hidden area saved in advance, and according to each target hidden area.
  • the priority of each hidden position group is as follows in the order of the priority of the hidden position group from high to low for each hidden position group: wherein each target hidden area is divided into at least according to a preset angle range Two subareas, with the hidden locations included in each subarea as a hidden location group:
  • the hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
  • the apparatus further includes:
  • the saving module 34 is configured to save, for each icon of the background application, the angle of its corresponding position.
  • the receiving module 31 is further configured to receive a rotation operation on a target circular display area
  • the display module 32 is further configured to determine a rotation angle and a rotation direction of the rotation operation
  • the display module 32 is further configured to identify the icon of each fourth background application located in the second angle range according to an angle corresponding to the icon of each background application that is saved in advance. , According to the angle range corresponding to each hidden position group, determine whether there is a target hidden position group that does not completely overlap with the second angle range;
  • the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
  • FIG. 4 is a schematic diagram of a terminal according to an embodiment of the present invention, including: a processor 41, a communication interface 42, a memory 43, and a communication bus 44.
  • the processor, the communication interface, and the memory complete each other through the communication bus.
  • a computer program is stored in the memory, and when the program is executed by the processor, the processor causes the processor to perform the following steps:
  • the icon of the first background application is displayed in the target circular display area.
  • the second number of icons to be displayed is determined according to the first number of icons that can be displayed in all the circular display areas that are saved in advance. Whether the background application icons can all be displayed;
  • a first number of background applications is selected as the first background application from the second number of background applications.
  • the target display area is displayed in the target area.
  • determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
  • the icons of the second number of background applications cannot all be displayed, before displaying the icons of the first background application in the target ring display area, all the ring displays will be saved in advance.
  • the area serves as the target circular display area.
  • displaying the icon of the first background application in the target circular display area includes:
  • the icon of the background application is displayed on the corresponding target placement.
  • the icons of the second number of background applications cannot all be displayed, it is determined that the second number of background applications to be displayed, except the first number, are not displayed.
  • Two background applications and determine the corresponding hidden position of the icon of the second background application in the target hidden area, and hide the icon of the second background application at the hidden position.
  • the hidden area in each hidden area can be hidden.
  • the fourth number of icons and the fifth number of the second background application determine the target hidden area, where the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
  • the determining a corresponding hidden position of the icon of the second background application in the target hidden area includes:
  • each target hidden area is divided into at least two sub-areas according to a preset angle range, and the hidden position included in each sub-area is used as a hidden position group:
  • the hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
  • the angle of its corresponding position is saved.
  • receiving a rotation operation on the target circular display area and determining a rotation angle and a rotation direction of the rotation operation
  • the corresponding Angle range before identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance, the corresponding Angle range, to determine whether there is a target hidden position group that does not completely overlap with the second angle range;
  • the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
  • the communication bus mentioned by the terminal in the foregoing embodiments may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, a control bus, and the like.
  • the figure only uses a thick line to represent, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is configured to communicate between the terminal and other devices.
  • the memory may include Random Access Memory (RAM), and may also include Non-Volatile Memory (NVM), such as at least one disk memory.
  • RAM Random Access Memory
  • NVM Non-Volatile Memory
  • the memory may also be at least one storage device located far from the foregoing processor.
  • the processor may be a general-purpose processor, including a central processor, a network processor (NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP), an application specific integrated circuit, a field programmable gate display, or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • DSP Digital Signal Processing
  • An embodiment of the present invention discloses a computer-readable storage medium that stores a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device causes the electronic device to perform the following steps:
  • the icon of the first background application is displayed in the target circular display area.
  • the second number of icons to be displayed is determined according to the first number of icons that can be displayed in all the circular display areas that are saved in advance. Whether the background application icons can all be displayed;
  • a first number of background applications is selected as the first background application from the second number of background applications.
  • the target display area is displayed in the target area.
  • determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
  • the icons of the second number of background applications cannot all be displayed, before displaying the icons of the first background application in the target ring display area, all the ring displays will be saved in advance.
  • the area serves as the target circular display area.
  • displaying the icon of the first background application in the target circular display area includes:
  • the icon of the background application is displayed on the corresponding target placement.
  • the icons of the second number of background applications cannot all be displayed, it is determined that the second number of background applications to be displayed, except the first number, are not displayed.
  • Two background applications and determine the corresponding hidden position of the icon of the second background application in the target hidden area, and hide the icon of the second background application at the hidden position.
  • the hidden area in each hidden area can be hidden.
  • the fourth number of icons and the fifth number of the second background application determine the target hidden area, where the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
  • the determining a corresponding hidden position of the icon of the second background application in the target hidden area includes:
  • each target hidden area is divided into at least two sub-areas according to a preset angle range, and the hidden position included in each sub-area is used as a hidden position group:
  • the hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
  • the angle of its corresponding position is saved.
  • receiving a rotation operation on the target circular display area and determining a rotation angle and a rotation direction of the rotation operation
  • the corresponding Angle range before identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance, the corresponding Angle range, to determine whether there is a target hidden position group that does not completely overlap with the second angle range;
  • the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
  • the computer-readable storage medium in the above embodiments may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic storage such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc., Optical memory such as CD, DVD, BD, HVD, etc., and semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NAND, FLASH), solid state drive (SSD), etc.
  • magnetic storage such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.
  • Optical memory such as CD, DVD, BD, HVD, etc.
  • semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NAND, FLASH), solid state drive (SSD), etc.
  • this application may be provided as a method, a system, or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Moreover, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are an application display method and apparatus, and a terminal and a storage medium. The method comprises: receiving a display request for a background application; and displaying, in a target annular display area, an icon of a first background application. In the embodiments of the present invention, icons of background applications are displayed, such that multiple background applications can be displayed, thereby facilitating a user viewing the background applications. Moreover, the display of the icons of the background applications can prevent the privacy leakage of the user.

Description

一种应用的展示方法、装置、终端和存储介质Application display method, device, terminal and storage medium 技术领域Technical field
本发明涉及终端技术领域,特别涉及一种应用的展示方法、装置、终端和存储介质。The present invention relates to the technical field of terminals, and in particular, to an application display method, device, terminal, and storage medium.
背景技术Background technique
随着科技的进步,终端的需求量也在不断上升,用户在终端上使用多个应用程序,用户使用过的应用程序会被放置在后台运行,将后台运行的应用程序简称为后台应用,基于此种情况,对于后台运行的应用程序的管理就变得非常重要。With the advancement of technology, the demand for terminals is also rising. Users use multiple applications on the terminal. The applications that users have used will be placed in the background. The applications running in the background are referred to as background applications for short. In this case, management of applications running in the background becomes very important.
在相关技术中,用户在查看后台应用时,终端会展示多任务管理界面,在多任务管理界面中,后台应用一般是以卡片的形式,按照时间顺序展示出来,通常是最近使用的后台应用排在最前面,卡片中展示后台的应用完整的页面内容。In related technology, when a user views a background application, the terminal displays a multitasking management interface. In the multitasking management interface, the background application is generally displayed in the form of a card in chronological order, usually the most recently used background application At the top, the card displays the complete page content of the background application.
在以卡片的形式展示后台应用时,通常只能同时展示1-3个后台应用,如果存在多个后台应用,其余的后台应用会被遮挡起来,用户无法查看到该后台应用。当用户想要查看其它的后台应用时,需要多次滑动卡片才能查看到该后台应用,造成用户的操作过多,降低用户查找效率,并且当用户处于公用场所时,卡片中展示的后台应用的完整的页面内容会造成用户的隐私泄露。When displaying background applications in the form of cards, usually only 1-3 background applications can be displayed at the same time. If there are multiple background applications, the remaining background applications will be blocked and users cannot view the background applications. When the user wants to view other background applications, the user needs to slide the card multiple times to view the background application, resulting in excessive user operations, reducing the user's search efficiency, and when the user is in a public place, the background application displayed in the card The complete content of the page will cause the user's privacy to leak.
发明内容Summary of the invention
本发明至少部分实施例公开了一种应用的展示方法、装置、终端和存储介质,以至少部分地解决相关技术中展示的后台应用的完整的页面内容会造成用户的隐私泄露以及用户查找效率低的问题。At least part of the embodiments of the present invention disclose an application display method, device, terminal, and storage medium to at least partially solve the problem that the complete page content of the background application displayed in the related technology will cause the user's privacy to leak and the user's search efficiency to be low The problem.
在本发明其中一实施例中,提供了一种应用的展示方法,所述方法包括:In one embodiment of the present invention, a method for displaying an application is provided. The method includes:
接收对后台应用的展示请求;Receiving a display request for a background application;
在目标环形展示区域中展示第一后台应用的图标。The icon of the first background application is displayed in the target circular display area.
在一个可选实施例中,在目标环形展示区域中展示第一后台应用的图标之前,所述方法还包括:In an optional embodiment, before displaying the icon of the first background application in the target circular display area, the method further includes:
根据预先保存的所有的环形展示区域中能够展示的图标的第一数量,判断待展示的第二数量的后台应用的图标是否能够全部被展示;Judging whether the second number of icons of the background application to be displayed can all be displayed according to the first number of icons that can be displayed in all the circular display areas saved in advance;
如果是,则将待展示的每个后台应用作为第一后台应用;If yes, use each background application to be displayed as the first background application;
如果否,根据每个后台应用的优先级,在第二数量的后台应用中选取第一数量的后台应用作为第一后台应用。If not, according to the priority of each background application, a first number of background applications is selected as the first background application from the second number of background applications.
在一个可选实施例中,如果终端预先保存的环形展示区域包括内环展示区域和外环展示区域,且所述第二数量的后台应用的图标能够全部被展示,所述在目标环形展示区域中展示第一后台应用的图标之前,所述方法还包括:In an optional embodiment, if the circular display area saved in advance by the terminal includes an inner display area and an outer display area, and all the icons of the second number of background applications can be displayed, the target display area is displayed in the target area. Before displaying the icon of the first background application in the method, the method further includes:
判断待展示的后台应用的第二数量是否不大于预先保存的内环展示区域中能够展示的图标的第三数量;Determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
如果是,则将内环展示区域作为目标环形展示区域;If yes, use the inner ring display area as the target ring display area;
如果否,则将内环展示区域和外环展示区域作为目标环形展示区域。If not, use the inner ring display area and the outer ring display area as the target ring display area.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,所述在目标环形展示区域中展示第一后台应用的图标之前,所述方法还包括:In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, before the icons of the first background application are displayed in the target circular display area, the method further includes:
将预先保存的所有的环形展示区域作为目标环形展示区域。Use all the circular display areas saved in advance as the target circular display area.
在一个可选实施例中,在目标环形展示区域中展示第一后台应用的图标包括:In an optional embodiment, displaying the icon of the first background application in the target circular display area includes:
根据每个第一后台应用的优先级和该目标环形展示区域中的每个展示位置的优先级,确定每个第一后台应用对应的目标展示位置,其中第一后台应用的优先级越高,其对应的目标展示位置的优先级越高;Determine the target placement corresponding to each first background application according to the priority of each first background application and the priority of each placement in the target circular display area, where the priority of the first background application is higher, The higher the priority of its corresponding target placements;
针对每个第一后台应用,根据确定的该第一后台应用对应的目标展示位置,在该对应的目标展示位置上展示该后台应用的图标。For each first background application, according to the determined target placement corresponding to the first background application, the icon of the background application is displayed on the corresponding target placement.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,所述方法还包括:In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, the method further includes:
确定待展示的第二数量的后台应用中除所述第一数量之外的未被展示的第二后台应用,并确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置,将所述第二后台应用的图标在该隐藏位置进行隐藏。Determine a second background application that is not displayed except the first number of the second number of background applications to be displayed, and determine the corresponding hidden position of the icon of the second background application in the target hidden area, and The icon of the second background application is hidden at the hidden position.
在一个可选实施例中,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置之前,所述方法还包括:In an optional embodiment, before the determining that the icon of the second background application is in a corresponding hidden position in the target hidden area, the method further includes:
根据预先保存的每个隐藏区域的优先级,每个隐藏区域中能够隐藏的图标的第四数量,以及第二后台应用的第五数量,确定目标隐藏区域,其中,每个隐藏区域中包含的环形隐藏区域的数量和目标环形展示区域中包含的环形展示区域的数量相同。Determine the target hidden area according to the priority of each hidden area that is saved in advance, the fourth number of icons that can be hidden in each hidden area, and the fifth number of second background applications, where each hidden area contains The number of circular hidden areas is the same as the number of circular display areas contained in the target circular display area.
在一个可选实施例中,如果目标环形展示区域包括至少两个环形展示区域,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置包括:In an optional embodiment, if the target circular display area includes at least two circular display areas, the determining a corresponding hidden position of the icon of the second background application in the target hidden area includes:
根据预先保存的每个目标隐藏区域的优先级,以及根据每个目标隐藏区域中的每个隐藏位置组的优先级,按照隐藏位置组的优先级由高至低的顺序依次针对每个隐藏位置组进行如下步骤:其中,每个目标隐藏区域根据预设的角度范围划分为至少两个子区域,将每个子区域中包括的隐藏位置作为一个隐藏位置组:According to the priority of each target hidden area saved in advance, and according to the priority of each hidden location group in each target hidden area, according to the priority of the hidden location group from high to low in order for each hidden location The group performs the following steps: wherein each target hidden area is divided into at least two sub-areas according to a preset angle range, and the hidden position included in each sub-area is used as a hidden position group:
确定是否存在未被确定隐藏位置的第二后台应用;Determining whether there is a second background application for which the hidden position has not been determined;
如果是,则根据该隐藏位置组中能够隐藏的图标的第六数量,以及每个未确定隐藏位置的第二后台应用的优先级,在每个未确定隐藏位置的第二后台应用中选取目标第二后台应用;If yes, then select a target in each second background application with no hidden position determined according to the sixth number of icons that can be hidden in the hidden position group and the priority of each second background application with no hidden position determined Second background application;
根据选取的每个目标第二后台应用的优先级,以及该隐藏位置组中的每个隐藏位置的优先级,确定每个目标第二后台应用对应的隐藏位置,其中,目标 第二后台应用的优先级越高,其对应的隐藏位置的优先级越高。The hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
在一个可选实施例中,所述方法还包括:In an optional embodiment, the method further includes:
针对每个后台应用的图标,保存其对应的位置的角度。For each background application icon, save the angle of its corresponding position.
在一个可选实施例中,所述方法还包括:In an optional embodiment, the method further includes:
接收对目标环形展示区域的旋转操作,确定所述旋转操作的旋转角度和旋转方向;Receiving a rotation operation on a target circular display area, and determining a rotation angle and a rotation direction of the rotation operation;
根据预先保存的每个后台应用的图标对应的角度,确定目标环形展示区域中当前展示的第三后台应用的图标构成的第一角度范围;Determining a first angle range formed by the icon of the third background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application saved in advance;
根据所述第一角度范围、所述旋转方向和旋转角度,确定待展示的第二角度范围;Determining a second angle range to be displayed according to the first angle range, the rotation direction, and the rotation angle;
根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标;Identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance;
根据每个第四后台应用的图标对当前展示的每个第三后台应用的图标进行更新。Update the icon of each third background application currently displayed according to the icon of each fourth background application.
在一个可选实施例中,在根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标之前,所述方法还包括:In an optional embodiment, before identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance, the method further includes:
根据每个隐藏位置组对应的角度范围,判断是否存在与第二角度范围不完全重叠的目标隐藏位置组;Judging whether there is a target hidden position group that does not completely overlap the second angular range according to the angular range corresponding to each hidden position group;
如果是,则根据目标隐藏位置组对应的角度范围对第二角度范围进行更新,其中,不存在与更新后的第二角度范围不完全重叠的目标隐藏位置组。If so, the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
在本发明其中一实施例中,还提供了一种应用的展示装置,所述装置包括:In one embodiment of the present invention, an application display device is also provided. The device includes:
接收模块,设置为接收对后台应用的展示请求;A receiving module configured to receive a display request for a background application;
展示模块,设置为在目标环形展示区域中展示第一后台应用的图标。A display module configured to display an icon of a first background application in a target circular display area.
在一个可选实施例中,所述展示模块,还设置为根据预先保存的所有的环形展示区域中能够展示的图标的第一数量,判断待展示的第二数量的后台应用的图标是否能够全部被展示;In an optional embodiment, the display module is further configured to determine, based on the first number of icons that can be displayed in all the circular display areas that are saved in advance, whether the icons of the second number of background applications to be displayed can be all Be shown
如果是,则将待展示的每个后台应用作为第一后台应用;If yes, use each background application to be displayed as the first background application;
如果否,根据每个后台应用的优先级,在第二数量的后台应用中选取第一数量的后台应用作为第一后台应用。If not, according to the priority of each background application, a first number of background applications is selected as the first background application from the second number of background applications.
在一个可选实施例中,如果终端预先保存的环形展示区域包括内环展示区域和外环展示区域,且所述第二数量的后台应用的图标能够全部被展示,所述展示模块,还设置为判断待展示的后台应用的第二数量是否不大于预先保存的内环展示区域中能够展示的图标的第三数量;In an optional embodiment, if the ring display area saved in advance by the terminal includes an inner ring display area and an outer ring display area, and the icons of the second number of background applications can all be displayed, the display module may further set To determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
如果是,则将内环展示区域作为目标环形展示区域;If yes, use the inner ring display area as the target ring display area;
如果否,则将内环展示区域和外环展示区域作为目标环形展示区域。If not, use the inner ring display area and the outer ring display area as the target ring display area.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,所述展示模块,还设置为将预先保存的所有的环形展示区域作为目标环形展示区域。In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, the display module is further configured to use all the circular display areas saved in advance as target circular display areas.
在一个可选实施例中,所述展示模块,具体设置为根据每个第一后台应用的优先级和该目标环形展示区域中的每个展示位置的优先级,确定每个第一后台应用对应的目标展示位置,其中第一后台应用的优先级越高,其对应的目标展示位置的优先级越高;In an optional embodiment, the display module is specifically configured to determine that each first background application corresponds to the priority of each first background application and the priority of each placement in the target circular display area. , The higher the priority of the first background application, the higher the priority of its corresponding target placement;
针对每个第一后台应用,根据确定的该第一后台应用对应的目标展示位置,在该对应的目标展示位置上展示该后台应用的图标。For each first background application, according to the determined target placement corresponding to the first background application, the icon of the background application is displayed on the corresponding target placement.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,所述装置还包括:In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, the device further includes:
隐藏模块,设置为确定待展示的第二数量的后台应用中除所述第一数量之外的未被展示的第二后台应用,并确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置,将所述第二后台应用的图标在该隐藏位置进行隐藏。A hiding module, configured to determine a second background application that is not displayed except the first number of the second number of background applications to be displayed, and determine that an icon of the second background application corresponds to a target hidden area To hide the icon of the second background application at the hidden position.
在一个可选实施例中,所述隐藏模块,还设置为根据预先保存的每个隐藏区域的优先级,每个隐藏区域中能够隐藏的图标的第四数量,以及第二后台应用的第五数量,确定目标隐藏区域,其中,每个隐藏区域中包含的环形隐藏区 域的数量和目标环形展示区域中包含的环形展示区域的数量相同。In an optional embodiment, the hiding module is further configured to be based on the priority of each hidden area saved in advance, the fourth number of icons that can be hidden in each hidden area, and the fifth of the second background application. The number, determines the target hidden area, wherein the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
在一个可选实施例中,如果目标环形展示区域包括至少两个环形展示区域,所述隐藏模块,具体设置为根据预先保存的每个目标隐藏区域的优先级,以及根据每个目标隐藏区域中的每个隐藏位置组的优先级,按照隐藏位置组的优先级由高至低的顺序依次针对每个隐藏位置组进行如下步骤:其中,每个目标隐藏区域根据预设的角度范围划分为至少两个子区域,将每个子区域中包括的隐藏位置作为一个隐藏位置组:In an optional embodiment, if the target circular display area includes at least two circular display areas, the hiding module is specifically set according to the priority of each target hidden area saved in advance, and according to each target hidden area. The priority of each hidden position group is as follows in the order of the priority of the hidden position group from high to low for each hidden position group: wherein each target hidden area is divided into at least according to a preset angle range Two subareas, with the hidden locations included in each subarea as a hidden location group:
确定是否存在未被确定隐藏位置的第二后台应用;Determining whether there is a second background application for which the hidden position has not been determined;
如果是,则根据该隐藏位置组中能够隐藏的图标的第六数量,以及每个未确定隐藏位置的第二后台应用的优先级,在每个未确定隐藏位置的第二后台应用中选取目标第二后台应用;If yes, then select a target in each second background application with no hidden position determined according to the sixth number of icons that can be hidden in the hidden position group and the priority of each second background application with no hidden position determined Second background application;
根据选取的每个目标第二后台应用的优先级,以及该隐藏位置组中的每个隐藏位置的优先级,确定每个目标第二后台应用对应的隐藏位置,其中,目标第二后台应用的优先级越高,其对应的隐藏位置的优先级越高。The hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
在一个可选实施例中,所述装置还包括:In an optional embodiment, the apparatus further includes:
保存模块,设置为针对每个后台应用的图标,保存其对应的位置的角度。The saving module is set to save an angle of a corresponding position of an icon of each background application.
在一个可选实施例中,所述接收模块,还设置为接收对目标环形展示区域的旋转操作;In an optional embodiment, the receiving module is further configured to receive a rotation operation on a target circular display area;
所述展示模块,还设置为确定所述旋转操作的旋转角度和旋转方向;The display module is further configured to determine a rotation angle and a rotation direction of the rotation operation;
根据预先保存的每个后台应用的图标对应的角度,确定目标环形展示区域中当前展示的第三后台应用的图标构成的第一角度范围;Determining a first angle range formed by the icon of the third background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application saved in advance;
根据所述第一角度范围、所述旋转方向和旋转角度,确定待展示的第二角度范围;Determining a second angle range to be displayed according to the first angle range, the rotation direction, and the rotation angle;
根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标;Identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance;
根据每个第四后台应用的图标对当前展示的每个第三后台应用的图标进 行更新。Update the icon of each third background application currently displayed according to the icon of each fourth background application.
在一个可选实施例中,所述展示模块,还设置为在根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标之前,根据每个隐藏位置组对应的角度范围,判断是否存在与第二角度范围不完全重叠的目标隐藏位置组;In an optional embodiment, the display module is further configured to identify an icon of each fourth background application located in the second angle range according to an angle corresponding to an icon of each background application that is saved in advance, Judging whether there is a target hidden position group that does not completely overlap the second angular range according to the angular range corresponding to each hidden position group;
如果是,则根据目标隐藏位置组对应的角度范围对第二角度范围进行更新,其中,不存在与更新后的第二角度范围不完全重叠的目标隐藏位置组。If so, the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
在本发明其中一实施例中,还提供了一种终端,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In one embodiment of the present invention, a terminal is further provided, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行上述任一项所述方法的步骤。A computer program is stored in the memory, and when the program is executed by the processor, the processor is caused to execute the steps of any one of the methods described above.
在本发明其中一实施例中,还提供了一种计算机可读存储介质,其存储有可由电子设备执行的计算机程序,当所述程序在所述电子设备上运行时,使得所述电子设备执行上述任一项所述方法的步骤。In one embodiment of the present invention, a computer-readable storage medium is further provided, which stores a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device executes the program. Steps of the method of any of the above.
本发明至少部分实施例公开了一种应用的展示方法、装置、终端和存储介质,该方法包括:接收对后台应用的展示请求;在目标环形展示区域中展示第一后台应用的图标。由于在本发明其中一可选实施例中,展示后台应用的图标,不仅可以展示多个后台应用,方便用户查看后台应用,并且展示后台应用的图标,可避免用户的隐私泄露。At least some embodiments of the present invention disclose an application display method, device, terminal, and storage medium. The method includes: receiving a display request for a background application; and displaying an icon of a first background application in a target circular display area. Because in one optional embodiment of the present invention, displaying the background application icon can not only display multiple background applications, facilitate the user to view the background application, but also display the background application icon, which can prevent the user's privacy from being leaked.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention or related technologies more clearly, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings in the following description are only the present invention. For some embodiments of the invention, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1是根据本发明其中一实施例的一种应用的展示过程示意图。FIG. 1 is a schematic diagram showing an application according to an embodiment of the present invention.
图2是根据本发明其中一实施例的一种图标展示示意图。FIG. 2 is a schematic diagram showing an icon according to an embodiment of the present invention.
图3是根据本发明其中一实施例的一种应用的展示装置的示意图。3 is a schematic diagram of an application display device according to an embodiment of the present invention.
图4是根据本发明其中一实施例的一种终端的示意图。FIG. 4 is a schematic diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
实施例1:Example 1:
图1是根据本发明其中一实施例的一种应用的展示过程示意图,该过程包括以下步骤:FIG. 1 is a schematic diagram of an application display process according to an embodiment of the present invention. The process includes the following steps:
S101:接收对后台应用的展示请求。S101: Receive a display request for a background application.
S102:在目标环形展示区域中展示每个第一后台应用的图标。S102: Display the icon of each first background application in the target circular display area.
本发明实施例提供的应用的展示方法应设置为终端,该终端可以是手机、平板电脑等。The application display method provided by the embodiment of the present invention should be set as a terminal, and the terminal may be a mobile phone, a tablet computer, or the like.
终端上显示有多种应用的图标,用户会在终端上使用多个应用,用户使用过的应用会在后台运行,即终端中存在后台应用,每个运行的应用可看作为一个任务。There are multiple application icons displayed on the terminal. The user will use multiple applications on the terminal. The applications that the user has used will run in the background, that is, there are background applications in the terminal. Each running application can be regarded as a task.
用户可以对终端进行某些操作,使终端展示后台应用的信息,该操作例如可以是双击,按压HOME键等。终端展示后台应用的信息,也就是终端打开多任务管理界面,在多任务管理界面中展示后台应用的信息。用户触发对后台应用的展示操作,则终端接收对后台应用的展示操作。终端在接收到用户触发的对后台应用的展示操作时,确定接收到对后台应用展示请求。The user can perform certain operations on the terminal to cause the terminal to display the information of the background application. This operation can be, for example, double-clicking, pressing the HOME key, and the like. The terminal displays the information of the background application, that is, the terminal opens the multitasking management interface, and displays the information of the background application in the multitasking management interface. The user triggers the display operation of the background application, and the terminal receives the display operation of the background application. When the terminal receives a display operation of the background application triggered by the user, it is determined that a request for display of the background application is received.
S102:在目标环形展示区域中展示每个第一后台应用的图标。S102: Display the icon of each first background application in the target circular display area.
终端中保存有至少一个环形展示区域,具体可以是保存每个环形展示区域的圆心角,圆心位置,大圆半径,小圆半径等参数。终端可以在环形展示区域中展示后台应用的图标。将展示图标的环形展示区域作为目标环形展示区域,该目标环形展示区域可能包含终端保存的部分的环形展示区域,也可能包含终端保存的全部的环形展示区域,终端可以选择任意的环形展示区域作为目标环形展示区域。将在接收到展示请求时,目标环形展示区域中展示的后台应用称为第一后台应用。At least one circular display area is stored in the terminal. Specifically, parameters such as a center angle, a center position, a large circle radius, and a small circle radius of each circular display area may be stored. The terminal may display the background application icon in the ring display area. Use the circular display area that displays the icon as the target circular display area. The target circular display area may include part of the circular display area saved by the terminal, or it may include all the circular display area saved by the terminal. The terminal can choose any circular display area as Target circular display area. When a display request is received, a background application displayed in a target circular display area is referred to as a first background application.
终端可以在展示第一后台应用的图标之前,确定待展示的每个后台应用,待展示的每个后台应用可以理解为当前存在的全部的后台应用。终端可以在待展示的每个后台应用中选取第一后台应用,在目标环形展示区域中展示第一后台应用的图标。终端在待展示的每个后台应用中选取第一后台应用时可以是随意选取的。The terminal may determine each background application to be displayed before displaying the icon of the first background application, and each background application to be displayed may be understood as all currently existing background applications. The terminal may select a first background application from each background application to be displayed, and display an icon of the first background application in a target circular display area. When the terminal selects the first background application among each background application to be displayed, the terminal may choose at random.
终端保存的每个环形展示区域可以是1/4环形,也就是圆心角为90度,较优地,环形展示区域可以是个半环形,也就是圆心角为180度。每个环形展示区域的圆心位置可以是系统预先设置好的。每个环形展示区域的圆心角以及圆心位置可以相同,也可以不同。Each circular display area stored in the terminal may be a 1/4 ring, that is, the center angle is 90 degrees. More preferably, the circular display area may be a semi-ring, that is, the center angle is 180 degrees. The position of the center of each circular display area can be preset by the system. The center angle and center position of each circular display area may be the same or different.
由于在本发明其中一可选实施例中,展示后台应用的图标,不仅可以展示多个后台应用,方便用户查看后台应用,并且展示后台应用的图标,可避免用户的隐私泄露。Because in one optional embodiment of the present invention, displaying the background application icon can not only display multiple background applications, facilitate the user to view the background application, but also display the background application icon, which can prevent the user's privacy from being leaked.
实施例2:Example 2:
为了使展示的图标更加符合用户的需求,在上述各实施例的基础上,在本发明其中一可选实施例中,在目标环形展示区域中展示每个第一后台应用的图标之前,所述方法还包括:In order to make the displayed icons more consistent with the needs of users, based on the above embodiments, in an optional embodiment of the present invention, before the icons of each first background application are displayed in the target circular display area, the The method also includes:
根据预先保存的所有的环形展示区域中能够展示的图标的第一数量,判断待展示的第二数量的后台应用的图标是否能够全部被展示;Judging whether the second number of icons of the background application to be displayed can all be displayed according to the first number of icons that can be displayed in all the circular display areas saved in advance;
如果是,则将待展示的每个后台应用作为第一后台应用;If yes, use each background application to be displayed as the first background application;
如果否,根据每个后台应用的优先级,在第二数量的后台应用中选取第一数量的后台应用作为第一后台应用。If not, according to the priority of each background application, a first number of background applications is selected as the first background application from the second number of background applications.
在本发明其中一可选实施例中,终端中保存的每个环形展示区域中能够展示的图标的数量是有限的,一般半径大的环形展示区域中能够展示的图标较多,半径小的环形展示区域中能够展示的图标较少,可以将终端中的每个环形展示区域中能够展示的图标的数量称为第三数量。每个环形展示区域中能够展示的图标的第三数量确定了,则终端能够同时展示的图标的数量也就确定了,终端能够同时展示的图标的数量称为第一数量,每个第三数量的和为该第一数量。In an optional embodiment of the present invention, the number of icons that can be displayed in each of the circular display areas stored in the terminal is limited. Generally, there are more icons that can be displayed in a circular display area with a large radius and a small circle with a small radius. There are fewer icons that can be displayed in the display area, and the number of icons that can be displayed in each circular display area in the terminal can be referred to as a third number. The third number of icons that can be displayed in each circular display area is determined, and the number of icons that the terminal can display simultaneously is also determined. The number of icons that the terminal can display simultaneously is called the first number, and each third number The sum is the first quantity.
终端可以根据自身能够同时展示的图标的第一数量,确定第一后台应用是哪些应用。The terminal may determine which applications are the first background application according to the first number of icons that can be displayed simultaneously by the terminal.
首先,可以是先识别待展示的后台应用的第二数量,根据终端能够展示的图标的第一数量,判断待展示的第二数量的后台应用的图标是否能够全部被展示,也就是判断第二数量是否大于第一数量,如果第二数量不大于第一数量,则待展示的第二数量的后台应用的图标能够全部被展示,则可以将待展示的每个后台应用均作为第一后台应用。First, the second number of background applications to be displayed may be identified first, and according to the first number of icons that the terminal can display, determine whether the second number of icons of the background applications to be displayed can all be displayed, that is, determine the second Whether the number is greater than the first number. If the second number is not greater than the first number, the icons of the second number of background applications to be displayed can all be displayed, and each background application to be displayed can be used as the first background application. .
如果第二数量不大于第一数量,则待展示的第二数量的后台应用的图标不能够全部被展示,此时可以在第二数量的后台应用中选择一部分后台应用作为第一后台应用。在选择第一后台应用时,选择的数量可以是第一数量,终端在第二数量中选择第一数量的第一后台应用时,可以是任意选择的。为了使展示的后台应用更加符合用户的需求,可以预先保存每个后台应用的优先级,按照每个后台应用的优先级进行选择。具体可以是,将每个后台应用按照优先级由高至低的顺序进行排序,在排序后的后台应用中选择排序靠前的第一数量的后台应用作为第一后台应用。If the second number is not greater than the first number, the icons of the second number of background applications to be displayed cannot all be displayed. At this time, a part of the background applications can be selected as the first background application from the second number of background applications. When the first background application is selected, the selected number may be the first number, and when the terminal selects the first number of the first background applications in the second number, it may be arbitrarily selected. In order to make the background application displayed more suitable for the needs of the user, the priority of each background application can be saved in advance, and selection can be made according to the priority of each background application. Specifically, each background application can be sorted in order of priority from high to low, and the first number of background applications ranked first among the sorted background applications is selected as the first background application.
后台应用的优先级可以是用户预先设置的,可以是终端根据每个应用的被使用的时间和被使用的频率中至少之一来确定的。一般被使用的频率越高,对应的优先级越高,被使用的时间越晚,对应的优先级越高。The priority of the background application may be preset by the user, and may be determined by the terminal according to at least one of the time and frequency of each application being used. Generally, the higher the frequency used, the higher the corresponding priority, and the later the time used, the higher the corresponding priority.
实施例3:Example 3:
为了使展示的后台应用的图标更加有规律性,在上述各实施例的基础上,在本发明其中一可选实施例中,如果终端预先保存的环形展示区域包括内环展示区域和外环展示区域,且所述第二数量的后台应用的图标能够全部被展示,所述在目标环形展示区域中展示每个第一后台应用的图标之前,所述方法还包括:In order to make the displayed background application icons more regular, based on the above embodiments, in an optional embodiment of the present invention, if the ring display area saved in advance by the terminal includes an inner ring display area and an outer ring display Area, and the icons of the second number of background applications can all be displayed. Before the icons of each first background application are displayed in the target circular display area, the method further includes:
判断待展示的后台应用的第二数量是否不大于预先保存的内环展示区域中能够展示的图标的第三数量;Determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
如果是,则将内环展示区域作为目标环形展示区域;If yes, use the inner ring display area as the target ring display area;
如果否,则将内环展示区域和外环展示区域作为目标环形展示区域。If not, use the inner ring display area and the outer ring display area as the target ring display area.
在本发明其中一可选实施例中,终端保存的环形展示区域的数量可以是一个,也可以是多个,为了使展示的环形展示区域有良好的视觉性,终端可以保存两个环形展示区域,在两个环形展示区域中展示后台应用的图标时,环形展示区域的大小适宜,其中展示的图标的大小适宜。In an optional embodiment of the present invention, the number of circular display areas saved by the terminal may be one or multiple. In order to make the displayed circular display areas have good visibility, the terminal may save two circular display areas. , When the background application icon is displayed in two circular display areas, the circular display area is of a suitable size, and the size of the displayed icon is appropriate.
终端中保存的两个环形展示区域可以分别称为内环展示区域和外环展示区域,内环展示区域的和外环展示区域的圆心位置可以相同,内环展示区域的大圆半径不大于外环展示区域的小圆半径。The two circular display areas saved in the terminal can be referred to as the inner display area and the outer display area, respectively. The center positions of the inner display area and the outer display area can be the same. The large circle radius of the inner display area is not larger than the outer display area. The small circle radius of the display area.
终端在展示后台应用的图标时,可以是在内环展示区域和外环展示区域中随意进行展示的,为了使展示的图标更加规整,可以是先在一个环形展示区域中进行展示,如果该一个环形展示区域不能够将所有的后台应用的图标展示出来,再在另一环形展示区域中进行展示。When the terminal displays the icon of the background application, it can be displayed randomly in the inner ring display area and the outer ring display area. In order to make the displayed icons more regular, it can be displayed in a ring display area first. The circular display area cannot display all the background application icons, and then display it in another circular display area.
例如,可以先在内环展示区域中进行展示,如果内环展示区域不能够将所有的后台应用的图标展示出来,则可以在内环展示区域和外环展示区域同时展示后台应用的图标。For example, it can be displayed in the inner ring display area first. If the inner ring display area cannot display all the icons of the background application, the inner ring display area and the outer ring display area can display the icons of the background application at the same time.
具体的,终端可以先判断待展示的后台应用的第二数量是否大于内环展示区域中能够展示的图标的第三数量;Specifically, the terminal may first determine whether the second number of background applications to be displayed is greater than the third number of icons that can be displayed in the inner ring display area;
如果第二数量不大于内环展示区域中能够展示的图标第三数量,则内环展示区域能够把全部的后台应用的图标展示出来,则在内环展示区域中展示第二数量的后台应用的图标,也就是将内环展示区域作为目标环形展示区域。If the second number is not greater than the third number of icons that can be displayed in the inner ring display area, the inner ring display area can display all the icons of the background application, and then the second number of background application icons are displayed in the inner ring display area. Icon, that is, the inner ring display area is used as the target ring display area.
如果第二数量大于内环展示区域中能够展示的图标的第三数量,则内环展示区域不能够将全部的后台应用的图标展示出来,则在内环展示区域和外环形展示区域中展示第二数量的后台应用的图标,也就是将内环展示区域和外环展示区域作为目标环形展示区域。If the second number is greater than the third number of icons that can be displayed in the inner ring display area, the inner ring display area cannot display all the icons of the background application, and the first ring number is displayed in the inner ring display area and the outer ring display area. The second number of background application icons, that is, the inner ring display area and the outer ring display area are used as the target ring display area.
实施例4:Example 4:
为了使展示的后台应用的图标更加规整,在上述各实施例的基础上,在本发明其中一可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,所述在目标环形展示区域中展示每个第一后台应用的图标之前,所述方法还包括:In order to make the icons of the background applications displayed more regular, based on the foregoing embodiments, in an optional embodiment of the present invention, if the icons of the second number of background applications cannot all be displayed, the Before displaying the icon of each first background application in the target circular display area, the method further includes:
将预先保存的所有的环形展示区域作为目标环形展示区域。Use all the circular display areas saved in advance as the target circular display area.
实施例5:Example 5:
为了使展示的后台应用的图标更加规整,在上述各实施例的基础上,在本发明其中一可选实施例中,在目标环形展示区域中展示每个第一后台应用的图标包括:In order to make the displayed background application icons more regular, based on the foregoing embodiments, in an optional embodiment of the present invention, displaying the icons of each first background application in the target circular display area includes:
根据每个第一后台应用的优先级和该目标环形展示区域中的每个展示位置的优先级,确定每个第一后台应用对应的目标展示位置,其中第一后台应用的优先级越高,其对应的目标展示位置的优先级越高;Determine the target placement corresponding to each first background application according to the priority of each first background application and the priority of each placement in the target circular display area, where the priority of the first background application is higher, The higher the priority of its corresponding target placements;
针对每个第一后台应用,根据确定的该第一后台应用对应的目标展示位置,在该对应的目标展示位置上展示该后台应用的图标。For each first background application, according to the determined target placement corresponding to the first background application, the icon of the background application is displayed on the corresponding target placement.
在本发明其中一可选实施例中,终端可以预先保存每个环形展示区域中的展示位置,则目标环形展示区域中的每个展示位置是确定的,在目标环形展示区域中展示第一后台应用的图标时,可以是将第一后台应用的图标在任意的展示位置上进行展示。为了使展示的后台应用的图标更加有规律性,终端可以保 存每个展示位置的优先级,以及每个后台应用的优先级,确定每个第一后台应用对应的展示位置,将确定的第一后台应用对应的展示位置称为目标展示位置。In an optional embodiment of the present invention, the terminal may save the placement position in each circular display area in advance, and then each placement in the target circular display area is determined, and the first background is displayed in the target circular display area. When the icon of the application is used, the icon of the first background application may be displayed on any display position. In order to make the background application icons displayed more regular, the terminal can save the priority of each placement and the priority of each background application, determine the placement corresponding to each first background application, and determine the first The placement corresponding to the background app is called the target placement.
第一后台应用与目标展示位置的关系为:第一后台应用的优先级越高,其对应的目标展示位置的优先级越高。The relationship between the first background application and the target placement is: The higher the priority of the first background application, the higher the priority of its corresponding target placement.
在根据第一后台应用的优先级和该目标环形展示区域中的每个展示位置的优先级,确定每个第一后台应用对应的目标展示位置时,可以是判断是否存在未确定展示位置的第一后台应用,如果是,在未确定展示位置的第一后台应用中选取优先级最高的第一后台应用。识别未确定对应的第一后台应用的展示位置,在其中选取优先级最高的展示位置,将选取的优先级最高的展示位置作为选取的优先级最高的第一后台应用的目标展示位置,直至不存在未确定展示位置的第一后台应用,也就是全部的第一后台应用均确定了其对应的目标展示位置。When determining the target placement corresponding to each first background application according to the priority of the first background application and the priority of each placement in the target circular display area, it may be the first A background application, if it is, select the first background application with the highest priority among the first background applications for which the placement is not determined. Identify the placement of the first background application that has not been identified, select the placement with the highest priority among them, and use the selected placement with the highest priority as the target placement of the selected background application with the highest priority, until There are first background applications for which no placement is determined, that is, all the first background applications have determined their corresponding target placements.
在确定出了每个第一后台应用对应的目标展示位置后,就可以针对每个第一后台应用,根据确定的该第一后台应用对应的目标展示位置,在该对应的目标展示位置上展示该后台应用的图标。After the target placement corresponding to each first background application is determined, for each first background application, according to the determined target placement corresponding to the first background application, display on the corresponding target placement The background app icon.
内环展示区域中的每个展示位置的优先级可以高于外环展示区域中的每个展示位置的优先级。内环展示区域中的展示位置的优先级的走向与外环展示区域中的展示位置的优先级走向可以不同,较低的可以相同,例如,按照顺时针方向,内环展示区域中的展示位置的优先级由高变低,外环展示区域中的展示位置的优先级也由高至低。Each placement in the inner display area may have a higher priority than each placement in the outer display area. The priority trend of the placements in the inner ring display area can be different from the priority trend of the placements in the outer ring display area. The lower ones can be the same. For example, in a clockwise direction, the placements in the inner ring display area From high to low, as well as from high to low in the outer display area.
实施例6:Example 6:
为了使用户可以看到未被展示的后台应用,在上述各实施例的基础上,在本发明其中一可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,所述方法还包括:In order to enable the user to see the unshown background applications, based on the above embodiments, in one optional embodiment of the present invention, if the icons of the second number of background applications cannot all be displayed, The method further includes:
确定待展示的第二数量的后台应用中除所述第一数量之外的未被展示的第二后台应用,并确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏 位置,将所述第二后台应用的图标在该隐藏位置进行隐藏。Determine a second background application that is not displayed except the first number of the second number of background applications to be displayed, and determine the corresponding hidden position of the icon of the second background application in the target hidden area, and The icon of the second background application is hidden at the hidden position.
在本发明其中一可选实施例中,终端能够展示的图标的数量是有限的,当待展示的后台应用的数量较多时,会存在部分后台应用的图标不能够展示出来。未被展示的后台应用称为第二后台应用。终端可以先确定第二后台应用,也就是待展示的第二数量的后台应用中除第一后台应用外的后台应用为未被展示的第二后台应用。终端在确定出未被展示的第二后台应用后,可以将未被展示的第二后台应用的图标进行隐藏。In an optional embodiment of the present invention, the number of icons that the terminal can display is limited. When the number of background applications to be displayed is large, some icons of the background applications cannot be displayed. The background application that is not shown is called the second background application. The terminal may first determine the second background application, that is, the background applications other than the first background application among the second number of background applications to be displayed are the second background applications that are not displayed. After determining the second background application that is not displayed, the terminal may hide the icon of the second background application that is not displayed.
为了方便快速地使未被展示的图标进行展示,在本发明其中一可选实施例中,终端可以保存有至少一个隐藏区域,终端可以将图标在隐藏区域中的进行隐藏。将设置为隐藏图标的区域称为目标隐藏区域,终端确定第二后台应用的图标在目标隐藏区域中对应的隐藏位置,将第二后台应用的图标在该对应的隐藏位置进行隐藏。In order to display the undisplayed icons conveniently and quickly, in an optional embodiment of the present invention, the terminal may store at least one hidden area, and the terminal may hide the icons in the hidden area. The area set as the hidden icon is called the target hidden area. The terminal determines the corresponding hidden position of the icon of the second background application in the target hidden area, and hides the icon of the second background application at the corresponding hidden position.
终端保存的每个隐藏区域中包含环形隐藏区域,每个隐藏区域中包含的环形隐藏区域的数量和目标环形展示区域中包含的环形展示区域的数量相同。针对每个隐藏区域,终端可以保存其中包含的至少一个环形隐藏区域的圆心角,圆心位置,大圆半径,小圆半径等参数。每个环形隐藏区域可以是1/4环形,也就是圆心角为90度,较优地,每个环形隐藏区域可以是个半环形,也就是圆心角为180度。每个环形隐藏区域的圆心位置可以是系统预先设置好的。每个环形隐藏区域的圆心角以及圆心位置可以相同,也可以不同。Each hidden area saved by the terminal includes a circular hidden area, and the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area. For each hidden area, the terminal can save parameters such as the center angle, the center position, the large circle radius, and the small circle radius of at least one annular hidden area contained therein. Each ring-shaped hidden area can be a 1/4 ring, that is, the center angle is 90 degrees. More preferably, each ring-shaped hidden area can be a half ring, that is, the center angle is 180 degrees. The position of the center of each annular hidden area can be preset by the system. The center angle and the center position of each annular hidden area may be the same or different.
实施例7:Example 7:
为了快速地展示未被展示的后台应用的图标,以及有规律地展示未被展示的后台应用的图标,在上述各实施例的基础上,在本发明其中一可选实施例中,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置之前,所述方法还包括:In order to quickly display the icons of the background applications that are not displayed, and regularly display the icons of the background applications that are not displayed, on the basis of the foregoing embodiments, in one of the optional embodiments of the present invention, the determining Before the icon of the second background application is in a corresponding hidden position in the target hidden area, the method further includes:
根据预先保存的每个隐藏区域的优先级,每个隐藏区域中能够隐藏的图标的第四数量,以及第二后台应用的第五数量,确定目标隐藏区域,其中,每个 隐藏区域中包含的环形隐藏区域的数量和目标环形展示区域中包含的环形展示区域的数量相同。Determine the target hidden area according to the priority of each hidden area that is saved in advance, the fourth number of icons that can be hidden in each hidden area, and the fifth number of second background applications, where each hidden area contains The number of circular hidden areas is the same as the number of circular display areas contained in the target circular display area.
在本发明其中一可选实施例中,终端中保存的每个隐藏区域中能够隐藏的图标的数量是有限的,可以将每个隐藏区域中能够隐藏的图标的数量称为第四数量,每个隐藏区域中能够隐藏的图标的数量可以相同,也可以不同,终端可以选择任意的隐藏区域作为目标隐藏区域来隐藏未被展示的第二后台应用的图标,只要目标隐藏区域能够隐藏全部的第二后台应用的图标即可。In an optional embodiment of the present invention, the number of icons that can be hidden in each hidden area stored in the terminal is limited, and the number of icons that can be hidden in each hidden area can be referred to as a fourth number. The number of icons that can be hidden in each hidden area can be the same or different. The terminal can select any hidden area as the target hidden area to hide the icons of the second background application that are not displayed, as long as the target hidden area can hide all the first Second, the icon of the background application is sufficient.
为了有规律地展示未被展示的后台应用的图标,终端中可以保存每个隐藏区域的优先级,在确定目标隐藏区域时,可以是根据每个隐藏区域的优先级确定。可以是先识别第二后台应用的数量,将第二后台应用的数量称为第五数量。根据预先保存的每个隐藏区域的优先级,按照优先级由高至低的顺序依次将每个隐藏区域作为候选区域进行以下操作:In order to regularly display the icons of the background applications that are not displayed, the terminal may save the priority of each hidden area. When determining the target hidden area, it may be determined according to the priority of each hidden area. The number of the second background applications may be identified first, and the number of the second background applications is referred to as a fifth number. According to the priority of each hidden area saved in advance, in the order of priority from high to low, each hidden area is selected as a candidate area in order:
确定该候选区域,及优先级较该候选区域的优先级高的每个隐藏区域能够隐藏的图标的第四数量的和;Determining a sum of the candidate area and a fourth number of icons that can be hidden by each hidden area with a higher priority than the candidate area;
如果该第四数量的和不小于所述第五数量,则将该候选区域及优先级较该候选区域的优先级高的每个隐藏区域均作为目标隐藏区域。If the sum of the fourth number is not less than the fifth number, the candidate region and each hidden region having a higher priority than the candidate region are used as target hidden regions.
在确定了目标隐藏区域后,就可以在目标隐藏区域中隐藏每个第二后台应用的图标。After the target hidden area is determined, the icon of each second background application can be hidden in the target hidden area.
在隐藏每个第二后台应用的图标时,可以为每个第二后台应用的图标确定其对应的隐藏位置,在确定的对应的隐藏位置上隐藏该第二后台应用的图标。在为每个第二后台应用的图标确定对应的隐藏位置时,可以是根据目标隐藏区域中的隐藏位置任意确定的。When the icon of each second background application is hidden, the corresponding hidden position of the icon of each second background application may be determined, and the icon of the second background application may be hidden at the determined corresponding hidden position. When determining the corresponding hidden position for each icon of the second background application, it may be determined arbitrarily according to the hidden position in the target hidden area.
实施例8:Example 8:
为了有规律地展示未被展示的后台应用的图标,在上述各实施例的基础上,在本发明其中一可选实施例中,如果目标环形展示区域包括至少两个环形展示区域,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置包 括:In order to regularly display the icons of the background applications that are not displayed, based on the above embodiments, in an optional embodiment of the present invention, if the target circular display area includes at least two circular display areas, the determining The corresponding hidden position of the icon of the second background application in the target hidden area includes:
根据预先保存的每个目标隐藏区域的优先级,以及根据每个目标隐藏区域中的每个隐藏位置组的优先级,按照隐藏位置组的优先级由高至低的顺序依次针对每个隐藏位置组进行如下步骤:其中,每个目标隐藏区域根据预设的角度范围划分为至少两个子区域,将每个子区域中包括的隐藏位置作为一个隐藏位置组:According to the priority of each target hidden area saved in advance, and according to the priority of each hidden location group in each target hidden area, according to the priority of the hidden location group from high to low in order for each hidden location The group performs the following steps: wherein each target hidden area is divided into at least two sub-areas according to a preset angle range, and the hidden position included in each sub-area is used as a hidden position group:
确定是否存在未被确定隐藏位置的第二后台应用;Determining whether there is a second background application for which the hidden position has not been determined;
如果是,则根据该隐藏位置组中能够隐藏的图标的第六数量,以及每个未确定隐藏位置的第二后台应用的优先级,在每个未确定隐藏位置的第二后台应用中选取目标第二后台应用;If yes, then select a target in each second background application with no hidden position determined according to the sixth number of icons that can be hidden in the hidden position group and the priority of each second background application with no hidden position determined Second background application;
根据选取的每个目标第二后台应用的优先级,以及该隐藏位置组中的每个隐藏位置的优先级,确定每个目标第二后台应用对应的隐藏位置,其中,目标第二后台应用的优先级越高,其对应的隐藏位置的优先级越高。The hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
在本发明其中一可选实施例中,终端保存有每个隐藏区域的优先级,也就保存有每个目标隐藏区域的优先级。终端中的每个隐藏区域有其对应的角度范围,例如180-360度、或360-540度等,终端可以针对每个目标隐藏区域,根据预设的角度范围将该目标隐藏区域划分为多个子区域,将每个子区域中包括的至少一个隐藏位置作为一个隐藏位置组,终端还可以保存每个隐藏位置组的优先级。In an optional embodiment of the present invention, the terminal stores the priority of each hidden area, that is, the priority of each target hidden area. Each hidden area in the terminal has its corresponding angle range, such as 180-360 degrees, or 360-540 degrees, etc. The terminal can divide each target hidden area into multiple target hidden areas according to a preset angle range. For each sub-area, at least one hidden location included in each sub-area is used as a hidden location group. The terminal may also save the priority of each hidden location group.
假设将角度范围为180-360度的隐藏区域划分为三个子区域,可以是第一个子区域对应的角度范围为180-240度,第二个子区域对应的角度范围为240-300度,第三个子区域对应的角度范围为300-360度。终端中每个隐藏位置组的角度范围确定了后,还可以确定该隐藏位置组中的每个隐藏位置对应的角度。终端在根据预设的角度范围将该隐藏区域划分为至少两个子区域时,可以根据每个隐藏位置的角度范围划分,尽可能保证每个隐藏位置组中包括的隐藏位置的数量相同。Suppose that the hidden area with an angle range of 180-360 degrees is divided into three sub-areas. The angle range corresponding to the first sub-area is 180-240 degrees, and the angle range corresponding to the second sub-area is 240-300 degrees. The corresponding angle range of the three sub-regions is 300-360 degrees. After the angle range of each hidden position group in the terminal is determined, the angle corresponding to each hidden position in the hidden position group can also be determined. When the terminal divides the hidden area into at least two sub-areas according to a preset angle range, the terminal may divide according to the angle range of each hidden position to ensure as much as possible the number of hidden positions included in each hidden position group.
终端在确定出了每个目标环形展示区域中的每个隐藏位置组后,可以知道每个隐藏位置组中能够隐藏的图标的数量,将每个隐藏位置组中能够隐藏的图标的数量称为第六数量。每个隐藏位置组中能够隐藏的图标的数量可以相同,也可以不同。After the terminal determines each hidden position group in each target circular display area, it can know the number of icons that can be hidden in each hidden position group. The number of icons that can be hidden in each hidden position group is called The sixth number. The number of icons that can be hidden in each hidden position group can be the same or different.
终端可以根据每个目标隐藏区域的优先级,以及目标隐藏区域中的每个隐藏位置组的优先级,以及隐藏位置组中的每个隐藏位置的优先级,确定每个第二后台应用的图标对应的隐藏位置。The terminal may determine the icon of each second background application according to the priority of each target hidden area, the priority of each hidden location group in the target hidden area, and the priority of each hidden location in the hidden location group. The corresponding hidden position.
具体可以是终端根据预先保存的每个目标隐藏区域的优先级,以及根据每个目标隐藏区域中的每个隐藏位置组的优先级,按照隐藏位置组的优先级由高至低的顺序依次针对每个隐藏位置组进行如下步骤:Specifically, the terminal may sequentially target the priority of each hidden position group according to the priority of each target hidden area saved in advance and the priority of each hidden position group in each target hidden area. Each hidden location group performs the following steps:
首先,终端判断是否存在未确定隐藏位置的第二后台应用;First, the terminal determines whether there is a second background application whose hidden position is not determined;
如果存在,则为未确定隐藏位置的第二后台应用确定其对应的隐藏位置,终端可以根据该隐藏位置组中能够隐藏的图标的第六数量,以及每个未确定隐藏位置的第二后台应用的优先级,在每个未确定隐藏位置的第二后台应用中选取目标第二后台应用。具体可以是先判断未确定隐藏位置的第二后台应用的数量是否大于该隐藏位置组中的能够隐藏的图标的第六数量,如果不大于,则将未确定隐藏位置的每个第二后台应用均作为目标第二后台应用,如果大于,则在未确定隐藏位置的第二后台应用中选取优先级较高的第六数量的第二后台应用作为目标第二后台应用。If it exists, determine the corresponding hidden position for the second background application whose hidden position has not been determined. The terminal can determine the sixth number of icons that can be hidden in the hidden position group, and each second background application whose hidden position is not determined. Priority, select the target second background application in each second background application whose hidden position is not determined. Specifically, it may be determined whether the number of second background applications whose hidden position is not determined is greater than the sixth number of icons that can be hidden in the hidden position group. If not, each second background application whose hidden position is not determined is determined. Both are used as the target second background application. If it is larger, a sixth background application with a higher priority is selected as the target second background application from the second background applications that have not determined the hidden position.
终端在选取了目标第二后台应用后,就可以根据该隐藏位置组中的每个隐藏位置,确定每个目标第二后台应用对应的隐藏位置了。在确定每个目标第二后台应用对应的隐藏位置时,可以是根据每个隐藏位置任意确定的。After the terminal selects the target second background application, the terminal can determine the hidden position corresponding to each target second background application according to each hidden position in the hidden position group. When determining the hidden position corresponding to each target second background application, it can be determined arbitrarily according to each hidden position.
为了使被未展示的第二后台应用的图标可以有规律地进行展示,在本发明其中一可选实施例中,终端还可以保存隐藏位置组中的每个隐藏位置的优先级,在确定每个目标第二后台应用对应的隐藏位置时,可以根据每个目标第二后台应用的优先级,以及该隐藏位置组中的每个隐藏位置的优先级确定。In order that the icons of the second background application that are not shown can be displayed regularly, in an optional embodiment of the present invention, the terminal may also save the priority of each hidden location in the hidden location group, and The hidden position corresponding to each target second background application may be determined according to the priority of each target second background application and the priority of each hidden position in the hidden position group.
目标第二后台应用与其对应的该隐藏位置组中的隐藏位置的关系为:目标第二后台应用的优先级越高,其对应的该隐藏位置组中的隐藏位置的优先级越高。The relationship between the target second background application and the corresponding hidden location in the hidden location group is: the higher the priority of the target second background application, the higher the priority of the hidden location in the corresponding hidden location group.
在确定每个目标第二后台应用对应的该隐藏位置中的隐藏位置的过程与上述实施例中的根据第一后台应用的优先级和目标环形展示区域中的每个展示位置的优先级,确定每个第一后台应用对应的目标展示位置的过程类似,在本发明其中一可选实施例中不再进行赘述。The process of determining the hidden position in the hidden position corresponding to each target second background application is determined according to the priority of the first background application and the priority of each placement in the target circular display area in the foregoing embodiment. The process of the target display position corresponding to each first background application is similar, and will not be described in detail in one of the optional embodiments of the present invention.
实施例9:Example 9:
为了方便展示后台应用的图标,在上述各实施例的基础上,在本发明其中一可选实施例中,所述方法还包括:In order to conveniently display the icons of the background application, on the basis of the foregoing embodiments, in an optional embodiment of the present invention, the method further includes:
针对每个后台应用的图标,保存其对应的位置的角度。For each background application icon, save the angle of its corresponding position.
在上述各实施例中,终端确定了每个第一后台应用的图标对应的目标展示位置,并确定了每个第二后台应用的图标对应的隐藏位置。In the above embodiments, the terminal determines the target display position corresponding to the icon of each first background application, and determines the hidden position corresponding to the icon of each second background application.
终端中可以预先保存每个展示位置和每个隐藏位置对应的角度,终端在确定出了每个后台应用的图标对应的位置后,就可以针对每个后台应用的图标,保存其对应的位置的角度,也就是针对每个后台应用的图标保存了其对应的角度。The terminal can save the angle corresponding to each display position and each hidden position in advance. After the terminal determines the position corresponding to the icon of each background application, it can save the corresponding position of the icon for each background application. Angle, that is, the corresponding angle is saved for each background application icon.
实施例10:Example 10:
为了提高用户体验,以及将未展示的第二后台应用的图标展示出来,在上述各实施例的基础上,在本发明其中一可选实施例中,所述方法还包括:In order to improve the user experience and display the icon of the second background application that is not shown, based on the above embodiments, in an optional embodiment of the present invention, the method further includes:
接收对目标环形展示区域的旋转操作,确定所述旋转操作的旋转角度和旋转方向;Receiving a rotation operation on a target circular display area, and determining a rotation angle and a rotation direction of the rotation operation;
根据预先保存的每个后台应用的图标对应的角度,确定目标环形展示区域中当前展示的第三后台应用的图标构成的第一角度范围;Determining a first angle range formed by the icon of the third background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application saved in advance;
根据所述第一角度范围、所述旋转方向和旋转角度,确定待展示的第二角度范围;Determining a second angle range to be displayed according to the first angle range, the rotation direction, and the rotation angle;
根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标;Identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance;
根据每个第四后台应用的图标对当前展示的每个第三后台应用的图标进行更新。Update the icon of each third background application currently displayed according to the icon of each fourth background application.
在本发明其中一可选实施例中,终端能够同时展示的图标的数量是有限的,可能存在部分后台应用的图标被隐藏,用户要想查看未被展示的后台应用的图标,可以对目标环形展示区域进行旋转操作,使未被展示的后台应用的图标展示出来。In an optional embodiment of the present invention, the number of icons that the terminal can display at the same time is limited, and some of the icons of the background applications may be hidden. To view the icons of the background applications that are not displayed, the user may The display area is rotated to make the icons of background applications that are not displayed appear.
用户在对目标环形展示区域进行旋转时,终端可以接收到对目标环形展示区域的旋转操作,终端在接收到对目标环形展示区域的旋转操作后,可以确定该旋转操作对应的旋转角度和旋转方向。终端可以识别该旋转操作对应的开始位置和结束位置,根据开始位置和结束位置确定旋转的方向,该旋转方向可以理解为顺时针方向或逆时针方向,终端在确定了旋转操作的开始位置和结束位置,确定该旋转操作对应的旋转方向的过程属于本领域技术人员的公知技术,在本发明其中一可选实施例中不进行赘述。终端在确定旋转操作对应的旋转角度时,可以是根据旋转操作对应的开始位置、结束位置和目标环形展示区域的圆心位置确定的,可以是将开始位置与圆心位置的连线称为第一连线,将结束位置与圆心位置的连接称为第二连接,第一连线与第二连线的夹角即为旋转操作对应的旋转角度。When the user rotates the target circular display area, the terminal can receive the rotation operation on the target circular display area. After receiving the rotation operation on the target circular display area, the terminal can determine the rotation angle and rotation direction corresponding to the rotation operation. . The terminal can identify the start position and end position corresponding to the rotation operation, and determine the rotation direction according to the start position and end position. The rotation direction can be understood as a clockwise or counterclockwise direction. The terminal determines the start position and end of the rotation operation. The process of determining the rotation direction corresponding to the rotation operation is a well-known technique for those skilled in the art, and will not be described in detail in one of the optional embodiments of the present invention. When the terminal determines the rotation angle corresponding to the rotation operation, it may be determined according to the start position, the end position corresponding to the rotation operation, and the center position of the target circular display area. The connection between the start position and the center position may be called the first connection The connection between the end position and the center of the circle is called a second connection. The angle between the first connection line and the second connection line is the rotation angle corresponding to the rotation operation.
终端中保存有每个后台应用的图标对应的角度,终端可以根据预先保存的每个后台应用的图标对应的角度,确定目标环形展示区域中当前展示的后台应用的图标构成的角度范围,将当前展示的后台应用称为第三后台应用,如果用户第一次对目标环形展示区域进行旋转操作,第三后台应用可能仅包括第一后台应用,如果用户非第一次对目标环形展示区域进行旋转操作,该第三后台应用可能仅包括第二后台应用,也可能同时包括第一后台应用和第二后台应用。The terminal stores the angle corresponding to the icon of each background application. The terminal can determine the angle range formed by the icon of the background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application that is saved in advance. The background application displayed is called the third background application. If the user rotates the target circular display area for the first time, the third background application may only include the first background application. If the user does not rotate the target circular display area for the first time, Operation, the third background application may include only the second background application, or may include both the first background application and the second background application.
将目标环形展示区域中当前展示的第三后台应用的图标构成的角度范围 称为第一角度范围。The angle range formed by the icon of the third background application currently displayed in the target circular display area is referred to as a first angle range.
终端在确定出了第一角度范围,旋转方向和旋转角度后,可以确定待展示的第二角度范围,具体可以是先根据旋转方向是逆时针方向还是顺时针方向,确定是对第一角度范围的上下阈值进行增加还是减少,例如,可以预先保存顺时针方向为增加,逆时针方向为减少。After the terminal determines the first angle range, the rotation direction, and the rotation angle, the terminal can determine the second angle range to be displayed. Specifically, it can first determine whether the first angle range is based on whether the rotation direction is counterclockwise or clockwise. Whether to increase or decrease the upper and lower thresholds, for example, it can be saved in advance that the clockwise direction is increased and the counterclockwise direction is decreased.
如果当前的旋转方向指示对第一角度范围的上下阈值进行增加,则可以是将第一角度范围的上下阈值分别增加该旋转角度,得到新的上下阈值,将新的上下阈值构成的角度范围确定为待展示的第二角度范围。If the current direction of rotation indicates that the upper and lower thresholds of the first angular range are increased, the upper and lower thresholds of the first angular range may be increased by the rotation angle to obtain a new upper and lower threshold, and the angular range formed by the new upper and lower thresholds may be determined. Is the second angle range to be shown.
如果当前的旋转方向指示对第一角度范围的上下阈值进行减少,则可以是将第一角度范围的上下阈值分别减少该旋转角度,得到新的上下阈值,将新的上下阈值构成的角度范围确定为待展示的第二角度范围。If the current direction of rotation instruction decreases the upper and lower thresholds of the first angle range, the upper and lower thresholds of the first angle range may be reduced by the rotation angle to obtain a new upper and lower threshold, and the angle range formed by the new upper and lower thresholds may be determined. Is the second angle range to be shown.
在确定出了第二角度范围后,可以根据预先保存的每个后台应用的图标对应的角度,识别位于该第二角度范围的每个第四后台应用的图标;也就是确定出了待展示的第四后台应用的图标。After the second angle range is determined, the icon of each fourth background application located in the second angle range can be identified according to the angle corresponding to the icon of each background application saved in advance; that is, the to-be-displayed The fourth background application icon.
在确定出了待展示的第四后台应用的图标后,就可以根据每个第四后台应用的图标,对当前展示的每个第三后台应用的图标进行更新。After the icons of the fourth background applications to be displayed are determined, the icons of each third background application currently displayed can be updated according to the icons of each fourth background application.
第四后台应用的图标可以在目标环形展示区域中任意展示,较优地,可以是根据每个第四后台应用的图标对应的角度,按照角度由小至大,或者由大至小,在目标环形展示区域中的每个展示位置上按顺序依次进行展示。The icon of the fourth background application can be arbitrarily displayed in the target circular display area. Preferably, it can be according to the angle corresponding to each icon of the fourth background application, from small to large according to the angle, or from large to small. Each placement in the circular display area is displayed in order.
为了保证在转动时,终端根据优先级将每个后台应用的图标展示出来,终端中预先保存的每个位置对应的角度与优先级的对应关系可以是:图标对应的角度越大,该图标对应的后台应用的优先级越大,或图标对应的角度越大,该图标对应的后台应用的优先级越小。In order to ensure that when the terminal is rotated, the terminal displays the icons of each background application according to the priority, the corresponding relationship between the angle and the priority of each position stored in the terminal in advance may be: the larger the angle corresponding to the icon, the more the icon corresponds The greater the priority of the background application, or the larger the angle corresponding to the icon, the smaller the priority of the background application corresponding to the icon.
实施例11:Example 11:
为了使每个隐藏位置组中的图标可以全部展示出来,实现有规律地展示图标,在上述各实施例的基础上,在本发明其中一可选实施例中,在根据预先保 存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标之前,所述方法还包括:In order to make all the icons in each hidden position group be displayed and achieve the regular display of the icons, based on the above embodiments, in an optional embodiment of the present invention, in each Before the angle corresponding to the icon of the application, before identifying the icon of each fourth background application located in the second angle range, the method further includes:
根据每个隐藏位置组对应的角度范围,判断是否存在与第二角度范围不完全重叠的目标隐藏位置组;Judging whether there is a target hidden position group that does not completely overlap the second angular range according to the angular range corresponding to each hidden position group;
如果是,则根据目标隐藏位置组对应的角度范围对第二角度范围进行更新,其中,不存在与更新后的第二角度范围不完全重叠的目标隐藏位置组。If so, the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
在本发明其中一可选实施例中,终端中保存有每个隐藏位置组对应的角度范围,在确定待展示的第四后台应用的图标时,可以考虑是否能够将隐藏位置组中的全部的图标展示出来,如果否,则可以对待展示的第二角度范围进行更新,具体的可以是根据每个隐藏位置组对应的角度范围,判断是否存在与第二角度范围不完全重叠的目标隐藏位置组;如果存在,终端确定出与第二角度范围不完全重叠的目标隐藏位置组,然后根据目标隐藏位置组对应的角度范围对第二角度范围进行更新,其中,不存在与更新后的第二角度范围不完全重叠的目标隐藏位置组,更新后的第二角度范围的区间差值与未更新的第二角度范围的区间差值相同。In an optional embodiment of the present invention, the angle range corresponding to each hidden position group is stored in the terminal. When determining the icon of the fourth background application to be displayed, it can be considered whether all of the hidden position groups can be displayed. The icon is displayed. If not, the second angle range to be displayed can be updated. Specifically, it can be determined whether there is a target hidden position group that does not completely overlap the second angle range according to the angle range corresponding to each hidden position group. ; If it exists, the terminal determines a target hidden position group that does not completely overlap with the second angle range, and then updates the second angle range according to the angle range corresponding to the target hidden position group, where there is no second angle after the update For the target hidden position group whose ranges do not completely overlap, the interval difference value of the updated second angle range is the same as the interval difference value of the second angle range that is not updated.
目标隐藏位置组与第二角度存在重叠,且与第二角度范围不完全重叠,假设第二角度范围为170-350度,存在某个隐藏位置组的角度范围为300-360度,300-360度与70-350度存在重叠,且不完全重叠,则该300-360度对应的隐藏位置组称为目标隐藏位置组。在针对第二角度范围为170-350度进行更新,可以将第二角度范围更新为180-360度。The target hidden position group overlaps with the second angle and does not completely overlap with the second angle range. It is assumed that the second angle range is 170-350 degrees, and the angle range where a certain hidden position group exists is 300-360 degrees, 300-360. There is an overlap between the degree and 70-350 degrees, and it does not completely overlap, then the hidden position group corresponding to the 300-360 degree is called the target hidden position group. After updating for the second angle range of 170-350 degrees, the second angle range can be updated to 180-360 degrees.
如图2所示,实线部分的内环展示区域中包括5个展示位置,外环展示区域中包括9个展示位置,可以理解为数字越大,对应的后台应用的优先级越低。在接收到对后台应用的展示请求时,按照后台应用的优先级由高至低的顺序,内环展示区域展示排序为1-5的5个第一后台应用的图标,外环展示区域展示排序在6-15的9个第一后台应用的图标。虚线中的隐藏区域可以隐藏优先级排序在15及之后的第二后台应用的图标。每个隐藏区域包括的环形隐藏区域 的数量为2,与目标环形展示区域中包括的环形展示区域的数量相同。隐藏区域根据预设的角度划分为至少两个隐藏位置组,图2中的15、16、17所在的隐藏位置组成一个隐藏位置组,18、19、20所在的隐藏位置组成一个隐藏位置组,21、22所在的隐藏位置组成一个隐藏位置组,23、24、25所在的隐藏位置组成一个隐藏位置组,26、27、28所在的隐藏位置组成一个隐藏位置组。每个隐藏位置组中的隐藏位置有其对应的优先级,可以是针对每个隐藏位置组,内环隐藏区域的优先级大于外环隐藏区域的优先级。As shown in FIG. 2, the inner ring display area of the solid line portion includes 5 placement locations, and the outer ring display area includes 9 placement locations. It can be understood that the larger the number, the lower the priority of the corresponding background application. When receiving a display request for a background application, in the order of the background application's priority from highest to lowest, the inner ring display area displays the five first background application icons ranked 1-5, and the outer ring display area displays the sort 9 first icons of background apps in 6-15. The hidden area in the dashed line can hide the icons of the second background application with a priority order of 15 and later. The number of circular hidden areas included in each hidden area is two, which is the same as the number of circular display areas included in the target circular display area. The hidden area is divided into at least two hidden position groups according to a preset angle. The hidden positions at 15, 16, and 17 in FIG. 2 form a hidden position group, and the hidden positions at 18, 19, and 20 form a hidden position group. The hidden locations where 21, 22 are located form a hidden location group, the hidden locations where 23, 24, 25 are located constitute a hidden location group, and the hidden locations where 26, 27, 28 are located constitute a hidden location group. The hidden position in each hidden position group has its corresponding priority. For each hidden position group, the priority of the hidden area of the inner ring is greater than the priority of the hidden area of the outer ring.
用户对目标环形展示区域进行顺时针旋转,旋转角度大概在90度左右,将隐藏区域中的隐藏的第二后台应用的图标展示出来,如图2所示,将隐藏的排序在15-22的后台应用的图标展示出来了。The user rotates the target circular display area clockwise, and the rotation angle is about 90 degrees. The icon of the hidden second background application in the hidden area is displayed, as shown in FIG. 2, and the hidden order is in the range of 15-22. The background application icon is displayed.
实施例12:Example 12:
图3是根据本发明其中一实施例的一种应用的展示装置的示意图,所述装置包括:FIG. 3 is a schematic diagram of an application display device according to an embodiment of the present invention. The device includes:
接收模块31,设置为接收对后台应用的展示请求;The receiving module 31 is configured to receive a display request for a background application;
展示模块32,设置为在目标环形展示区域中展示第一后台应用的图标。The display module 32 is configured to display the icon of the first background application in the target circular display area.
在一个可选实施例中,所述展示模块32,还设置为根据预先保存的所有的环形展示区域中能够展示的图标的第一数量,判断待展示的第二数量的后台应用的图标是否能够全部被展示;In an optional embodiment, the display module 32 is further configured to determine, based on the first number of icons that can be displayed in all the circular display areas that are stored in advance, whether the second number of icons of the background application to be displayed can All displayed
如果是,则将待展示的每个后台应用作为第一后台应用;If yes, use each background application to be displayed as the first background application;
如果否,根据每个后台应用的优先级,在第二数量的后台应用中选取第一数量的后台应用作为第一后台应用。If not, according to the priority of each background application, a first number of background applications is selected as the first background application from the second number of background applications.
在一个可选实施例中,如果终端预先保存的环形展示区域包括内环展示区域和外环展示区域,且所述第二数量的后台应用的图标能够全部被展示,所述展示模块32,还设置为判断待展示的后台应用的第二数量是否不大于预先保存的内环展示区域中能够展示的图标的第三数量;In an optional embodiment, if the ring display area saved in advance by the terminal includes an inner ring display area and an outer ring display area, and the icons of the second number of background applications can all be displayed, the display module 32, and Set to determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
如果是,则将内环展示区域作为目标环形展示区域;If yes, use the inner ring display area as the target ring display area;
如果否,则将内环展示区域和外环展示区域作为目标环形展示区域。If not, use the inner ring display area and the outer ring display area as the target ring display area.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,所述展示模块32,还设置为将预先保存的所有的环形展示区域作为目标环形展示区域。In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, the display module 32 is further configured to use all the circular display areas saved in advance as target circular display areas.
在一个可选实施例中,所述展示模块32,具体设置为根据每个第一后台应用的优先级和该目标环形展示区域中的每个展示位置的优先级,确定每个第一后台应用对应的目标展示位置,其中第一后台应用的优先级越高,其对应的目标展示位置的优先级越高;In an optional embodiment, the display module 32 is specifically configured to determine each first background application according to the priority of each first background application and the priority of each placement in the target circular display area. The corresponding target placement, where the higher the priority of the first background application, the higher the priority of the corresponding target placement;
针对每个第一后台应用,根据确定的该第一后台应用对应的目标展示位置,在该对应的目标展示位置上展示该后台应用的图标。For each first background application, according to the determined target placement corresponding to the first background application, the icon of the background application is displayed on the corresponding target placement.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,所述装置还包括:In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, the device further includes:
隐藏模块33,设置为确定待展示的第二数量的后台应用中除所述第一数量之外的未被展示的第二后台应用,并确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置,将所述第二后台应用的图标在该隐藏位置进行隐藏。The hiding module 33 is configured to determine a second background application that is not displayed except the first number of the second number of background applications to be displayed, and determine that an icon of the second background application is in a target hidden area. The corresponding hidden position hides the icon of the second background application at the hidden position.
在一个可选实施例中,所述隐藏模块33,还设置为根据预先保存的每个隐藏区域的优先级,每个隐藏区域中能够隐藏的图标的第四数量,以及第二后台应用的第五数量,确定目标隐藏区域,其中,每个隐藏区域中包含的环形隐藏区域的数量和目标环形展示区域中包含的环形展示区域的数量相同。In an optional embodiment, the hiding module 33 is further configured to set a fourth number of icons that can be hidden in each hidden area according to the priority of each hidden area that is saved in advance, and the number of the second background application. Five numbers determine the target hidden area, where the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
在一个可选实施例中,如果目标环形展示区域包括至少两个环形展示区域,所述隐藏模块,具体设置为根据预先保存的每个目标隐藏区域的优先级,以及根据每个目标隐藏区域中的每个隐藏位置组的优先级,按照隐藏位置组的优先级由高至低的顺序依次针对每个隐藏位置组进行如下步骤:其中,每个目标隐藏区域根据预设的角度范围划分为至少两个子区域,将每个子区域中包括的隐藏位置作为一个隐藏位置组:In an optional embodiment, if the target circular display area includes at least two circular display areas, the hiding module is specifically set according to the priority of each target hidden area saved in advance, and according to each target hidden area. The priority of each hidden position group is as follows in the order of the priority of the hidden position group from high to low for each hidden position group: wherein each target hidden area is divided into at least according to a preset angle range Two subareas, with the hidden locations included in each subarea as a hidden location group:
确定是否存在未被确定隐藏位置的第二后台应用;Determining whether there is a second background application for which the hidden position has not been determined;
如果是,则根据该隐藏位置组中能够隐藏的图标的第六数量,以及每个未确定隐藏位置的第二后台应用的优先级,在每个未确定隐藏位置的第二后台应用中选取目标第二后台应用;If yes, then select a target in each second background application with no hidden position determined according to the sixth number of icons that can be hidden in the hidden position group and the priority of each second background application with no hidden position determined Second background application;
根据选取的每个目标第二后台应用的优先级,以及该隐藏位置组中的每个隐藏位置的优先级,确定每个目标第二后台应用对应的隐藏位置,其中,目标第二后台应用的优先级越高,其对应的隐藏位置的优先级越高。The hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
在一个可选实施例中,所述装置还包括:In an optional embodiment, the apparatus further includes:
保存模块34,设置为针对每个后台应用的图标,保存其对应的位置的角度。The saving module 34 is configured to save, for each icon of the background application, the angle of its corresponding position.
在一个可选实施例中,所述接收模块31,还设置为接收对目标环形展示区域的旋转操作;In an optional embodiment, the receiving module 31 is further configured to receive a rotation operation on a target circular display area;
所述展示模块32,还设置为确定所述旋转操作的旋转角度和旋转方向;The display module 32 is further configured to determine a rotation angle and a rotation direction of the rotation operation;
根据预先保存的每个后台应用的图标对应的角度,确定目标环形展示区域中当前展示的第三后台应用的图标构成的第一角度范围;Determining a first angle range formed by the icon of the third background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application saved in advance;
根据所述第一角度范围、所述旋转方向和旋转角度,确定待展示的第二角度范围;Determining a second angle range to be displayed according to the first angle range, the rotation direction, and the rotation angle;
根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标;Identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance;
根据每个第四后台应用的图标对当前展示的每个第三后台应用的图标进行更新。Update the icon of each third background application currently displayed according to the icon of each fourth background application.
在一个可选实施例中,所述展示模块32,还设置为在根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标之前,根据每个隐藏位置组对应的角度范围,判断是否存在与第二角度范围不完全重叠的目标隐藏位置组;In an optional embodiment, the display module 32 is further configured to identify the icon of each fourth background application located in the second angle range according to an angle corresponding to the icon of each background application that is saved in advance. , According to the angle range corresponding to each hidden position group, determine whether there is a target hidden position group that does not completely overlap with the second angle range;
如果是,则根据目标隐藏位置组对应的角度范围对第二角度范围进行更新,其中,不存在与更新后的第二角度范围不完全重叠的目标隐藏位置组。If so, the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
实施例13:Example 13:
图4是根据本发明其中一实施例的一种终端的示意图,包括:处理器41、通信接口42、存储器43和通信总线44,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;FIG. 4 is a schematic diagram of a terminal according to an embodiment of the present invention, including: a processor 41, a communication interface 42, a memory 43, and a communication bus 44. The processor, the communication interface, and the memory complete each other through the communication bus. Communication
所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行以下步骤:A computer program is stored in the memory, and when the program is executed by the processor, the processor causes the processor to perform the following steps:
接收对后台应用的展示请求;Receiving a display request for a background application;
在目标环形展示区域中展示第一后台应用的图标。The icon of the first background application is displayed in the target circular display area.
在一个可选实施例中,在目标环形展示区域中展示第一后台应用的图标之前,根据预先保存的所有的环形展示区域中能够展示的图标的第一数量,判断待展示的第二数量的后台应用的图标是否能够全部被展示;In an optional embodiment, before the icons of the first background application are displayed in the target circular display area, the second number of icons to be displayed is determined according to the first number of icons that can be displayed in all the circular display areas that are saved in advance. Whether the background application icons can all be displayed;
如果是,则将待展示的每个后台应用作为第一后台应用;If yes, use each background application to be displayed as the first background application;
如果否,根据每个后台应用的优先级,在第二数量的后台应用中选取第一数量的后台应用作为第一后台应用。If not, according to the priority of each background application, a first number of background applications is selected as the first background application from the second number of background applications.
在一个可选实施例中,如果终端预先保存的环形展示区域包括内环展示区域和外环展示区域,且所述第二数量的后台应用的图标能够全部被展示,所述在目标环形展示区域中展示第一后台应用的图标之前,判断待展示的后台应用的第二数量是否不大于预先保存的内环展示区域中能够展示的图标的第三数量;In an optional embodiment, if the circular display area saved in advance by the terminal includes an inner display area and an outer display area, and all the icons of the second number of background applications can be displayed, the target display area is displayed in the target area. Before displaying the icons of the first background application in the middle, determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
如果是,则将内环展示区域作为目标环形展示区域;If yes, use the inner ring display area as the target ring display area;
如果否,则将内环展示区域和外环展示区域作为目标环形展示区域。If not, use the inner ring display area and the outer ring display area as the target ring display area.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,所述在目标环形展示区域中展示第一后台应用的图标之前,将预先保存的所有的环形展示区域作为目标环形展示区域。In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, before displaying the icons of the first background application in the target ring display area, all the ring displays will be saved in advance. The area serves as the target circular display area.
在一个可选实施例中,在目标环形展示区域中展示第一后台应用的图标包括:In an optional embodiment, displaying the icon of the first background application in the target circular display area includes:
根据每个第一后台应用的优先级和该目标环形展示区域中的每个展示位 置的优先级,确定每个第一后台应用对应的目标展示位置,其中第一后台应用的优先级越高,其对应的目标展示位置的优先级越高;Determine the target placement corresponding to each first background application according to the priority of each first background application and the priority of each placement in the target circular display area, where the priority of the first background application is higher, The higher the priority of its corresponding target placements;
针对每个第一后台应用,根据确定的该第一后台应用对应的目标展示位置,在该对应的目标展示位置上展示该后台应用的图标。For each first background application, according to the determined target placement corresponding to the first background application, the icon of the background application is displayed on the corresponding target placement.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,确定待展示的第二数量的后台应用中除所述第一数量之外的未被展示的第二后台应用,并确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置,将所述第二后台应用的图标在该隐藏位置进行隐藏。In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, it is determined that the second number of background applications to be displayed, except the first number, are not displayed. Two background applications, and determine the corresponding hidden position of the icon of the second background application in the target hidden area, and hide the icon of the second background application at the hidden position.
在一个可选实施例中,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置之前,根据预先保存的每个隐藏区域的优先级,每个隐藏区域中能够隐藏的图标的第四数量,以及第二后台应用的第五数量,确定目标隐藏区域,其中,每个隐藏区域中包含的环形隐藏区域的数量和目标环形展示区域中包含的环形展示区域的数量相同。In an optional embodiment, before determining the corresponding hidden position of the icon of the second background application in the target hidden area, according to the priority of each hidden area that is saved in advance, the hidden area in each hidden area can be hidden. The fourth number of icons and the fifth number of the second background application determine the target hidden area, where the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
在一个可选实施例中,如果目标环形展示区域包括至少两个环形展示区域,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置包括:In an optional embodiment, if the target circular display area includes at least two circular display areas, the determining a corresponding hidden position of the icon of the second background application in the target hidden area includes:
根据预先保存的每个目标隐藏区域的优先级,以及根据每个目标隐藏区域中的每个隐藏位置组的优先级,按照隐藏位置组的优先级由高至低的顺序依次针对每个隐藏位置组进行如下步骤:其中,每个目标隐藏区域根据预设的角度范围划分为至少两个子区域,将每个子区域中包括的隐藏位置作为一个隐藏位置组:According to the priority of each target hidden area saved in advance, and according to the priority of each hidden location group in each target hidden area, according to the priority of the hidden location group from high to low in order for each hidden location The group performs the following steps: wherein each target hidden area is divided into at least two sub-areas according to a preset angle range, and the hidden position included in each sub-area is used as a hidden position group:
确定是否存在未被确定隐藏位置的第二后台应用;Determining whether there is a second background application for which the hidden position has not been determined;
如果是,则根据该隐藏位置组中能够隐藏的图标的第六数量,以及每个未确定隐藏位置的第二后台应用的优先级,在每个未确定隐藏位置的第二后台应用中选取目标第二后台应用;If yes, then select a target in each second background application with no hidden position determined according to the sixth number of icons that can be hidden in the hidden position group and the priority of each second background application with no hidden position determined Second background application;
根据选取的每个目标第二后台应用的优先级,以及该隐藏位置组中的每个隐藏位置的优先级,确定每个目标第二后台应用对应的隐藏位置,其中,目标 第二后台应用的优先级越高,其对应的隐藏位置的优先级越高。The hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
在一个可选实施例中,针对每个后台应用的图标,保存其对应的位置的角度。In an optional embodiment, for each icon of the background application, the angle of its corresponding position is saved.
在一个可选实施例中,接收对目标环形展示区域的旋转操作,确定所述旋转操作的旋转角度和旋转方向;In an optional embodiment, receiving a rotation operation on the target circular display area, and determining a rotation angle and a rotation direction of the rotation operation;
根据预先保存的每个后台应用的图标对应的角度,确定目标环形展示区域中当前展示的第三后台应用的图标构成的第一角度范围;Determining a first angle range formed by the icon of the third background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application saved in advance;
根据所述第一角度范围、所述旋转方向和旋转角度,确定待展示的第二角度范围;Determining a second angle range to be displayed according to the first angle range, the rotation direction, and the rotation angle;
根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标;Identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance;
根据每个第四后台应用的图标对当前展示的每个第三后台应用的图标进行更新。Update the icon of each third background application currently displayed according to the icon of each fourth background application.
在一个可选实施例中,在根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标之前,根据每个隐藏位置组对应的角度范围,判断是否存在与第二角度范围不完全重叠的目标隐藏位置组;In an optional embodiment, before identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance, the corresponding Angle range, to determine whether there is a target hidden position group that does not completely overlap with the second angle range;
如果是,则根据目标隐藏位置组对应的角度范围对第二角度范围进行更新,其中,不存在与更新后的第二角度范围不完全重叠的目标隐藏位置组。If so, the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
上述各实施例中的终端提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned by the terminal in the foregoing embodiments may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, the figure only uses a thick line to represent, but it does not mean that there is only one bus or one type of bus.
通信接口,设置为上述终端与其他设备之间的通信。The communication interface is configured to communicate between the terminal and other devices.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可 以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选地,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include Random Access Memory (RAM), and may also include Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the foregoing processor.
上述处理器可以是通用处理器,包括中央处理器、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路、现场可编程门陈列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。The processor may be a general-purpose processor, including a central processor, a network processor (NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP), an application specific integrated circuit, a field programmable gate display, or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
实施例14:Example 14:
本发明实施例公开了一种计算机可读存储介质,其存储有可由电子设备执行的计算机程序,当所述程序在所述电子设备上运行时,使得所述电子设备执行以下步骤:An embodiment of the present invention discloses a computer-readable storage medium that stores a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device causes the electronic device to perform the following steps:
接收对后台应用的展示请求;Receiving a display request for a background application;
在目标环形展示区域中展示第一后台应用的图标。The icon of the first background application is displayed in the target circular display area.
在一个可选实施例中,在目标环形展示区域中展示第一后台应用的图标之前,根据预先保存的所有的环形展示区域中能够展示的图标的第一数量,判断待展示的第二数量的后台应用的图标是否能够全部被展示;In an optional embodiment, before the icons of the first background application are displayed in the target circular display area, the second number of icons to be displayed is determined according to the first number of icons that can be displayed in all the circular display areas that are saved in advance. Whether the background application icons can all be displayed;
如果是,则将待展示的每个后台应用作为第一后台应用;If yes, use each background application to be displayed as the first background application;
如果否,根据每个后台应用的优先级,在第二数量的后台应用中选取第一数量的后台应用作为第一后台应用。If not, according to the priority of each background application, a first number of background applications is selected as the first background application from the second number of background applications.
在一个可选实施例中,如果终端预先保存的环形展示区域包括内环展示区域和外环展示区域,且所述第二数量的后台应用的图标能够全部被展示,所述在目标环形展示区域中展示第一后台应用的图标之前,判断待展示的后台应用的第二数量是否不大于预先保存的内环展示区域中能够展示的图标的第三数量;In an optional embodiment, if the circular display area saved in advance by the terminal includes an inner display area and an outer display area, and all the icons of the second number of background applications can be displayed, the target display area is displayed in the target area. Before displaying the icons of the first background application in the middle, determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
如果是,则将内环展示区域作为目标环形展示区域;If yes, use the inner ring display area as the target ring display area;
如果否,则将内环展示区域和外环展示区域作为目标环形展示区域。If not, use the inner ring display area and the outer ring display area as the target ring display area.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被 展示,所述在目标环形展示区域中展示第一后台应用的图标之前,将预先保存的所有的环形展示区域作为目标环形展示区域。In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, before displaying the icons of the first background application in the target ring display area, all the ring displays will be saved in advance. The area serves as the target circular display area.
在一个可选实施例中,在目标环形展示区域中展示第一后台应用的图标包括:In an optional embodiment, displaying the icon of the first background application in the target circular display area includes:
根据每个第一后台应用的优先级和该目标环形展示区域中的每个展示位置的优先级,确定每个第一后台应用对应的目标展示位置,其中第一后台应用的优先级越高,其对应的目标展示位置的优先级越高;Determine the target placement corresponding to each first background application according to the priority of each first background application and the priority of each placement in the target circular display area, where the priority of the first background application is higher, The higher the priority of its corresponding target placements;
针对每个第一后台应用,根据确定的该第一后台应用对应的目标展示位置,在该对应的目标展示位置上展示该后台应用的图标。For each first background application, according to the determined target placement corresponding to the first background application, the icon of the background application is displayed on the corresponding target placement.
在一个可选实施例中,如果所述第二数量的后台应用的图标不能够全部被展示,确定待展示的第二数量的后台应用中除所述第一数量之外的未被展示的第二后台应用,并确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置,将所述第二后台应用的图标在该隐藏位置进行隐藏。In an optional embodiment, if the icons of the second number of background applications cannot all be displayed, it is determined that the second number of background applications to be displayed, except the first number, are not displayed. Two background applications, and determine the corresponding hidden position of the icon of the second background application in the target hidden area, and hide the icon of the second background application at the hidden position.
在一个可选实施例中,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置之前,根据预先保存的每个隐藏区域的优先级,每个隐藏区域中能够隐藏的图标的第四数量,以及第二后台应用的第五数量,确定目标隐藏区域,其中,每个隐藏区域中包含的环形隐藏区域的数量和目标环形展示区域中包含的环形展示区域的数量相同。In an optional embodiment, before determining the corresponding hidden position of the icon of the second background application in the target hidden area, according to the priority of each hidden area that is saved in advance, the hidden area in each hidden area can be hidden. The fourth number of icons and the fifth number of the second background application determine the target hidden area, where the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
在一个可选实施例中,如果目标环形展示区域包括至少两个环形展示区域,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置包括:In an optional embodiment, if the target circular display area includes at least two circular display areas, the determining a corresponding hidden position of the icon of the second background application in the target hidden area includes:
根据预先保存的每个目标隐藏区域的优先级,以及根据每个目标隐藏区域中的每个隐藏位置组的优先级,按照隐藏位置组的优先级由高至低的顺序依次针对每个隐藏位置组进行如下步骤:其中,每个目标隐藏区域根据预设的角度范围划分为至少两个子区域,将每个子区域中包括的隐藏位置作为一个隐藏位置组:According to the priority of each target hidden area saved in advance, and according to the priority of each hidden location group in each target hidden area, according to the priority of the hidden location group from high to low in order for each hidden location The group performs the following steps: wherein each target hidden area is divided into at least two sub-areas according to a preset angle range, and the hidden position included in each sub-area is used as a hidden position group:
确定是否存在未被确定隐藏位置的第二后台应用;Determining whether there is a second background application for which the hidden position has not been determined;
如果是,则根据该隐藏位置组中能够隐藏的图标的第六数量,以及每个未确定隐藏位置的第二后台应用的优先级,在每个未确定隐藏位置的第二后台应用中选取目标第二后台应用;If yes, then select a target in each second background application with no hidden position determined according to the sixth number of icons that can be hidden in the hidden position group and the priority of each second background application with no hidden position determined Second background application;
根据选取的每个目标第二后台应用的优先级,以及该隐藏位置组中的每个隐藏位置的优先级,确定每个目标第二后台应用对应的隐藏位置,其中,目标第二后台应用的优先级越高,其对应的隐藏位置的优先级越高。The hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
在一个可选实施例中,针对每个后台应用的图标,保存其对应的位置的角度。In an optional embodiment, for each icon of the background application, the angle of its corresponding position is saved.
在一个可选实施例中,接收对目标环形展示区域的旋转操作,确定所述旋转操作的旋转角度和旋转方向;In an optional embodiment, receiving a rotation operation on the target circular display area, and determining a rotation angle and a rotation direction of the rotation operation;
根据预先保存的每个后台应用的图标对应的角度,确定目标环形展示区域中当前展示的第三后台应用的图标构成的第一角度范围;Determining a first angle range formed by the icon of the third background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application saved in advance;
根据所述第一角度范围、所述旋转方向和旋转角度,确定待展示的第二角度范围;Determining a second angle range to be displayed according to the first angle range, the rotation direction, and the rotation angle;
根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标;Identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance;
根据每个第四后台应用的图标对当前展示的每个第三后台应用的图标进行更新。Update the icon of each third background application currently displayed according to the icon of each fourth background application.
在一个可选实施例中,在根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标之前,根据每个隐藏位置组对应的角度范围,判断是否存在与第二角度范围不完全重叠的目标隐藏位置组;In an optional embodiment, before identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance, the corresponding Angle range, to determine whether there is a target hidden position group that does not completely overlap with the second angle range;
如果是,则根据目标隐藏位置组对应的角度范围对第二角度范围进行更新,其中,不存在与更新后的第二角度范围不完全重叠的目标隐藏位置组。If so, the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
上述实施例中的计算机可读存储介质可以是电子设备中的处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器如软盘、硬盘、 磁带、磁光盘(MO)等、光学存储器如CD、DVD、BD、HVD等、以及半导体存储器如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD)等。The computer-readable storage medium in the above embodiments may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic storage such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc., Optical memory such as CD, DVD, BD, HVD, etc., and semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NAND, FLASH), solid state drive (SSD), etc.
对于系统/装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the system / apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the related parts, refer to the description of the method embodiment.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者一个操作与另一个实体或者另一个操作区分开来,而不一定要求或者暗示这些实体或者操作之间存在任何这种实际的关系或者顺序。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or one operation from another entity or another operation, and do not necessarily require or imply these entities. Or there is any such actual relationship or order between operations.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全应用实施例、或结合应用和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as a method, a system, or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Moreover, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present application. It should be understood that each process and / or block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, so that the instructions generated by the processor of the computer or other programmable data processing device are used to generate instructions Means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions The device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处 理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。Although the preferred embodiments of the present application have been described, those skilled in the art can make other changes and modifications to these embodiments once they know the basic inventive concepts. Therefore, the following claims are intended to be construed to include the preferred embodiments and all changes and modifications that fall within the scope of this application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application also intends to include these changes and variations.

Claims (24)

  1. 一种应用的展示方法,所述方法包括:An application display method, the method includes:
    接收对后台应用的展示请求;Receiving a display request for a background application;
    在目标环形展示区域中展示第一后台应用的图标。The icon of the first background application is displayed in the target circular display area.
  2. 如权利要求1所述的方法,其中,在目标环形展示区域中展示第一后台应用的图标之前,所述方法还包括:The method according to claim 1, wherein before displaying the icon of the first background application in the target circular display area, the method further comprises:
    根据预先保存的所有的环形展示区域中能够展示的图标的第一数量,判断待展示的第二数量的后台应用的图标是否能够全部被展示;Judging whether the second number of icons of the background application to be displayed can all be displayed according to the first number of icons that can be displayed in all the circular display areas saved in advance;
    如果是,则将待展示的每个后台应用作为第一后台应用;If yes, use each background application to be displayed as the first background application;
    如果否,根据每个后台应用的优先级,在第二数量的后台应用中选取第一数量的后台应用作为第一后台应用。If not, according to the priority of each background application, a first number of background applications is selected as the first background application from the second number of background applications.
  3. 如权利要求2所述的方法,其中,如果终端预先保存的环形展示区域包括内环展示区域和外环展示区域,且所述第二数量的后台应用的图标能够全部被展示,所述在目标环形展示区域中展示第一后台应用的图标之前,所述方法还包括:The method of claim 2, wherein if the ring display area saved in advance by the terminal includes an inner ring display area and an outer ring display area, and the icons of the second number of background applications can all be displayed, the target Before the icon of the first background application is displayed in the circular display area, the method further includes:
    判断待展示的后台应用的第二数量是否不大于预先保存的内环展示区域中能够展示的图标的第三数量;Determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
    如果是,则将内环展示区域作为目标环形展示区域;If yes, use the inner ring display area as the target ring display area;
    如果否,则将内环展示区域和外环展示区域作为目标环形展示区域。If not, use the inner ring display area and the outer ring display area as the target ring display area.
  4. 如权利要求2所述的方法,其中,如果所述第二数量的后台应用的图标不能够全部被展示,所述在目标环形展示区域中展示第一后台应用的图标之前,所述方法还包括:The method according to claim 2, wherein if the icons of the second number of background applications cannot all be displayed, before the icons of the first background application are displayed in the target circular display area, the method further comprises :
    将预先保存的所有的环形展示区域作为目标环形展示区域。Use all the circular display areas saved in advance as the target circular display area.
  5. 如权利要求1-4任一项所述的方法,其中,在目标环形展示区域中展示第一后台应用的图标包括:The method according to any one of claims 1-4, wherein displaying the icon of the first background application in the target circular display area comprises:
    根据每个第一后台应用的优先级和该目标环形展示区域中的每个展示位 置的优先级,确定每个第一后台应用对应的目标展示位置,其中第一后台应用的优先级越高,其对应的目标展示位置的优先级越高;Determine the target placement corresponding to each first background application according to the priority of each first background application and the priority of each placement in the target circular display area, where the priority of the first background application is higher, The higher the priority of its corresponding target placements;
    针对每个第一后台应用,根据确定的该第一后台应用对应的目标展示位置,在该对应的目标展示位置上展示该后台应用的图标。For each first background application, according to the determined target placement corresponding to the first background application, the icon of the background application is displayed on the corresponding target placement.
  6. 如权利要求2所述的方法,其中,如果所述第二数量的后台应用的图标不能够全部被展示,所述方法还包括:The method according to claim 2, wherein if the icons of the second number of background applications cannot all be displayed, the method further comprises:
    确定待展示的第二数量的后台应用中除所述第一数量之外的未被展示的第二后台应用,并确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置,将所述第二后台应用的图标在该隐藏位置进行隐藏。Determine a second background application that is not displayed except the first number of the second number of background applications to be displayed, and determine the corresponding hidden position of the icon of the second background application in the target hidden area, and The icon of the second background application is hidden at the hidden position.
  7. 如权利要求6所述的方法,其中,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置之前,所述方法还包括:The method according to claim 6, wherein before determining that the icon of the second background application is in a corresponding hidden position in the target hidden area, the method further comprises:
    根据预先保存的每个隐藏区域的优先级,每个隐藏区域中能够隐藏的图标的第四数量,以及第二后台应用的第五数量,确定目标隐藏区域,其中,每个隐藏区域中包含的环形隐藏区域的数量和目标环形展示区域中包含的环形展示区域的数量相同。Determine the target hidden area according to the priority of each hidden area that is saved in advance, the fourth number of icons that can be hidden in each hidden area, and the fifth number of second background applications, where each hidden area contains The number of circular hidden areas is the same as the number of circular display areas contained in the target circular display area.
  8. 如权利要求7所述的方法,其中,如果目标环形展示区域包括至少两个环形展示区域,所述确定所述第二后台应用的图标在目标隐藏区域中对应的隐藏位置包括:The method according to claim 7, wherein if the target circular display area includes at least two circular display areas, determining the corresponding hidden position of the icon of the second background application in the target hidden area comprises:
    根据预先保存的每个目标隐藏区域的优先级,以及根据每个目标隐藏区域中的每个隐藏位置组的优先级,按照隐藏位置组的优先级由高至低的顺序依次针对每个隐藏位置组进行如下步骤:其中,每个目标隐藏区域根据预设的角度范围划分为至少两个子区域,将每个子区域中包括的隐藏位置作为一个隐藏位置组:According to the priority of each target hidden area saved in advance, and according to the priority of each hidden location group in each target hidden area, according to the priority of the hidden location group from high to low in order for each hidden location The group performs the following steps: wherein each target hidden area is divided into at least two sub-areas according to a preset angle range, and the hidden position included in each sub-area is used as a hidden position group:
    确定是否存在未被确定隐藏位置的第二后台应用;Determining whether there is a second background application for which the hidden position has not been determined;
    如果是,则根据该隐藏位置组中能够隐藏的图标的第六数量,以及每个未确定隐藏位置的第二后台应用的优先级,在每个未确定隐藏位置的第二后台应 用中选取目标第二后台应用;If yes, then select a target in each second background application with no hidden position determined according to the sixth number of icons that can be hidden in the hidden position group and the priority of each second background application with no hidden position determined Second background application;
    根据选取的每个目标第二后台应用的优先级,以及该隐藏位置组中的每个隐藏位置的优先级,确定每个目标第二后台应用对应的隐藏位置,其中,目标第二后台应用的优先级越高,其对应的隐藏位置的优先级越高。The hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
  9. 如权利要求8所述的方法,其中,所述方法还包括:The method of claim 8, further comprising:
    针对每个后台应用的图标,保存其对应的位置的角度。For each background application icon, save the angle of its corresponding position.
  10. 如权利要求9所述的方法,其中,所述方法还包括:The method of claim 9, further comprising:
    接收对目标环形展示区域的旋转操作,确定所述旋转操作的旋转角度和旋转方向;Receiving a rotation operation on a target circular display area, and determining a rotation angle and a rotation direction of the rotation operation;
    根据预先保存的每个后台应用的图标对应的角度,确定目标环形展示区域中当前展示的第三后台应用的图标构成的第一角度范围;Determining a first angle range formed by the icon of the third background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application saved in advance;
    根据所述第一角度范围、所述旋转方向和旋转角度,确定待展示的第二角度范围;Determining a second angle range to be displayed according to the first angle range, the rotation direction, and the rotation angle;
    根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标;Identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance;
    根据每个第四后台应用的图标对当前展示的每个第三后台应用的图标进行更新。Update the icon of each third background application currently displayed according to the icon of each fourth background application.
  11. 如权利要求10所述的方法,其中,在根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标之前,所述方法还包括:The method according to claim 10, wherein before identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application saved in advance, the method further comprises :
    根据每个隐藏位置组对应的角度范围,判断是否存在与第二角度范围不完全重叠的目标隐藏位置组;Judging whether there is a target hidden position group that does not completely overlap the second angular range according to the angular range corresponding to each hidden position group;
    如果是,则根据目标隐藏位置组对应的角度范围对第二角度范围进行更新,其中,不存在与更新后的第二角度范围不完全重叠的目标隐藏位置组。If so, the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
  12. 一种应用的展示装置,所述装置包括:An application display device, the device includes:
    接收模块,设置为接收对后台应用的展示请求;A receiving module configured to receive a display request for a background application;
    展示模块,设置为在目标环形展示区域中展示第一后台应用的图标。A display module configured to display an icon of a first background application in a target circular display area.
  13. 如权利要求12所述的装置,其中,所述展示模块,还设置为根据预先保存的所有的环形展示区域中能够展示的图标的第一数量,判断待展示的第二数量的后台应用的图标是否能够全部被展示;The device according to claim 12, wherein the display module is further configured to determine a second number of icons of the background application to be displayed according to the first number of icons that can be displayed in all the circular display areas that are stored in advance. Whether they can all be displayed;
    如果是,则将待展示的每个后台应用作为第一后台应用;If yes, use each background application to be displayed as the first background application;
    如果否,根据每个后台应用的优先级,在第二数量的后台应用中选取第一数量的后台应用作为第一后台应用。If not, according to the priority of each background application, a first number of background applications is selected as the first background application from the second number of background applications.
  14. 如权利要求13所述的装置,其中,如果终端预先保存的环形展示区域包括内环展示区域和外环展示区域,且所述第二数量的后台应用的图标能够全部被展示,所述展示模块,还设置为判断待展示的后台应用的第二数量是否不大于预先保存的内环展示区域中能够展示的图标的第三数量;The device according to claim 13, wherein if the ring display area saved in advance by the terminal includes an inner ring display area and an outer ring display area, and the icons of the second number of background applications can all be displayed, the display module , It is also set to determine whether the second number of background applications to be displayed is not greater than the third number of icons that can be displayed in the pre-stored inner ring display area;
    如果是,则将内环展示区域作为目标环形展示区域;If yes, use the inner ring display area as the target ring display area;
    如果否,则将内环展示区域和外环展示区域作为目标环形展示区域。If not, use the inner ring display area and the outer ring display area as the target ring display area.
  15. 如权利要求13所述的装置,其中,如果所述第二数量的后台应用的图标不能够全部被展示,所述展示模块,还设置为将预先保存的所有的环形展示区域作为目标环形展示区域。The device according to claim 13, wherein if the icons of the second number of background applications cannot all be displayed, the display module is further configured to use all the circular display areas saved in advance as target circular display areas. .
  16. 如权利要求12-15任一项所述的装置,其中,所述展示模块,设置为根据每个第一后台应用的优先级和该目标环形展示区域中的每个展示位置的优先级,确定每个第一后台应用对应的目标展示位置,其中第一后台应用的优先级越高,其对应的目标展示位置的优先级越高;The device according to any one of claims 12 to 15, wherein the display module is configured to determine according to a priority of each first background application and a priority of each placement in the target circular display area. A target placement corresponding to each first background application, wherein the higher the priority of the first background application, the higher the priority of the corresponding target placement;
    针对每个第一后台应用,根据确定的该第一后台应用对应的目标展示位置,在该对应的目标展示位置上展示该后台应用的图标。For each first background application, according to the determined target placement corresponding to the first background application, the icon of the background application is displayed on the corresponding target placement.
  17. 如权利要求13所述的装置,其中,如果所述第二数量的后台应用的图标不能够全部被展示,所述装置还包括:The apparatus according to claim 13, wherein if the icons of the second number of background applications cannot all be displayed, the apparatus further comprises:
    隐藏模块,设置为确定待展示的第二数量的后台应用中除所述第一数量之外的未被展示的第二后台应用,并确定所述第二后台应用的图标在目标隐藏区 域中对应的隐藏位置,将所述第二后台应用的图标在该隐藏位置进行隐藏。A hiding module, configured to determine a second background application that is not displayed except the first number of the second number of background applications to be displayed, and determine that an icon of the second background application corresponds to a target hidden area To hide the icon of the second background application at the hidden position.
  18. 如权利要求17所述的装置,其中,所述隐藏模块,还设置为根据预先保存的每个隐藏区域的优先级,每个隐藏区域中能够隐藏的图标的第四数量,以及第二后台应用的第五数量,确定目标隐藏区域,其中,每个隐藏区域中包含的环形隐藏区域的数量和目标环形展示区域中包含的环形展示区域的数量相同。The device according to claim 17, wherein the hiding module is further set to a fourth number of icons that can be hidden in each hidden area according to a priority of each hidden area that is saved in advance, and a second background application The fifth number is to determine the target hidden area, wherein the number of circular hidden areas included in each hidden area is the same as the number of circular display areas contained in the target circular display area.
  19. 如权利要求18所述的装置,其中,如果目标环形展示区域包括至少两个环形展示区域,所述隐藏模块,具体设置为根据预先保存的每个目标隐藏区域的优先级,以及根据每个目标隐藏区域中的每个隐藏位置组的优先级,按照隐藏位置组的优先级由高至低的顺序依次针对每个隐藏位置组进行如下步骤:其中,每个目标隐藏区域根据预设的角度范围划分为至少两个子区域,将每个子区域中包括的隐藏位置作为一个隐藏位置组:The device according to claim 18, wherein if the target circular display area includes at least two circular display areas, the hiding module is specifically configured to hide the priority of each target according to the priority of each target, and according to each target The priority of each hidden location group in the hidden area is sequentially performed for each hidden location group in the order of the priority of the hidden location group from high to low: wherein each target hidden area is based on a preset angle range Divide it into at least two sub-regions, and use the hidden locations included in each sub-region as a hidden location group:
    确定是否存在未被确定隐藏位置的第二后台应用;Determining whether there is a second background application for which the hidden position has not been determined;
    如果是,则根据该隐藏位置组中能够隐藏的图标的第六数量,以及每个未确定隐藏位置的第二后台应用的优先级,在每个未确定隐藏位置的第二后台应用中选取目标第二后台应用;If yes, then select a target in each second background application with no hidden position determined according to the sixth number of icons that can be hidden in the hidden position group and the priority of each second background application with no hidden position determined Second background application;
    根据选取的每个目标第二后台应用的优先级,以及该隐藏位置组中的每个隐藏位置的优先级,确定每个目标第二后台应用对应的隐藏位置,其中,目标第二后台应用的优先级越高,其对应的隐藏位置的优先级越高。The hidden position corresponding to each target second background application is determined according to the priority of each selected target second background application and the priority of each hidden position in the hidden location group, where the target second background application's The higher the priority, the higher the priority of its corresponding hidden position.
  20. 如权利要求19所述的装置,其中,所述装置还包括:The apparatus of claim 19, wherein the apparatus further comprises:
    保存模块,设置为针对每个后台应用的图标,保存其对应的位置的角度。The saving module is set to save an angle of a corresponding position of an icon of each background application.
  21. 如权利要求20所述的装置,其中,所述接收模块,还设置为接收对目标环形展示区域的旋转操作;The apparatus according to claim 20, wherein the receiving module is further configured to receive a rotation operation on a target circular display area;
    所述展示模块,还设置为确定所述旋转操作的旋转角度和旋转方向;The display module is further configured to determine a rotation angle and a rotation direction of the rotation operation;
    根据预先保存的每个后台应用的图标对应的角度,确定目标环形展示区域中当前展示的第三后台应用的图标构成的第一角度范围;Determining a first angle range formed by the icon of the third background application currently displayed in the target circular display area according to the angle corresponding to the icon of each background application saved in advance;
    根据所述第一角度范围、所述旋转方向和旋转角度,确定待展示的第二角度范围;Determining a second angle range to be displayed according to the first angle range, the rotation direction, and the rotation angle;
    根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标;Identifying the icon of each fourth background application located in the second angle range according to the angle corresponding to the icon of each background application that is saved in advance;
    根据每个第四后台应用的图标对当前展示的每个第三后台应用的图标进行更新。Update the icon of each third background application currently displayed according to the icon of each fourth background application.
  22. 如权利要求21所述的装置,其中,所述展示模块,还设置为在根据预先保存的每个后台应用的图标对应的角度,识别位于所述第二角度范围的每个第四后台应用的图标之前,根据每个隐藏位置组对应的角度范围,判断是否存在与第二角度范围不完全重叠的目标隐藏位置组;The device according to claim 21, wherein the display module is further configured to identify the position of each fourth background application located in the second angle range according to an angle corresponding to an icon of each background application saved in advance. Before the icon, according to the angular range corresponding to each hidden position group, determine whether there is a target hidden position group that does not completely overlap the second angular range;
    如果是,则根据目标隐藏位置组对应的角度范围对第二角度范围进行更新,其中,不存在与更新后的第二角度范围不完全重叠的目标隐藏位置组。If so, the second angle range is updated according to the angle range corresponding to the target hidden position group, wherein there is no target hidden position group that does not completely overlap the updated second angle range.
  23. 一种终端,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;A terminal includes: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
    所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行权利要求1-11任一项所述方法的步骤。A computer program is stored in the memory, and when the program is executed by the processor, the processor is caused to execute the steps of the method according to any one of claims 1-11.
  24. 一种计算机可读存储介质,其存储有可由电子设备执行的计算机程序,当所述程序在所述电子设备上运行时,使得所述电子设备执行权利要求1-11任一项所述方法的步骤。A computer-readable storage medium that stores a computer program executable by an electronic device, and when the program runs on the electronic device, causes the electronic device to perform the method of any one of claims 1-11 step.
PCT/CN2018/120023 2018-08-02 2018-12-10 Application display method and apparatus, and terminal and storage medium WO2020024503A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810872048.XA CN109284156A (en) 2018-08-02 2018-08-02 Application display method and device, terminal and storage medium
CN201810872048.X 2018-08-02

Publications (1)

Publication Number Publication Date
WO2020024503A1 true WO2020024503A1 (en) 2020-02-06

Family

ID=65182622

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/120023 WO2020024503A1 (en) 2018-08-02 2018-12-10 Application display method and apparatus, and terminal and storage medium

Country Status (2)

Country Link
CN (1) CN109284156A (en)
WO (1) WO2020024503A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662584A (en) * 2012-04-01 2012-09-12 北京风灵创景科技有限公司 Multi-application execution method and mobile terminal
US20130181927A1 (en) * 2006-09-13 2013-07-18 Savant Systems, Llc Remote control unit for a programmable multimedia controller
CN103226434A (en) * 2013-04-16 2013-07-31 天脉聚源(北京)传媒科技有限公司 Method and device for exhibiting menu information
CN107784477A (en) * 2016-08-29 2018-03-09 阿里巴巴集团控股有限公司 Event methods of exhibiting, device and smart machine in smart machine

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199646A (en) * 2014-08-15 2014-12-10 小米科技有限责任公司 Application program displaying method, device and equipment
CN104965668B (en) * 2015-06-19 2018-03-27 北京奇虎科技有限公司 The method and apparatus of interface operation
CN105893136B (en) * 2016-04-29 2020-03-20 北京小米移动软件有限公司 Multitask management method and device
CN106406996A (en) * 2016-09-05 2017-02-15 努比亚技术有限公司 Management method and device of background application program
CN107992240A (en) * 2016-10-25 2018-05-04 中兴通讯股份有限公司 Application icon display control method, device and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130181927A1 (en) * 2006-09-13 2013-07-18 Savant Systems, Llc Remote control unit for a programmable multimedia controller
CN102662584A (en) * 2012-04-01 2012-09-12 北京风灵创景科技有限公司 Multi-application execution method and mobile terminal
CN103226434A (en) * 2013-04-16 2013-07-31 天脉聚源(北京)传媒科技有限公司 Method and device for exhibiting menu information
CN107784477A (en) * 2016-08-29 2018-03-09 阿里巴巴集团控股有限公司 Event methods of exhibiting, device and smart machine in smart machine

Also Published As

Publication number Publication date
CN109284156A (en) 2019-01-29

Similar Documents

Publication Publication Date Title
US20210132779A1 (en) Electronic device and method for configuring display thereof
WO2020025046A1 (en) Application display method and apparatus, terminal, and readable storage medium
US10627987B2 (en) Method for launching a second application using a first application icon in an electronic device
US10768681B2 (en) Electronic device and content display method thereof
CN110333818A (en) Processing method, device, equipment and the storage medium of split screen display available
CN103309575B (en) The method of display icon and terminal
CN110191045B (en) Information sharing method and device, terminal and readable storage medium
BR112015017825B1 (en) METHOD AND DEVICE FOR DISPLAYING AN ICON, AND COMPUTER READable STORAGE MEDIA
CN106293340A (en) A kind of information of mobile terminal reminding method and mobile terminal
US20140380213A1 (en) Location adjustment system and related method
CN105824542A (en) Method and apparatus for starting application functions
CN106775394B8 (en) Content revealing method, device and electronic equipment, storage medium
CN109164955B (en) Application display method and device, terminal and storage medium
CN107704155A (en) Application program image target methods of exhibiting, device, terminal and storage medium
WO2020024503A1 (en) Application display method and apparatus, and terminal and storage medium
WO2016115753A1 (en) Multi-system operation method, device, and terminal
CN109298812B (en) Application display method and device, terminal and storage medium
CN106850683A (en) The control method and mobile terminal of a kind of application program
WO2020024521A1 (en) Display method and device for screen, terminal, and readable storage medium
CN109284037B (en) Application display method and device, terminal and storage medium
CN109324855A (en) Application display method and device, terminal and storage medium
WO2019047423A1 (en) Icon display method and apparatus
CN106878977B (en) Telephone number calling method and mobile terminal
WO2020024520A1 (en) Application display method and apparatus, terminal, and storage medium
WO2020063152A1 (en) Music playing control method and apparatus, and household appliance, server and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18928242

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18928242

Country of ref document: EP

Kind code of ref document: A1