Movatterモバイル変換


[0]ホーム

URL:


CN111857513B - Background program control method and device and electronic equipment - Google Patents

Background program control method and device and electronic equipment
Download PDF

Info

Publication number
CN111857513B
CN111857513BCN202010693022.6ACN202010693022ACN111857513BCN 111857513 BCN111857513 BCN 111857513BCN 202010693022 ACN202010693022 ACN 202010693022ACN 111857513 BCN111857513 BCN 111857513B
Authority
CN
China
Prior art keywords
background
program
input
background program
programs
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010693022.6A
Other languages
Chinese (zh)
Other versions
CN111857513A (en
Inventor
杨学良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN202010693022.6ApriorityCriticalpatent/CN111857513B/en
Publication of CN111857513ApublicationCriticalpatent/CN111857513A/en
Priority to PCT/CN2021/106741prioritypatent/WO2022012664A1/en
Application grantedgrantedCritical
Publication of CN111857513BpublicationCriticalpatent/CN111857513B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种后台程序控制方法、装置和电子设备,属于通信技术领域。其中,后台程序控制方法包括:接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。本方案通过接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;能够实现依据用户所需调整后台程序的后台切换顺序,从而保证在后续的后台应用切换方案的实现过程中,用户能够预知当前程序的相邻程序,并且快速切换至自己所需的程序,提高切换效率。

Figure 202010693022

The present application discloses a background program control method, device and electronic device, which belong to the technical field of communication. The background program control method includes: receiving a first input from a user to a target background program; in response to the first input, adjusting the background switching sequence of N background programs; wherein, the target background program is the N background programs At least one of the programs, N is an integer greater than 1. In this solution, the user's first input to a target background program is received; in response to the first input, the background switching sequence of N background programs is adjusted; wherein, the target background program is at least one of the N background programs , N is an integer greater than 1; the background switching sequence of background programs can be adjusted according to the user's needs, so as to ensure that during the implementation of the subsequent background application switching scheme, the user can predict the adjacent programs of the current program, and quickly switch to Programs you need to improve switching efficiency.

Figure 202010693022

Description

Translated fromChinese
后台程序控制方法、装置和电子设备Background program control method, device and electronic device

技术领域technical field

本申请属于通信技术领域,具体涉及一种后台程序控制方法、装置和电子设备。The present application belongs to the field of communication technologies, and in particular relates to a background program control method, device and electronic device.

背景技术Background technique

目前,一般的电子设备都允许前台运行一个程序的同时,在后台同时运行至少一个程序,以保证后台程序能够在被需要时快速切换到前台进行运行,提升用户使用体验。At present, general electronic devices allow at least one program to run in the background while running one program in the foreground, so as to ensure that the background program can quickly switch to the foreground to run when needed, thereby improving user experience.

但是,在现有的后台程序切换方案中,发明人发现存在如下问题:However, in the existing background program switching solution, the inventor found that there are the following problems:

后台程序的切换几乎都是盲操作,在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次切换操作才能找到自己所需的应用,导致切换效率低。The switching of background programs is almost a blind operation. When the sorting interval between the background program required by the user and the current program is relatively large, the user needs to perform many switching operations to find the application he needs, resulting in low switching efficiency. .

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种后台程序控制方法、装置和电子设备,能够解决现有技术中在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次切换操作才能找到自己所需的应用,导致切换效率低的问题。The purpose of the embodiments of the present application is to provide a background program control method, device and electronic device, which can solve the problem in the prior art that when the sorting interval between the background program required by the user and the current program is relatively large, the user needs to execute the It takes many switching operations to find the desired application, which leads to the problem of low switching efficiency.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种后台程序控制方法,该方法包括:In a first aspect, an embodiment of the present application provides a background program control method, the method comprising:

接收用户对目标后台程序的第一输入;receiving the first input from the user to the target background program;

响应于所述第一输入,调整N个后台程序的后台切换顺序;In response to the first input, adjusting the background switching sequence of the N background programs;

其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。The target background program is at least one of the N background programs, and N is an integer greater than 1.

第二方面,本申请实施例提供了一种后台程序控制装置,该装置包括:In a second aspect, an embodiment of the present application provides a background program control device, the device comprising:

第一接收模块,用于接收用户对目标后台程序的第一输入;The first receiving module is used for receiving the first input of the user to the target background program;

第一调整模块,用于响应于所述第一输入,调整N个后台程序的后台切换顺序;a first adjustment module, configured to adjust the background switching sequence of the N background programs in response to the first input;

其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。The target background program is at least one of the N background programs, and N is an integer greater than 1.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.

在本申请实施例中,通过接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;能够实现依据用户所需调整后台程序的后台切换顺序,从而保证在后续的后台应用切换方案的实现过程中,用户能够预知当前程序的相邻程序,并且快速切换至自己所需的程序,提高切换效率,避免了在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次盲切换操作才能找到自己所需的应用。In the embodiment of the present application, by receiving the first input from the user to the target background program; in response to the first input, the background switching sequence of N background programs is adjusted; wherein, the target background program is the N background programs At least one of the programs, N is an integer greater than 1; it can adjust the background switching sequence of background programs according to the user's needs, so as to ensure that the user can predict the adjacent programs of the current program during the implementation of the subsequent background application switching scheme. , and quickly switch to the program you need, improve the switching efficiency, and avoid the need for the user to perform many blind switching operations when the sorting interval between the background program required by the user and the current program is relatively large. required application.

附图说明Description of drawings

图1是本申请实施例的后台程序控制方法流程示意图;1 is a schematic flowchart of a background program control method according to an embodiment of the present application;

图2是本申请实施例的后台切换顺序设置界面示意图;2 is a schematic diagram of a background switching sequence setting interface according to an embodiment of the present application;

图3是本申请实施例的第一输入示意图;3 is a schematic diagram of a first input of an embodiment of the present application;

图4是本申请实施例的滑动输入示意图;4 is a schematic diagram of sliding input according to an embodiment of the present application;

图5是本申请实施例的程序标识显示示意图;FIG. 5 is a schematic diagram showing a program identifier according to an embodiment of the present application;

图6是本申请实施例的提示信息以及程序标识显示示意图;6 is a schematic diagram showing prompt information and a program identifier in an embodiment of the present application;

图7是本申请实施例的后台程序控制装置结构示意图;7 is a schematic structural diagram of a background program control device according to an embodiment of the present application;

图8是本申请实施例的电子设备结构示意图一;FIG. 8 is a first structural schematic diagram of an electronic device according to an embodiment of the present application;

图9是本申请实施例的电子设备结构示意图二。FIG. 9 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体地实施例及其应用场景对本申请实施例提供的后台程序控制方法进行详细地说明。The background program control method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

本申请实施例提供的后台程序控制方法,如图1所示,包括:The background program control method provided by the embodiment of the present application, as shown in FIG. 1 , includes:

步骤11:接收用户对目标后台程序的第一输入。Step 11: Receive the user's first input to the target background program.

其中,所述第一输入可以是单独的一个输入,也可以是与其他输入相连接的输入,在此不作限定。第一输入可以具体为拖动输入、点击输入、长按输入等,第一输入也可以为第一操作。Wherein, the first input may be a single input, or may be an input connected with other inputs, which is not limited herein. The first input may specifically be a drag input, a click input, a long press input, or the like, and the first input may also be a first operation.

步骤12:响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。Step 12: In response to the first input, adjust the background switching sequence of N background programs; wherein, the target background program is at least one of the N background programs, and N is an integer greater than 1.

关于后台切换顺序是在后台界面切换后台程序的时候在不同的程序之间切换的顺序。About the background switching sequence is the sequence of switching between different programs when the background interface switches background programs.

这样可以为实现快速切换到用户所需应用提供基础,从而提高可用性和高效性。This provides the basis for a quick switch to the user's desired application, improving usability and efficiency.

关于步骤11和步骤12的具体实现,本申请实施例中提供以下三种示例:Regarding the specific implementation ofstep 11 andstep 12, the following three examples are provided in the embodiments of this application:

示例一,所述接收用户对目标后台程序的第一输入,包括:接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;其中,所述第一区域包括N个后台程序图标;所述调整N个后台程序的后台切换顺序,包括:调整所述目标后台程序图标在所述第一区域中的显示位置;其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后台程序的后台切换顺序一致。这样可以使得用户能够提前设置后台切换顺序,并且在后台切换顺序设置界面中进行设置不会引发其他的误操作,更加便于用户使用。Example 1, the receiving the user's first input to the target background program includes: receiving the user's first input to the target background program icon displayed in the first area in the background switching sequence setting interface; wherein, the first area including N background program icons; the adjusting the background switching sequence of the N background programs includes: adjusting the display position of the target background program icon in the first area; wherein, when adjusting the target background program icon After the position is displayed, the display sequence of the N background program icons in the first area is consistent with the background switching sequence of the N background programs corresponding to the N background program icons. In this way, the user can set the background switching sequence in advance, and setting in the background switching sequence setting interface will not cause other misoperations, which is more convenient for the user to use.

其中,后台切换顺序设置界面用于设定后台程序的后台切换顺序,以及允许进行顺序设定后台程序的个数和标识;具体地,第一区域具体可为图2中的区域a;此外,后台切换顺序设置界面还可以包括区域b和区域c,区域b用于设置区域a所能够容纳的后台程序图标的上限值,滑动滑块d可以实时调节;区域c用于提供候选的后台程序图标,这些后台程序图标对应的程序均支持预设操作切换,比如支持横滑切换;用户可以向区域c中的候选的后台程序图标输入第六输入,以将候选的后台程序图标拖至区域a中,参与后台切换顺序的调整;例如:选中区域c中的图标1,将图标1拖动到区域a中的任意位置,比如第一个图标之前,最后一个图之后,或者任两个图标之间插入。关于区域a、区域b和区域c在后台切换顺序设置界面中的位置可以依据用户输入进行调整。Wherein, the background switching sequence setting interface is used to set the background switching sequence of the background programs, and allows the number and identification of the background programs to be set in sequence; specifically, the first area can be the area a in FIG. 2; in addition, The background switching sequence setting interface can also include area b and area c, area b is used to set the upper limit of the background program icons that can be accommodated in area a, and the slider d can be adjusted in real time; area c is used to provide candidate background programs icon, the programs corresponding to these background program icons all support preset operation switching, such as supporting horizontal swipe switching; the user can input the sixth input to the candidate background program icon in the area c to drag the candidate background program icon to the area a , participate in the adjustment of the background switching sequence; for example: select icon 1 in area c, drag icon 1 to any position in area a, such as before the first icon, after the last image, or between any two icons inserted between. The positions of area a, area b and area c in the background switching sequence setting interface can be adjusted according to user input.

假设后台应用(即上述后台程序)切换的触发操作为横滑,则采用示例一的方案之后,横滑切换应用不再根据后台的排列顺序,而是根据上述调整后的后台切换顺序进行后台应用的切换;关于后台切换顺序,用户可以根据自己的习惯排列顺序自定义调整。具体地,当应用被打开后,后台可根据打开和使用顺序排列后台程序顺序,而横滑切换应用顺序优先依据用户自定义的顺序排列。关于横滑切换应用顺序中的应用数量也可以用户定义,也就是用户自己定义横滑切换的应用最多可以有多少个。更具体地,比如用户自定义的横滑切换应用顺序是:应用A→应用B→应用C→应用D,当这些应用打开后在横滑切换应用顺序中就会按照这个顺序排列,后续使用时用户就会知道应用B相邻的应用的身份标识,可以快速切换。也就是,可以快速切换到当前显示的程序的相邻程序。Assuming that the trigger operation for switching the background application (that is, the above background program) is a horizontal swipe, after adopting the solution of Example 1, the horizontal swipe switching application is no longer based on the background arrangement order, but the background application is performed according to the above adjusted background switching order. Switching; about the background switching sequence, users can customize and adjust the sequence according to their own habits. Specifically, when the application is opened, the background program sequence can be arranged according to the opening and use sequence, while the horizontal sliding switching application sequence is prioritized according to the user-defined sequence. The number of applications in the horizontal swipe switching application sequence can also be defined by the user, that is, the user can define the maximum number of horizontal swiping switching applications. More specifically, for example, the user-defined horizontal swipe switching application sequence is: application A → application B → application C → application D. When these applications are opened, they will be arranged in this order in the horizontal swiping switching application sequence. The user will know the identities of applications adjacent to application B, and can switch quickly. That is, it is possible to quickly switch to a program adjacent to the currently displayed program.

示例二,所述接收用户对目标后台程序的第一输入,包括:接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;其中,所述后台程序显示界面包括N个后台程序卡片;所述调整N个后台程序的后台切换顺序,包括:在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。Example 2, the receiving the user's first input to the target background program includes: receiving the user's first input of dragging the target background program card in the background program display interface to the target area; wherein the background program display interface includes: N background program cards; the adjusting the background switching sequence of the N background programs includes: in the target area, the i th background program card and the i+1 th background program card in the N background program cards In the case of the first area in between, control the distance from the i+1th background program card to the Nth background program card to move one background program card in the first direction, or control the first background program card to the ith background program card. The distance that each background program card moves one background program card according to the second direction, i is a positive integer, i<N; the target area is the second background program card where the jth background program card among the N background program cards is located. In the case of an area, control the distance from the jth background program card to the Nth background program card to move one background program card in the first direction, or control the first background program card to the jth background program card according to the second direction. The distance to move a background program card in the direction, j is a positive integer, j≤N.

也就是,顺序调整过程中,控制调整顺序后位于目标后台程序卡片之后的后台程序卡片从当前位置向后移动,或者,顺序调整过程中,控制调整顺序后位于目标后台程序卡片之前的后台程序卡片从当前位置向前移动。That is, during the sequence adjustment process, the background program card located after the target background program card after the control adjustment sequence moves backward from the current position, or, during the sequence adjustment process, the background program card located before the target background program card after the control sequence adjustment is controlled. Move forward from the current position.

本示例的方案可以使得用户在后台程序显示界面中直接进行设置,而不需要用户单独进入一个设置界面进行设置,更加简便,方便用户操作。The solution of this example enables the user to directly set the setting in the background program display interface, without requiring the user to enter a setting interface separately for setting, which is more convenient and convenient for the user to operate.

关于按照第一方向移动具体可以是向右移动,按照第二方向移动具体可以是向左移动。The movement according to the first direction may specifically be moving to the right, and the movement according to the second direction may specifically be moving to the left.

其中,第i个后台程序卡片是N个后台程序卡片中的任一个,第j个后台程序卡片是N个后台程序卡片中的任一个。后台程序显示界面是指显示后台程序缩略图,可用于对后台程序缩略图进行操作的界面,也可理解为后台多任务界面。The ith background program card is any one of the N background program cards, and the jth background program card is any one of the N background program cards. The background program display interface refers to an interface that displays background program thumbnails and can be used to operate the background program thumbnails, and can also be understood as a background multitasking interface.

关于示例二,具体可以是长按选中后台程序显示界面中的目标后台程序卡片,然后拖动进行顺序调整;也就是,在后台多任务中长按目标应用缩略图,直接可以拖动进行自定义排序;排序后后台切换应用和后台多任务的应用顺序不再是以打开应用时间的顺序排列的,而是以用户自定义的顺序排列的。Regarding example 2, you can long-press to select the target background program card in the background program display interface, and then drag to adjust the order; that is, long-press the target application thumbnail in the background multitasking, and you can directly drag it to customize Sorting: After sorting, the application order of background switching applications and background multitasking is no longer in the order of opening the application time, but in a user-defined order.

进一步的,在选中目标后台程序卡片之后,为了方便进行顺序调整,可以将各个后台程序卡片缩小进行显示,待目标后台程序卡片的位置确定之后,后台程序卡片再恢复大小;更进一步的,可以在当前界面的中心位置显示目标后台程序卡片,也就是聚焦在排序后的目标后台程序卡片。Further, after selecting the target background program card, in order to facilitate the order adjustment, each background program card can be reduced and displayed, and after the position of the target background program card is determined, the background program card will be restored to size; The target background program card is displayed in the center of the current interface, that is, the target background program card is focused on after sorting.

具体地,可参见图3,用户手指长按后台多任务的其中一个卡片;即选中目标后台程序卡片e;长按后触发排序功能,后台程序卡片缩小使得界面显示更多程序卡片,方便排序;然后,用户手指可拖动目标后台程序卡片至指定位置f,目标后台程序卡片插入该指定位置f,其他后台程序卡片进行补位处理;最后,用户手指离开后后台程序卡片恢复原来大小进行显示,并聚焦到所述指定位置f。指定位置f可以是用户所需位置。Specifically, referring to Fig. 3, the user's finger long presses one of the cards of the background multitasking; that is, the target background program card e is selected; after long pressing, the sorting function is triggered, and the background program card is reduced so that the interface displays more program cards, which is convenient for sorting; Then, the user's finger can drag the target background program card to the designated position f, the target background program card is inserted into the designated position f, and other background program cards are filled; finally, after the user's finger leaves, the background program card is restored to its original size for display. and focus to the specified position f. The specified position f may be the position desired by the user.

由上可知,示例二的方案是用户有需求的话可以直接在后台程序卡片显示的界面进行操作,直接拖到即可调整后台切换顺序,实现所拖即所得。It can be seen from the above that the solution of Example 2 is that if the user has a demand, they can directly operate on the interface displayed by the background program card, and directly drag it to adjust the background switching order, so that what you drag is what you get.

示例三,后台程序显示界面包括后台切换顺序设置区域;所述接收用户对目标后台程序的第一输入,包括:接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;其中,所述后台程序显示界面包括N个后台程序卡片;所述调整N个后台程序的后台切换顺序,包括:在所述后台切换顺序设置区域,显示N个后台程序标识;其中,每个后台程序标识指示一个后台程序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。Example 3: The background program display interface includes a background switching sequence setting area; the receiving the user's first input to the target background program includes: receiving the user's N background program cards in the background program display interface and the background switching The sliding input on the sequence setting area, the sliding input includes N sliding sub-inputs; wherein, the background program display interface includes N background program cards; the adjusting the background switching sequence of the N background programs includes: Described background switching sequence setting area, displays N background program marks; wherein, each background program mark indicates a background program; the display position of mth background program mark is determined according to the sliding end position of the mth sliding sub-input, m is a positive integer, and the m-th background program identifier is any one of the N background program identifiers; after setting the display order of the N background program identifiers, all the background switching order setting area The display sequence of the N background program identifiers is consistent with the background switching sequence of the N background programs corresponding to the N background program identifiers.

本示例的方案可以使得用户在后台程序显示界面中直接触发进行设置,而不需要用户单独进入一个设置界面进行设置,更加简便,方便用户操作。The solution of this example enables the user to directly trigger the setting in the background program display interface, without requiring the user to enter a setting interface to perform the setting, which is more convenient and convenient for the user to operate.

其中,所述滑动输入包括N次滑动子输入,每次滑动子输入分别是从每个后台程序卡片滑向后台切换顺序设置区域的一个位置;关于后台程序标识是基于用对任一个卡片的拖动操作,生成的标识,标识可以体现为图片、文字、符号等形式。第m个后台程序标识是N个后台程序标识中的任一个。Wherein, the sliding input includes N sliding sub-inputs, and each sliding sub-input is a position in the background switching sequence setting area that is slid from each background program card; the background program identification is based on dragging any card with The generated logo can be embodied in the form of pictures, text, symbols and so on. The m-th background program identifier is any one of the N background program identifiers.

在接收用户对目标后台程序的第一输入之前,还可以包括:接收用户的第七输入,响应于所述第七输入,显示所述后台切换顺序设置区域;第七输入可以为针对一个后台程序卡片的长按操作。Before receiving the user's first input to the target background program, the method may further include: receiving a user's seventh input, and in response to the seventh input, displaying the background switching sequence setting area; the seventh input may be for a background program The long-press operation of the card.

具体地,后台切换顺序设置区域是响应于第七输入之后显示在后台显示界面上,以供用户进行设置,而不需要用户进入一个单独的设置界面,更加便于用户操作。后台显示界面也可理解为后台多任务界面。假设后台应用(即上述后台程序)切换的触发操作为横滑,则本示例的方案可以理解为自定义横滑切换应用的顺序并且设定横滑应用的数量;具体地,可以在在后台多任务界面长按一个缩略图后,即长按一个后台程序卡片后,后台一个区域高亮显示,即高亮显示所述后台切换顺序设置区域,用户可以把任意后台程序卡片拖到那个区域中,生成对应的后台程序标识;具体可以是拖到这个区域的后台程序卡片对应的应用就支持横滑切换应用,没有拖到这个区域的后台程序卡片对应的应用就不支持横滑切换应用,后续滑切换应用时就不显示该应用。这样用户就能自己定义常用的应用和顺序来横滑切换应用了。当用户没有拖动任何后台程序卡片到下方时,横滑切换应用可采用为后台的排序顺序,调整后后台切换顺序的执行优先级高于所述后台的排序顺序。Specifically, the background switching sequence setting area is displayed on the background display interface in response to the seventh input for the user to set, without requiring the user to enter a separate setting interface, which is more convenient for the user to operate. The background display interface can also be understood as a background multitasking interface. Assuming that the trigger operation of the background application (that is, the above background program) switching is horizontal swipe, the solution of this example can be understood as customizing the sequence of horizontal swiping switching applications and setting the number of horizontal swiping applications; After long-pressing a thumbnail on the task interface, that is, after long-pressing a background program card, an area in the background is highlighted, that is, the background switching sequence setting area is highlighted, and the user can drag any background program card to that area. Generate the corresponding background program ID; specifically, the application corresponding to the background program card dragged to this area supports the horizontal swipe switching application, and the application corresponding to the background program card that is not dragged to this area does not support the horizontal swiping switching application, and subsequent sliding The app is not displayed when switching apps. In this way, users can define their own frequently used applications and order to switch applications horizontally. When the user does not drag any background program card to the bottom, the horizontal sliding switching application can adopt the sorting order of the background, and the execution priority of the background switching order after adjustment is higher than the sorting order of the background.

具体可参见图4,用户手指长按后台多任务的其中一个后台程序卡片A;长按以后,多任务界面下方一个区域高亮,提示此区域是显示横滑切换应用编辑排序的区域;即提示此区域是后台切换顺序设置区域Z。后续用户将后台程序卡片A拖动到下方区域,则由卡片得到对应的后台程序标识A,比如图标,这样操作后后台多任务的顺序是不变的,而且应用依然是存在的,也就是后台的排序顺序是没有发生改变的;后续可以同之前的操作拖拽卡片到后台切换顺序设置区域,此区域的后台程序标识的数量和排序决定了横滑切换应用的数量和顺序,如后台切换顺序设置区域依次包含后台程序标识A、B、C和D,那么在后续横滑切换应用时,则按照这个顺序进行切换,例如由后台程序标识B对应的应用向左切换则为后台程序标识A对应的应用,由后台程序标识B对应的应用向右切换则为后台程序标识C对应的应用;关于后台程序标识A对应的应用向左滑动可以切换为后台程序标识D对应的应用,也可以不执行切换;进一步的,在上述拖拽操作结束后可以关闭上述区域的高亮,缩小后台程序标识,防止遮挡后台操作。For details, please refer to Figure 4. The user's finger long presses one of the background program cards A of the background multitasking; after long pressing, an area at the bottom of the multitasking interface is highlighted, indicating that this area is the area where the editing and sorting of the horizontal sliding switching application is displayed; that is, the prompt This area is the background switching order setting area Z. Subsequent users drag the background program card A to the lower area, and the corresponding background program ID A, such as an icon, will be obtained from the card. In this way, the sequence of background multitasking is unchanged after the operation, and the application still exists, that is, the background The sorting order of the swipe switch has not changed; you can drag and drop cards to the background switching order setting area with the previous operation. The number and order of background program IDs in this area determine the number and order of swipe switching applications, such as the background switching order. The setting area contains background program identifiers A, B, C, and D in turn. Then, when switching applications by swiping, the switching is performed in this order. For example, if the application corresponding to background program identifier B is switched to the left, it corresponds to background program identifier A. If the application corresponding to the background program identifier B is switched to the right, it is the application corresponding to the background program identifier C; about the application corresponding to the background program identifier A, swiping to the left can be switched to the application corresponding to the background program identifier D, or it may not be executed. Switching; further, after the above dragging operation is completed, the highlighting of the above area can be turned off, the background program logo can be reduced, and the background operation can be prevented from being blocked.

进一步的,本申请实施例中,所述方法还包括:接收用户的第三输入;响应于所述第三输入,显示M个后台程序的M个程序标识;接收用户对所述M个程序标识中的第一程序标识的第四输入;响应于所述第四输入,显示所述第一程序标识对应的后台程序的程序界面;其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数。Further, in the embodiment of the present application, the method further includes: receiving a third input from a user; displaying M program identifiers of M background programs in response to the third input; receiving a user's input on the M program identifiers the fourth input of the first program identification in Any of , M is an integer greater than or equal to 1.

这样可以使得在后台应用切换时,让用户提前预览应用排序,从而让用户快速获知所需应用的位置,进而能够执行对应操作快速切换到所需应用,提升可用性。具体地,用户不再需要依次执行顺序切换,可以一次操作切换至任一个用户所需程序。This allows the user to preview the application order in advance when switching applications in the background, so that the user can quickly know the location of the required application, and then can perform corresponding operations to quickly switch to the required application, improving usability. Specifically, the user no longer needs to perform sequential switching in sequence, and can switch to any program required by the user in one operation.

关于接收第三输入以及显示M个程序标识的方案可以基于步骤11和步骤12的方案执行,可以单独执行,就是与步骤11和步骤12的方案为相分离而单独存在,在此不作限定。The solution of receiving the third input and displaying the M program identifiers can be executed based on the solution ofstep 11 andstep 12, and can be executed independently, that is, it exists separately from the solution ofstep 11 andstep 12, which is not limited here.

具体地,所述响应于所述第三输入,显示M个后台程序的M个程序标识,包括:获取当前显示的T个程序的程序界面对应的T个程序标识;基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标识和所述P个程序标识;其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。Specifically, the displaying M program identifiers of the M background programs in response to the third input includes: acquiring T program identifiers corresponding to the program interfaces of the currently displayed T programs; P program identifiers adjacent to the T program identifiers; according to the target background switching sequence, M program identifiers of M background programs are displayed, and the M program identifiers include the P program identifiers, or, The M program identifiers include the T program identifiers and the P program identifiers; wherein, T is an integer greater than or equal to 1, and P is an integer greater than or equal to 1; the target background switching sequence includes: receiving The background switching sequence of the N background programs before the first input, or, in response to the background switching sequence of the N background programs after the first input.

这样可以提前预知一定范围的程序标识,从而能够实现快速切换至用户所需应用的目的。In this way, a certain range of program identifiers can be predicted in advance, so that the purpose of quickly switching to the application required by the user can be achieved.

关于“与所述T个程序标识相邻的P个程序标识”可以是与所述T个程序标识第一侧相邻的P个程序标识,也可以是与所述T个程序标识的第一侧或第二侧相邻的P个程序标识,在此不作限定。Regarding the "P program identifiers adjacent to the T program identifiers", it may be the P program identifiers adjacent to the first side of the T program identifiers, or the first program identifiers adjacent to the T program identifiers. The P program identifiers adjacent to one side or the second side are not limited here.

具体地,可以参见图5,在通过横滑切换应用时提前提示相邻的至少两个应用,让用户提前有预期,以达到快速切换的目的。更具体地,可以当横滑停顿2s时,当前界面弹出供选择跳转应用的图标,即程序标识,用户手指移动到哪个图标,就会跳转到图标对应的应用。弹出的图标如图5中的应用1、应用2、应用3以及应用4。上述T个程序标识可为图5中的图标:应用2和应用3。Specifically, referring to FIG. 5 , when switching applications by horizontal swiping, at least two adjacent applications are prompted in advance, so that the user can have expectations in advance, so as to achieve the purpose of fast switching. More specifically, when the horizontal swipe pauses for 2s, an icon for selecting a jumping application, that is, a program identifier, may pop up on the current interface, and the application corresponding to the icon will be jumped to which icon the user's finger moves to. The pop-up icons are Application 1, Application 2, Application 3, andApplication 4 in FIG. 5 . The above T program identifiers may be the icons in FIG. 5 : application 2 and application 3 .

进一步的,所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,还包括:响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;所述接收用户的第三输入,包括:接收用户对所述预设区域的第三输入。Further, before displaying the M program identifiers of the M background programs in response to the third input, the method further includes: in response to the fifth input, displaying prompt information, where the prompt information is used to prompt the M background programs The background switching sequence of the program and the display position of the preset area, the prompt information includes M program labels displayed according to the background switching sequence of the M background programs; the receiving the third input from the user includes: receiving the user's feedback the third input of the preset area.

提示信息既提示了M个后台程序的后台切换顺序,还提示了预设区域的显示位置。这样可以使得在用户所需程序与当前程序间隔程序个数较少的情况下,直接执行顺序切换即可;而在用户所需程序与当前程序间隔程序个数较多的情况下,准确的在预设区域进行第三输入,以触发M个程序标识的显示,从而直接选中用户所需程序进行跳转,更加便于用户使用、更加人性化、提供更多选择。The prompt information not only prompts the background switching sequence of the M background programs, but also prompts the display position of the preset area. In this way, when the number of programs between the program required by the user and the current program is small, the sequence switching can be performed directly; and when the number of programs between the program required by the user and the current program is large, accurate The third input is performed in the preset area to trigger the display of M program identifiers, so that the program required by the user can be directly selected for jumping, which is more convenient for the user to use, more user-friendly, and provides more choices.

其中,程序标签可以体现为程序图标,具体地,可以在横滑切换应用时,在界面下方显示应用图标,即程序图标,使得用户可以提前预知周围几个相邻的应用,达到提前预知滑几次就能切换至所需应用的目的。Among them, the program label can be embodied as a program icon. Specifically, when switching applications horizontally, the application icon, that is, the program icon, can be displayed at the bottom of the interface, so that the user can predict several adjacent applications in advance, so as to predict the number of applications in advance. to switch to the desired application.

进一步的,可以当用户手指滑到屏幕底部边缘停留2s时在屏幕边缘显示应用图标icon及名称,此时后台程序卡片不再跟随用户手指移动了,用户手指向上滑动(手指未离开屏幕)选择相应的应用图标,切换至该应用图标对应的应用。其中,屏幕底部边缘即上述预设区域的一种具体体现,如图6中的区域g。Further, when the user's finger slides to the bottom edge of the screen and stays for 2s, the icon and name of the application can be displayed on the edge of the screen. At this time, the background program card no longer moves with the user's finger, and the user's finger slides up (the finger does not leave the screen) to select the corresponding , switch to the app corresponding to the app icon. The bottom edge of the screen is a specific embodiment of the above-mentioned preset area, such as area g in FIG. 6 .

具体地,参见图6,在屏幕底部横滑切换应用时,显示上述提示信息,具体可以体现为堆叠排列的应用图标h,让用户可以提前预知应用顺序;进一步的,可以在屏幕底部区域定义用于长按的区域g,当用户手指在区域g内停留2s之后可以触发快速切应用功能,屏幕上的其他区域不触发此功能。在触发快速切换应用功能之后,可以在触发一侧的屏幕边缘从下至上显示横滑应用顺序,即按照目标后台切换顺序显示程序标识:应用D、应用E、应用F和应用G;另外,在触发了上述功能后后台程序卡片不再跟随用户手指移动而是停留在当前状态,用户手指不脱离屏幕就一直保持,当用户手指移动到某个应用图标,确认该应用图标被选中后将手指离开屏幕,切换到被选中的应用图标对应的后台应用E。Specifically, referring to FIG. 6 , when the application is slid horizontally at the bottom of the screen, the above prompt information is displayed, which can be embodied as the application icons h arranged in a stack, so that the user can predict the application sequence in advance; For the long-pressed area g, when the user's finger stays in the area g for 2s, the quick switch application function can be triggered, and other areas on the screen do not trigger this function. After the quick application switching function is triggered, the horizontal sliding application sequence can be displayed on the edge of the screen on the triggering side from bottom to top, that is, the program identifiers are displayed according to the target background switching sequence: application D, application E, application F and application G; After triggering the above function, the background program card no longer moves with the user's finger but stays in the current state. The user's finger does not leave the screen and keeps it. When the user's finger moves to an application icon, confirm that the application icon is selected and then leave the finger. screen, switch to the background application E corresponding to the selected application icon.

由上可知,为了实现快速切换应用,本申请实施例提供了两种实现方案,方案一:提供用户自定义横滑切换应用的顺序,用户可以设置自己习惯的应用在相邻位置,同时也可以自定义横滑切换应用的数量;方案二:提供快速显示相邻应用的排序,让用户快速识别当前应用和想要到达的应用的位置以实现快速切换。It can be seen from the above that in order to realize fast switching of applications, the embodiment of the present application provides two implementation schemes. Scheme 1: Provide a user-defined order for switching applications in a horizontal swipe. Customize the number of horizontal swipe switching applications; Option 2: Provide a quick display of adjacent applications sorting, allowing users to quickly identify the current application and the location of the application they want to reach to achieve rapid switching.

以上涉及“应用”也可以理解为“程序”,在此不作限定。The above-mentioned "application" can also be understood as a "program", which is not limited here.

在本申请实施例中,通过接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;能够实现依据用户所需调整后台程序的后台切换顺序,从而保证在后续的后台应用切换方案的实现过程中,用户能够预知当前程序的相邻程序,并且快速切换至自己所需的程序,提高切换效率,避免了在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次盲切换操作才能找到自己所需的应用。In the embodiment of the present application, by receiving the first input from the user to the target background program; in response to the first input, the background switching sequence of N background programs is adjusted; wherein, the target background program is the N background programs At least one of the programs, N is an integer greater than 1; it can adjust the background switching sequence of background programs according to the user's needs, so as to ensure that the user can predict the adjacent programs of the current program during the implementation of the subsequent background application switching scheme. , and quickly switch to the program you need, improve the switching efficiency, and avoid the need for the user to perform many blind switching operations when the sorting interval between the background program required by the user and the current program is relatively large. required application.

需要说明的是,本申请实施例提供的后台程序控制方法,执行主体可以为后台程序控制装置,或者该后台程序控制装置中的用于执行后台程序控制方法的控制模块。本申请实施例中以后台程序控制装置执行后台程序控制方法为例,说明本申请实施例提供的后台程序控制装置。It should be noted that, in the background program control method provided by the embodiments of the present application, the execution body may be a background program control device, or a control module in the background program control device for executing the background program control method. In the embodiments of the present application, the background program control apparatus provided by the embodiments of the present application is described by taking the background program control apparatus executing the background program control method as an example.

本申请实施例还提供了一种后台程序控制装置,如图7所示,包括:The embodiment of the present application also provides a background program control device, as shown in FIG. 7 , including:

第一接收模块71,用于接收用户对目标后台程序的第一输入;Thefirst receiving module 71 is used for receiving the first input of the user to the target background program;

第一调整模块72,用于响应于所述第一输入,调整N个后台程序的后台切换顺序;afirst adjustment module 72, configured to adjust the background switching sequence of the N background programs in response to the first input;

其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。The target background program is at least one of the N background programs, and N is an integer greater than 1.

其中,所述第一接收模块,包括:第一接收子模块,用于接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;其中,所述第一区域包括N个后台程序图标;所述第一调整模块,包括:第一调整子模块,用于调整所述目标后台程序图标在所述第一区域中的显示位置;其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后台程序的后台切换顺序一致。Wherein, the first receiving module includes: a first receiving sub-module for receiving the first input from the user to the target background program icon displayed in the first area in the background switching sequence setting interface; wherein, the first The area includes N background program icons; the first adjustment module includes: a first adjustment sub-module for adjusting the display position of the target background program icon in the first area; wherein, when adjusting the target background program icon After the display position of the background program icons, the display sequence of the N background program icons in the first area is consistent with the background switching sequence of the N background program icons corresponding to the N background program icons.

本申请实施例中,所述第一接收模块,包括:第二接收子模块,用于接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;其中,所述后台程序显示界面包括N个后台程序卡片;所述第一调整模块,包括:第一控制子模块,用于在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。In the embodiment of the present application, the first receiving module includes: a second receiving sub-module for receiving the first input from the user dragging the target background program card in the background program display interface to the target area; wherein, the The background program display interface includes N background program cards; the first adjustment module includes: a first control submodule, which is used for the i-th background program card and the ith background program card among the N background program cards in the target area. In the case of the first area between the i+1 th background program card, control the distance from the i+1 th background program card to the N th background program card to move one background program card in the first direction, or control the th The distance from one background program card to the ith background program card moving one background program card in the second direction, i is a positive integer, i<N; in the target area, it is the jth of the N background program cards In the case of the second area where the first background program card is located, control the distance between the jth background program card and the Nth background program card to move one background program card in the first direction, or control the first background program card to the nth background program card. The distance that j background program cards move one background program card in the second direction, j is a positive integer, j≤N.

其中,后台程序显示界面包括后台切换顺序设置区域;所述第一接收模块,包括:第三接收子模块,用于接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;其中,所述后台程序显示界面包括N个后台程序卡片;所述第一调整模块,包括:第一显示子模块,用于在所述后台切换顺序设置区域,显示N个后台程序标识;其中,每个后台程序标识指示一个后台程序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。Wherein, the background program display interface includes a background switching sequence setting area; the first receiving module includes: a third receiving sub-module for receiving the N background program cards and the background program cards of the user in the background program display interface. Switching the sliding input on the sequence setting area, the sliding input includes N sliding sub-inputs; wherein, the background program display interface includes N background program cards; the first adjustment module includes: a first display sub-module, For switching the sequence setting area in the background, displaying N background program marks; wherein, each background program mark indicates a background program; the display position of the mth background program mark is according to the sliding end of the mth sliding sub-input If the location is determined, m is a positive integer, and the m-th background program identifier is any one of the N background program identifiers; after setting the display order of the N background program identifiers, the background switching sequence is set The display sequence of the N background program identifiers in the area is consistent with the background switching sequence of the N background program identifiers corresponding to the N background program identifiers.

进一步的,所述装置还包括:第二接收模块,用于接收用户的第三输入;第一显示模块,用于响应于所述第三输入,显示M个后台程序的M个程序标识;第三接收模块,用于接收用户对所述M个程序标识中的第一程序标识的第四输入;第二显示模块,用于响应于所述第四输入,显示所述第一程序标识对应的后台程序的程序界面;其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数。Further, the device further includes: a second receiving module for receiving a third input from a user; a first display module for displaying M program identifiers of the M background programs in response to the third input; Three receiving modules, configured to receive a fourth input from the user to the first program identifier in the M program identifiers; a second display module, configured to respond to the fourth input, displaying the corresponding first program identifier. A program interface of a background program; wherein, the first program identifier is any one of the M program identifiers, and M is an integer greater than or equal to 1.

具体地,所述第一显示模块,包括:第一获取子模块,用于获取当前显示的T个程序的程序界面对应的T个程序标识;第二获取子模块,用于基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;第二显示子模块,用于按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标识和所述P个程序标识;其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。Specifically, the first display module includes: a first acquisition sub-module for acquiring T program identifiers corresponding to the program interfaces of the currently displayed T programs; a second acquisition sub-module for switching the sequence based on the target background , obtain the P program identifiers adjacent to the T program identifiers; the second display submodule is used to display the M program identifiers of the M background programs according to the target background switching sequence, and the M program identifiers including the P program identifiers, or the M program identifiers include the T program identifiers and the P program identifiers; wherein T is an integer greater than or equal to 1, and P is an integer greater than or equal to 1 ; The target background switching sequence includes: receiving the background switching sequence of N background programs before the first input, or responding to the background switching sequence of the N background programs after the first input.

进一步的,所述的装置,还包括:第三显示模块,用于所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;所述第二接收模块,包括:第四接收子模块,用于接收用户对所述预设区域的第三输入。Further, the device further includes: a third display module, used for displaying prompt information in response to the fifth input before displaying the M program identifiers of the M background programs in response to the third input, The prompt information is used to prompt the background switching sequence of the M background programs and the display position of the preset area, and the prompt information includes M program labels displayed according to the background switching sequence of the M background programs; the The second receiving module includes: a fourth receiving sub-module, configured to receive a third user input to the preset area.

在本申请实施例中,通过接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;能够实现依据用户所需调整后台程序的后台切换顺序,从而保证在后续的后台应用切换方案的实现过程中,用户能够预知当前程序的相邻程序,并且快速切换至自己所需的程序,提高切换效率,避免了在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次盲切换操作才能找到自己所需的应用。In the embodiment of the present application, by receiving the first input from the user to the target background program; in response to the first input, the background switching sequence of N background programs is adjusted; wherein, the target background program is the N background programs At least one of the programs, N is an integer greater than 1; it can adjust the background switching sequence of background programs according to the user's needs, so as to ensure that the user can predict the adjacent programs of the current program during the implementation of the subsequent background application switching scheme. , and quickly switch to the program you need, improve the switching efficiency, and avoid the need for the user to perform many blind switching operations when the sorting interval between the background program required by the user and the current program is relatively large. required application.

本申请实施例中的后台程序控制装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The background program control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. This application Examples are not specifically limited.

本申请实施例中的后台程序控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The background program control device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的后台程序控制装置能够实现图1至图6的方法实施例实现的各个过程,为避免重复,这里不再赘述。The background program control apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 6 , and to avoid repetition, details are not repeated here.

可选的,如图8所示,本申请实施例还提供一种电子设备80,包括处理器81,存储器82,存储在存储器82上并可在所述处理器81上运行的程序或指令,该程序或指令被处理器81执行时实现上述后台程序控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 8 , an embodiment of the present application further provides anelectronic device 80, including aprocessor 81, amemory 82, a program or instruction stored in thememory 82 and executable on theprocessor 81, When the program or instruction is executed by theprocessor 81, each process of the above-mentioned background program control method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图9为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备90包括但不限于:射频单元91、网络模块92、音频输出单元93、输入单元94、传感器95、显示单元96、用户输入单元97、接口单元98、存储器99、以及处理器910等部件。Theelectronic device 90 includes but is not limited to: aradio frequency unit 91, anetwork module 92, anaudio output unit 93, aninput unit 94, asensor 95, adisplay unit 96, a user input unit 97, aninterface unit 98, amemory 99, and aprocessor 910, etc. part.

本领域技术人员可以理解,电子设备90还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that theelectronic device 90 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to theprocessor 910 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 9 does not constitute a limitation to the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .

其中,用户输入单元97,用于接收用户对目标后台程序的第一输入;Wherein, the user input unit 97 is used to receive the first input of the user to the target background program;

处理器910,用于响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。Theprocessor 910 is configured to adjust the background switching sequence of N background programs in response to the first input; wherein, the target background program is at least one of the N background programs, and N is an integer greater than 1.

在本申请实施例中,通过接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;能够实现依据用户所需调整后台程序的后台切换顺序,从而保证在后续的后台应用切换方案的实现过程中,用户能够预知当前程序的相邻程序,并且快速切换至自己所需的程序,提高切换效率,避免了在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次盲切换操作才能找到自己所需的应用。In the embodiment of the present application, by receiving the first input from the user to the target background program; in response to the first input, the background switching sequence of N background programs is adjusted; wherein, the target background program is the N background programs At least one of the programs, N is an integer greater than 1; it can adjust the background switching sequence of background programs according to the user's needs, so as to ensure that the user can predict the adjacent programs of the current program during the implementation of the subsequent background application switching scheme. , and quickly switch to the program you need, improve the switching efficiency, and avoid the need for the user to perform many blind switching operations when the sorting interval between the background program required by the user and the current program is relatively large. required application.

可选的,用户输入单元97,具体用于接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;其中,所述第一区域包括N个后台程序图标;Optionally, the user input unit 97 is specifically configured to receive the first input from the user to the target background program icon displayed in the first area in the background switching sequence setting interface; wherein, the first area includes N background program icons ;

处理器910,具体用于调整所述目标后台程序图标在所述第一区域中的显示位置;其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后台程序的后台切换顺序一致。Theprocessor 910 is specifically configured to adjust the display position of the target background program icon in the first area; wherein, after adjusting the display position of the target background program icon, the N in the first area The display order of the background program icons is consistent with the background switching order of the N background program icons corresponding to the N background program icons.

可选的,用户输入单元97,具体用于接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;其中,所述后台程序显示界面包括N个后台程序卡片;Optionally, the user input unit 97 is specifically configured to receive the first input of the user dragging the target background program card in the background program display interface to the target area; wherein, the background program display interface includes N background program cards;

处理器910,具体用于在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。Theprocessor 910 is specifically configured to control the i-th background program card under the condition that the target area is the first area between the i-th background program card and the i+1-th background program card in the N background program cards The distance from +1 background program card to the Nth background program card to move a background program card in the first direction, or, control the 1st background program card to the i-th background program card to move a background program card in the second direction. distance, i is a positive integer, i<N; when the target area is the second area where the jth background program card in the N background program cards is located, control the jth background program card to The distance that the Nth background program card moves one background program card in the first direction, or the distance that controls the first background program card to the jth background program card to move one background program card in the second direction, j is a positive integer , j≤N.

可选的,后台程序显示界面包括后台切换顺序设置区域;用户输入单元97,具体用于接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;其中,所述后台程序显示界面包括N个后台程序卡片;Optionally, the background program display interface includes a background switching sequence setting area; the user input unit 97 is specifically configured to receive the user's N background program cards in the background program display interface and sliding on the background switching sequence setting area. input, the sliding input includes N sliding sub-inputs; wherein, the background program display interface includes N background program cards;

处理器910,具体用于在所述后台切换顺序设置区域,显示N个后台程序标识;其中,每个后台程序标识指示一个后台程序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。Theprocessor 910 is specifically configured to switch the sequence setting area in the background, and display N background program identifiers; wherein, each background program identifier indicates a background program; the display position of the mth background program identifier is based on the mth slide. The sliding end position of the sub-input is determined, m is a positive integer, and the m-th background program identifier is any one of the N background program identifiers; after setting the display order of the N background program identifiers, all The display sequence of the N background program identifiers in the background switching sequence setting area is consistent with the background switching sequence of the N background programs corresponding to the N background program identifiers.

可选的,用户输入单元97,还用于接收用户的第三输入;Optionally, the user input unit 97 is further configured to receive a third input from the user;

显示单元96,用于响应于所述第三输入,显示M个后台程序的M个程序标识;Adisplay unit 96, configured to display M program identifiers of M background programs in response to the third input;

用户输入单元97,还用于接收用户对所述M个程序标识中的第一程序标识的第四输入;The user input unit 97 is further configured to receive the fourth input from the user to the first program identifier in the M program identifiers;

显示单元96,还用于响应于所述第四输入,显示所述第一程序标识对应的后台程序的程序界面;其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数。Thedisplay unit 96 is further configured to display the program interface of the background program corresponding to the first program identifier in response to the fourth input; wherein, the first program identifier is any one of the M program identifiers, M is an integer greater than or equal to 1.

可选的,显示单元96,具体用于获取当前显示的T个程序的程序界面对应的T个程序标识;基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标识和所述P个程序标识;其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。Optionally, thedisplay unit 96 is specifically used to obtain T program identifiers corresponding to the program interfaces of the currently displayed T programs; based on the target background switching sequence, obtain P program identifiers adjacent to the T program identifiers; According to the target background switching sequence, display M program identifiers of M background programs, where the M program identifiers include the P program identifiers, or the M program identifiers include the T program identifiers and all The P program identifiers; wherein, T is an integer greater than or equal to 1, and P is an integer greater than or equal to 1; the target background switching sequence includes: receiving the background switching sequence of N background programs before the first input, Or, responding to the background switching sequence of the N background programs after the first input.

可选的,显示单元96,还用于所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;Optionally, thedisplay unit 96 is further configured to display prompt information in response to the fifth input before displaying the M program identifiers of the M background programs in response to the third input, and the prompt information is used to prompt The background switching sequence of the M background programs and the display position of the preset area, and the prompt information includes M program labels displayed according to the background switching sequence of the M background programs;

用户输入单元97,具体用于接收用户对所述预设区域的第三输入。The user input unit 97 is specifically configured to receive a user's third input to the preset area.

由上可知,为了实现快速切换应用,本申请实施例提供了两种实现方案,方案一:提供用户自定义横滑切换应用的顺序,用户可以设置自己习惯的应用在相邻位置,同时也可以自定义横滑切换应用的数量;方案二:提供快速显示相邻应用的排序,让用户快速识别当前应用和想要到达的应用的位置以实现快速切换。It can be seen from the above that in order to realize fast switching of applications, the embodiment of the present application provides two implementation schemes. Scheme 1: Provide a user-defined order for switching applications in a horizontal swipe. Customize the number of horizontal swipe switching applications; Option 2: Provide a quick display of adjacent applications sorting, allowing users to quickly identify the current application and the location of the application they want to reach to achieve rapid switching.

应理解的是,本申请实施例中,输入单元94可以包括图形处理器(GraphicsProcessing Unit,GPU)941和麦克风942,图形处理器941对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元96可包括显示面板961,可以采用液晶显示器、有机发光二极管等形式来配置显示面板961。用户输入单元97包括触控面板971以及其他输入设备972。触控面板971,也称为触摸屏。触控面板971可包括触摸检测装置和触摸控制器两个部分。其他输入设备972可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器99可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。It should be understood that, in this embodiment of the present application, theinput unit 94 may include a graphics processor (Graphics Processing Unit, GPU) 941 and amicrophone 942. camera) to process the image data of still pictures or videos. Thedisplay unit 96 may include adisplay panel 961, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 97 includes atouch panel 971 andother input devices 972 . Thetouch panel 971 is also called a touch screen. Thetouch panel 971 may include two parts, a touch detection device and a touch controller.Other input devices 972 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.Memory 99 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Theprocessor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 910.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述后台程序控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned background program control method embodiment is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述后台程序控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the above embodiment of the background program control method and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (11)

Translated fromChinese
1.一种后台程序控制方法,其特征在于,包括:1. a background program control method, is characterized in that, comprises:接收用户对目标后台程序的第一输入;receiving the first input from the user to the target background program;响应于所述第一输入,调整N个后台程序的后台切换顺序;In response to the first input, adjusting the background switching sequence of the N background programs;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;Wherein, the target background program is at least one of the N background programs, and N is an integer greater than 1;所述方法还包括:The method also includes:接收用户的第三输入;receive a third input from the user;响应于所述第三输入,显示M个后台程序的M个程序标识;In response to the third input, displaying M program identifiers of the M background programs;接收用户对所述M个程序标识中的第一程序标识的第四输入;receiving a fourth input from the user to the first program identifier in the M program identifiers;响应于所述第四输入,显示所述第一程序标识对应的后台程序的程序界面;In response to the fourth input, displaying the program interface of the background program corresponding to the first program identifier;其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数;Wherein, the first program identifier is any one of the M program identifiers, and M is an integer greater than or equal to 1;所述响应于所述第三输入,显示M个后台程序的M个程序标识,包括:Described in response to the third input, displaying M program identifiers of M background programs, including:获取当前显示的T个程序的程序界面对应的T个程序标识;Obtain the T program identifiers corresponding to the program interfaces of the currently displayed T programs;基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;Based on the target background switching sequence, obtain P program identifiers adjacent to the T program identifiers;按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标识和所述P个程序标识;According to the target background switching sequence, display M program identifiers of M background programs, where the M program identifiers include the P program identifiers, or the M program identifiers include the T program identifiers and all Describe the P program identifiers;其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。Wherein, T is an integer greater than or equal to 1, and P is an integer greater than or equal to 1; the target background switching sequence includes: receiving the background switching sequence of N background programs before the first input, or responding to the first input. Background switching sequence of N background programs after one input.2.根据权利要求1所述的方法,其特征在于,所述接收用户对目标后台程序的第一输入,包括:2. The method according to claim 1, wherein the receiving the first input of the user to the target background program comprises:接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;receiving the first input from the user to the target background program icon displayed in the first area in the background switching sequence setting interface;其中,所述第一区域包括N个后台程序图标;Wherein, the first area includes N background program icons;所述调整N个后台程序的后台切换顺序,包括:The adjusting the background switching sequence of the N background programs includes:调整所述目标后台程序图标在所述第一区域中的显示位置;adjusting the display position of the target background program icon in the first area;其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后台程序的后台切换顺序一致。Wherein, after adjusting the display position of the target background program icon, the display order of the N background program icons in the first area is the background switching order of the N background program icons corresponding to the N background program icons Consistent.3.根据权利要求1所述的方法,其特征在于,所述接收用户对目标后台程序的第一输入,包括:3. The method according to claim 1, wherein the receiving the first input of the user to the target background program comprises:接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;Receive the first input that the user drags the target background program card in the background program display interface to the target area;其中,所述后台程序显示界面包括N个后台程序卡片;Wherein, the background program display interface includes N background program cards;所述调整N个后台程序的后台切换顺序,包括:The adjusting the background switching sequence of the N background programs includes:在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;When the target area is the first area between the i-th background program card and the i+1-th background program card among the N background program cards, control the i+1-th background program card to The distance that the Nth background program card moves one background program card in the first direction, or the distance that controls the distance between the first background program card and the i-th background program card moving one background program card in the second direction, i is a positive integer , i<N;在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。When the target area is the second area where the jth background program card among the N background program cards is located, control the jth background program card to the Nth background program card to move one in the first direction by one The distance of the background program card, or the distance from the first background program card to the jth background program card to move one background program card in the second direction, j is a positive integer, j≤N.4.根据权利要求1所述的方法,其特征在于,后台程序显示界面包括后台切换顺序设置区域;4. The method according to claim 1, wherein the background program display interface comprises a background switching sequence setting area;所述接收用户对目标后台程序的第一输入,包括:The receiving the first input of the user to the target background program includes:接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;Receive the user's sliding input on N background program cards in the background program display interface and the background switching sequence setting area, and the sliding input includes N sliding sub-inputs;其中,所述后台程序显示界面包括N个后台程序卡片;Wherein, the background program display interface includes N background program cards;所述调整N个后台程序的后台切换顺序,包括:The adjusting the background switching sequence of the N background programs includes:在所述后台切换顺序设置区域,显示N个后台程序标识;In the background switching sequence setting area, display N background program identifiers;其中,每个后台程序标识指示一个后台程序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。Wherein, each background program identification indicates a background program; the display position of the mth background program identification is determined according to the sliding end position of the mth sliding sub-input, m is a positive integer, and the mth background program identification is Any one of the N background program identifiers; after setting the display order of the N background program identifiers, the display order of the N background program identifiers in the background switching order setting area is the same as the N background program identifiers. The background switching sequence of the N background programs corresponding to the background program identifiers is consistent.5.根据权利要求1所述的方法,其特征在于,所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,还包括:5. The method according to claim 1, wherein before the M program identifiers of the M background programs are displayed in response to the third input, the method further comprises:响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;In response to the fifth input, prompt information is displayed, the prompt information is used to prompt the background switching sequence of the M background programs and the display position of the preset area, and the prompt information includes the background switching according to the M background programs M program labels displayed in sequence;所述接收用户的第三输入,包括:The receiving third input from the user includes:接收用户对所述预设区域的第三输入。A third user input to the preset area is received.6.一种后台程序控制装置,其特征在于,包括:6. A background program control device, characterized in that, comprising:第一接收模块,用于接收用户对目标后台程序的第一输入;The first receiving module is used for receiving the first input of the user to the target background program;第一调整模块,用于响应于所述第一输入,调整N个后台程序的后台切换顺序;a first adjustment module, configured to adjust the background switching sequence of the N background programs in response to the first input;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;Wherein, the target background program is at least one of the N background programs, and N is an integer greater than 1;所述装置还包括:The device also includes:第二接收模块,用于接收用户的第三输入;The second receiving module is used for receiving the third input of the user;第一显示模块,用于响应于所述第三输入,显示M个后台程序的M个程序标识;a first display module for displaying M program identifiers of M background programs in response to the third input;第三接收模块,用于接收用户对所述M个程序标识中的第一程序标识的第四输入;The third receiving module is used for receiving the fourth input of the user to the first program identification in the M program identifications;第二显示模块,用于响应于所述第四输入,显示所述第一程序标识对应的后台程序的程序界面;a second display module, configured to display the program interface of the background program corresponding to the first program identifier in response to the fourth input;其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数;Wherein, the first program identifier is any one of the M program identifiers, and M is an integer greater than or equal to 1;所述第一显示模块,包括:The first display module includes:第一获取子模块,用于获取当前显示的T个程序的程序界面对应的T个程序标识;The first acquisition submodule is used to acquire T program identifiers corresponding to the program interfaces of the currently displayed T programs;第二获取子模块,用于基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;The second acquisition submodule is used to acquire P program identifiers adjacent to the T program identifiers based on the target background switching sequence;第二显示子模块,用于按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标识和所述P个程序标识;The second display submodule is configured to display M program identifiers of M background programs according to the target background switching sequence, where the M program identifiers include the P program identifiers, or the M program identifiers include The T program identifiers and the P program identifiers;其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。Wherein, T is an integer greater than or equal to 1, and P is an integer greater than or equal to 1; the target background switching sequence includes: receiving the background switching sequence of N background programs before the first input, or responding to the first input. Background switching sequence of N background programs after one input.7.根据权利要求6所述的装置,其特征在于,所述第一接收模块,包括:7. The apparatus according to claim 6, wherein the first receiving module comprises:第一接收子模块,用于接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;The first receiving submodule is used for receiving the first input from the user to the target background program icon displayed in the first area in the background switching sequence setting interface;其中,所述第一区域包括N个后台程序图标;Wherein, the first area includes N background program icons;所述第一调整模块,包括:The first adjustment module includes:第一调整子模块,用于调整所述目标后台程序图标在所述第一区域中的显示位置;a first adjustment submodule for adjusting the display position of the target background program icon in the first area;其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后台程序的后台切换顺序一致。Wherein, after adjusting the display position of the target background program icon, the display order of the N background program icons in the first area is the background switching order of the N background program icons corresponding to the N background program icons Consistent.8.根据权利要求6所述的装置,其特征在于,所述第一接收模块,包括:8. The apparatus according to claim 6, wherein the first receiving module comprises:第二接收子模块,用于接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;The second receiving submodule is used to receive the first input of the user dragging the target background program card in the background program display interface to the target area;其中,所述后台程序显示界面包括N个后台程序卡片;Wherein, the background program display interface includes N background program cards;所述第一调整模块,包括:The first adjustment module includes:第一控制子模块,用于在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;The first control submodule is used to control the first area between the i-th background program card and the i+1-th background program card in the N background program cards. The distance from the i+1 background program card to the Nth background program card to move a background program card in the first direction, or, control the first background program card to the i-th background program card to move a background program card in the second direction. The distance of the card, i is a positive integer, i<N;在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。When the target area is the second area where the jth background program card among the N background program cards is located, control the jth background program card to the Nth background program card to move one in the first direction by one The distance of the background program card, or the distance from the first background program card to the jth background program card to move one background program card in the second direction, j is a positive integer, j≤N.9.根据权利要求6所述的装置,其特征在于,后台程序显示界面包括后台切换顺序设置区域;所述第一接收模块,包括:9. The device according to claim 6, wherein the background program display interface comprises a background switching sequence setting area; the first receiving module comprises:第三接收子模块,用于接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;The third receiving sub-module is configured to receive the user's N background program cards in the background program display interface and the sliding input on the background switching sequence setting area, and the sliding input includes N sliding sub-inputs;其中,所述后台程序显示界面包括N个后台程序卡片;Wherein, the background program display interface includes N background program cards;所述第一调整模块,包括:The first adjustment module includes:第一显示子模块,用于在所述后台切换顺序设置区域,显示N个后台程序标识;The first display submodule is used to switch the sequence setting area in the background, and display N background program identifiers;其中,每个后台程序标识指示一个后台程序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。Wherein, each background program identification indicates a background program; the display position of the mth background program identification is determined according to the sliding end position of the mth sliding sub-input, m is a positive integer, and the mth background program identification is Any one of the N background program identifiers; after setting the display order of the N background program identifiers, the display order of the N background program identifiers in the background switching order setting area is the same as the N background program identifiers. The background switching sequence of the N background programs corresponding to the background program identifiers is consistent.10.根据权利要求6所述的装置,其特征在于,还包括:10. The apparatus of claim 6, further comprising:第三显示模块,用于所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;The third display module is configured to display prompt information in response to the fifth input before displaying the M program identifiers of the M background programs in response to the third input, and the prompt information is used to prompt the M background programs The background switching sequence of the background programs and the display position of the preset area, and the prompt information includes M program labels displayed according to the background switching sequence of the M background programs;所述第二接收模块,包括:The second receiving module includes:第四接收子模块,用于接收用户对所述预设区域的第三输入。The fourth receiving sub-module is configured to receive a third input from the user to the preset area.11.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的后台程序控制方法的步骤。11. An electronic device, characterized in that it comprises a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is implemented when executed by the processor The steps of the background program control method according to any one of claims 1-5.
CN202010693022.6A2020-07-172020-07-17Background program control method and device and electronic equipmentActiveCN111857513B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202010693022.6ACN111857513B (en)2020-07-172020-07-17Background program control method and device and electronic equipment
PCT/CN2021/106741WO2022012664A1 (en)2020-07-172021-07-16Background program control method and apparatus, and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010693022.6ACN111857513B (en)2020-07-172020-07-17Background program control method and device and electronic equipment

