CN111400014B - Terminal process switching method, terminal and storage medium - Google Patents
Terminal process switching method, terminal and storage medium Download PDFInfo
- Publication number
- CN111400014B CN111400014B CN202010210679.2A CN202010210679A CN111400014B CN 111400014 B CN111400014 B CN 111400014B CN 202010210679 A CN202010210679 A CN 202010210679A CN 111400014 B CN111400014 B CN 111400014B
- Authority
- CN
- China
- Prior art keywords
- switching
- status bar
- terminal
- operation information
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 368
- 230000008569 process Effects 0.000 title claims abstract description 319
- 238000003860 storage Methods 0.000 title claims description 17
- 230000009471 action Effects 0.000 claims abstract description 61
- 238000011112 process operation Methods 0.000 claims abstract description 32
- 230000004044 response Effects 0.000 claims description 19
- 230000003993 interaction Effects 0.000 claims description 14
- 230000002452 interceptive effect Effects 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000000875 corresponding effect Effects 0.000 description 41
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 11
- 230000001276 controlling effect Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000001133 acceleration Effects 0.000 description 6
- 238000004886 process control Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000003825 pressing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 241000905957 Channa melasoma Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- TZCXTZWJZNENPQ-UHFFFAOYSA-L barium sulfate Chemical compound [Ba+2].[O-]S([O-])(=O)=O TZCXTZWJZNENPQ-UHFFFAOYSA-L 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000002650 habitual effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域Technical field
本发明涉及终端技术领域,尤其涉及一种终端进程切换方法、终端及存储介质。The present invention relates to the field of terminal technology, and in particular, to a terminal process switching method, a terminal and a storage medium.
背景技术Background technique
随着智能终端手机的普及,用户的手机中装满了各种社交软件、工具软件等,用户越来越频繁的通过带有触摸屏的移动终端来访问一些应用程序,如此一来,不同应用程序间的切换也就成为一个有待解决的问题。在现有技术中,手机上切换进程的方式主要是虚拟按键的manu键或者home键呼出最近任务来切换又或者通过屏幕下方左右滑动快速切换应用程序。但是,现有切换进程的方法的操作繁琐,响应的区域比较小,需要多步操作,导致操作便捷性差,不便于操作。With the popularization of smart terminal mobile phones, users’ mobile phones are filled with various social software, tool software, etc. Users are increasingly accessing some applications through mobile terminals with touch screens. As a result, different applications Switching between them has become a problem to be solved. In the existing technology, the main way to switch processes on a mobile phone is to press the manu key or the home key of the virtual button to call up the latest task to switch, or to quickly switch applications by sliding left and right at the bottom of the screen. However, the existing method of switching processes is cumbersome, has a relatively small response area, and requires multi-step operations, resulting in poor operational convenience and inconvenience.
发明内容Contents of the invention
本申请实施例通过提供一种终端进程切换方法、终端及存储介质,旨在解决现有切换进程的方法的操作繁琐,响应的区域比较小,需要多步操作,导致操作便捷性差,不便于操作的技术问题。By providing a terminal process switching method, a terminal and a storage medium, the embodiments of the present application aim to solve the problem that the existing method of switching processes is cumbersome, has a relatively small response area, and requires multi-step operations, resulting in poor operational convenience and inconvenience. technical issues.
为实现上述目的,本申请实施例提供了一种终端进程切换方法,所述终端进程切换方法包括:To achieve the above purpose, embodiments of the present application provide a terminal process switching method. The terminal process switching method includes:
获取状态栏区域的操作信息,所述状态栏区域为终端显示区域中用于显示状态栏的区域;Obtain the operation information of the status bar area, which is the area used to display the status bar in the terminal display area;
根据所述状态栏区域的操作信息确定进程的控制操作;Determine the control operation of the process based on the operation information in the status bar area;
根据所述控制操作,控制终端执行与所述操作信息对应的进程动作。According to the control operation, the control terminal executes a process action corresponding to the operation information.
为实现上述目的,本发明还提出一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的终端进程切换方法程序,所述处理器执行所述终端进程切换方法程序时实现以下步骤:In order to achieve the above object, the present invention also proposes a terminal, which includes a memory, a processor, and a terminal process switching method program stored in the memory and executable on the processor. When the processor executes the terminal process switching method program, Implement the following steps:
获取状态栏区域的操作信息,所述状态栏区域为终端显示区域中用于显示状态栏的区域;Obtain the operation information of the status bar area, which is the area used to display the status bar in the terminal display area;
根据所述状态栏区域的操作信息确定进程的控制操作;Determine the control operation of the process based on the operation information in the status bar area;
根据所述控制操作,控制终端执行与所述操作信息对应的进程动作。According to the control operation, the control terminal executes a process action corresponding to the operation information.
为实现上述目的,本发明还提出一种计算机可读存储介质,其上存储有终端进程切换方法程序,该终端进程切换方法程序被处理器执行时实现以下步骤:In order to achieve the above object, the present invention also proposes a computer-readable storage medium on which a terminal process switching method program is stored. When the terminal process switching method program is executed by the processor, the following steps are implemented:
获取状态栏区域的操作信息,所述状态栏区域为终端显示区域中用于显示状态栏的区域;Obtain the operation information of the status bar area, which is the area used to display the status bar in the terminal display area;
根据所述状态栏区域的操作信息确定进程的控制操作;Determine the control operation of the process based on the operation information in the status bar area;
根据所述控制操作,控制终端执行与所述操作信息对应的进程动作。According to the control operation, the control terminal executes a process action corresponding to the operation information.
本发明通过用状态栏区域来完成进程的操作,使得用户无需再通过终端下部的虚拟按键或者实体按键调出进程,再通过多一步或者多步的操作来完成进程的操作,使得进程的操作简单,并且状态栏区域范围大,使得操作方便,节省了进程操作的过程提高了终端操作的快捷性和便利性。The present invention uses the status bar area to complete the operation of the process, so that the user no longer needs to call out the process through the virtual keys or physical keys at the lower part of the terminal, and then completes the operation of the process through one more step or more operations, making the operation of the process simple. , and the status bar area is large, which makes the operation convenient, saves the process of process operation, and improves the speed and convenience of terminal operation.
附图说明Description of the drawings
图1为实现本发明各个实施例的终端的硬件结构示意图;Figure 1 is a schematic diagram of the hardware structure of a terminal implementing various embodiments of the present invention;
图2为本发明终端进程切换方法一实施例的操作流程示意图;Figure 2 is a schematic diagram of the operation flow of an embodiment of the terminal process switching method of the present invention;
图3为本发明终端进程切换方法又一实施例的流程示意图;Figure 3 is a schematic flow chart of another embodiment of the terminal process switching method of the present invention;
图4为本发明一实施例中根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作的流程示意图;Figure 4 is a schematic flowchart of controlling a terminal to perform a process switching action corresponding to the operation information according to the control operation in an embodiment of the present invention;
图5为本发明另一实施例中根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作的流程示意图;Figure 5 is a schematic flowchart of controlling a terminal to perform a process switching action corresponding to the operation information according to the control operation in another embodiment of the present invention;
图6为本发明终端进程切换方法又一实施例的流程示意图;Figure 6 is a schematic flow chart of another embodiment of the terminal process switching method of the present invention;
图7为本发明终端进程切换方法又一实施例的流程示意图;Figure 7 is a schematic flow chart of another embodiment of the terminal process switching method of the present invention;
图8为本发明终端进程切换方法又一实施例的流程示意图;Figure 8 is a schematic flow chart of another embodiment of the terminal process switching method of the present invention;
图9为本发明一实施例中进程操作的流程示意图。Figure 9 is a schematic flowchart of process operations in an embodiment of the present invention.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.
本发明的实施方案是:获取状态栏区域的操作信息,所述状态栏区域为终端显示区域中用于显示状态栏的区域;根据所述状态栏区域的操作信息确定进程的控制操作;根据所述控制操作,控制终端执行与所述操作信息对应的进程动作。The embodiment of the present invention is to: obtain the operation information of the status bar area, which is the area used to display the status bar in the terminal display area; determine the control operation of the process according to the operation information of the status bar area; The control operation is performed to control the terminal to execute the process action corresponding to the operation information.
本发明所述的终端可以各种形式来实施。例如,终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV、台式计算机等固定终端。The terminal described in the present invention can be implemented in various forms. For example, the terminal may include a mobile phone, a tablet computer, a notebook computer, a handheld computer, a personal digital assistant (Personal Digital Assistant, PDA), a portable media player (Portable Media Player, PMP), a navigation device, a wearable device, a smart phone Mobile terminals such as rings and pedometers, as well as fixed terminals such as digital TVs and desktop computers.
后续描述中将以终端中的手机为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。In the subsequent description, a mobile phone in a terminal will be taken as an example. Those skilled in the art will understand that, in addition to elements specifically used for mobile purposes, the structure according to the embodiment of the present invention can also be applied to fixed-type terminals. .
参照图1,图1是本发明实施例方法涉及的硬件运行环境的设备结构示意图Referring to Figure 1, Figure 1 is a schematic diagram of the equipment structure of the hardware operating environment involved in the method according to the embodiment of the present invention.
如图1所示,该移动终端可以包括:处理器1001,例如CPU,存储器1003,通信总线1004,用户输入单元1002,显示单元1005。其中,通信总线1004用于实现处理器1001和存储器1003之间的连接通信。存储器1003可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1003可选的还可以是独立于前述处理器1001的存储装置。As shown in Figure 1, the mobile terminal may include: a processor 1001, such as a CPU, a memory 1003, a communication bus 1004, a user input unit 1002, and a display unit 1005. Among them, the communication bus 1004 is used to realize connection communication between the processor 1001 and the memory 1003. The memory 1003 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1003 may optionally be a storage device independent of the aforementioned processor 1001.
可选地,移动终端还包括至少一种传感器,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在移动终端移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用 (比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、 湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the mobile terminal further includes at least one sensor, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel according to the brightness of the ambient light. The proximity sensor can turn off the display panel and/or backlight when the mobile terminal moves to the ear. . As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when stationary. It can be used to identify applications of mobile phone posture (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone, it can also be configured with fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, Other sensors such as thermometers and infrared sensors will not be described in detail here.
可选地,显示单元1005用于显示由用户输入的消息或提供给用户的消息。显示单元1005可包括显示面板,可以采用液晶显示器(Liquid Crystal Display,LCD、有机发光二极管 (OrganicLight-Emitting Diode,OLED)等形式来配置显示面板。Optionally, the display unit 1005 is used to display messages input by the user or messages provided to the user. The display unit 1005 may include a display panel, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
可选地,用户输入单元1002可用于接收输入的数字或字符消息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1002可包括触控面板以及其他输入设备。触控面板,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程式驱动相应的连接装置。除了触控面板,用户输入单元1002还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。Alternatively, the user input unit 1002 may be used to receive inputted numeric or character messages and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 1002 may include a touch panel and other input devices. A touch panel, also known as a touch screen, can collect the user's touch operations on or near it (such as the user's operations on or near the touch panel using a finger, stylus, or any suitable object or accessory), And drive the corresponding connection device according to the preset program. In addition to the touch panel, the user input unit 1002 may also include other input devices. Specifically, other input devices may include but are not limited to one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, etc., which are not limited here.
可选地,处理器1001是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器1003内的软件程序和/或模块,以及调用存储在存储器1003内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器1001可包括一个或多个处理单元;优选的,处理器1001可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要 处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1001中。Optionally, the processor 1001 is the control center of the mobile terminal, using various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 1003, and calling software programs stored in the memory 1003. The data in 1003 executes various functions of the mobile terminal and processes data, thereby overall monitoring the mobile terminal. The processor 1001 may include one or more processing units; preferably, the processor 1001 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor The processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 1001.
可选地,存储器1003可用于存储软件程序以及各种数据。存储器1003可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1003可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Optionally, the memory 1003 can be used to store software programs and various data. The memory 1003 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store data based on Data created by the use of mobile phones (such as audio data, phone books, etc.), etc. In addition, the memory 1003 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
本领域技术人员可以理解,图1中示出的移动终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 1 does not constitute a limitation of the terminal, and may include more or fewer components than shown, or combine certain components, or arrange different components.
在图1所示的移动终端中,处理器1001用于执行存储器1003中终端进程切换的应用程序,实现以下步骤:In the mobile terminal shown in Figure 1, the processor 1001 is used to execute the application program for terminal process switching in the memory 1003 to implement the following steps:
获取状态栏区域的操作信息,所述状态栏区域为终端显示区域中用于显示状态栏的区域;Obtain the operation information of the status bar area, which is the area used to display the status bar in the terminal display area;
根据所述状态栏区域的操作信息确定进程的控制操作;Determine the control operation of the process based on the operation information in the status bar area;
根据所述控制操作,控制终端执行与所述操作信息对应的进程动作。According to the control operation, the control terminal executes a process action corresponding to the operation information.
进一步地,所述根据所述操作信息确定进程的控制操作的步骤包括:Further, the step of determining the control operation of the process according to the operation information includes:
在所述操作信息为状态栏区域的滑动操作时,确定切换操作为所述进程的控制操作;When the operation information is a sliding operation of the status bar area, determine that the switching operation is a control operation of the process;
所述根据所述控制操作,控制终端的进程完成与所述操作信息的动作包括:The action of controlling the process completion of the terminal and the operation information according to the control operation includes:
根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作。According to the control operation, the control terminal performs a process switching action corresponding to the operation information.
进一步地,所述根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作的步骤包括:Further, the step of controlling the terminal to perform a process switching action corresponding to the operation information according to the control operation includes:
根据所述操作信息确定进程切换操作的进程选择信息;Determine process selection information for the process switching operation according to the operation information;
根据所述进程选择信息确定待切换进程;Determine the process to be switched based on the process selection information;
根据所述控制操作,控制终端执行切换至所述待切换进程的动作。According to the control operation, the control terminal performs an action of switching to the process to be switched.
进一步地,所述根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作的步骤包括:Further, the step of controlling the terminal to perform a process switching action corresponding to the operation information according to the control operation includes:
根据所述进程切换的动作确定进程切换的方式;Determine the method of process switching according to the process switching action;
根据所述控制操作,控制终端根据所述进程切换的方式切换至对应的进程。According to the control operation, the control terminal switches to the corresponding process according to the process switching method.
进一步地,所述方法,还包括:Further, the method also includes:
当状态栏显示时,判断在滑动状态栏的左右滑动操作的滑动距离是否为设定的切换进程的距离;When the status bar is displayed, determine whether the sliding distance of the left and right sliding operation on the sliding status bar is the set switching process distance;
若所述左右滑动操作的滑动距离为设定的切换进程的距离,则执行根据所述状态栏区域的操作信息确定进程的控制操作的步骤;If the sliding distance of the left and right sliding operation is the set distance for switching processes, then perform the step of determining the control operation of the process based on the operation information of the status bar area;
若所述左右滑动操作的滑动距离不未设定的切换进程的距离,则执行与所述操作信息对应的响应操作,所述响应操作为进程之外的动作。If the sliding distance of the left and right sliding operation is not the distance of the unset switching process, a response operation corresponding to the operation information is performed, and the response operation is an action outside the process.
进一步地,所述方法,还包括:Further, the method also includes:
当状态栏隐藏时,监听终端操作的位置是否处于所述状态栏区域;When the status bar is hidden, whether the position where the terminal operation is monitored is in the status bar area;
若监听到终端操作的位置在状态栏区域,则执行获取状态栏作用区域的操作信息的步骤。If it is detected that the position of the terminal operation is in the status bar area, the step of obtaining the operation information of the status bar effect area is performed.
进一步地,所述根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作的过程包括:Further, the process of controlling the terminal to perform a process switching action corresponding to the operation information according to the control operation includes:
将所述控制操作通过状态栏发送给进程管理,通过进程管理获取需要切换的进程,切换至所获取的需要切换的进程。The control operation is sent to the process management through the status bar, the process that needs to be switched is obtained through the process management, and the process that needs to be switched is switched to the obtained process.
进一步地,所述方法,还包括:Further, the method also includes:
获取终端上已开启应用的交互信息;Obtain interaction information of applications opened on the terminal;
根据所述交互信息确定所述状态栏操作区域的操作信息是否为进程操作信息;Determine whether the operation information of the status bar operation area is process operation information according to the interaction information;
在确定为进程操作信息时,执行根据所述状态栏区域的操作信息确定进程的控制操作。When the process operation information is determined, the control operation of determining the process based on the operation information in the status bar area is performed.
参考图2,图2为本发明终端进程切换方法的操作流程示意图;所述终端进程切换方法包括:Referring to Figure 2, Figure 2 is a schematic diagram of the operation flow of the terminal process switching method of the present invention; the terminal process switching method includes:
步骤S10,获取状态栏区域的操作信息,所述状态栏区域为终端显示区域中用于显示状态栏的区域;Step S10: Obtain the operation information of the status bar area, which is the area used to display the status bar in the terminal display area;
终端以手机为例,当然也可以是pad或者掌上电脑等,所述状态栏是指在手机顶部显示手机各种状态栏的区域,包含文本输出窗格或“指示器”的控制条,输出窗格通常用作消息行和状态指示器。例如,手机中的状态栏位于屏幕的顶端,状态栏通过操作调出显示在手机显示屏幕的顶端位置,显示的比如usb连接图标,手机移动信号图标,手机无线(WiFi)网络图标,电池电量图标,时间图标、横竖屏控制图标等等。可以通过操作手机显示屏幕的上端下滑操作或者其他设置的操作调出状态栏,以在显示屏幕上显示状态栏,供用户基于状态栏完成相应图标的选择和操作,例如,操作无线网络图标,可以开启或者关闭无线网络,或者显示常用的应用图标,例如“XX支付”,通过在状态栏上进行滑动操作,切换至“XX支付”所在的页面,通过点击操作进入“XX支付”完成支付操作。The terminal takes a mobile phone as an example, but of course it can also be a pad or a handheld computer. The status bar refers to the area at the top of the mobile phone that displays various status bars of the mobile phone, including a text output pane or an "indicator" control bar, an output window Grids are commonly used as message lines and status indicators. For example, the status bar in a mobile phone is located at the top of the screen. The status bar is displayed at the top of the mobile phone display screen through operations. It displays such as USB connection icon, mobile phone signal icon, mobile phone wireless (WiFi) network icon, and battery power icon. , time icon, horizontal and vertical screen control icons, etc. The status bar can be brought up by sliding down the top of the mobile phone display screen or performing other set operations to display the status bar on the display screen for the user to complete the selection and operation of the corresponding icon based on the status bar. For example, to operate the wireless network icon, you can Turn on or off the wireless network, or display commonly used application icons, such as "XX Payment". Switch to the page where "XX Payment" is located by sliding on the status bar, and click to enter "XX Payment" to complete the payment operation.
所述状态栏区域为终端显示区域中用于显示状态栏的区域。在状态栏显示时,显示屏幕中显示的状态栏所在的显示区域为状态栏区域;在状态栏隐藏时,显示屏幕中对应所述显示区域的区域为状态栏区域。在显示状态开启后,监听基于所述状态栏区域的操作信息。所述操作信息可以是基于状态栏区域的点击操作、滑动操作或者按压操作等。The status bar area is an area in the terminal display area used to display the status bar. When the status bar is displayed, the display area where the status bar displayed on the display screen is located is the status bar area; when the status bar is hidden, the area on the display screen corresponding to the display area is the status bar area. After the display status is turned on, operation information based on the status bar area is monitored. The operation information may be a click operation, a sliding operation, a pressing operation, etc. based on the status bar area.
当状态栏区域有上述操作时,获取状态栏区域的操作信息,获取用户在显示屏幕上的状态栏区域做出的操作动作的操作信息,以获取对进程的控制操作。When there is the above operation in the status bar area, the operation information of the status bar area is obtained, and the operation information of the operation action made by the user in the status bar area on the display screen is obtained to obtain the control operation of the process.
步骤S20,根据所述操作信息确定进程的控制操作;Step S20, determine the control operation of the process according to the operation information;
在本实施例中,在获取状态栏作用区域的操作信息后,根据所述操作信息的内容确定进程的控制操作,通过控制信息的获取,来对应确定是对应进程的哪些操作,例如,进程关闭操作,进程切换操作或者进程开启操作,或者进程重启操作;基于状态栏区域的操作信息的不同,对应上述不同的进程操作,需要在获取到操作信息后,确定具体是哪个进程的哪个操作;例如,滑动操作对应切换进程,点击操作对应进程开启动作,按压操作对应进程重启操作,双击对应进程关闭操作等。所述进程可以是应用进程或者网页进程或者小程序的进程等。In this embodiment, after obtaining the operation information of the status bar action area, the control operation of the process is determined according to the content of the operation information. Through the acquisition of the control information, it is determined which operations of the corresponding process are determined, for example, process shutdown. Operation, process switching operation or process opening operation, or process restart operation; based on the different operation information in the status bar area, corresponding to the above different process operations, it is necessary to determine which operation of which process is specific after obtaining the operation information; for example , the sliding operation corresponds to switching processes, the clicking operation corresponds to the process opening operation, the pressing operation corresponds to the process restarting operation, the double-clicking operation corresponds to the process closing operation, etc. The process may be an application process, a web page process, a small program process, etc.
步骤S30,根据所述控制操作,控制终端执行与所述操作信息对应的进程动作。Step S30: According to the control operation, the terminal is controlled to execute a process action corresponding to the operation information.
在确定了进程的控制操作后,控制进程响应,执行与所述控制操作对应进程的相应的动作,例如,完成进程的切换,完成当前进程的关闭或者完成进程的启动等。After the control operation of the process is determined, the control process responds and performs actions corresponding to the process corresponding to the control operation, for example, completing process switching, completing closing of the current process, or completing starting of the process, etc.
在通过状态栏区域操作完成进程操作,通过横竖屏的不同,可以扩展操作区域,可以进一步提高终端进程操作的便捷性。提供了新的进程操作方式,丰富了终端操作的多样性和智能化程度。After completing the process operation through the status bar area operation, the operation area can be expanded through the difference between horizontal and vertical screens, which can further improve the convenience of terminal process operation. It provides a new process operation method and enriches the diversity and intelligence of terminal operations.
本实施例通过用状态栏区域来完成进程的操作,使得用户无需再通过终端下部的虚拟按键或者实体按键调出进程,再通过多一步或者多步的操作来完成进程的操作,使得进程的操作简单,并且状态栏区域范围大,使得操作方便,节省了进程操作的过程提高了终端操作的快捷性和便利性。In this embodiment, the status bar area is used to complete the operation of the process, so that the user no longer needs to call up the process through the virtual keys or physical keys at the bottom of the terminal, and then complete the operation of the process through one or more steps of operation, so that the operation of the process is completed. It is simple and has a large status bar area, making it easy to operate, saving process operations and improving the speed and convenience of terminal operations.
在一实施例中,参考图3,所述根据所述操作信息确定进程的控制操作的步骤包括:In one embodiment, referring to Figure 3, the step of determining the control operation of the process according to the operation information includes:
步骤S21,在所述操作信息为状态栏区域的滑动操作时,确定切换操作为所述进程的控制操作;Step S21, when the operation information is a sliding operation of the status bar area, determine that the switching operation is a control operation of the process;
所述根据所述控制操作,控制终端的进程完成与所述操作信息的动作包括:The action of controlling the process completion of the terminal and the operation information according to the control operation includes:
步骤S31,根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作。Step S31: According to the control operation, the terminal is controlled to perform a process switching action corresponding to the operation information.
基于状态栏区域的操作可以有很多,需要区分是进程的哪些操作,在获取到操作信息后,区分操作信息对应进程的哪些操作,例如,操作信息是滑动操作,则确定为进程的切换操作,需要控制终端完成进程的切换操作。There can be many operations based on the status bar area. It is necessary to distinguish which operations are of the process. After obtaining the operation information, distinguish which operations of the process the operation information corresponds to. For example, if the operation information is a sliding operation, it is determined to be a switching operation of the process. The terminal needs to be controlled to complete the process switching operation.
在状态栏区域的操作信息是滑动操作之外的操作时,可以依据滑动操作之外的规则来完成终端的进程的控制操作,例如,点击操作,通过点击次数,点击区域来确定开启或者关闭哪个进程,如果点击一次,开启当前进程的下一顺位的进程,点击多次,则开启当前进程的多次后的进程,当然如果确定进程是开启状态,则执行关闭操作。其他的与进程相关的操作也是可以根据提前设定的规则来完成,例如,是按压操作,可以根据按压的力度或者加速度来判定确定的进程是哪个,来开启或者关闭该进程。When the operation information in the status bar area is an operation other than the sliding operation, the process control operation of the terminal can be completed according to the rules other than the sliding operation. For example, in the click operation, the number of clicks and the click area are used to determine which one to open or close. If you click on a process once, the process next to the current process will be opened. If you click multiple times, the processes after the current process will be opened multiple times. Of course, if it is determined that the process is open, the shutdown operation will be performed. Other process-related operations can also be completed according to rules set in advance. For example, if it is a pressing operation, you can determine which process is determined based on the strength or acceleration of the pressing to open or close the process.
而切换至哪个应用,参考图4,所述根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作的步骤包括:As for which application to switch to, refer to Figure 4. According to the control operation, the step of controlling the terminal to perform a process switching action corresponding to the operation information includes:
步骤S32,根据所述操作信息确定进程切换操作的进程选择信息;Step S32: Determine the process selection information of the process switching operation according to the operation information;
步骤S33,根据所述进程选择信息确定待切换进程;Step S33: Determine the process to be switched based on the process selection information;
步骤S34,根据所述控制操作,控制终端执行切换至所述待切换进程的动作。Step S34: According to the control operation, the terminal is controlled to perform an action of switching to the process to be switched.
所述进程选择信息以滑动的参数为例,滑动参数包括但不限于滑动距离、滑动次数、滑动加速度滑动、操作的手指数量或者滑动面积等。The process selection information takes sliding parameters as an example. The sliding parameters include but are not limited to sliding distance, number of slidings, sliding acceleration, number of fingers operated or sliding area, etc.
确定进程可以根据滑动操作的滑动距离来确定,例如,滑动距离为a,对应进程A;滑动距离为b,对应经常为B,通过距离的不同来滑动至相应的进程。当然也可以通过滑动的次数来确定对应的进程,例如,滑动次数2次,对应进程C,滑动次数1次,对应进程为D。再或者,滑动次数1次,滑动距离c,对应进程E,或者滑动次数2次,滑动距离d,对应进程F。当然也可以获取到滑动操作时的加速度信息,通过加速度确定待切换的进程。当然也可以根据滑动的面积或滑动的手指数量确定,先根据滑动的面积或者手指的不同,来对应进程的类型,再根据滑动的距离、次数或者加速度来确定是该类型下的哪个进程,通过将进程选择信息分级划分,来更加精确的得到需要切换的进程。The process can be determined based on the sliding distance of the sliding operation. For example, if the sliding distance is a, it corresponds to process A; if the sliding distance is b, it corresponds to process B, and the corresponding process is slid based on the difference in distance. Of course, the corresponding process can also be determined by the number of slides. For example, if the number of slides is 2, the corresponding process is C, and if the number of slides is 1, the corresponding process is D. Alternatively, the number of slides is 1 and the distance c corresponds to process E, or the number of slides is 2 and the distance d corresponds to process F. Of course, the acceleration information during the sliding operation can also be obtained, and the process to be switched can be determined through the acceleration. Of course, it can also be determined based on the sliding area or the number of sliding fingers. First, the type of process is determined based on the sliding area or the number of fingers, and then the process of that type is determined based on the sliding distance, number of times, or acceleration. The process selection information is divided into different levels to more accurately obtain the process that needs to be switched.
以上只是示例性给出基于状态栏区域的滑动操作对应进程切换的过程,其他知晓的滑动操作对应进程切换的方案也在本申请的保护范围之内,在此不一一举例说明。The above is only an example of the process of corresponding process switching based on the sliding operation of the status bar area. Other known solutions of corresponding process switching of sliding operations are also within the protection scope of the present application, and will not be explained one by one here.
在一实施例中,不同的进程有不同的切换方式,参考图5,所述根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作的步骤包括:In one embodiment, different processes have different switching methods. Referring to Figure 5, the step of controlling the terminal to perform the process switching action corresponding to the operation information according to the control operation includes:
步骤S35,根据所述进程切换的动作确定进程切换的方式;Step S35: Determine the process switching method according to the process switching action;
步骤S36,根据所述控制操作,控制终端根据所述进程切换的方式切换至对应的进程。Step S36: According to the control operation, the control terminal switches to the corresponding process according to the process switching method.
进程切换的方式包括但不限于往复切换、顺序切换或者随机切换或者根据习惯操作切换、优先顺序切换等,根据进程切换的动作的不同来确定切换的方式,滑动操作先确定切换方式,再根据切换方式来完成进程的切换,例如,滑动1次,根据滑动1次确定往复切换,需要在当前和前一进程之间切换,用户可以根据该滑动操作1次,来在这2个进程之间切换;或者滑动2次,表示顺序切换,需要根据滑动操作来不断的往下按照顺序切换至下一进程。Methods of process switching include but are not limited to reciprocating switching, sequential switching, random switching, switching according to habitual operations, priority switching, etc. The switching method is determined according to the different actions of process switching. The sliding operation first determines the switching method, and then switches according to the switching method. Method to complete process switching, for example, slide once, and the reciprocating switch is determined based on the slide once. It is necessary to switch between the current and previous processes. The user can switch between the two processes based on the slide operation once. ; Or slide twice to indicate sequential switching. You need to continuously switch down to the next process in sequence according to the sliding operation.
本实施例通过操作信息的不同对应不同的进程操作,通过操作信息的判断和确定,来选择精确的进程切换方式和进程选择方式,来切换至需要开启的进程,来完成相应的动作,使得进程切换准确,提高了终端操作的可靠性。In this embodiment, different operation information corresponds to different process operations, and through the judgment and determination of the operation information, the precise process switching method and process selection method are selected to switch to the process that needs to be started to complete the corresponding action, so that the process The switching is accurate and improves the reliability of terminal operation.
在一实施例中,参考图6,所述方法,还包括:In one embodiment, referring to Figure 6, the method further includes:
步骤S40,当状态栏显示时,判断在滑动状态栏的左右滑动操作的滑动距离是否为设定的切换进程的距离;Step S40, when the status bar is displayed, determine whether the sliding distance of the left and right sliding operation on the sliding status bar is the set switching process distance;
步骤S50,若所述左右滑动操作的滑动距离为设定的切换进程的距离,则执行根据所述状态栏区域的操作信息确定进程的控制操作的步骤;Step S50, if the sliding distance of the left and right sliding operation is the set distance of switching processes, then perform the step of determining the control operation of the process based on the operation information of the status bar area;
步骤S60,若所述左右滑动操作的滑动距离不未设定的切换进程的距离,则执行与所述操作信息对应的响应操作,所述响应操作为进程之外的动作。Step S60: If the sliding distance of the left and right sliding operation is not a distance of an unset switching process, a response operation corresponding to the operation information is performed, and the response operation is an action outside the process.
在状态栏区域接收到操作,即,监听到操作,该操作需要对应是状态栏本身的操作还是进程的操作,需要作出判断。根据滑动距离来完成判断,在达到设定的距离,例如,达到5mm或者达到8mm时,判断是进程的切换,执行根据所述状态栏区域的操作信息确定进程的控制操作的步骤;如果小于该操作,则确定是状态栏本身的操作,完成状态栏的响应动作。例如,开启图标的应用或者功能等。When an operation is received in the status bar area, that is, the operation is monitored, the operation needs to correspond to whether it is an operation on the status bar itself or an operation on the process, and a judgment needs to be made. The judgment is completed based on the sliding distance. When the set distance is reached, for example, when it reaches 5mm or 8mm, it is judged that the process is switched, and the step of determining the control operation of the process based on the operation information in the status bar area is performed; if it is less than the operation, it is determined to be an operation of the status bar itself, and the response action of the status bar is completed. For example, enable the application or function of the icon, etc.
在一实施例中,对于状态栏区域的操作的判断,还可以是,判断是否是基于状态栏中图标的操作,如果是状态栏图标之外区域的操作,判断为进程的操作,即可以通过状态栏区域操作的起点来判断是否为进程的操作,起点在图标范围之外,则判定为进程的操作;在图标内,则判定为状态栏本身的操作。In one embodiment, the judgment of the operation of the status bar area can also be based on the operation of the icon in the status bar. If the operation is the operation of the area other than the status bar icon, it is judged to be the operation of the process, that is, it can be determined by The starting point of the operation in the status bar area is used to determine whether it is an operation of the process. If the starting point is outside the icon range, it is determined to be an operation of the process; if the starting point is within the icon, it is determined to be an operation of the status bar itself.
在本申请的其他实施例中,参考图7,所述方法,包括:In other embodiments of the present application, referring to Figure 7, the method includes:
步骤S70,当状态栏隐藏时,监听终端操作的位置是否处于所述状态栏区域;Step S70: When the status bar is hidden, monitor whether the position of the terminal operation is in the status bar area;
步骤S80,若监听到终端操作的位置在状态栏区域,则执行获取状态栏作用区域的操作信息的步骤。Step S80: If it is detected that the position of the terminal operation is in the status bar area, the step of obtaining operation information of the status bar active area is performed.
状态栏隐藏时,对显示屏幕中对应状态栏的显示区域,监听是否存在操作(是否检测到基于终端显示屏幕操作区域的操作),在监听到操作时(该操作不一定是属于进程控制的操作需要作出判断),即,在显示屏幕监听到操作时,判断终端操作的位置是否处于所述状态栏区域,如果在,则根据状态栏区域的操作控制进程的动作,完成进程的切换、启动或者关闭等操作;如果否,则执行响应操作,控制终端的其他与该操作具备响应动作的应用完成响应动作。在完成隐藏下进程的动作时,将所述控制操作通过状态栏发送给进程管理,通过进程管理获取需要切换的进程,切换至所获取的需要切换的进程。具体的:如果是状态栏隐藏的时候,通过framework的窗口管理服务,监听滑动的位置是否在状态栏的显示位置内,如果是把事件传递给状态栏,状态栏再执行切进程的动作。When the status bar is hidden, monitor the display area of the corresponding status bar on the display screen to see if there is an operation (whether an operation based on the operation area of the terminal display screen is detected). When an operation is detected (the operation is not necessarily a process control operation) Need to make a judgment), that is, when the display screen monitors the operation, it is judged whether the position of the terminal operation is in the status bar area. If it is, the action of the process is controlled according to the operation in the status bar area to complete the switching, starting or Close and other operations; if not, perform a response operation, and control other applications on the terminal that have response actions to the operation to complete the response actions. When the action of hiding the process is completed, the control operation is sent to the process management through the status bar, the process that needs to be switched is obtained through the process management, and the process that needs to be switched is switched to the obtained process. Specifically: if the status bar is hidden, use the framework's window management service to monitor whether the sliding position is within the display position of the status bar. If the event is passed to the status bar, the status bar will then perform the process switching action.
本实施例通过在显示和隐藏状态栏时,采取不同的方式来判断是否是进程的操作,提供准确的进程控制操作,使得进程控制更加准确合理。This embodiment adopts different methods to determine whether it is a process operation when displaying and hiding the status bar, and provides accurate process control operations, making process control more accurate and reasonable.
在本申请的一实施例中,参考图8,所述方法,还包括:In an embodiment of the present application, referring to Figure 8, the method further includes:
步骤S01,获取终端上已开启应用的交互信息;Step S01: Obtain interaction information of applications opened on the terminal;
步骤S02,根据所述交互信息确定所述状态栏操作区域的操作信息是否为进程操作信息;Step S02: Determine whether the operation information of the status bar operation area is process operation information according to the interaction information;
步骤S03,在确定为进程操作信息时,执行根据所述状态栏区域的操作信息确定进程的控制操作。Step S03: When it is determined to be process operation information, perform a control operation to determine the process based on the operation information in the status bar area.
获取应用的交互信息,例如,打开的微信或者社交APP或者社交网站的交互信息,从交互信息中提取出跟进程切换相关的信息,例如,“现在玩xx游戏”,则根据这个信息得到用户需要进入xx游戏,则会对状态栏区域的操作信息,是对进程的操作信息,需要根据状态栏区域的操作来完成进程的启动;再例如,闹钟设置在16点开启微信,则在16点时操作了状态栏区域,则是开启微信的操作,根据16点时的状态栏区域的操作,开启微信。通过监听已开启应用的交互信息来完成进程的操作,提前感知需要进行的进程操作,更进一步的提高了便捷性和预知性,提高了终端的操作可靠性。Obtain the interactive information of the application, for example, the interactive information of the opened WeChat or social APP or social networking website, and extract the information related to process switching from the interactive information, for example, "Play xx game now", and obtain the user needs based on this information When entering the xx game, the operation information in the status bar area is the operation information for the process. The process needs to be started according to the operation in the status bar area; for another example, if the alarm clock is set to open WeChat at 16 o'clock, then at 16 o'clock The operation of the status bar area is to open WeChat. According to the operation of the status bar area at 16 o'clock, WeChat is opened. By monitoring the interactive information of the opened application to complete the process operation, it can sense the required process operation in advance, which further improves the convenience and predictability, and improves the operational reliability of the terminal.
本实施例通过跟终端上的应用程序的交互信息来完成状态栏操作的判断,使得状态栏区域操作的判断更加准确合理,提高了操作的便捷性和准确性。This embodiment completes the judgment of the status bar operation by interacting with the application program on the terminal, making the judgment of the status bar area operation more accurate and reasonable, and improving the convenience and accuracy of the operation.
在本申请一实施例中,为了更好的描述本申请中进程的操作,参考图9,进程控制过程包括:In an embodiment of the present application, in order to better describe the operation of the process in the present application, with reference to Figure 9, the process control process includes:
状态栏通知进程操作,进程管理APP接收进程操作通知,获取需要切换的应用进程,启动切换过程,进程管理服务完成切换过程,完成进程的切换操作。The status bar notifies the process operation. The process management APP receives the process operation notification, obtains the application process that needs to be switched, starts the switching process, and the process management service completes the switching process and completes the process switching operation.
进一步地,如果状态栏显示的情况下,通过滑动状态栏的时候判断左右滑动的距离是否为设定的切换进程的距离,如果是就发送通知给进程管理app去切换进程,切换完进程之后会,进程管理重新排序当前的进程列表。Furthermore, if the status bar is displayed, it is judged by sliding the status bar whether the left and right sliding distance is the set distance for switching processes. If so, a notification is sent to the process management app to switch processes. After the process is switched, the , process management reorders the current process list.
如果是状态栏隐藏的时候,通过framework的窗口管理服务,监听滑动的位置是否在状态栏的显示位置内,如果是把事件传递给状态栏,状态栏再执行切进程的动作。本实施例的进程切换,通过在状态栏显示和隐藏时执行不同的进程控制识别操作,来完成进程的操作,使得进程操作多样性,操作更加方便、准确。If the status bar is hidden, the framework's window management service is used to monitor whether the sliding position is within the display position of the status bar. If the event is passed to the status bar, the status bar will then perform the process switching action. The process switching in this embodiment completes the process operation by performing different process control identification operations when the status bar is displayed and hidden, making the process operation diverse and the operation more convenient and accurate.
本发明还提出一种终端,所述终端包括存储器、处理器及存储在存储器上并可在处理器上运行的终端进程切换程序,所述处理器执行所述终端进程切换程序时实现以下步骤:The present invention also proposes a terminal. The terminal includes a memory, a processor, and a terminal process switching program stored in the memory and executable on the processor. When the processor executes the terminal process switching program, the following steps are implemented:
获取状态栏区域的操作信息,所述状态栏区域为终端显示区域中用于显示状态栏的区域;根据所述状态栏区域的操作信息确定进程的控制操作;根据所述控制操作,控制终端执行与所述操作信息对应的进程动作。Obtain the operation information of the status bar area, which is the area used to display the status bar in the terminal display area; determine the control operation of the process according to the operation information of the status bar area; control the terminal execution according to the control operation Process actions corresponding to the operation information.
移动终端可以是手机,在手机操作时,可以不用通过虚拟按键来完成进程的切换,可以通过状态栏区域的显示屏幕中对应区域的操作来完成进程的切换操作,进而使得进程切换更加快捷,节省操作。在手机横屏或者竖屏时,还增大了操作区域,更加方便操作。The mobile terminal can be a mobile phone. When operating the mobile phone, process switching can be completed without using virtual keys. The process switching operation can be completed by operating the corresponding area of the display screen in the status bar area, thereby making process switching faster and saving money. operate. When the mobile phone is screened horizontally or vertically, the operating area is also enlarged, making operation more convenient.
所述终端包括终端进程切换装置,所述进程切换装置包括:获取模块、确定模块和控制模块,The terminal includes a terminal process switching device, and the process switching device includes: an acquisition module, a determination module and a control module,
所述获取模块,用于获取状态栏区域的操作信息,所述状态栏区域为终端显示区域中用于显示状态栏的区域;The acquisition module is used to obtain the operation information of the status bar area, and the status bar area is the area used to display the status bar in the terminal display area;
所述确定模块,用于根据所述状态栏区域的操作信息确定进程的控制操作;The determination module is used to determine the control operation of the process based on the operation information of the status bar area;
所述控制模块,用于根据所述控制操作,控制终端执行与所述操作信息对应的进程动作。The control module is configured to control the terminal to perform process actions corresponding to the operation information according to the control operation.
进一步地,所述确定模块,用于在所述操作信息为状态栏区域的滑动操作时,确定切换操作为所述进程的控制操作;Further, the determination module is configured to determine that the switching operation is a control operation of the process when the operation information is a sliding operation of the status bar area;
所述控制模块,用于根据所述控制操作,控制终端执行与所述操作信息对应的进程切换的动作。The control module is configured to control the terminal to perform a process switching action corresponding to the operation information according to the control operation.
进一步地,所述根控制模块,用于根据所述操作信息确定进程切换操作的进程选择信息;根据所述进程选择信息确定待切换进程;根据所述控制操作,控制终端执行切换至所述待切换进程的动作。Further, the root control module is configured to determine the process selection information of the process switching operation according to the operation information; determine the process to be switched according to the process selection information; and control the terminal to perform switching to the process to be switched according to the control operation. The action of switching processes.
进一步地,所述根控制模块,用于根据所述进程切换的动作确定进程切换的方式;根据所述控制操作,控制终端根据所述进程切换的方式切换至对应的进程。Further, the root control module is configured to determine a process switching method according to the process switching action; according to the control operation, the control terminal switches to the corresponding process according to the process switching method.
进一步地,所述装置还包括:判断模块,Further, the device also includes: a judgment module,
所述判断模块,用于当状态栏显示时,判断在滑动状态栏的左右滑动操作的滑动距离是否为设定的切换进程的距离;The judgment module is used to judge whether the sliding distance of the left and right sliding operation of the sliding status bar is the set switching process distance when the status bar is displayed;
所述确定模块,用于若所述左右滑动操作的滑动距离为设定的切换进程的距离,则执行根据所述状态栏区域的操作信息确定进程的控制操作的步骤;The determination module is configured to perform the step of determining the control operation of the process based on the operation information of the status bar area if the sliding distance of the left and right sliding operation is the set distance of the switching process;
所述控制模块,用于若所述左右滑动操作的滑动距离不未设定的切换进程的距离,则执行与所述操作信息对应的响应操作,所述响应操作为进程之外的动作。The control module is configured to perform a response operation corresponding to the operation information if the sliding distance of the left and right sliding operation is not a distance of an unset switching process, and the response operation is an action outside the process.
进一步地,所述判断模块,用于当状态栏隐藏时,监听终端操作的位置是否处于所述状态栏区域;Further, the judgment module is used to monitor whether the position of the terminal operation is in the status bar area when the status bar is hidden;
所述获取模块,用于若监听到终端操作的位置在状态栏区域,则执行获取状态栏作用区域的操作信息的步骤。The acquisition module is configured to perform the step of acquiring the operation information of the status bar action area if it is detected that the location of the terminal operation is in the status bar area.
进一步地,所述控制模块,还用于将所述控制操作通过状态栏发送给进程管理,通过进程管理获取需要切换的进程,切换至所获取的需要切换的进程。Further, the control module is also configured to send the control operation to the process management through the status bar, obtain the process that needs to be switched through the process management, and switch to the obtained process that needs to be switched.
进一步地,所述获取模块,用于获取终端上已开启应用的交互信息;Further, the acquisition module is used to acquire interactive information of applications that have been opened on the terminal;
所述确定模块,还用于根据所述交互信息确定所述状态栏操作区域的操作信息是否为进程操作信息;The determination module is also configured to determine whether the operation information of the status bar operation area is process operation information according to the interaction information;
所述确定模块,还用于在确定为进程操作信息时,执行根据所述状态栏区域的操作信息确定进程的控制操作。The determination module is also configured to perform a control operation to determine the process based on the operation information in the status bar area when the process operation information is determined.
本发明还提出一种计算机可读存储介质,其特征在于,其上存储有终端进程切换程序,其特征在于,该终端进程切换程序被处理器执行时实现以下步骤:The present invention also proposes a computer-readable storage medium, which is characterized in that a terminal process switching program is stored thereon, and is characterized in that when the terminal process switching program is executed by the processor, the following steps are implemented:
获取状态栏区域的操作信息,所述状态栏区域为终端显示区域中用于显示状态栏的区域;Obtain the operation information of the status bar area, which is the area used to display the status bar in the terminal display area;
根据所述状态栏区域的操作信息确定进程的控制操作;Determine the control operation of the process based on the operation information in the status bar area;
根据所述控制操作,控制终端执行与所述操作信息对应的进程动作。According to the control operation, the control terminal executes a process action corresponding to the operation information.
存储介质可以是移动性的存储设备,例如,U盘或者移动硬盘等,也可以是计算机的硬盘,通过存储介质加载终端进程切换程序,程序被调用后,执行上述的进程操作过程,通过状态栏完成终端进程的操作,增大了响应区域,提高了便捷性和可靠性。The storage medium can be a mobile storage device, such as a USB flash drive or a mobile hard disk, or a computer hard disk. The terminal process switching program is loaded through the storage medium. After the program is called, the above-mentioned process operation process is executed, and the process is displayed through the status bar. Complete the operation of the terminal process, increase the response area, and improve convenience and reliability.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for realizing the functions specified in a process or processes in a flowchart and/or a block or blocks in a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions The device implements the functions specified in a process or processes in the flowchart and/or in a block or blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.
应当注意的是,在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的部件或步骤。位于部件之前的单词“一”或“一个”不排除存在多个这样的部件。本发明可以借助于包括有若干不同部件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps other than those listed in a claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the element claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, third, etc. does not indicate any order. These words can be interpreted as names.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although the preferred embodiments of the present invention have been described, those skilled in the art will be able to make additional changes and modifications to these embodiments once the basic inventive concepts are apparent. Therefore, it is intended that the appended claims be construed to include the preferred embodiments and all changes and modifications that fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the present invention.
明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Ming spirit and scope. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention is also intended to include these modifications and variations.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010210679.2A CN111400014B (en) | 2020-03-23 | 2020-03-23 | Terminal process switching method, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010210679.2A CN111400014B (en) | 2020-03-23 | 2020-03-23 | Terminal process switching method, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111400014A CN111400014A (en) | 2020-07-10 |
CN111400014B true CN111400014B (en) | 2023-10-13 |
Family
ID=71431077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010210679.2A Active CN111400014B (en) | 2020-03-23 | 2020-03-23 | Terminal process switching method, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111400014B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102207825A (en) * | 2011-05-23 | 2011-10-05 | 昆山富泰科电脑有限公司 | Method for switching multiple applications in portable multifunctional device and user graphical interface |
CN103440091A (en) * | 2013-08-07 | 2013-12-11 | 广东明创软件科技有限公司 | Method for realizing shortcut operation and mobile terminal thereof |
CN104731507A (en) * | 2015-03-31 | 2015-06-24 | 努比亚技术有限公司 | Application switching method of mobile terminal and mobile terminal |
CN105912219A (en) * | 2016-05-11 | 2016-08-31 | 青岛海信移动通信技术股份有限公司 | Notification message displaying method and terminal device |
CN105955573A (en) * | 2016-04-27 | 2016-09-21 | 上海斐讯数据通信技术有限公司 | Mobile terminal application switching method and system |
CN107045420A (en) * | 2017-04-27 | 2017-08-15 | 努比亚技术有限公司 | Switching method and mobile terminal, the storage medium of application program |
CN107168609A (en) * | 2017-06-06 | 2017-09-15 | 广东欧珀移动通信有限公司 | Status bar display method, device and terminal |
CN108664182A (en) * | 2018-04-09 | 2018-10-16 | Oppo广东移动通信有限公司 | Application switching method, terminal and computer readable storage medium |
CN108769814A (en) * | 2018-06-01 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Video interaction method, device and readable medium |
CN109361813A (en) * | 2018-09-21 | 2019-02-19 | Oppo广东移动通信有限公司 | message management method, device, storage medium and mobile terminal |
CN109766050A (en) * | 2019-01-28 | 2019-05-17 | 努比亚技术有限公司 | Fingerprint identification method, terminal and computer readable storage medium |
CN109976626A (en) * | 2019-02-19 | 2019-07-05 | 华为技术有限公司 | A kind of switching method and electronic equipment of application icon |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984464A (en) * | 2013-02-07 | 2014-08-13 | 腾讯科技(深圳)有限公司 | Display method and device of mobile terminal shortcut |
US9529490B2 (en) * | 2013-08-08 | 2016-12-27 | Eric Qing Li | Method and apparatus for improving one-handed operation of a large smartphone or a small tablet computer |
-
2020
- 2020-03-23 CN CN202010210679.2A patent/CN111400014B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102207825A (en) * | 2011-05-23 | 2011-10-05 | 昆山富泰科电脑有限公司 | Method for switching multiple applications in portable multifunctional device and user graphical interface |
CN103440091A (en) * | 2013-08-07 | 2013-12-11 | 广东明创软件科技有限公司 | Method for realizing shortcut operation and mobile terminal thereof |
CN104731507A (en) * | 2015-03-31 | 2015-06-24 | 努比亚技术有限公司 | Application switching method of mobile terminal and mobile terminal |
CN105955573A (en) * | 2016-04-27 | 2016-09-21 | 上海斐讯数据通信技术有限公司 | Mobile terminal application switching method and system |
CN105912219A (en) * | 2016-05-11 | 2016-08-31 | 青岛海信移动通信技术股份有限公司 | Notification message displaying method and terminal device |
CN107045420A (en) * | 2017-04-27 | 2017-08-15 | 努比亚技术有限公司 | Switching method and mobile terminal, the storage medium of application program |
CN107168609A (en) * | 2017-06-06 | 2017-09-15 | 广东欧珀移动通信有限公司 | Status bar display method, device and terminal |
CN108664182A (en) * | 2018-04-09 | 2018-10-16 | Oppo广东移动通信有限公司 | Application switching method, terminal and computer readable storage medium |
CN108769814A (en) * | 2018-06-01 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Video interaction method, device and readable medium |
WO2019228120A1 (en) * | 2018-06-01 | 2019-12-05 | 腾讯科技(深圳)有限公司 | Video interaction method and device, terminal, and storage medium |
CN109361813A (en) * | 2018-09-21 | 2019-02-19 | Oppo广东移动通信有限公司 | message management method, device, storage medium and mobile terminal |
CN109766050A (en) * | 2019-01-28 | 2019-05-17 | 努比亚技术有限公司 | Fingerprint identification method, terminal and computer readable storage medium |
CN109976626A (en) * | 2019-02-19 | 2019-07-05 | 华为技术有限公司 | A kind of switching method and electronic equipment of application icon |
Also Published As
Publication number | Publication date |
---|---|
CN111400014A (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112527431B (en) | A widget processing method and related device | |
US10908789B2 (en) | Application switching method and apparatus and graphical user interface | |
CN115174733B (en) | Interface display method, device and equipment | |
US20200183574A1 (en) | Multi-Task Operation Method and Electronic Device | |
CN106780685B (en) | A kind of generation method and terminal of dynamic picture | |
CN106570372B (en) | A kind of application startup method and mobile terminal | |
CN106201166A (en) | A kind of multi-screen display method and terminal | |
CN107506109A (en) | A kind of method and mobile terminal for starting application program | |
CN108958606B (en) | Split screen display method and device, storage medium and electronic equipment | |
CN106126039A (en) | Operation interface display method and mobile terminal | |
WO2017063443A1 (en) | Message display method and apparatus | |
CN114895838A (en) | Application program display method and terminal | |
CN106454456A (en) | Video playing control method and mobile terminal | |
JP2013168086A (en) | Information processor | |
CN104866109A (en) | Gesture control method and system for mobile terminal and mobile terminal | |
CN107103224B (en) | An unlocking method and mobile terminal | |
CN101482799A (en) | Method for controlling electronic equipment through touching type screen and electronic equipment thereof | |
CN104765525A (en) | Operation interface switching method and device | |
CN108815844B (en) | Mobile terminal, game control method thereof, electronic device and storage medium | |
CN107632761B (en) | Display content viewing method, mobile terminal and computer readable storage medium | |
CN106445669A (en) | Application task processing method and mobile terminal | |
CN106407027A (en) | An information display method for a mobile terminal and a mobile terminal | |
CN107728898B (en) | Information processing method and mobile terminal | |
CN116027953A (en) | Recognition method for knuckle touch operation, electronic device and readable storage medium | |
EP4254225A1 (en) | Terminal information display control method, apparatus, terminal, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |