WO2022012664A1 - 后台程序控制方法、装置和电子设备 - Google Patents

后台程序控制方法、装置和电子设备 Download PDF

Info

Publication number
WO2022012664A1
WO2022012664A1 PCT/CN2021/106741 CN2021106741W WO2022012664A1 WO 2022012664 A1 WO2022012664 A1 WO 2022012664A1 CN 2021106741 W CN2021106741 W CN 2021106741W WO 2022012664 A1 WO2022012664 A1 WO 2022012664A1
Authority
WO
WIPO (PCT)
Prior art keywords
background
program
input
background program
programs
Prior art date
Application number
PCT/CN2021/106741
Other languages
English (en)
French (fr)
Inventor
杨学良
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022012664A1 publication Critical patent/WO2022012664A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a background program control method, device and electronic device.
  • 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.
  • the switching of background programs is almost a blind operation.
  • 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. .
  • 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.
  • an embodiment of the present application provides a background program control method, the method comprising:
  • the target background program is at least one of the N background programs, and N is an integer greater than 1.
  • 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
  • a first adjustment module configured to adjust the background switching sequence of the N background programs in response to the first input
  • the target background program is at least one of the N background programs, and N is an integer greater than 1.
  • 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.
  • 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 .
  • 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.
  • an embodiment of the present application provides a computer software product, the computer software product is stored in a non-volatile storage medium, and the software product is configured to be executed by at least one processor to implement the first The steps of the method of the aspect.
  • an embodiment of the present application provides an electronic device, where the electronic device is configured to execute the method described in the first aspect.
  • 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.
  • FIG. 1 is a schematic flowchart of a background program control method according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a background switching sequence setting interface according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a first input of an embodiment of the present application.
  • FIG. 4 is a schematic diagram of sliding input according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram showing a program identifier according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram showing prompt information and a program identifier in an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a background program control device according to an embodiment of the present application.
  • FIG. 8 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
  • FIG. 9 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
  • 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.
  • the first object may be one or more than one.
  • “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 embodiment of the present application, as shown in FIG. 1 includes:
  • Step 11 Receive the user's first input to the target background program.
  • 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.
  • 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.
  • the background switching sequence is the sequence of switching between different programs when the background interface switches background programs.
  • step 11 and step 12 Regarding the specific implementation of step 11 and step 12, the following three examples are provided in the embodiments of this application:
  • 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.
  • 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
  • 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.
  • 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.
  • the user-defined horizontal swipe switching application sequence is: application A ⁇ application B ⁇ application C ⁇ application D.
  • these applications 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.
  • 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.
  • 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.
  • the distance to move a background program card in the direction, j is a positive integer, j ⁇ N.
  • 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.
  • the ith background program card is any one of the N background program cards
  • 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.
  • 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.
  • 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.
  • Example 2 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the solution of receiving the third input and displaying the M program identifiers can be executed based on the solution of step 11 and step 12, and can be executed independently, that is, it exists separately from the solution of step 11 and step 12, which is not limited here.
  • 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.
  • 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.
  • an icon for selecting a jumping application that is, a program identifier
  • the pop-up icons are Application 1, Application 2, Application 3, and Application 4 in FIG. 5 .
  • the above T program identifiers may be the icons in FIG. 5 : application 2 and application 3 .
  • 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.
  • 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.
  • the program label can be embodied as a program icon.
  • the application icon that is, the program icon
  • 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.
  • the icon and name of the application can be displayed on the edge of the screen.
  • 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 .
  • 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;
  • the quick switch application function can be triggered, and other areas on the screen do not trigger this function.
  • 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;
  • 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.
  • 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.
  • 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 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.
  • 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.
  • 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.
  • the embodiment of the present application also provides a background program control device, as shown in FIG. 7 , including:
  • the first receiving module 71 is used for receiving the first input of the user to the target background program
  • a first adjustment module 72 configured to adjust the background switching sequence of the N background programs in response to the first input
  • the target background program is at least one of the N background programs, and N is an integer greater than 1.
  • 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.
  • 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.
  • 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
  • the distance that j background program cards move one background program card in the second direction, j is a positive integer, j ⁇ N.
  • 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
  • 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.
  • 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.
  • 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 second receiving module includes: a fourth receiving sub-module, configured to receive a third user input to the preset area.
  • 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.
  • 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.
  • 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).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • 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.
  • 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.
  • an embodiment of the present application further provides an electronic device 80, including a processor 81, a memory 82, a program or instruction stored in the memory 82 and executable on the processor 81,
  • an electronic device 80 including a processor 81, a memory 82, a program or instruction stored in the memory 82 and executable on the processor 81,
  • the program or instruction is executed by the processor 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.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 90 includes but is not limited to: a radio frequency unit 91, a network module 92, an audio output unit 93, an input unit 94, a sensor 95, a display unit 96, a user input unit 97, an interface unit 98, a memory 99, and a processor 910, etc. part.
  • the electronic 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 the processor 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.
  • a power source such as a battery
  • 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. .
  • the user input unit 97 is used to receive the first input of the user to the target background program
  • the processor 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.
  • 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.
  • 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 ;
  • the processor 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.
  • 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;
  • the processor 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.
  • 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.
  • 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;
  • the processor 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.
  • the user input unit 97 is further configured to receive a third input from the user;
  • a display unit 96 configured to display M program identifiers of M background programs in response to the third input
  • 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;
  • the display 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.
  • the display 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.
  • the display 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;
  • the user input unit 97 is specifically configured to receive a user's third input to the preset area.
  • 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 input unit 94 may include a graphics processor (Graphics Processing Unit, GPU) 941 and a microphone 942. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 96 may include a display 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 a touch panel 971 and other input devices 972 .
  • the touch panel 971 is also called a touch screen.
  • the touch 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 are not described herein again.
  • Memory 99 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 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.
  • 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.
  • 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.
  • the disclosed apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • 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.
  • 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.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM
  • modules, units, and subunits can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSP Device, DSPD) ), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general-purpose processor, controller, microcontroller, microprocessor, in other electronic units or combinations thereof.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processor
  • DSP Device Digital Signal Processing Device
  • DSPD Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • the techniques described in the embodiments of the present disclosure may be implemented through modules (eg, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure.
  • Software codes may be stored in memory and executed by a processor.
  • the memory can be implemented in the processor or external to the processor.

Abstract

一种后台程序控制方法、装置和电子设备,属于通信技术领域。其中,后台程序控制方法包括:接收用户对目标后台程序的第一输入(11);响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数(12)。

Description

后台程序控制方法、装置和电子设备
相关申请的交叉引用
本申请主张在2020年7月17日在中国提交的中国专利申请号No.202010693022.6的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种后台程序控制方法、装置和电子设备。
背景技术
目前,一般的电子设备都允许前台运行一个程序的同时,在后台同时运行至少一个程序,以保证后台程序能够在被需要时快速切换到前台进行运行,提升用户使用体验。
但是,在现有的后台程序切换方案中,发明人发现存在如下问题:
后台程序的切换几乎都是盲操作,在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次切换操作才能找到自己所需的应用,导致切换效率低。
发明内容
本申请实施例的目的是提供一种后台程序控制方法、装置和电子设备,能够解决现有技术中在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次切换操作才能找到自己所需的应用,导致切换效率低的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种后台程序控制方法,该方法包括:
接收用户对目标后台程序的第一输入;
响应于所述第一输入,调整N个后台程序的后台切换顺序;
其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于 1的整数。
第二方面,本申请实施例提供了一种后台程序控制装置,该装置包括:
第一接收模块,用于接收用户对目标后台程序的第一输入;
第一调整模块,用于响应于所述第一输入,调整N个后台程序的后台切换顺序;
其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供了一种计算机软件产品,所述计算机软件产品被存储在非易失的存储介质中,所述软件产品被配置成被至少一个处理器执行以实现如第一方面所述的方法的步骤。
第七方面,本申请实施例提供了一种电子设备,所述电子设备被配置成用于执行如第一方面所述的方法。
在本申请实施例中,通过接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;能够实现依据用户所需调整后台程序的后台切换顺序,从而保证在后续的后台应用切换方案的实现过程中,用户能够预知当前程序的相邻程序,并且快速切换至自己所需的程序,提高切换效率,避免了在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次盲切换操作才能找到自己所需的应用。
附图说明
图1是本申请实施例的后台程序控制方法流程示意图;
图2是本申请实施例的后台切换顺序设置界面示意图;
图3是本申请实施例的第一输入示意图;
图4是本申请实施例的滑动输入示意图;
图5是本申请实施例的程序标识显示示意图;
图6是本申请实施例的提示信息以及程序标识显示示意图;
图7是本申请实施例的后台程序控制装置结构示意图;
图8是本申请实施例的电子设备结构示意图一;
图9是本申请实施例的电子设备结构示意图二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体地实施例及其应用场景对本申请实施例提供的后台程序控制方法进行详细地说明。
本申请实施例提供的后台程序控制方法,如图1所示,包括:
步骤11:接收用户对目标后台程序的第一输入。
其中,所述第一输入可以是单独的一个输入,也可以是与其他输入相连 接的输入,在此不作限定。第一输入可以具体为拖动输入、点击输入、长按输入等,第一输入也可以为第一操作。
步骤12:响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。
关于后台切换顺序是在后台界面切换后台程序的时候在不同的程序之间切换的顺序。
这样可以为实现快速切换到用户所需应用提供基础,从而提高可用性和高效性。
关于步骤11和步骤12的具体实现,本申请实施例中提供以下三种示例:
示例一,所述接收用户对目标后台程序的第一输入,包括:接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;其中,所述第一区域包括N个后台程序图标;所述调整N个后台程序的后台切换顺序,包括:调整所述目标后台程序图标在所述第一区域中的显示位置;其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后台程序的后台切换顺序一致。这样可以使得用户能够提前设置后台切换顺序,并且在后台切换顺序设置界面中进行设置不会引发其他的误操作,更加便于用户使用。
其中,后台切换顺序设置界面用于设定后台程序的后台切换顺序,以及允许进行顺序设定后台程序的个数和标识;具体地,第一区域具体可为图2中的区域a;此外,后台切换顺序设置界面还可以包括区域b和区域c,区域b用于设置区域a所能够容纳的后台程序图标的上限值,滑动滑块d可以实时调节;区域c用于提供候选的后台程序图标,这些后台程序图标对应的程序均支持预设操作切换,比如支持横滑切换;用户可以向区域c中的候选的后台程序图标输入第六输入,以将候选的后台程序图标拖至区域a中,参与后台切换顺序的调整;例如:选中区域c中的图标1,将图标1拖动到区域a中的任意位置,比如第一个图标之前,最后一个图之后,或者任两个图标之间插入。关于区域a、区域b和区域c在后台切换顺序设置界面中的位置可以 依据用户输入进行调整。
假设后台应用(即上述后台程序)切换的触发操作为横滑,则采用示例一的方案之后,横滑切换应用不再根据后台的排列顺序,而是根据上述调整后的后台切换顺序进行后台应用的切换;关于后台切换顺序,用户可以根据自己的习惯排列顺序自定义调整。具体地,当应用被打开后,后台可根据打开和使用顺序排列后台程序顺序,而横滑切换应用顺序优先依据用户自定义的顺序排列。关于横滑切换应用顺序中的应用数量也可以用户定义,也就是用户自己定义横滑切换的应用最多可以有多少个。更具体地,比如用户自定义的横滑切换应用顺序是:应用A→应用B→应用C→应用D,当这些应用打开后在横滑切换应用顺序中就会按照这个顺序排列,后续使用时用户就会知道应用B相邻的应用的身份标识,可以快速切换。也就是,可以快速切换到当前显示的程序的相邻程序。
示例二,所述接收用户对目标后台程序的第一输入,包括:接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;其中,所述后台程序显示界面包括N个后台程序卡片;所述调整N个后台程序的后台切换顺序,包括:在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。
也就是,顺序调整过程中,控制调整顺序后位于目标后台程序卡片之后的后台程序卡片从当前位置向后移动,或者,顺序调整过程中,控制调整顺序后位于目标后台程序卡片之前的后台程序卡片从当前位置向前移动。
本示例的方案可以使得用户在后台程序显示界面中直接进行设置,而不需要用户单独进入一个设置界面进行设置,更加简便,方便用户操作。
关于按照第一方向移动具体可以是向右移动,按照第二方向移动具体可以是向左移动。
其中,第i个后台程序卡片是N个后台程序卡片中的任一个,第j个后台程序卡片是N个后台程序卡片中的任一个。后台程序显示界面是指显示后台程序缩略图,可用于对后台程序缩略图进行操作的界面,也可理解为后台多任务界面。
关于示例二,具体可以是长按选中后台程序显示界面中的目标后台程序卡片,然后拖动进行顺序调整;也就是,在后台多任务中长按目标应用缩略图,直接可以拖动进行自定义排序;排序后后台切换应用和后台多任务的应用顺序不再是以打开应用时间的顺序排列的,而是以用户自定义的顺序排列的。
进一步的,在选中目标后台程序卡片之后,为了方便进行顺序调整,可以将各个后台程序卡片缩小进行显示,待目标后台程序卡片的位置确定之后,后台程序卡片再恢复大小;更进一步的,可以在当前界面的中心位置显示目标后台程序卡片,也就是聚焦在排序后的目标后台程序卡片。
具体地,可参见图3,用户手指长按后台多任务的其中一个卡片;即选中目标后台程序卡片e;长按后触发排序功能,后台程序卡片缩小使得界面显示更多程序卡片,方便排序;然后,用户手指可拖动目标后台程序卡片至指定位置f,目标后台程序卡片插入该指定位置f,其他后台程序卡片进行补位处理;最后,用户手指离开后后台程序卡片恢复原来大小进行显示,并聚焦到所述指定位置f。指定位置f可以是用户所需位置。
由上可知,示例二的方案是用户有需求的话可以直接在后台程序卡片显示的界面进行操作,直接拖到即可调整后台切换顺序,实现所拖即所得。
示例三,后台程序显示界面包括后台切换顺序设置区域;所述接收用户对目标后台程序的第一输入,包括:接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;其中,所述后台程序显示界面包括N个后台程序卡片;所述调整N个后台程序的后台切换顺序,包括:在所述后台切换顺序设置区域,显示N个后台程序标识;其中,每个后台程序标识指示一个后台程 序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。
本示例的方案可以使得用户在后台程序显示界面中直接触发进行设置,而不需要用户单独进入一个设置界面进行设置,更加简便,方便用户操作。
其中,所述滑动输入包括N次滑动子输入,每次滑动子输入分别是从每个后台程序卡片滑向后台切换顺序设置区域的一个位置;关于后台程序标识是基于用对任一个卡片的拖动操作,生成的标识,标识可以体现为图片、文字、符号等形式。第m个后台程序标识是N个后台程序标识中的任一个。
在接收用户对目标后台程序的第一输入之前,还可以包括:接收用户的第七输入,响应于所述第七输入,显示所述后台切换顺序设置区域;第七输入可以为针对一个后台程序卡片的长按操作。
具体地,后台切换顺序设置区域是响应于第七输入之后显示在后台显示界面上,以供用户进行设置,而不需要用户进入一个单独的设置界面,更加便于用户操作。后台显示界面也可理解为后台多任务界面。假设后台应用(即上述后台程序)切换的触发操作为横滑,则本示例的方案可以理解为自定义横滑切换应用的顺序并且设定横滑应用的数量;具体地,可以在在后台多任务界面长按一个缩略图后,即长按一个后台程序卡片后,后台一个区域高亮显示,即高亮显示所述后台切换顺序设置区域,用户可以把任意后台程序卡片拖到那个区域中,生成对应的后台程序标识;具体可以是拖到这个区域的后台程序卡片对应的应用就支持横滑切换应用,没有拖到这个区域的后台程序卡片对应的应用就不支持横滑切换应用,后续滑切换应用时就不显示该应用。这样用户就能自己定义常用的应用和顺序来横滑切换应用了。当用户没有拖动任何后台程序卡片到下方时,横滑切换应用可采用为后台的排序顺序,调整后后台切换顺序的执行优先级高于所述后台的排序顺序。
具体可参见图4,用户手指长按后台多任务的其中一个后台程序卡片A;长按以后,多任务界面下方一个区域高亮,提示此区域是显示横滑切换应用 编辑排序的区域;即提示此区域是后台切换顺序设置区域Z。后续用户将后台程序卡片A拖动到下方区域,则由卡片得到对应的后台程序标识A,比如图标,这样操作后后台多任务的顺序是不变的,而且应用依然是存在的,也就是后台的排序顺序是没有发生改变的;后续可以同之前的操作拖拽卡片到后台切换顺序设置区域,此区域的后台程序标识的数量和排序决定了横滑切换应用的数量和顺序,如后台切换顺序设置区域依次包含后台程序标识A、B、C和D,那么在后续横滑切换应用时,则按照这个顺序进行切换,例如由后台程序标识B对应的应用向左切换则为后台程序标识A对应的应用,由后台程序标识B对应的应用向右切换则为后台程序标识C对应的应用;关于后台程序标识A对应的应用向左滑动可以切换为后台程序标识D对应的应用,也可以不执行切换;进一步的,在上述拖拽操作结束后可以关闭上述区域的高亮,缩小后台程序标识,防止遮挡后台操作。
进一步的,本申请实施例中,所述方法还包括:接收用户的第三输入;响应于所述第三输入,显示M个后台程序的M个程序标识;接收用户对所述M个程序标识中的第一程序标识的第四输入;响应于所述第四输入,显示所述第一程序标识对应的后台程序的程序界面;其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数。
这样可以使得在后台应用切换时,让用户提前预览应用排序,从而让用户快速获知所需应用的位置,进而能够执行对应操作快速切换到所需应用,提升可用性。具体地,用户不再需要依次执行顺序切换,可以一次操作切换至任一个用户所需程序。
关于接收第三输入以及显示M个程序标识的方案可以基于步骤11和步骤12的方案执行,可以单独执行,就是与步骤11和步骤12的方案为相分离而单独存在,在此不作限定。
具体地,所述响应于所述第三输入,显示M个后台程序的M个程序标识,包括:获取当前显示的T个程序的程序界面对应的T个程序标识;基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标 识和所述P个程序标识;其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。
这样可以提前预知一定范围的程序标识,从而能够实现快速切换至用户所需应用的目的。
关于“与所述T个程序标识相邻的P个程序标识”可以是与所述T个程序标识第一侧相邻的P个程序标识,也可以是与所述T个程序标识的第一侧或第二侧相邻的P个程序标识,在此不作限定。
具体地,可以参见图5,在通过横滑切换应用时提前提示相邻的至少两个应用,让用户提前有预期,以达到快速切换的目的。更具体地,可以当横滑停顿2s时,当前界面弹出供选择跳转应用的图标,即程序标识,用户手指移动到哪个图标,就会跳转到图标对应的应用。弹出的图标如图5中的应用1、应用2、应用3以及应用4。上述T个程序标识可为图5中的图标:应用2和应用3。
进一步的,所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,还包括:响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;所述接收用户的第三输入,包括:接收用户对所述预设区域的第三输入。
提示信息既提示了M个后台程序的后台切换顺序,还提示了预设区域的显示位置。这样可以使得在用户所需程序与当前程序间隔程序个数较少的情况下,直接执行顺序切换即可;而在用户所需程序与当前程序间隔程序个数较多的情况下,准确的在预设区域进行第三输入,以触发M个程序标识的显示,从而直接选中用户所需程序进行跳转,更加便于用户使用、更加人性化、提供更多选择。
其中,程序标签可以体现为程序图标,具体地,可以在横滑切换应用时,在界面下方显示应用图标,即程序图标,使得用户可以提前预知周围几个相邻的应用,达到提前预知滑几次就能切换至所需应用的目的。
进一步的,可以当用户手指滑到屏幕底部边缘停留2s时在屏幕边缘显示应用图标icon及名称,此时后台程序卡片不再跟随用户手指移动了,用户手指向上滑动(手指未离开屏幕)选择相应的应用图标,切换至该应用图标对应的应用。其中,屏幕底部边缘即上述预设区域的一种具体体现,如图6中的区域g。
具体地,参见图6,在屏幕底部横滑切换应用时,显示上述提示信息,具体可以体现为堆叠排列的应用图标h,让用户可以提前预知应用顺序;进一步的,可以在屏幕底部区域定义用于长按的区域g,当用户手指在区域g内停留2s之后可以触发快速切应用功能,屏幕上的其他区域不触发此功能。在触发快速切换应用功能之后,可以在触发一侧的屏幕边缘从下至上显示横滑应用顺序,即按照目标后台切换顺序显示程序标识:应用D、应用E、应用F和应用G;另外,在触发了上述功能后后台程序卡片不再跟随用户手指移动而是停留在当前状态,用户手指不脱离屏幕就一直保持,当用户手指移动到某个应用图标,确认该应用图标被选中后将手指离开屏幕,切换到被选中的应用图标对应的后台应用E。
由上可知,为了实现快速切换应用,本申请实施例提供了两种实现方案,方案一:提供用户自定义横滑切换应用的顺序,用户可以设置自己习惯的应用在相邻位置,同时也可以自定义横滑切换应用的数量;方案二:提供快速显示相邻应用的排序,让用户快速识别当前应用和想要到达的应用的位置以实现快速切换。
以上涉及“应用”也可以理解为“程序”,在此不作限定。
在本申请实施例中,通过接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;能够实现依据用户所需调整后台程序的后台切换顺序,从而保证在后续的后台应用切换方案的实现过程中,用户能够预知当前程序的相邻程序,并且快速切换至自己所需的程序,提高切换效率,避免了在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次盲切换操作才能找到自己所需的应用。
需要说明的是,本申请实施例提供的后台程序控制方法,执行主体可以为后台程序控制装置,或者该后台程序控制装置中的用于执行后台程序控制方法的控制模块。本申请实施例中以后台程序控制装置执行后台程序控制方法为例,说明本申请实施例提供的后台程序控制装置。
本申请实施例还提供了一种后台程序控制装置,如图7所示,包括:
第一接收模块71,用于接收用户对目标后台程序的第一输入;
第一调整模块72,用于响应于所述第一输入,调整N个后台程序的后台切换顺序;
其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。
其中,所述第一接收模块,包括:第一接收子模块,用于接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;其中,所述第一区域包括N个后台程序图标;所述第一调整模块,包括:第一调整子模块,用于调整所述目标后台程序图标在所述第一区域中的显示位置;其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后台程序的后台切换顺序一致。
本申请实施例中,所述第一接收模块,包括:第二接收子模块,用于接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;其中,所述后台程序显示界面包括N个后台程序卡片;所述第一调整模块,包括:第一控制子模块,用于在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。
其中,后台程序显示界面包括后台切换顺序设置区域;所述第一接收模块,包括:第三接收子模块,用于接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;其中,所述后台程序显示界面包括N个后台程序卡片;所述第一调整模块,包括:第一显示子模块,用于在所述后台切换顺序设置区域,显示N个后台程序标识;其中,每个后台程序标识指示一个后台程序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。
进一步的,所述装置还包括:第二接收模块,用于接收用户的第三输入;第一显示模块,用于响应于所述第三输入,显示M个后台程序的M个程序标识;第三接收模块,用于接收用户对所述M个程序标识中的第一程序标识的第四输入;第二显示模块,用于响应于所述第四输入,显示所述第一程序标识对应的后台程序的程序界面;其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数。
具体地,所述第一显示模块,包括:第一获取子模块,用于获取当前显示的T个程序的程序界面对应的T个程序标识;第二获取子模块,用于基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;第二显示子模块,用于按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标识和所述P个程序标识;其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。
进一步的,所述的装置,还包括:第三显示模块,用于所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预 设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;所述第二接收模块,包括:第四接收子模块,用于接收用户对所述预设区域的第三输入。
在本申请实施例中,通过接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;能够实现依据用户所需调整后台程序的后台切换顺序,从而保证在后续的后台应用切换方案的实现过程中,用户能够预知当前程序的相邻程序,并且快速切换至自己所需的程序,提高切换效率,避免了在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次盲切换操作才能找到自己所需的应用。
本申请实施例中的后台程序控制装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的后台程序控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的后台程序控制装置能够实现图1至图6的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选的,如图8所示,本申请实施例还提供一种电子设备80,包括处理器81,存储器82,存储在存储器82上并可在所述处理器81上运行的程序或指令,该程序或指令被处理器81执行时实现上述后台程序控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设 备和非移动电子设备。
图9为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备90包括但不限于:射频单元91、网络模块92、音频输出单元93、输入单元94、传感器95、显示单元96、用户输入单元97、接口单元98、存储器99、以及处理器910等部件。
本领域技术人员可以理解,电子设备90还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元97,用于接收用户对目标后台程序的第一输入;
处理器910,用于响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。
在本申请实施例中,通过接收用户对目标后台程序的第一输入;响应于所述第一输入,调整N个后台程序的后台切换顺序;其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数;能够实现依据用户所需调整后台程序的后台切换顺序,从而保证在后续的后台应用切换方案的实现过程中,用户能够预知当前程序的相邻程序,并且快速切换至自己所需的程序,提高切换效率,避免了在用户所需的后台程序与当前程序之间的排序间隔比较大的情况下,用户需要执行很多次盲切换操作才能找到自己所需的应用。
可选的,用户输入单元97,具体用于接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;其中,所述第一区域包括N个后台程序图标;
处理器910,具体用于调整所述目标后台程序图标在所述第一区域中的显示位置;其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后台程序的后台切换顺序一致。
可选的,用户输入单元97,具体用于接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;其中,所述后台程序显示界面包括N个后台程序卡片;
处理器910,具体用于在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。
可选的,后台程序显示界面包括后台切换顺序设置区域;用户输入单元97,具体用于接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;其中,所述后台程序显示界面包括N个后台程序卡片;
处理器910,具体用于在所述后台切换顺序设置区域,显示N个后台程序标识;其中,每个后台程序标识指示一个后台程序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。
可选的,用户输入单元97,还用于接收用户的第三输入;
显示单元96,用于响应于所述第三输入,显示M个后台程序的M个程序标识;
用户输入单元97,还用于接收用户对所述M个程序标识中的第一程序标识的第四输入;
显示单元96,还用于响应于所述第四输入,显示所述第一程序标识对应 的后台程序的程序界面;其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数。
可选的,显示单元96,具体用于获取当前显示的T个程序的程序界面对应的T个程序标识;基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标识和所述P个程序标识;其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。
可选的,显示单元96,还用于所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;
用户输入单元97,具体用于接收用户对所述预设区域的第三输入。
由上可知,为了实现快速切换应用,本申请实施例提供了两种实现方案,方案一:提供用户自定义横滑切换应用的顺序,用户可以设置自己习惯的应用在相邻位置,同时也可以自定义横滑切换应用的数量;方案二:提供快速显示相邻应用的排序,让用户快速识别当前应用和想要到达的应用的位置以实现快速切换。
应理解的是,本申请实施例中,输入单元94可以包括图形处理器(Graphics Processing Unit,GPU)941和麦克风942,图形处理器941对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元96可包括显示面板961,可以采用液晶显示器、有机发光二极管等形式来配置显示面板961。用户输入单元97包括触控面板971以及其他输入设备972。触控面板971,也称为触摸屏。触控面板971可包括触摸检测装置和触摸控制器两个部分。其他输入设备972可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器99可用于存储软件程序以及各 种数据,包括但不限于应用程序和操作系统。处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述后台程序控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述后台程序控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各 示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
可以理解的是,本公开实施例描述的这些实施例可以用硬件、软件、固 件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本公开所述功能的其它电子单元或其组合中。
对于软件实现,可通过执行本公开实施例所述功能的模块(例如过程、函数等)来实现本公开实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (19)

  1. 一种后台程序控制方法,包括:
    接收用户对目标后台程序的第一输入;
    响应于所述第一输入,调整N个后台程序的后台切换顺序;
    其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。
  2. 根据权利要求1所述的方法,其中,所述接收用户对目标后台程序的第一输入,包括:
    接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;
    其中,所述第一区域包括N个后台程序图标;
    所述调整N个后台程序的后台切换顺序,包括:
    调整所述目标后台程序图标在所述第一区域中的显示位置;
    其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后台程序的后台切换顺序一致。
  3. 根据权利要求1所述的方法,其中,所述接收用户对目标后台程序的第一输入,包括:
    接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;
    其中,所述后台程序显示界面包括N个后台程序卡片;
    所述调整N个后台程序的后台切换顺序,包括:
    在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;
    在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在 的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。
  4. 根据权利要求1所述的方法,其中,后台程序显示界面包括后台切换顺序设置区域;
    所述接收用户对目标后台程序的第一输入,包括:
    接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;
    其中,所述后台程序显示界面包括N个后台程序卡片;
    所述调整N个后台程序的后台切换顺序,包括:
    在所述后台切换顺序设置区域,显示N个后台程序标识;
    其中,每个后台程序标识指示一个后台程序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。
  5. 根据权利要求1所述的方法,还包括:
    接收用户的第三输入;
    响应于所述第三输入,显示M个后台程序的M个程序标识;
    接收用户对所述M个程序标识中的第一程序标识的第四输入;
    响应于所述第四输入,显示所述第一程序标识对应的后台程序的程序界面;
    其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数。
  6. 根据权利要求5所述的方法,其中,所述响应于所述第三输入,显示M个后台程序的M个程序标识,包括:
    获取当前显示的T个程序的程序界面对应的T个程序标识;
    基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;
    按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标识和所述P个程序标识;
    其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。
  7. 根据权利要求5所述的方法,其中,所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,还包括:
    响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;
    所述接收用户的第三输入,包括:
    接收用户对所述预设区域的第三输入。
  8. 一种后台程序控制装置,包括:
    第一接收模块,用于接收用户对目标后台程序的第一输入;
    第一调整模块,用于响应于所述第一输入,调整N个后台程序的后台切换顺序;
    其中,所述目标后台程序为所述N个后台程序中的至少一个,N为大于1的整数。
  9. 根据权利要求8所述的装置,其中,所述第一接收模块,包括:
    第一接收子模块,用于接收用户对后台切换顺序设置界面中的第一区域中显示的目标后台程序图标的第一输入;
    其中,所述第一区域包括N个后台程序图标;
    所述第一调整模块,包括:
    第一调整子模块,用于调整所述目标后台程序图标在所述第一区域中的显示位置;
    其中,在调整所述目标后台程序图标的显示位置之后,所述第一区域中的所述N个后台程序图标的显示顺序与所述N个后台程序图标对应的N个后 台程序的后台切换顺序一致。
  10. 根据权利要求8所述的装置,其中,所述第一接收模块,包括:
    第二接收子模块,用于接收用户将后台程序显示界面中的目标后台程序卡片拖动至目标区域的第一输入;
    其中,所述后台程序显示界面包括N个后台程序卡片;
    所述第一调整模块,包括:
    第一控制子模块,用于在所述目标区域为所述N个后台程序卡片中的第i个后台程序卡片和第i+1个后台程序卡片之间的第一区域的情况下,控制第i+1个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第i个后台程序卡片按照第二方向移动一个后台程序卡片的距离,i为正整数,i<N;
    在所述目标区域为所述N个后台程序卡片中的第j个后台程序卡片所在的第二区域的情况下,控制第j个后台程序卡片至第N个后台程序卡片按照第一方向移动一个后台程序卡片的距离,或者,控制第1个后台程序卡片至第j个后台程序卡片按照第二方向移动一个后台程序卡片的距离,j为正整数,j≤N。
  11. 根据权利要求8所述的装置,其中,后台程序显示界面包括后台切换顺序设置区域;所述第一接收模块,包括:
    第三接收子模块,用于接收用户在所述后台程序显示界面中的N个后台程序卡片和所述后台切换顺序设置区域上的滑动输入,所述滑动输入包括N次滑动子输入;
    其中,所述后台程序显示界面包括N个后台程序卡片;
    所述第一调整模块,包括:
    第一显示子模块,用于在所述后台切换顺序设置区域,显示N个后台程序标识;
    其中,每个后台程序标识指示一个后台程序;第m个后台程序标识的显示位置是根据第m次滑动子输入的滑动结束位置确定的,m为正整数,所述第m个后台程序标识为所述N个后台程序标识中的任一个;在设置所述N个后台程序标识的显示顺序之后,所述后台切换顺序设置区域中的所述N个 后台程序标识的显示顺序与所述N个后台程序标识对应的N个后台程序的后台切换顺序一致。
  12. 根据权利要求8所述的装置,还包括:
    第二接收模块,用于接收用户的第三输入;
    第一显示模块,用于响应于所述第三输入,显示M个后台程序的M个程序标识;
    第三接收模块,用于接收用户对所述M个程序标识中的第一程序标识的第四输入;
    第二显示模块,用于响应于所述第四输入,显示所述第一程序标识对应的后台程序的程序界面;
    其中,所述第一程序标识为所述M个程序标识中的任一个,M为大于或等于1的整数。
  13. 根据权利要求12所述的装置,其中,所述第一显示模块,包括:
    第一获取子模块,用于获取当前显示的T个程序的程序界面对应的T个程序标识;
    第二获取子模块,用于基于目标后台切换顺序,获取与所述T个程序标识相邻的P个程序标识;
    第二显示子模块,用于按照所述目标后台切换顺序,显示M个后台程序的M个程序标识,所述M个程序标识包括所述P个程序标识,或者,所述M个程序标识包括所述T个程序标识和所述P个程序标识;
    其中,T为大于或等于1的整数,P为大于或等于1的整数;所述目标后台切换顺序包括:接收所述第一输入之前N个后台程序的后台切换顺序,或者,响应所述第一输入之后的N个后台程序的后台切换顺序。
  14. 根据权利要求12所述的装置,还包括:
    第三显示模块,用于所述响应于所述第三输入,显示M个后台程序的M个程序标识之前,响应于第五输入,显示提示信息,所述提示信息用于提示所述M个后台程序的后台切换顺序和预设区域的显示位置,所述提示信息包括按照所述M个后台程序的后台切换顺序显示的M个程序标签;
    所述第二接收模块,包括:
    第四接收子模块,用于接收用户对所述预设区域的第三输入。
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7中任一项所述的后台程序控制方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7中任一项所述的后台程序控制方法的步骤。
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7中任一项所述的后台程序控制方法。
  18. 一种计算机软件产品,所述计算机软件产品被存储在非易失的存储介质中,所述软件产品被配置成被至少一个处理器执行以实现如权利要求1-7中任一项所述的后台程序控制方法的步骤。
  19. 一种电子设备,所述电子设备被配置成用于执行如权利要求1-7中任一项所述的后台程序控制方法。
PCT/CN2021/106741 2020-07-17 2021-07-16 后台程序控制方法、装置和电子设备 WO2022012664A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010693022.6A CN111857513B (zh) 2020-07-17 2020-07-17 后台程序控制方法、装置和电子设备
CN202010693022.6 2020-07-17

Publications (1)

Publication Number Publication Date
WO2022012664A1 true WO2022012664A1 (zh) 2022-01-20

Family

ID=73000952

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106741 WO2022012664A1 (zh) 2020-07-17 2021-07-16 后台程序控制方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN111857513B (zh)
WO (1) WO2022012664A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237323A (zh) * 2022-07-06 2022-10-25 Oppo广东移动通信有限公司 界面显示方法、装置、电子设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857513B (zh) * 2020-07-17 2022-04-29 维沃移动通信有限公司 后台程序控制方法、装置和电子设备
CN112631525A (zh) * 2020-12-30 2021-04-09 安徽鸿程光电有限公司 存储及显示方法、装置、设备及介质
CN112783408A (zh) * 2021-01-28 2021-05-11 维沃移动通信有限公司 电子设备的手势导航方法、装置、设备及可读存储介质
CN114911400A (zh) * 2021-02-08 2022-08-16 花瓣云科技有限公司 分享图片的方法和电子设备
CN115268725A (zh) * 2021-04-30 2022-11-01 Oppo广东移动通信有限公司 应用切换方法、装置、电子设备以及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511733A (zh) * 2016-01-30 2016-04-20 深圳天珑无线科技有限公司 通过压力触控调整多任务排列顺序的方法、系统和电子设备
CN109933256A (zh) * 2019-03-22 2019-06-25 网易传媒科技(北京)有限公司 应用程序切换方法、应用程序切换装置、介质和计算设备
WO2019228297A1 (zh) * 2018-05-30 2019-12-05 维沃移动通信有限公司 显示控制方法及终端
CN111240545A (zh) * 2020-01-07 2020-06-05 维沃移动通信有限公司 应用程序的切换方法和电子设备
CN111309400A (zh) * 2017-07-31 2020-06-19 Oppo广东移动通信有限公司 进程控制方法、装置、存储介质以及电子设备
CN111857513A (zh) * 2020-07-17 2020-10-30 维沃移动通信有限公司 后台程序控制方法、装置和电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6379805B2 (ja) * 2013-09-17 2018-08-29 株式会社リコー 情報処理プログラム、情報処理装置および情報処理システム
CN105630280A (zh) * 2015-10-29 2016-06-01 东莞酷派软件技术有限公司 一种对多个应用进行切换的方法及装置
CN106445287A (zh) * 2016-09-18 2017-02-22 宇龙计算机通信科技(深圳)有限公司 后台应用管理方法及装置
CN109032734B (zh) * 2018-07-13 2020-09-01 维沃移动通信有限公司 一种后台应用程序显示方法和移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511733A (zh) * 2016-01-30 2016-04-20 深圳天珑无线科技有限公司 通过压力触控调整多任务排列顺序的方法、系统和电子设备
CN111309400A (zh) * 2017-07-31 2020-06-19 Oppo广东移动通信有限公司 进程控制方法、装置、存储介质以及电子设备
WO2019228297A1 (zh) * 2018-05-30 2019-12-05 维沃移动通信有限公司 显示控制方法及终端
CN109933256A (zh) * 2019-03-22 2019-06-25 网易传媒科技(北京)有限公司 应用程序切换方法、应用程序切换装置、介质和计算设备
CN111240545A (zh) * 2020-01-07 2020-06-05 维沃移动通信有限公司 应用程序的切换方法和电子设备
CN111857513A (zh) * 2020-07-17 2020-10-30 维沃移动通信有限公司 后台程序控制方法、装置和电子设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237323A (zh) * 2022-07-06 2022-10-25 Oppo广东移动通信有限公司 界面显示方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN111857513A (zh) 2020-10-30
CN111857513B (zh) 2022-04-29

Similar Documents

Publication Publication Date Title
WO2022012664A1 (zh) 后台程序控制方法、装置和电子设备
US11675618B2 (en) Method and apparatus for switching tasks
CN106775313B (zh) 分屏操作控制方法及移动终端
CN105677305B (zh) 图标管理的方法、装置及终端
US8806336B2 (en) Facilitating display of a menu and selection of a menu item via a touch screen interface
WO2022068773A1 (zh) 桌面元素调整方法、装置和电子设备
US20150143285A1 (en) Method for Controlling Position of Floating Window and Terminal
US20180039403A1 (en) Terminal control method, terminal, and storage medium
US10019154B2 (en) Method, apparatus and computer program product for operating items with multiple fingers
JP2007293820A (ja) 端末機及びタッチスクリーンを備えた端末機の制御方法
KR20130093043A (ko) 터치 및 스와이프 내비게이션을 위한 사용자 인터페이스 방법 및 모바일 디바이스
CN115220838A (zh) 一种微件处理方法以及相关装置
EP2613247B1 (en) Method and apparatus for displaying a keypad on a terminal having a touch screen
WO2023005920A1 (zh) 分屏方法、装置及电子设备
US20150033175A1 (en) Portable device
JP2023542666A (ja) 操作方法及び装置
WO2022242586A1 (zh) 应用界面显示方法、装置和电子设备
WO2016183912A1 (zh) 菜单布局方法及装置
CN114063841A (zh) 文本选择方法、文本选择装置和电子设备
CN108509138B (zh) 一种任务栏按钮显示的方法及其终端
WO2023160443A1 (zh) 应用程序处理方法及装置
WO2023045919A1 (zh) 文字编辑方法和装置
WO2023025305A1 (zh) 应用图标管理方法、装置及电子设备
CN107340881B (zh) 一种输入方法及电子设备
CN111752428A (zh) 图标整理方法、装置、电子设备和介质

Legal Events

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

Ref document number: 21843052

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21843052

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21843052

Country of ref document: EP

Kind code of ref document: A1