WO2018054281A1 - 显示处理方法及装置 - Google Patents

显示处理方法及装置 Download PDF

Info

Publication number
WO2018054281A1
WO2018054281A1 PCT/CN2017/102238 CN2017102238W WO2018054281A1 WO 2018054281 A1 WO2018054281 A1 WO 2018054281A1 CN 2017102238 W CN2017102238 W CN 2017102238W WO 2018054281 A1 WO2018054281 A1 WO 2018054281A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
window
thumbnail
main
predetermined
Prior art date
Application number
PCT/CN2017/102238
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 WO2018054281A1 publication Critical patent/WO2018054281A1/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/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
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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

Definitions

  • the present invention relates to the field of communications, and in particular to a display processing method and apparatus.
  • One method is split screen, which divides the screen of the mobile phone into multiple areas and displays different applications simultaneously in different areas.
  • Another method is to quickly switch applications and switch between several applications or tasks in various ways.
  • the existing technology can solve the user's problem to a certain extent, it is inevitable that there are big drawbacks.
  • the method 1 can make the multi-task run the display at the same time, the actual multi-window display further compresses the display area.
  • the size of the screen also makes the drawbacks of the screen too small on the mobile terminal more prominent.
  • the second method provides the user with the function of task switching, but it is cumbersome in the operation process. For example, the user of the recent app needs to obtain the task list, and then the search and switch in the task list does not bring great convenience to the user. And when the user switches to another task, the current task is also inevitably overwritten.
  • the embodiment of the present invention provides a display processing method and apparatus, so as to at least solve the problem that multiple tasks on a mobile terminal are displayed in the same window in the related art, resulting in a display area of each task being too small.
  • a display processing method comprising: detecting at least two running tasks; determining a primary task of the at least two running tasks and in addition to the primary task a secondary task; displaying the primary task and displaying the secondary task on a window of the primary task in a thumbnail or hidden task, wherein the hidden task is performed after a predetermined operation on the main task window Displayed as a thumbnail on the window of the main task.
  • determining a primary task of the at least two running tasks and a secondary task other than the primary task includes: selecting a task for switching from the at least two running tasks Adding the selected task to be switched to a predetermined queue, determining a main task of the task in the predetermined queue, and a subtask other than the main task in the predetermined queue; displaying the main task, And displaying the subtask on the window of the main task in the form of a thumbnail or a hidden task includes: acquiring a thumbnail of the subtask in the predetermined queue, and displaying the thumbnail on the main The thumbnail of the task is displayed on the window of the main task in a hidden task manner.
  • the method further includes: setting a predetermined action, the predetermined action And configured to indicate that the task in operation is switched; determine whether the touch action is consistent with the predetermined action; and if the determination result is consistent, switch the selected task to be switched.
  • the method before the switching of the selected task to be switched, the method further includes: setting a priority of the task in the predetermined queue to a highest priority among priorities of the at least two running tasks level.
  • the method before switching the selected task to be switched, further includes: closing a task that is not added to the predetermined queue among the at least two running tasks.
  • a display processing apparatus comprising: a detection module configured to detect at least two running tasks; a determination module configured to determine the at least two running tasks a main task of the task and a subtask other than the main task; a display module configured to display the main task and display the subtask in a window of the main task in the form of a thumbnail or a hidden task Above, wherein the hidden task is displayed on the window of the main task as a thumbnail by performing a predetermined operation on the main task window.
  • the determining module is further configured to select a task for switching from the at least two running tasks; add the selected task for switching to a predetermined queue; and determine the a main task of a task in a predetermined queue and a subtask other than the main task in the predetermined queue; the display module is further configured to acquire a thumbnail of the subtask in the predetermined queue, and The thumbnail is displayed on a window of the main task or displayed on a window of the main task in a hidden task.
  • the method further includes: a first setting module configured to set a predetermined action, the predetermined action is used to indicate that the task in operation is switched; and the determining module is configured to determine whether the touch action and the predetermined action are The switching module is configured to switch the selected task to be switched when the determination result is consistent.
  • the method further includes: a second setting module, configured to set a priority of the task in the predetermined queue to be the highest priority among the priorities of at least two running tasks.
  • the method further includes: closing a module, configured to close a task that is not added to the predetermined queue among the at least two running tasks.
  • a storage medium is also provided.
  • the storage medium is configured to store program code for performing the steps of: detecting at least two running tasks; determining a primary task of the at least two running tasks and a secondary task other than the primary task Displaying the main task and using the subtask as a thumbnail or hiding the task Displayed on the window of the main task, wherein the hidden task is displayed on the window of the main task as a thumbnail by performing a predetermined operation on the main task window.
  • the storage medium is further configured to store program code for performing the steps of: determining a primary task of the at least two running tasks and a secondary task other than the primary task: Selecting a task for switching among the at least two running tasks, adding the selected task for switching to a predetermined queue, determining a main task of the task in the predetermined queue, and deleting the predetermined queue Dedicating a subtask other than the main task; displaying the main task and displaying the subtask in a thumbnail or hidden task on the window of the main task includes: acquiring the subtask in the predetermined queue a thumbnail image and displaying the thumbnail on the window of the main task or displaying the thumbnail on the window of the main task in a hidden task.
  • the storage medium is further configured to store program code for performing the following steps: displaying the main task, and displaying the subtask in the manner of a thumbnail or a hidden task on the main task
  • the method further includes: setting a predetermined action, the predetermined action is used to indicate that the task in operation is switched; determining whether the touch action is consistent with the predetermined action; and if the determination result is consistent, the selected The task of switching is switched.
  • the storage medium is further configured to store program code for performing the following steps: before switching the selected task to be switched, further comprising: setting a priority of the task in the predetermined queue to The highest priority among the priorities of the at least two running tasks.
  • the storage medium is further configured to store program code for performing the following steps: before switching the selected task of switching, further comprising: closing the at least two running tasks Tasks not added to the scheduled queue.
  • Detecting at least two running tasks by using an embodiment of the present invention determining a primary task of at least two running tasks and a secondary task other than the primary task; displaying the primary task, and displaying the secondary task as a thumbnail or The way to hide the task is displayed on the main task window, where the hidden task is displayed as a thumbnail in the director after performing the predetermined operation on the main task window.
  • the window of the service Since the main task is determined in the running task, the other tasks are displayed in the form of thumbnails on the window of the main task, so that the entire display area belongs to the main task, and the visible interval of the main task is maximized. Therefore, it is possible to solve the problem that the plurality of tasks on the mobile terminal are displayed in the same window in the related art, resulting in a display area of each of the plurality of tasks being too small.
  • FIG. 1 is a block diagram showing the hardware structure of a mobile terminal of a display processing method according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a display processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a sliding switch according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing a thumbnail display according to an embodiment of the present invention.
  • FIG. 5 is a first preferred flowchart of a display processing method according to an embodiment of the present invention.
  • FIG. 6 is a preferred flowchart 2 of a display processing method according to an embodiment of the present invention.
  • FIG. 7 is a block diagram showing the structure of a display processing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a block diagram 1 showing a preferred structure of a display processing apparatus according to an embodiment of the present invention.
  • FIG. 9 is a block diagram 2 of a preferred structure of a display processing apparatus according to an embodiment of the present invention.
  • FIG. 10 is a block diagram 3 showing a preferred configuration of a display processing apparatus according to an embodiment of the present invention.
  • FIG. 1 is a block diagram showing a hardware structure of a mobile terminal of a display processing method according to an embodiment of the present invention.
  • the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
  • a memory 104 that is configured to store data
  • a transmission device 106 that is configured as a communication function.
  • the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the display processing method in the embodiment of the present invention, and the processor 102 executes each by executing a software program and a module stored in the memory 104.
  • a functional application and data processing, that is, the above method is implemented.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is arranged to receive or transmit data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a flowchart of a display processing method according to an embodiment of the present invention. As shown in FIG. 2, the flow includes the following steps:
  • Step S202 detecting at least two running tasks
  • Step S204 determining a main task of at least two running tasks and a subtask other than the main task
  • Step S206 displaying the main task, and displaying the subtask on the window of the main task in the form of a thumbnail or a hidden task, wherein the hidden task is displayed in the main task as a thumbnail by performing a predetermined operation on the main task window. On the window.
  • determining the main task in the at least two running tasks and the sub-tasks other than the main task include: selecting a task to switch from at least two running tasks, and adding the selected task to be switched Go to the predetermined queue, determine the main task of the task in the predetermined queue and the sub-task in the predetermined queue except the main task; display the main task, and display the sub-task on the window of the main task as a thumbnail or a hidden task Including: obtaining a thumbnail of the subtask in the predetermined queue, and displaying the thumbnail on the window of the main task or displaying the thumbnail on the window of the main task in a hidden task.
  • the method further includes: setting a predetermined action, where the predetermined action is used to indicate that the running task is switched; It is determined whether the touch action is consistent with the predetermined action; if the determination result is consistent, the selected task to be switched is switched.
  • the process can be switched to the application 2 process by a preset sliding gesture, and the application 2 process switches back through the preset sliding gesture. Go to the application 1 process.
  • the application 1 process is switched to the application process 2 by a sliding gesture, and in the process of the application 2, the application process 1 is displayed in the form of a thumbnail in the application process 2 by a preset sliding gesture. On the window.
  • the method before the switching of the selected task to be switched, the method further includes: setting a priority of the task in the predetermined queue to a highest priority among the priorities of the at least two running tasks.
  • the method further includes: closing a task that is not added to the predetermined queue among the at least two running tasks.
  • closing a task that is not added to the predetermined queue among the at least two running tasks the task of the unjoined scheduled queue is ended to release the system resources, and the task of joining the predetermined queue can ensure the maximum use of system resources.
  • FIG. 5 is a first preferred flowchart of a display processing method according to an embodiment of the present invention. As shown in FIG. 5, the flow includes the following steps:
  • step S502 the task is started, and the user starts the corresponding application or task in actual use according to the needs of the user, and puts the previous task into the background running state when starting multiple tasks.
  • step S504 the switching queue is filled: the program currently running in the foreground and the background is queried by the recent function, and the required application can be added to the switching queue by visual drag and drop.
  • the unjoined tasks are ended to release system resources, and the task of joining the queue can maximize the use of system resources.
  • step S506 the task level in the queue is increased: the level of the task added to the switching queue is raised to the highest level foreground, and under this condition, the resources are not recovered, and the efficiency at the time of switching is improved.
  • Step S508 switching the gesture customization: the switching gesture customization ensures that the user can smoothly switch during the task switching, and the switching action is not in the same focus as the current There are conflicts in the tasks of the state.
  • Step S510 thumbnail calculation: acquiring a thumbnail of the previous or next task of the current task.
  • Step S512 thumbnail display: the thumbnail is displayed in a semi-transparent form on the current task without any influence on the main task.
  • Step S514 Task switching: the task is switched according to the gesture, and the new task is switched to the main task after the switching.
  • Step S516 the new task focuses on resource acquisition: the task that is switched from the task queue obtains a focus point, so that the task is displayed on the device for normal operation.
  • FIG. 6 is a preferred flowchart of a display processing method according to an embodiment of the present invention.
  • the technical solution in the embodiment of the present invention will be fully described below with reference to FIG. 6. It is obvious that the described embodiment is a part of the embodiment of the present invention. Instead of all the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the embodiments of the present invention.
  • the process includes the following steps:
  • Step S602 starting a task: the user starts the task according to the regular task.
  • step S604 the user selects whether to perform the setting of switching: if the switching setting is not made, the process directly jumps to step S614, and if the setting jumps to step S606.
  • Step S606 starting the switching setting: the user initiates the switching setting function by operation.
  • Step S608 determining whether it is a multitasking state: determining whether the current system is in a multitasking state. If yes, continue, no, end.
  • step S610 the selected task is added to the switching queue: in the case of multitasking, the user selects the task to be switched to be added to the switching queue.
  • Step S612 priority setting: increasing the priority of the selected task to foreground.
  • Step S614 setting a switching gesture: the user customizes the task switching gesture to ensure that there is no conflict with the basic operation.
  • Step S616 task switching or thumbnail display by the set gesture, when the task switching is determined, the process goes to step S622, and when the thumbnail display is determined, the process goes to step S618.
  • Step S618, acquiring a task thumbnail acquiring a previous task or a subsequent task thumbnail according to the gesture.
  • step S620 the thumbnail is added to the view to the main task.
  • Step S622 task switching: switching to another application according to the gesture.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a display processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 7 is a structural block diagram of a display processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes:
  • the detecting module 72 is configured to detect at least two running tasks
  • a determination module 74 coupled to the detection module 72, configured to determine a primary task of a task of at least two running tasks and a secondary task other than the primary task;
  • the display module 76 is connected to the determining module 74, configured to display the main task, and displays the subtask on the window of the main task in the form of a thumbnail or a hidden task, wherein the hidden task performs a predetermined operation on the main task window. It is then displayed as a thumbnail on the main task's window.
  • the determining module 74 is further configured to select a task for switching from at least two running tasks; add the selected task to be switched to the predetermined queue; and determine a main task of the task in the predetermined queue and a subtask in the scheduled queue other than the main task;
  • the display module 76 is further configured to acquire a thumbnail of the subtask in the predetermined queue, and display the thumbnail on the window of the main task or display the thumbnail on the window of the main task in a hidden task.
  • FIG. 8 is a block diagram of a preferred structure of a display processing apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes, in addition to all the modules shown in FIG.
  • the first setting module 82 is configured to set a predetermined action, and the predetermined action is used to indicate that the task in operation is switched;
  • the determining module 84 is connected to the first setting module 82, and is configured to determine whether the touch action is consistent with the predetermined action;
  • the switching module 86 is connected to the determination module 84, and is configured to switch the selected task to be switched when the determination results are consistent.
  • FIG. 9 is a block diagram of a preferred structure of a display processing apparatus according to an embodiment of the present invention. As shown in FIG. 9, the apparatus includes, in addition to all the modules shown in FIG.
  • the second setting module 92 is configured to set the priority of the tasks in the predetermined queue to be the highest priority among the priorities of the at least two running tasks.
  • FIG. 10 is a block diagram 3 of a preferred structure of a display processing apparatus according to an embodiment of the present invention, as shown in FIG.
  • the device includes, in addition to all the modules shown in FIG. 8, the following:
  • the shutdown module 102 is configured to close a task that is not added to the predetermined queue among at least two running tasks.
  • a display processing device includes a task activation module, a switch setting module (same as the above determining module), a custom gesture module, and a task switching module (the same as the first setting module, the determining module, Switching module), thumbnail display module (same as the above display module).
  • the device provides a convenient and quick way to switch between tasks, and the task has a primary and secondary points.
  • the advantage is that the entire display area of the terminal still belongs to the current task, and the secondary task is displayed in the main task by means of abbreviations. Above the interface. This maximizes the user's viewable area. At the same time, it can provide users with a fast switching view mode, which makes the user switch between different tasks fast and convenient, and at the same time provides great convenience for the user's parallel operation.
  • the startup module means that the user normally starts the task one module, the task two module and the like, and simultaneously puts the non-focused task module in the background running state.
  • the switch setting module After entering the switch setting module, it is convenient to add a user-selected task to the switching queue.
  • the switch setting module the task of the switch is set accordingly, and the user may not perform the preset setting. In this case, the task stack is switched according to the default saved in the system.
  • the user can add the required tasks to the fast switching queue.
  • the specific number is selected by the user.
  • the user can choose to add multiple tasks to the switching queue and set the corresponding switching policy.
  • the recycling priority of the corresponding task is set to the highest Foreground, ensuring that the task will not be easily recovered by the memory recycling mechanism even if there is no focus point.
  • the optimal solution is to select two tasks to be added to the switching queue, and the task switching between the two tasks is also in line with the user's usage habits.
  • the custom gesture module provides an entry for the user when the task is switched.
  • the custom gesture module can provide the user with a preset switching operation mode and a user's own operation mode, and the user can conveniently carry out different gesture settings. Task switching or a thumbnail display.
  • the switching module realizes the function of quickly switching between tasks set by the user through gestures, and the task added to the switching queue in the setting module does not perform resource recycling, so that in the process of performing task switching, There are a series of processes such as destruction startup, which ensures a fast response of the switching process.
  • the thumbnail display module allows the secondary task to be displayed on the main task interface by means of thumbnails, except that it has no effect on the main task visually.
  • Start the module Start the task, the user starts the corresponding application or task in actual use according to his own needs, and puts the previous task into the background running state when starting multiple tasks.
  • Switch queue module (same as the above switch setting module): query the program currently running in the foreground and background through the recent function, and add the required application to the switch queue by visual drag and drop. At the same time, the unjoined tasks are ended to release system resources, and the task of joining the queue can maximize the use of system resources.
  • the main task switching module (same as the above switching module): switches between different main tasks by gestures.
  • Subtask thumbnail display module (same as the abbreviated display module above): displays the subtask on top of the main task.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • Embodiments of the present invention also provide a storage medium.
  • the storage medium can be configured to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • Determining a primary task of the at least two running tasks and a secondary task other than the primary task including: selecting a task to switch from at least two running tasks, and adding the selected task to be switched to the predetermined task In the queue, determining a primary task of a task in the predetermined queue and a secondary task in the predetermined queue other than the primary task;
  • the storage medium is further configured to store program code for performing the following steps: after displaying the main task and displaying the subtask on the window of the main task as a thumbnail or a hidden task, the method further includes:
  • a predetermined action is set, and the predetermined action is used to indicate that the task in operation is switched;
  • the storage medium is further configured to store program code for performing the following steps: before switching the selected task to switch, further comprising:
  • the storage medium is further arranged to store program code for performing the following steps: Before switching the selected task to switch, it also includes:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor executes according to the stored program code in the storage medium: detecting at least two running tasks; determining a main task among the at least two running tasks and excluding the main task An external subtask; displays the main task, and displays the subtask on the main task window in the form of a thumbnail or a hidden task, wherein the hidden task is displayed as a thumbnail by performing a predetermined operation on the main task window. On the main task window.
  • the processor performs, according to the stored program code in the storage medium, determining that the main task in the at least two running tasks and the sub-tasks other than the main task include: from at least two Selecting the task to be switched among the running tasks, adding the selected task to be switched to the predetermined queue, determining the main task of the task in the predetermined queue and the subtask other than the main task in the predetermined queue; displaying the main task, Displaying the subtask as a thumbnail or a hidden task on the main task window includes: obtaining a thumbnail of the subtask in the predetermined queue, and displaying the thumbnail on the main task window or hiding the thumbnail to hide the task. The mode is displayed on the main task window.
  • the processor executes according to the stored program code in the storage medium: after the main task is displayed, and the subtask is displayed on the window of the main task in the form of a thumbnail or a hidden task,
  • the method includes: setting a predetermined action, the predetermined action is used to indicate that the task in operation is switched; determining whether the touch action is consistent with the predetermined action; and if the determination result is consistent, switching the selected task to be switched.
  • the processor performs, according to the stored program code in the storage medium, before the switching of the selected task to be switched, the method further includes: setting a priority of the task in the predetermined queue to at least two The highest priority among the priorities of the running tasks.
  • the processor is executed according to the stored program code in the storage medium: before switching the selected task to be switched, the method further includes: closing at least two running tasks that are not added to the Schedule a task in the queue.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the main task since the main task is determined in the running task, the other tasks are displayed on the window of the main task in the form of thumbnails, so that the entire display area belongs to the main task, and the main task is maximized. Visual interval. Therefore, it is possible to solve the problem that the plurality of tasks on the mobile terminal are displayed in the same window in the related art, resulting in a display area of each of the plurality of tasks being too small.

Landscapes

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

Abstract

本发明实施例提供了一种显示处理方法及装置,该方法包括:检测到至少两个正在运行的任务;确定至少两个正在运行的任务中的主任务以及除主任务之外的副任务;显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上,其中,隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在主任务的窗口上。通过本发明实施例,可以解决相关技术中移动终端上多个任务在同一窗口显示,导致多个任务中每个任务的显示区域过小的问题。

Description

显示处理方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种显示处理方法及装置。
背景技术
随着智能移动电子终端的迅速普及以及无线数据业务的发展,越来越多的手机用户已经习惯于使用手机进行各种业务、数据的处理操作,手机完备的功能在很多场景下已经可以完全的取代PC机了。另外,相比电脑,手机毋庸置疑的在便携性上有着更大的优势,用户都期待着能够通过一个小巧的设备满足自己的工作、生活上的需求。但手机在为用户提供了便携性的同时,就不可避免的给用户带来了一些弊端,屏幕过小,这样在用户使用过程中无法像PC一样可以随意的在多人应用或任务之间进行切换,屏幕过小也限制了多窗口的显示。使得用户进行操作时,启动一个新任务时,就必须关闭前一个任务,或者将前一个任务置于后台,对用户不可见,给用户带来极大不便。
目前针对这种问题通常有两种解决方法,一种方法为分屏,即将手机屏幕分为多个区域,在不同的区域同时显示不同的应用。另一种方法是快速切换应用,通过各种方式在几个应用或是任务之间进行切换。
但是,现有的技术虽然能够在一定程度上解决用户的问题,但不可避免的都存在较大的弊端,方法一虽然能够使得多任务同时运行显示,但实际多窗口的显示更加压缩了显示区域的大小,另外也使得移动终端上屏幕过小的弊端更加的凸显了。而方法二虽然给用户提供了任务切换的功能,但在操作过程中比较繁琐,如recent app功能用户需要获取任务列表,然后在任务列表中进行查找切换,也不能给用户带来很大的方便,并且用户在切换到另外一个任务时,当前的任务同样不可避免的被覆盖。
发明内容
本发明实施例提供了一种显示处理方法及装置,以至少解决相关技术中移动终端上多个任务在同一窗口显示,导致多个任务中每个任务的显示区域过小的问题。
根据本发明的一个实施例,提供了一种显示处理方法,包括:检测到至少两个正在运行的任务;确定所述至少两个正在运行的任务中的主任务以及除所述主任务之外的副任务;显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上,其中,所述隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在所述主任务的窗口上。
在本发明实施例中,确定所述至少两个正在运行的任务中的主任务以及除所述主任务之外的副任务包括:从所述至少两个正在运行的任务中选择进行切换的任务,将所述选择的进行切换的任务添加到预定队列中,确定所述预定队列中的任务的主任务以及所述预定队列中除所述主任务之外的副任务;显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上包括:获取所述预定队列中所述副任务的缩略图,并将所述缩略图显示在所述主任务的窗口上或者将所述缩略图以隐藏任务的方式显示在所述主任务的窗口上。
在本发明实施例中,在显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上之后,还包括:设置预定动作,所述预定动作用于指示对运行中的任务进行切换;判断触摸动作与所述预定动作是否一致;在判断结果一致的情况下,对所述选择的进行切换的任务进行切换。
在本发明实施例中,在对所述选择的进行切换的任务进行切换之前,还包括:设置所述预定队列中任务的优先级为所述至少两个正在运行的任务的优先级中最高优先级。
在本发明实施例中,在对所述选择的进行切换的任务进行切换之前, 还包括:关闭所述至少两个正在运行的任务中未添加到所述预定队列中的任务。
根据本发明的另一个实施例,提供了一种显示处理装置,包括:检测模块,设置为检测到至少两个正在运行的任务;确定模块,设置为确定所述至少两个正在运行的任务中的任务的主任务以及除所述主任务之外的副任务;显示模块,设置为显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上,其中,所述隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在所述主任务的窗口上。
在本发明实施例中,所述确定模块,还设置为从所述至少两个正在运行的任务中选择进行切换的任务;将所述选择的进行切换的任务添加到预定队列中;以及确定所述预定队列中的任务的主任务以及所述预定队列中除所述主任务之外的副任务;所述显示模块,还设置为获取所述预定队列中所述副任务的缩略图,并将所述缩略图显示在所述主任务的窗口上或者将所述缩略图以隐藏任务的方式显示在所述主任务的窗口上。
在本发明实施例中,还包括:第一设置模块,设置为设置预定动作,所述预定动作用于指示对运行中的任务进行切换;判断模块,设置为判断触摸动作与所述预定动作是否一致;切换模块,设置为在判断结果一致的情况下,对所述选择的进行切换的任务进行切换。
在本发明实施例中,还包括:第二设置模块,设置为设置所述预定队列中任务的优先级为至少两个正在运行的任务的优先级中最高优先级。
在本发明实施例中,还包括:关闭模块,设置为关闭所述至少两个正在运行的任务中未添加到所述预定队列中的任务。
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:检测到至少两个正在运行的任务;确定所述至少两个正在运行的任务中的主任务以及除所述主任务之外的副任务;显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式 显示在所述主任务的窗口上,其中,所述隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在所述主任务的窗口上。
在本发明实施例中,存储介质还设置为存储用于执行以下步骤的程序代码:确定所述至少两个正在运行的任务中的主任务以及除所述主任务之外的副任务包括:从所述至少两个正在运行的任务中选择进行切换的任务,将所述选择的进行切换的任务添加到预定队列中,确定所述预定队列中的任务的主任务以及所述预定队列中除所述主任务之外的副任务;显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上包括:获取所述预定队列中所述副任务的缩略图,并将所述缩略图显示在所述主任务的窗口上或者将所述缩略图以隐藏任务的方式显示在所述主任务的窗口上。
在本发明实施例中,存储介质还设置为存储用于执行以下步骤的程序代码:在显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上之后,还包括:设置预定动作,所述预定动作用于指示对运行中的任务进行切换;判断触摸动作与所述预定动作是否一致;在判断结果一致的情况下,对所述选择的进行切换的任务进行切换。
在本发明实施例中,存储介质还设置为存储用于执行以下步骤的程序代码:在对所述选择的进行切换的任务进行切换之前,还包括:设置所述预定队列中任务的优先级为所述至少两个正在运行的任务的优先级中最高优先级。
在本发明实施例中,存储介质还设置为存储用于执行以下步骤的程序代码:在对所述选择的进行切换的任务进行切换之前,还包括:关闭所述至少两个正在运行的任务中未添加到所述预定队列中的任务。
通过本发明实施例,检测到至少两个正在运行的任务;确定至少两个正在运行的任务中的主任务以及除主任务之外的副任务;显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上,其中,隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在主任 务的窗口上。由于在运行的任务中确定了主任务,将其他任务通过缩略图的形式显示在主任务的窗口上,使得整个显示区域属于主任务,最大化的保留了主任务的可视区间。因此,可以解决相关技术中移动终端上多个任务在同一窗口显示,导致多个任务中每个任务的显示区域过小的问题。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是本发明实施例的一种显示处理方法的移动终端的硬件结构框图;
图2是根据本发明实施例的显示处理方法的流程图;
图3是根据本发明实施例的滑动切换示意图;
图4是根据本发明实施例的缩略显示示意图;
图5是根据本发明实施例的显示处理方法的优选流程图一;
图6是根据本发明实施例的显示处理方法的优选流程图二;
图7是根据本发明实施例的显示处理装置的结构框图;
图8是根据本发明实施例的显示处理装置的优选结构框图一;
图9是根据本发明实施例的显示处理装置的优选结构框图二;
图10是根据本发明实施例的显示处理装置的优选结构框图三。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本申请实施例1所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本发明实施例的一种显示处理方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、设置为存储数据的存储器104、以及设置为通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可设置为存储应用软件的软件程序以及模块,如本发明实施例中的显示处理方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106设置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其设置为通过无线方式与互联网进行通讯。
在本实施例中提供了一种运行于上述移动终端的显示处理方法,图2是根据本发明实施例的显示处理方法的流程图,如图2所示,该流程包括如下步骤:
步骤S202,检测到至少两个正在运行的任务;
步骤S204,确定至少两个正在运行的任务中的主任务以及除主任务之外的副任务;
步骤S206,显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上,其中,隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在主任务的窗口上。
通过上述步骤,由于在运行的任务中确定了主任务,将其他任务通过缩略图的形式显示在主任务的窗口上,使得整个显示区域属于主任务,最大化的保留了主任务的可视区间。因此,可以解决相关技术中移动终端上多个任务在同一窗口显示,导致多个任务中每个任务的显示区域过小的问题。
可选地,确定至少两个正在运行的任务中的主任务以及除主任务之外的副任务包括:从至少两个正在运行的任务中选择进行切换的任务,将选择的进行切换的任务添加到预定队列中,确定预定队列中的任务的主任务以及预定队列中除主任务之外的副任务;显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上包括:获取预定队列中副任务的缩略图,并将缩略图显示在主任务的窗口上或者将缩略图以隐藏任务的方式显示在主任务的窗口上。通过上述步骤,将进行切换的任务放到预定队列中,避免在所有运行的任务中查找确定主任务,降低了处理时间。
可选地,在显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上之后,还包括:设置预定动作,预定动作用于指示对运行中的任务进行切换;判断触摸动作与预定动作是否一致;在判断结果一致的情况下,对选择的进行切换的任务进行切换。通过上述步骤,可以解决相关技术中用户需获取任务列表,然后在任务列表中查找将要切换的任务进行切换,简化了操作步骤。
例如,如图3所示,在终端处于应用1的进程时,可通过预先设定的滑动手势切换到应用2进程,应用2进程通过预先设定的滑动手势切换回 到应用1进程。
又例如,如图4所示,应用1进程通过滑动手势切换到应用进程2,在应用2进程中,通过预先设定的上滑手势将应用进程1以缩略图的形式显示在应用进程2的窗口上。
可选地,在对选择的进行切换的任务进行切换之前,还包括:设置预定队列中任务的优先级为至少两个正在运行的任务的优先级中最高优先级。通过上述步骤,可以保证预定队列中的任务在即便是无聚焦点(如不切换的时候)的情况下,也不会轻易的被内存回收机制回收掉,提高切换时的效率。
可选地,在对选择的进行切换的任务进行切换之前,还包括:关闭至少两个正在运行的任务中未添加到预定队列中的任务。通过上述步骤,将未加入的预定队列的任务结束,以释放系统资源,保证加入预定队列的任务可最大程度的使用系统资源。
需要说明的是,上述实施例可以应用手机中,下面以手机为例进行说明。图5是根据本发明实施例的显示处理方法的优选流程图一,如图5所示,该流程包括如下步骤:
步骤S502,启动任务,用户根据自己需要在实际使用中启动相应的应用或任务,在启动多个任务时将前一个任务置于后台运行的状态。
步骤S504,填充切换队列:通过recent功能查询到当前在前台及后台运行的程序,可通过可视化的拖拽方式将需要的应用添加到切换队列中。同时将未加入的任务结束,以释放系统资源,保证加入队列的任务可最大程度的使用系统资源。
步骤S506,提高队列中任务级别:将加入切换队列中的任务的级别提高到最高级别foreground,在此条件下能够保证资源不被回收,提高切换时的效率。
步骤S508,切换手势自定义:切换手势自定义保证用户在进行任务切换的过程中可以顺利的进行切换,同时切换动作不会同当前处于聚焦状 态的任务存在冲突。
步骤S510,缩略图计算:获取当前任务的前一或后一任务的缩略图。
步骤S512,缩略图显示:缩略图以半透形式显示在当前任务之上,对主任务无任何影响。
步骤S514,任务切换:根据手势切换任务,切换后新任务切换为主任务。
步骤S516,新任务聚焦资源获取:从任务队列中切换得到的任务获得聚焦点,使得该任务显示在设备上正常运行。
步骤S518,结束并释放资源:退出切换功能,将任务从切换队列中删除,将前期的设置还原。
为了更清楚地说明本发明实施例的技术方案,下面对本发明实施例中的一些流程图进行描述。图6是根据本发明实施例的显示处理方法的优选流程图二,下面将结合图6,对本发明实施例中的技术方案进行完整的描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。如图6所示,该流程包括如下步骤:
步骤S602,启动任务:用户按照常规任务启动任务。
步骤S604,用户选择是否进行切换设置:若不进行切换设置直接跳转到步骤S614,,若设置跳转到步骤S606。
步骤S606,启动切换设置:用户通过操作启动切换设置功能。
步骤S608,判断是否为多任务状态:判断当前系统是否处于多任务状态。若是,继续,否,结束。
步骤S610,选取任务添加到切换队列:在多任务的情况下,用户选择要进行切换的任务添加到切换队列中。
步骤S612,优先级设置:提高选中任务的优先级为foreground。
步骤S614,设定切换手势:用户自定义任务切换手势,保证与基本操作不存在冲突。
步骤S616,任务切换或缩略显示:通过设定的手势进行任务切换或者进行缩略显示,当确定任务切换时,转到步骤S622,当确定缩略显示,转到步骤S618。
步骤S618,获取任务缩略图:根据手势获取前一任务或后一任务缩略图。
步骤S620,将缩略图添加视图到主任务之上。
步骤S622,任务切换:根据手势切换到另一应用。
步骤S624,结束。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例2
在本实施例中还提供了一种显示处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图7是根据本发明实施例的显示处理装置的结构框图,如图7所示,该装置包括:
检测模块72,设置为检测到至少两个正在运行的任务;
确定模块74,连接至上述检测模块72,设置为确定至少两个正在运行的任务中的任务的主任务以及除主任务之外的副任务;
显示模块76,连接至上述确定模块74,设置为显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上,其中,隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在主任务的窗口上。
可选地,确定模块74,还设置为从至少两个正在运行的任务中选择进行切换的任务;将选择的进行切换的任务添加到预定队列中;以及确定预定队列中的任务的主任务以及预定队列中除主任务之外的副任务;
可选地,显示模块76,还设置为获取预定队列中副任务的缩略图,并将缩略图显示在主任务的窗口上或者将缩略图以隐藏任务的方式显示在主任务的窗口上。
图8是根据本发明实施例的显示处理装置的优选结构框图一,如图8所示,该装置除包括图7所示的所有模块外,还包括:
第一设置模块82,设置为设置预定动作,预定动作用于指示对运行中的任务进行切换;
判断模块84,连接至上述第一设置模块82,设置为判断触摸动作与预定动作是否一致;
切换模块86,连接至上述判断模块84,设置为在判断结果一致的情况下,对选择的进行切换的任务进行切换。
图9是根据本发明实施例的显示处理装置的优选结构框图二,如图9所示,该装置除包括图8所示的所有模块外,还包括:
第二设置模块92,设置为设置预定队列中任务的优先级为至少两个正在运行的任务的优先级中最高优先级。
图10是根据本发明实施例的显示处理装置的优选结构框图三,如图 10所示,该装置除包括图8所示的所有模块外,还包括:
关闭模块102,设置为关闭至少两个正在运行的任务中未添加到预定队列中的任务。
在本实施例中还提供了一种显示处理装置,该装置包括任务启动模块,切换设置模块(同上述确定模块),自定义手势模块,任务切换模块(同上述第一设置模块,判断模块,切换模块),缩略显示模块(同上述显示模块)。该装置提供了一种方便快捷的方式在任务间进行切换,而任务存在主次之分,这样的好处是终端的整个显示区域仍然属于当前的任务,次任务通过缩略的方式显示在主任务界面之上。这样就最大化的保留了用户的可视区域。而在同时,又能够为用户提供一种快捷的切换查看方式,使用户在不同的任务之间切换时快捷方便,同时又对用户的并行操作提供了巨大的方便。
启动模块即用户正常启动任务一模块、任务二模块等多个模块,同时将非聚焦的任务模块置于后台运行的状态。
进入切换设置模块后可以方便的添加用户自选的任务添加到切换队列中。在切换设置模块中对切换的任务进行相应的设置,同时用户也可以不进行预先的设置,此种情况下,会根据系统中默认保存的任务堆栈进行切换。
通过切换任务的选择,用户可以将有需求的任务添加到快速切换队列中,具体的数量由用户自己选择,用户可以选择将多个任务加入到切换队列中,并设置相应的切换策略,选定任务后将对应任务的回收优先级设置为最高的Foreground,保证任务在即便是无聚焦点的情况下,不会轻易的被内存回收机制回收掉。但最优方案是选取两个任务添加到切换队列中,在两个任务间进行任务的切换也是最符合用户使用习惯的。
自定义手势模块为用户在任务切换时提供入口,用户在任务一窗口上进行操作时无疑会有很多基本的操作相应事件,如点击、长按、滑动等等,而任务切换的触发必须保证与任务一窗口上的操作事件不能产生冲突。自 定义手势模块的存在就能够很好的解决这个问题,在自定义手势模块可以为用户提供预设的切换操作方式和用户自己习惯的操做方式,并且通过不同的手势设置,用户可以方便的进行任务切换或者是进行缩略显示。
切换模块实现通过手势,快速的在用户设定的任务之间进行切换的功能,设置模块中添加到切换队列中的任务是不进行资源回收的,这样在进行任务切换的过程中,就不会存在销毁启动等一系列的过程,保证了切换过程的快速响应。
缩略显示模块使得次任务可以通过缩略图的方式显示在主任务界面之上,除视觉上对主任务无任何影响。
为了方便理解上述实施例,下面对上述终端工作流程进行消息描述。该流程包括如下步骤:
启动模块:启动任务,用户根据自己需要在实际使用中启动相应的应用或任务,在启动多个任务时将前一个任务置于后台运行的状态。
填充切换队列模块(同上述切换设置模块):通过recent功能查询到当前在前台及后台运行的程序,可通过可视化的拖拽方式将需要的应用添加到切换队列中。同时将未加入的任务结束,以释放系统资源,保证加入队列的任务可最大程度的使用系统资源。
主任务切换模块(同上述切换模块):通过手势在不同的主任务之间切换。
次任务缩略显示模块(同上述缩略显示模块):将次任务显示在主任务之上。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例3
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上 述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,检测到至少两个正在运行的任务;
S2,确定至少两个正在运行的任务中的主任务以及除主任务之外的副任务;
S3,显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上,其中,隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在主任务的窗口上。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
S1,确定至少两个正在运行的任务中的主任务以及除主任务之外的副任务包括:从至少两个正在运行的任务中选择进行切换的任务,将选择的进行切换的任务添加到预定队列中,确定预定队列中的任务的主任务以及预定队列中除主任务之外的副任务;
S2,显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上包括:获取预定队列中副任务的缩略图,并将缩略图显示在主任务的窗口上或者将缩略图以隐藏任务的方式显示在主任务的窗口上。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上之后,还包括:
S1,设置预定动作,预定动作用于指示对运行中的任务进行切换;
S2,判断触摸动作与预定动作是否一致;
S3,在判断结果一致的情况下,对选择的进行切换的任务进行切换。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在对选择的进行切换的任务进行切换之前,还包括:
S1,设置预定队列中任务的优先级为至少两个正在运行的任务的优先级中最高优先级。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在 对选择的进行切换的任务进行切换之前,还包括:
S1,关闭至少两个正在运行的任务中未添加到预定队列中的任务。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:检测到至少两个正在运行的任务;确定至少两个正在运行的任务中的主任务以及除主任务之外的副任务;显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上,其中,隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在主任务的窗口上。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:确定至少两个正在运行的任务中的主任务以及除主任务之外的副任务包括:从至少两个正在运行的任务中选择进行切换的任务,将选择的进行切换的任务添加到预定队列中,确定预定队列中的任务的主任务以及预定队列中除主任务之外的副任务;显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上包括:获取预定队列中副任务的缩略图,并将缩略图显示在主任务的窗口上或者将缩略图以隐藏任务的方式显示在主任务的窗口上。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在显示主任务,并将副任务以缩略图或者隐藏任务的方式显示在主任务的窗口上之后,还包括:设置预定动作,预定动作用于指示对运行中的任务进行切换;判断触摸动作与预定动作是否一致;在判断结果一致的情况下,对选择的进行切换的任务进行切换。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在对选择的进行切换的任务进行切换之前,还包括:设置预定队列中任务的优先级为至少两个正在运行的任务的优先级中最高优先级。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在对选择的进行切换的任务进行切换之前,还包括:关闭至少两个正在运行的任务中未添加到预定队列中的任务。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
在本发明的实施例中,由于在运行的任务中确定了主任务,将其他任务通过缩略图的形式显示在主任务的窗口上,使得整个显示区域属于主任务,最大化的保留了主任务的可视区间。因此,可以解决相关技术中移动终端上多个任务在同一窗口显示,导致多个任务中每个任务的显示区域过小的问题。