Publications (2)

Publication NumberPublication Date
CN111857513A CN111857513A (en)2020-10-30
CN111857513Btrue CN111857513B (en)2022-04-29

Family

ID=73000952

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010693022.6AActiveCN111857513B (en)2020-07-172020-07-17Background program control method and device and electronic equipment

Country Status (2)

CountryLink
CN (1)CN111857513B (en)
WO (1)WO2022012664A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111857513B (en)*2020-07-172022-04-29维沃移动通信有限公司Background program control method and device and electronic equipment
CN112631525A (en)*2020-12-302021-04-09安徽鸿程光电有限公司Storage and display method, device, equipment and medium
CN112783408A (en)*2021-01-282021-05-11维沃移动通信有限公司Gesture navigation method and device of electronic equipment, equipment and readable storage medium
CN114911400A (en)*2021-02-082022-08-16花瓣云科技有限公司Method for sharing pictures and electronic equipment
CN115268725A (en)*2021-04-302022-11-01Oppo广东移动通信有限公司Application switching method and device, electronic equipment and storage medium
CN115237323A (en)*2022-07-062022-10-25Oppo广东移动通信有限公司Interface display method and device, electronic equipment and storage medium
CN118093067B (en)*2022-11-262025-08-15荣耀终端股份有限公司Method for displaying card, electronic device and readable storage medium
CN116244031A (en)*2023-03-172023-06-09维沃移动通信有限公司Program processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105511733A (en)*2016-01-302016-04-20深圳天珑无线科技有限公司Method, system and electronic device for adjusting multitask arraying sequence through pressure touch control
CN105630280A (en)*2015-10-292016-06-01东莞酷派软件技术有限公司 Method and device for switching multiple applications
CN106445287A (en)*2016-09-182017-02-22宇龙计算机通信科技(深圳)有限公司Background application management method and device
CN109032734A (en)*2018-07-132018-12-18维沃移动通信有限公司A kind of background application display methods and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP6379805B2 (en)*2013-09-172018-08-29株式会社リコー Information processing program, information processing apparatus, and information processing system
CN111309400A (en)*2017-07-312020-06-19Oppo广东移动通信有限公司 Process control method, device, storage medium and electronic device
CN108762708A (en)*2018-05-302018-11-06维沃移动通信有限公司A kind of display control method and terminal
CN109933256B (en)*2019-03-222021-08-03网易传媒科技(北京)有限公司Application switching method, application switching device, medium and computing device
CN111240545A (en)*2020-01-072020-06-05维沃移动通信有限公司 Application switching method and electronic device
CN111857513B (en)*2020-07-172022-04-29维沃移动通信有限公司Background program control method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105630280A (en)*2015-10-292016-06-01东莞酷派软件技术有限公司 Method and device for switching multiple applications
CN105511733A (en)*2016-01-302016-04-20深圳天珑无线科技有限公司Method, system and electronic device for adjusting multitask arraying sequence through pressure touch control
CN106445287A (en)*2016-09-182017-02-22宇龙计算机通信科技(深圳)有限公司Background application management method and device
CN109032734A (en)*2018-07-132018-12-18维沃移动通信有限公司A kind of background application display methods and mobile terminal