Claims (11)

  1. 一种显示处理方法,包括:
    检测到至少两个正在运行的任务;
    确定所述至少两个正在运行的任务中的主任务以及除所述主任务之外的副任务;
    显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上,其中,所述隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在所述主任务的窗口上。
  2. 根据权利要求1所述的方法,其中,
    确定所述至少两个正在运行的任务中的主任务以及除所述主任务之外的副任务包括:从所述至少两个正在运行的任务中选择进行切换的任务,将所述选择的进行切换的任务添加到预定队列中,确定所述预定队列中的任务的主任务以及所述预定队列中除所述主任务之外的副任务;
    显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上包括:获取所述预定队列中所述副任务的缩略图,并将所述缩略图显示在所述主任务的窗口上或者将所述缩略图以隐藏任务的方式显示在所述主任务的窗口上。
  3. 根据权利要求2所述的方法,其中,在显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上之后,还包括:
    设置预定动作,所述预定动作用于指示对运行中的任务进行切换;
    判断触摸动作与所述预定动作是否一致;
    在判断结果一致的情况下,对所述选择的进行切换的任务进行切换。
  4. 根据权利要求3所述的方法,其中,在对所述选择的进行切 换的任务进行切换之前,还包括:
    设置所述预定队列中任务的优先级为所述至少两个正在运行的任务的优先级中最高优先级。
  5. 根据权利要求3所述的方法,其中,在对所述选择的进行切换的任务进行切换之前,还包括:
    关闭所述至少两个正在运行的任务中未添加到所述预定队列中的任务。
  6. 一种显示处理装置,包括:
    检测模块,设置为检测到至少两个正在运行的任务;
    确定模块,设置为确定所述至少两个正在运行的任务中的任务的主任务以及除所述主任务之外的副任务;
    显示模块,设置为显示所述主任务,并将所述副任务以缩略图或者隐藏任务的方式显示在所述主任务的窗口上,其中,所述隐藏任务通过在主任务窗口上进行预定操作后以缩略图的方式显示在所述主任务的窗口上。
  7. 根据权利要求6所述的装置,其中,
    所述确定模块,还设置为从所述至少两个正在运行的任务中选择进行切换的任务;将所述选择的进行切换的任务添加到预定队列中;以及确定所述预定队列中的任务的主任务以及所述预定队列中除所述主任务之外的副任务;
    所述显示模块,还设置为获取所述预定队列中所述副任务的缩略图,并将所述缩略图显示在所述主任务的窗口上或者将所述缩略图以隐藏任务的方式显示在所述主任务的窗口上。
  8. 根据权利要求7所述的装置,其中,还包括:
    第一设置模块,设置为设置预定动作,所述预定动作用于指示对 运行中的任务进行切换;
    判断模块,设置为判断触摸动作与所述预定动作是否一致;
    切换模块,设置为在判断结果一致的情况下,对所述选择的进行切换的任务进行切换。
  9. 根据权利要求8所述的装置,其中,还包括:
    第二设置模块,设置为设置所述预定队列中任务的优先级为至少两个正在运行的任务的优先级中最高优先级。
  10. 根据权利要求8所述的装置,其中,还包括:
    关闭模块,设置为关闭所述至少两个正在运行的任务中未添加到所述预定队列中的任务。
  11. 一种存储介质,所述存储介质包括存储的程序,所述程序运行时执行权利要求1至5中任一项所述的方法。
PCT/CN2017/102238 2016-09-20 2017-09-19 显示处理方法及装置 WO2018054281A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610834872.7 2016-09-20
CN201610834872.7A CN107844253A (zh) 2016-09-20 2016-09-20 显示处理方法及装置

Publications (1)

Publication Number Publication Date
WO2018054281A1 true WO2018054281A1 (zh) 2018-03-29

Family

ID=61656669

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102238 WO2018054281A1 (zh) 2016-09-20 2017-09-19 显示处理方法及装置

Country Status (2)

Country Link
CN (1) CN107844253A (zh)
WO (1) WO2018054281A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104106033A (zh) * 2012-02-16 2014-10-15 微软公司 应用的缩略图图像选择
CN105335224A (zh) * 2014-08-07 2016-02-17 Tcl集团股份有限公司 一种应用切换方法及装置
CN105393205A (zh) * 2013-06-04 2016-03-09 三星电子株式会社 电子设备以及在电子设备中控制应用的方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6957395B1 (en) * 2000-01-04 2005-10-18 Apple Computer, Inc. Computer interface having a single window mode of operation
US8819585B2 (en) * 2008-10-27 2014-08-26 Microsoft Corporation Child window surfacing and management
CN102063325B (zh) * 2011-01-06 2013-04-03 哈尔滨工业大学 一种嵌入51系列单片机的多任务实时操作系统的实现方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104106033A (zh) * 2012-02-16 2014-10-15 微软公司 应用的缩略图图像选择
CN105393205A (zh) * 2013-06-04 2016-03-09 三星电子株式会社 电子设备以及在电子设备中控制应用的方法
CN105335224A (zh) * 2014-08-07 2016-02-17 Tcl集团股份有限公司 一种应用切换方法及装置

Also Published As

Publication number Publication date
CN107844253A (zh) 2018-03-27

Similar Documents

Publication Publication Date Title
US10366519B2 (en) Operating method for image and electronic device supporting the same
RU2653237C2 (ru) Способ управления прикладной программой и соответствующее устройство
RU2606051C2 (ru) Способ обработки и устройство для прикладной программы
RU2637474C2 (ru) Способ и устройство для управления фоновым приложением и терминальным устройством
EP2763034B1 (en) Method and device for image-capturing application screen for use in mobile terminal
RU2677595C2 (ru) Способ и аппаратура для отображения интерфейса приложения и электронное устройство
KR102076892B1 (ko) 백그라운드 애플리케이션 관리 방법 및 장치
US10977491B2 (en) Device for providing information related to object in image
US20160188363A1 (en) Method, apparatus, and device for managing tasks in multi-task interface
US10868959B2 (en) Method for processing image and electronic device for supporting same
US11029907B2 (en) Electronic device having double-sided display and method for controlling application
WO2015176448A1 (zh) 一种终端智能分屏方法及装置
US20190129520A1 (en) Screen output method and electronic device supporting same
US10324733B2 (en) Shutdown notifications
EP3008559B1 (en) Method and apparatus for providing graphic user interface
EP3602444A1 (en) Suggesting actions based on machine learning
US20240111473A1 (en) Distributed display method and terminal for application interface
EP3128411B1 (en) Interface display method, terminal, computer program and recording medium
CN108347550B (zh) 电子设备和用于在电子设备中捕捉图像的方法
WO2015127835A1 (en) Content displaying method and device
CN107329659B (zh) 一种权限设置方法、装置、电子设备及存储介质
WO2016008410A1 (zh) 视频播放方法及系统
RU2016136361A (ru) Автоматическое создание и выполнение настраиваемого пользовательского интерфейса
CN110780830A (zh) 一种家居设备显示方法、装置、终端及可读存储介质
CN105893124A (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: 17852349

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: 17852349

Country of ref document: EP

Kind code of ref document: A1