Also Published As

Publication numberPublication date
WO2022012664A1 (en)2022-01-20
CN111857513A (en)2020-10-30

Similar Documents

PublicationPublication DateTitle
CN111857513B (en)Background program control method and device and electronic equipment
US11487426B2 (en)Apparatus and method for cursor control and text selection and editing based on gesture-based touch inputs received in a virtual keyboard display area
EP3454196B1 (en)Method and apparatus for editing object
CN106775313B (en)Split screen operation control method and mobile terminal
CN105677305B (en)Icon management method and device and terminal
CN112148170B (en) Desktop element adjustment method, device and electronic device
EP3279786A1 (en)Terminal control method and device, and terminal
CN113452744B (en) File sharing method, device, equipment and storage medium
JP2020516994A (en) Text editing method, device and electronic device
WO2023005920A1 (en)Screen splitting method and apparatus, and electronic device
KR20130093043A (en)Method and mobile device for user interface for touch and swipe navigation
CN112433693B (en)Split screen display method and device and electronic equipment
WO2022242586A1 (en)Application interface method and apparatus, and electronic device
CN113885981A (en) Desktop editing method, apparatus and electronic device
EP4372544A1 (en)Display control method and apparatus
CN114090110B (en)Application program starting method and device and electronic equipment
WO2023045927A1 (en)Object moving method and electronic device
WO2023045919A1 (en)Text editing method and apparatus
WO2023025305A1 (en)Application icon management method and apparatus, and electronic device
CN112416199B (en) Control method, device and electronic device
CN111638828A (en)Interface display method and device
CN117590979A (en) Desktop object management method and device
CN116450007A (en)Icon display control method and device, electronic equipment and medium
WO2023160443A1 (en)Application processing method and device
CN115904540A (en)Setting method and device and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp