CN104238895B - Method and electronic device for multiple selection objects - Google Patents
Method and electronic device for multiple selection objects Download PDFInfo
- Publication number
- CN104238895B CN104238895B CN201310235145.5A CN201310235145A CN104238895B CN 104238895 B CN104238895 B CN 104238895B CN 201310235145 A CN201310235145 A CN 201310235145A CN 104238895 B CN104238895 B CN 104238895B
- Authority
- CN
- China
- Prior art keywords
- application
- touch screen
- operating system
- button
- application program
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000001960 triggered effect Effects 0.000 claims abstract description 10
- 230000006870 function Effects 0.000 description 72
- 238000010586 diagram Methods 0.000 description 10
- 210000000352 storage cell Anatomy 0.000 description 6
- 210000004027 cell Anatomy 0.000 description 4
- 230000003915 cell function Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000015654 memory Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Position Input By Displaying (AREA)
Abstract
本发明提供一种多选目标的方法与电子装置,该多选目标的方法适用于该电子装置,该电子装置具有一触控屏与一处理器,处理器运行一操作系统。该多选目标的方法包括:识别操作系统当前运行的应用程序属于第一类应用程序或第二类应用程序;当操作系统当前运行的应用程序被识别为属于第一类应用程序时,由触控屏显示第一多选按钮,其中第一多选按钮被触发后用以产生第一按键事件;当触控屏检测到第一按键事件时,启动或关闭操作系统当前运行的应用程序的第一多选目标功能。
The present invention provides a method for selecting multiple targets and an electronic device. The method for selecting multiple targets is applicable to the electronic device. The electronic device has a touch screen and a processor, and the processor runs an operating system. The method for selecting multiple targets includes: identifying whether an application currently running on the operating system belongs to a first type of application or a second type of application; when the application currently running on the operating system is identified as belonging to the first type of application, the touch screen displays a first multiple-selection button, wherein the first multiple-selection button is used to generate a first key event after being triggered; when the touch screen detects the first key event, the first multiple-selection target function of the application currently running on the operating system is started or closed.
Description
技术领域technical field
本发明是有关于一种计算机系统,且特别是有关于一种多选目标的方法与电子装置。The present invention relates to a computer system, and in particular to a method and an electronic device for selecting multiple objects.
背景技术Background technique
随着平板电脑与智能手机的快速普及,人们已逐渐习惯以触控的方式取代传统的滑鼠与键盘来操作电脑系统。对于使用微软Windows操作系统(Microsoft WindowsOperating System)的平板电脑或智能手机的用户来说,若其要开启某一个应用程序支持的多选目标功能,用户必须要先开启屏幕小键盘的设定选单,并在该设定选单中将屏幕小键盘设定为标准键盘模式。在完成上述设定后,用户还必须呼叫屏幕小键盘应用程序,并在所显示的屏幕小键盘上按下特定的功能按键或功能按键的组合,才能针对不同的应用程序开启该应用程序支持的多选目标功能,或者关闭该应用程序已开启的多选目标功能。With the rapid popularization of tablet computers and smart phones, people have gradually become accustomed to operating computer systems with touch instead of traditional mouse and keyboard. For users of tablets or smartphones using the Microsoft Windows Operating System (Microsoft Windows Operating System), if they want to enable the multi-select target function supported by an application, the user must first open the setting menu of the small keyboard on the screen. And set the on-screen keypad to the standard keyboard mode in the setting menu. After completing the above settings, the user must also call the on-screen keypad application, and press a specific function key or combination of function keys on the displayed on-screen keypad to enable the application supported by the application. Multi-select objects, or turn off multi-select objects that have been turned on for the app.
然而,通过显示于触控屏上的屏幕小键盘来开启或关闭应用程序的多选目标功能所需的手续繁杂,且显示于触控屏上的屏幕小键盘也会占据触控屏的许多显示空间,因此往往造成用户在使用上的诸多不便。However, the procedures required to enable or disable the multi-selection function of the application program through the on-screen keypad displayed on the touch screen are complicated, and the on-screen keypad displayed on the touch screen also occupies a lot of display on the touch screen. Therefore, it often causes a lot of inconvenience for users in use.
发明内容Contents of the invention
有鉴于此,本发明提供一种多选目标的方法与电子装置,可针对不同的应用程序提供不同的多选按钮,以便用户快速开启应用程序的多选目标功能。In view of this, the present invention provides a method and an electronic device for multiple selection of objects, which can provide different multiple selection buttons for different application programs, so that users can quickly activate the multiple selection object function of the application programs.
本发明另提供一种电子装置,可大幅简化在触控式电子装置上开启或关闭应用程序的多选目标功能所需的操作手续。The present invention further provides an electronic device, which can greatly simplify the operation procedures required for opening or closing the multi-selection function of an application program on the touch-sensitive electronic device.
本发明提供一种多选目标的方法,适用于一电子装置,电子装置具有一触控屏与一处理器,处理器运行一操作系统,所述多选目标的方法包括:识别操作系统当前运行的应用程序属于一第一类应用程序或一第二类应用程序;当操作系统当前运行的应用程序被识别为属于第一类应用程序时,由触控屏显示一第一多选按钮,其中第一多选按钮被触发后用以产生一第一按键事件;当触控屏检测到第一按键事件时,启动或关闭操作系统当前运行的应用程序的一第一多选目标功能。The present invention provides a method for multi-selecting objects, which is suitable for an electronic device. The electronic device has a touch screen and a processor, and the processor runs an operating system. The method for multi-selecting objects includes: identifying the operating system currently running The application program belongs to a first type of application program or a second type of application program; when the application program currently running in the operating system is identified as belonging to the first type of application program, a first multi-choice button is displayed on the touch screen, wherein The first multi-choice button is used to generate a first key event after being triggered; when the touch screen detects the first key event, a first multi-choice target function of an application currently running in the operating system is activated or closed.
本发明另提供一种电子装置,所述电子装置包括一触控屏及一处理器。处理器耦接触控屏,并且运行一操作系统,处理器识别操作系统当前运行的应用程序属于一第一类应用程序或一第二类应用程序,当操作系统当前运行的应用程序被识别为属于第一类应用程序时,触控屏显示一第一多选按钮,其中第一多选按钮被触发后用以产生一第一按键事件,当触控屏检测到第一按键事件时,启动或关闭操作系统当前运行的应用程序的一第一多选目标功能。The present invention further provides an electronic device, and the electronic device includes a touch screen and a processor. The processor is coupled to the touch control panel and runs an operating system. The processor identifies that the application program currently running on the operating system belongs to a first-type application program or a second-type application program. When the application program currently running on the operating system is identified as belonging to the During the first type of application program, the touch screen displays a first multi-choice button, wherein the first multi-choice button is used to generate a first key event after being triggered, and when the touch screen detects the first key event, start or A first multi-select target function of the application program currently running in the operating system is closed.
基于上述,本发明可根据操作系统当前运行的应用程序显示特定的一个或多个多选按钮于触控屏上。然后,当检测到用户在触控屏上点选其中的一个多选按钮时,本发明可利用被点选的多选按钮所对应的按键事件来启动或关闭操作系统当前运行的应用程序的多选目标功能,从而达到简化开启或关闭应用程序的多选目标功能所需的手续的功效。Based on the above, the present invention can display one or more specific multi-choice buttons on the touch screen according to the currently running application program of the operating system. Then, when it is detected that the user clicks one of the multiple choice buttons on the touch screen, the present invention can use the key event corresponding to the selected multiple choice button to start or close multiple functions of the currently running application program of the operating system. Target selection function, thereby achieving the effect of simplifying the procedures required to enable or disable the multi-select target function of the application.
为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings.
附图说明Description of drawings
图1为根据本发明一实施例所示出的电子装置的示意图;FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention;
图2为根据本发明的一实施例所示出的多选目标的方法的流程图;FIG. 2 is a flowchart of a method for selecting multiple objects according to an embodiment of the present invention;
图3为根据本发明一实施例所示出的启动文件管理器(File Explorer)应用程序的第一多选目标功能的示意图;Fig. 3 is a schematic diagram showing the first multi-select target function of starting a file manager (File Explorer) application shown according to an embodiment of the present invention;
图4为根据本发明一实施例所示出的启动Microsoft Office Word应用程序的第一多选目标功能的示意图;Fig. 4 is a schematic diagram showing the first multi-choice target function of starting the Microsoft Office Word application program shown according to an embodiment of the present invention;
图5为根据本发明一实施例所示出的启动Microsoft Office Excel应用程序的第一多选目标功能的示意图;Fig. 5 is a schematic diagram showing the first multi-choice target function of starting the Microsoft Office Excel application program shown according to an embodiment of the present invention;
图6为根据本发明一实施例所示出的启动Microsoft Office Excel应用程序的第二多选目标功能的示意图。Fig. 6 is a schematic diagram showing the second multi-select target function of starting the Microsoft Office Excel application program according to an embodiment of the present invention.
附图标记说明:Explanation of reference signs:
10:电子装置;10: electronic device;
11:触控屏;11: touch screen;
12:处理器;12: Processor;
13:存储单元;13: storage unit;
31:文件夹视窗;31: folder window;
312、314、316:文件;312, 314, 316: documents;
32、42、52:第一多选按钮;32, 42, 52: the first multiple choice button;
41:Word文件编辑视窗;41: Word file editing window;
412、414、416、512、514、516:目标;412, 414, 416, 512, 514, 516: target;
51、61:Excel文件编辑视窗;51, 61: Excel file editing window;
53、63:第二多选按钮;53, 63: the second multiple choice button;
612、614、616:存储格;612, 614, 616: storage cells;
S202、S204、S206、S208、S210、S212、S214、S216、S218:本发明一实施例的多选目标的方法各步骤。S202 , S204 , S206 , S208 , S210 , S212 , S214 , S216 , and S218 : each step of the method for multi-selecting objects according to an embodiment of the present invention.
具体实施方式detailed description
为使具有触控屏的电子装置的用户可更加便利地使用特定应用程序的多选目标功能,本发明实施例提出一种多选目标的方法,其可识别操作系统当前运行的应用程序属于第一类应用程序或第二类应用程序,并根据识别结果在触控屏上显示对应的多选按钮。由此,当用户欲启动多选目标功能时,用户可轻易地通过该多选按钮快速地启动对应的多选目标功能。In order to enable users of electronic devices with touch screens to more conveniently use the multi-select object function of a specific application program, an embodiment of the present invention proposes a method for multi-select objects, which can identify that the application program currently running in the operating system belongs to the first One type of application program or the second type of application program, and display corresponding multiple selection buttons on the touch screen according to the recognition result. Thus, when the user wants to activate the multi-choice function, the user can easily and quickly activate the corresponding multi-choice function through the multi-choice button.
此外,本发明实施例还揭示了可用于体现上述多选目标的方法的电子装置。为了使本发明的内容更容易明了,以下特举实施例作为本发明确实能够据以实施的范例。In addition, the embodiment of the present invention also discloses an electronic device that can be used to implement the above-mentioned method for selecting multiple objects. In order to make the content of the present invention more comprehensible, the following specific examples are given as examples in which the present invention can indeed be implemented.
图1为根据本发明一实施例所示出的电子装置的示意图。请参照图1,电子装置10包括触控屏11、处理器12及存储单元13。电子装置10可以是个人数字助理(PersonalDigital Assistant,PDA)、智能手机(smart phone)、电子书(electronic book)、游戏机(game machine)或平板电脑(Tablet PC)等各种支持触控显示功能的电子装置。FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the invention. Please refer to FIG. 1 , the electronic device 10 includes a touch screen 11 , a processor 12 and a storage unit 13 . The electronic device 10 can be a personal digital assistant (Personal Digital Assistant, PDA), a smart phone (smart phone), an electronic book (electronic book), a game machine (game machine) or a tablet computer (Tablet PC), etc., which support touch display functions. of electronic devices.
触控屏11可以是电阻式(resistive)触控面板、电容式(capacitive)触控面板、光学式(optical)触控面板、声波式(acoustic wave)触控面板、电磁式(electromagnetic)触控面板等,在此并不限制其种类。用户可通过触控笔(stylus)或手指等输入工具在触控屏11上执行点击(touch)或滑动(drag)等输入操作或选择操作,以输入文字或指令。The touch screen 11 may be a resistive touch panel, a capacitive touch panel, an optical touch panel, an acoustic wave touch panel, or an electromagnetic touch panel. The type of panels and the like are not limited here. The user can perform an input operation such as a touch or a drag on the touch screen 11 or a selection operation through an input tool such as a stylus or a finger to input text or instructions.
处理器12耦接触控屏11。在本实施例中,处理器12可以是微控制器(micro-controller)、嵌入式控制器(embedded controller)或中央处理器(central processingunit,CPU)等,且本发明可实施方式并不对限定于上述。处理器12可运行一操作系统。以下将以微软Windows操作系统(Microsoft Windows OS)做为范例对本发明实施例进行说明。举例来说,该操作系统可以是Windows XP、Windows Vista、Windows7、或Windows8等,且本发明不对操作系统的种类进行限制。The processor 12 is coupled to the touch screen 11 . In this embodiment, the processor 12 may be a micro-controller (micro-controller), an embedded controller (embedded controller) or a central processing unit (central processing unit, CPU), etc., and the embodiments of the present invention are not limited to above. The processor 12 can run an operating system. The embodiments of the present invention will be described below by taking the Microsoft Windows operating system (Microsoft Windows OS) as an example. For example, the operating system may be Windows XP, Windows Vista, Windows7, or Windows8, etc., and the present invention does not limit the type of operating system.
存储单元13耦接处理器12。存储单元13例如是硬盘驱动器(Hard Disk Drive,HDD)或各种非易失性(non-volatile)存储器。此外,存储单元13也可以包括光碟或U盘等各种外接式存储媒体,本发明不对其限制。存储单元13可用以存储可由处理器12运行的操作系统与应用程序的程序码等各种数据。The storage unit 13 is coupled to the processor 12 . The storage unit 13 is, for example, a hard disk drive (Hard Disk Drive, HDD) or various non-volatile (non-volatile) memories. In addition, the storage unit 13 may also include various external storage media such as an optical disc or a U disk, which is not limited in the present invention. The storage unit 13 can be used to store various data such as program codes of an operating system and application programs that can be run by the processor 12 .
图2为根据本发明的一实施例所示出的多选目标的方法的流程图。以下将以图2搭配图1来对本发明实施例的多选目标的方法以及电子装置10作详细说明。Fig. 2 is a flow chart of a method for selecting multiple objects according to an embodiment of the present invention. The method for selecting multiple objects and the electronic device 10 according to the embodiment of the present invention will be described in detail below with reference to FIG. 2 in conjunction with FIG. 1 .
请同时参照图1与图2,在步骤S202中,处理器12识别其操作系统当前运行的应用程序(以下统称为目标应用程序)属于第一类应用程序或第二类应用程序。在本实施例中,第一类应用程序包括桌面(desktop)应用程序、文件管理器(File Explorer)应用程序、微软文档编辑软件中的Microsoft Office Word与Power Point等支持多选目标功能的应用程序,并且第二类应用程序则包括微软文档编辑软件中的Microsoft Office Excel等可支持多选目标功能与多选存储格功能的应用程序。Please refer to FIG. 1 and FIG. 2 at the same time. In step S202, the processor 12 identifies that the application currently running by its operating system (hereinafter referred to as the target application) belongs to the first type of application or the second type of application. In this embodiment, the first type of application program includes desktop (desktop) application program, file manager (File Explorer) application program, Microsoft Office Word and Power Point in Microsoft document editing software, etc. , and the second type of application program includes applications such as Microsoft Office Excel in Microsoft document editing software that can support the multi-selection target function and the multi-selection storage cell function.
举例来说,处理器12可将用户当前通过触控屏11进行操作的应用程序作为目标应用程序,并识别该目标应用程序是否属于第一类应用程序或第二类应用程序。在本实施例中,处理器12可通过比对应用程序的名称、属性(attribute)或代码等方式识别目标应用程序是否属于第一类应用程序或第二类应用程序。或者,处理器12也可以仅判断目标应用程序是否属于第二类应用程序。若目标应用程序不属于第二类应用程序,则处理器12识别目标应用程序属于第一类应用程序。此外,处理器12也可以判断目标应用程序是否支持第一多选目标功能(例如,多选目标功能)及/或第二多选目标功能(例如,多选存储格功能)。若目标应用程序仅支持第一多选目标功能,则处理器12识别目标应用程序属于第一类应用程序。若目标应用程序可支持第一多选目标功能与第二多选目标功能,则处理器12识别目标应用程序属于第二类应用程序。For example, the processor 12 may take the application currently operated by the user through the touch screen 11 as the target application, and identify whether the target application belongs to the first type of application or the second type of application. In this embodiment, the processor 12 can identify whether the target application belongs to the first type of application or the second type of application by comparing the name, attribute or code of the application. Alternatively, the processor 12 may also only determine whether the target application program belongs to the second type of application program. If the target application program does not belong to the second type of application program, the processor 12 identifies that the target application program belongs to the first type of application program. In addition, the processor 12 may also determine whether the target application supports the first multi-selection target function (for example, a multi-selection target function) and/or the second multiple-selection target function (for example, a multi-selection storage box function). If the target application only supports the first multi-selection target function, the processor 12 identifies that the target application belongs to the first type of application. If the target application can support the first multiple selection target function and the second multiple selection target function, the processor 12 identifies that the target application belongs to the second type of application.
若处理器12识别目标应用程序属于第一类应用程序,则处理器12在步骤S202之后继续执行步骤S204。若处理器12识别目标应用程序属于第二类应用程序,则处理器12在步骤S202之后继续执行步骤S210。另外,若处理器12判断目标应用程序不属于第一类应用程序也不属于第二类应用程序,则不继续执行后续步骤,该多选目标的方法至此结束。或者,在一实施例中,若处理器12判断目标应用程序不属于第一类应用程序也不属于第二类应用程序,则处理器12可判定目标应用程序属于第一类应用程序,并在步骤S202之后继续执行步骤S204等,本发明不对其限制。If the processor 12 identifies that the target application belongs to the first type of application, the processor 12 continues to execute step S204 after step S202. If the processor 12 identifies that the target application belongs to the second type of application, the processor 12 continues to execute step S210 after step S202. In addition, if the processor 12 judges that the target application program does not belong to the first type of application program or the second type of application program, then the subsequent steps will not be performed, and the method for multi-selecting targets ends here. Or, in one embodiment, if the processor 12 determines that the target application program does not belong to the first type of application program nor does it belong to the second type of application program, the processor 12 may determine that the target application program belongs to the first type of application program, and After step S202, continue to execute step S204 and so on, which is not limited by the present invention.
值得一提的是,步骤S202例如是在目标应用程序被操作系统启动、当用户点选触控屏11显示的一触发按钮、或者是当一应用程序被从背景(background)切换为用户当前进行操作的应用程序时执行,视实务或设计上的需求而定。It is worth mentioning that step S202 is, for example, when the target application program is started by the operating system, when the user clicks a trigger button displayed on the touch screen 11, or when an application program is switched from the background to the user's current Executed when operating the application, depending on the practical or design requirements.
当目标应用程序被识别为属于第一类应用程序时,在步骤S204中,触控屏11可显示第一多选按钮,其中该第一多选按钮被触发后用以产生第一按键事件。在本实施例中,第一按键事件可包括标准键盘中的功能按键「Ctrl」被按压时送出的按键事件。在步骤S206中,处理器12判断触控屏11是否检测到对应于第一多选按钮的第一选择操作。在本实施例中,该第一选择操作例如是用户利用手指或触控笔等输入工具在触控屏11上对第一多选按钮进行点选。若触控屏11没有检测到对应于第一多选按钮的第一选择操作,则步骤S206被重复执行。When the target application is identified as belonging to the first type of application, in step S204, the touch screen 11 may display a first multi-choice button, wherein the first multi-choice button is triggered to generate a first key event. In this embodiment, the first key event may include a key event sent when the function key “Ctrl” in a standard keyboard is pressed. In step S206, the processor 12 determines whether the touch screen 11 detects a first selection operation corresponding to the first multi-selection button. In this embodiment, the first selection operation is, for example, that the user clicks the first multi-choice button on the touch screen 11 with an input tool such as a finger or a stylus. If the touch screen 11 does not detect the first selection operation corresponding to the first multi-choice button, step S206 is repeatedly executed.
当触控屏11检测到对应于第一多选按钮的第一选择操作时,在步骤S208中,处理器12可送出第一按键事件至目标应用程序,以启动或关闭目标应用程序的第一多选目标功能。在本实施例中,第一多选目标功能例如是桌面应用程序、文件管理器应用程序、微软文档编辑软件(例如,Microsoft Office Word、Excel、Power Point)等应用程序普遍支持的多选目标功能。When the touch screen 11 detects a first selection operation corresponding to the first multi-choice button, in step S208, the processor 12 may send a first key event to the target application program to activate or close the first selection operation of the target application program. Multi-select target function. In this embodiment, the first multi-selection target function is, for example, a multi-selection target function commonly supported by application programs such as desktop applications, file manager applications, and Microsoft document editing software (for example, Microsoft Office Word, Excel, Power Point) .
举例来说,图3为根据本发明一实施例所示出的启动文件管理器应用程序的第一多选目标功能的示意图。请参照图3,以触控屏11显示的文件管理器应用程序的文件夹视窗31为例,当用户点选第一多选按钮32时,处理器12可将第一按键事件(例如,标准键盘中的功能按键「Ctrl」被按压时送出的按键事件)传送给文件管理器应用程序。若文件管理器应用程序在收到该第一按键事件前其第一多选目标功能尚未被开启或启动,则文件管理器应用程序在收到该第一按键事件时会开启或启动其第一多选目标功能。For example, FIG. 3 is a schematic diagram showing a function of starting a first multi-select object of a file manager application according to an embodiment of the present invention. Please refer to FIG. 3 , taking the folder window 31 of the file manager application program displayed on the touch screen 11 as an example, when the user clicks the first multi-choice button 32, the processor 12 can send the first button event (for example, standard The key event sent when the function key "Ctrl" in the keyboard is pressed) is sent to the file manager application. If the file manager application has not been opened or started the first multi-select target function before receiving the first button event, the file manager application will start or start its first button event when receiving the first button event. Multi-select target function.
如图3所示,在文件管理器应用程序开启或启动其第一多选目标功能之后,用户可执行多选目标操作,例如,用户可多选文件夹视窗31中的文件312、文件314及文件316。另外,若文件管理器应用程序在收到该第一按键事件前其第一多选目标功能已被开启或启动,则文件管理器应用程序在收到该第一按键事件时则会关闭或停止其第一多选目标功能,以让用户对已选取的目标(例如,文件312、文件314及文件316)进行复制、搬移或删除等操作。As shown in Figure 3, after the file manager application opens or starts its first multi-select object function, the user can perform a multi-select object operation, for example, the user can multi-select files 312, files 314 and 31 in the folder window 31. File 316. In addition, if the first multi-select target function of the file manager application has been turned on or started before receiving the first button event, the file manager application will be closed or stopped when receiving the first button event Its first multi-select object function allows the user to perform operations such as copying, moving, or deleting the selected objects (eg, file 312, file 314, and file 316).
再举另一例,图4为根据本发明一实施例所示出的启动Microsoft Office Word应用程序的第一多选目标功能的示意图。请参照图4,以Microsoft Office Word应用程序的Word文件编辑视窗41为例,当用户点选触控屏所显示的第一多选按钮42时,处理器可将第一按键事件(例如,标准键盘中的功能按键「Ctrl」被按压时送出的按键事件)传送给Microsoft Office Word应用程序。若Microsoft Office Word应用程序在收到该第一按键事件前其第一多选目标功能尚未被开启或启动,则Microsoft Office Word应用程序在收到该第一按键事件时会开启或启动其第一多选目标功能。As another example, FIG. 4 is a schematic diagram of starting the first multi-select target function of the Microsoft Office Word application program according to an embodiment of the present invention. Please refer to Fig. 4, take the Word file editing window 41 of the Microsoft Office Word application program as an example, when the user clicks the first multiple choice button 42 displayed on the touch screen, the processor can send the first button event (for example, standard The key event sent when the function key "Ctrl" in the keyboard is pressed) is sent to the Microsoft Office Word application. If the Microsoft Office Word application program has not been opened or started the first multi-select target function before receiving the first button event, then the Microsoft Office Word application program will open or start its first button event when receiving the first button event. Multi-select target function.
如图4所示,在Microsoft Office Word应用程序开启或启动其第一多选目标功能之后,用户可执行多选目标操作,例如,用户可多选Word文件编辑视窗41中的目标412、目标414及目标416。另外,若Microsoft Office Word应用程序在收到该第一按键事件前其第一多选目标功能已被开启或启动,则Microsoft Office Word应用程序在收到该第一按键事件时则会关闭或停止其第一多选目标功能,以让用户对已选取的目标(例如,目标412、目标414及目标416)进行复制、搬移或删除等操作。As shown in Figure 4, after the Microsoft Office Word application program opens or starts its first multi-select object function, the user can perform a multi-select object operation, for example, the user can multi-select the target 412, target 414 in the Word file editing window 41 and target 416. In addition, if the first multi-selection target function of the Microsoft Office Word application has been turned on or started before receiving the first button event, then the Microsoft Office Word application will be closed or stopped when receiving the first button event Its first multi-select object function allows the user to perform operations such as copying, moving, or deleting the selected objects (eg, object 412 , object 414 and object 416 ).
值得一提的是,上述第一多选按钮32例如是在文件夹视窗31被开启、文件夹视窗31被从背景呼叫至前景以让用户对其进行操作或文件管理器应用程序被执行时,由触控屏显示,但本发明不对其限制。类似地,上述第一多选按钮42也例如是在Word文件编辑视窗41被开启、Word文件编辑视窗41被从背景呼叫至前景以让用户对其进行操作或MicrosoftOffice Word应用程序被执行时,由触控屏显示,但本发明同样不对其限制。It is worth mentioning that the above-mentioned first multi-choice button 32 is, for example, when the folder window 31 is opened, the folder window 31 is called from the background to the foreground to allow the user to operate it or the file manager application is executed, Displayed by a touch screen, but the invention is not limited thereto. Similarly, the above-mentioned first multi-choice button 42 is also, for example, when the Word file editing window 41 is opened, the Word file editing window 41 is called to the foreground from the background to allow the user to operate it or the MicrosoftOffice Word application program is executed. touch screen display, but the present invention is not limited thereto.
请再次参照图1与图2,在步骤S208之后,步骤S206会被重复执行。另一方面,当目标应用程序被识别为属于第二类应用程序时,在步骤S210中,触控屏11可显示第一多选按钮与第二多选按钮,其中第一多选按钮被触发后用以产生第一按键事件(例如,标准键盘中的功能按键「Ctrl」被按压时送出的按键事件),并且第二多选按钮被触发后用以产生第二按键事件。在本实施例中,第二按键事件可包括标准键盘中的功能按键「Shift」、功能按键「F8」」被依序或同时按压时送出的按键事件。在步骤S212中,处理器12判断触控屏11是否检测到对应于第一多选按钮的第一选择操作。当触控屏11检测到对应于第一多选按钮的第一选择操作时,在步骤S214中,处理器12可送出第一按键事件至目标应用程序,以启动或关闭目标应用程序的第一多选目标功能。其中,步骤S212类似于步骤S206,并且步骤S214类似于步骤S208,在此便不赘述。在步骤S214之后,步骤S212被重复执行。Please refer to FIG. 1 and FIG. 2 again, after step S208, step S206 will be executed repeatedly. On the other hand, when the target application program is identified as belonging to the second type of application program, in step S210, the touch screen 11 may display the first multi-choice button and the second multi-choice button, wherein the first multi-choice button is triggered It is used to generate the first key event (for example, the key event sent when the function key "Ctrl" in the standard keyboard is pressed), and the second multi-selection button is triggered to generate the second key event. In this embodiment, the second key event may include a key event sent when the function key “Shift” and the function key “F8” of the standard keyboard are pressed sequentially or simultaneously. In step S212, the processor 12 determines whether the touch screen 11 detects a first selection operation corresponding to the first multi-selection button. When the touch screen 11 detects a first selection operation corresponding to the first multi-choice button, in step S214, the processor 12 may send a first key event to the target application program to activate or close the first selection operation of the target application program. Multi-select target function. Wherein, step S212 is similar to step S206, and step S214 is similar to step S208, which will not be described in detail here. After step S214, step S212 is repeatedly executed.
举例来说,图5为根据本发明一实施例所示出的启动Microsoft Office Excel应用程序的第一多选目标功能的示意图。请参照图5,以Microsoft Office Excel应用程序的Excel文件编辑视窗51为例,触控屏显示有第一多选按钮52与第二多选按钮53。当用户点选触控屏所显示的第一多选按钮52时,处理器可将第一按键事件(例如,标准键盘中的功能按键「Ctrl」被按压时送出的按键事件)传送给Microsoft Office Excel应用程序。若Microsoft Office Excel应用程序在收到该第一按键事件前其第一多选目标功能尚未被开启或启动,则Microsoft Office Excel应用程序在收到该第一按键事件时会开启或启动其第一多选目标功能。For example, FIG. 5 is a schematic diagram of starting the first multi-select target function of the Microsoft Office Excel application program according to an embodiment of the present invention. Referring to FIG. 5 , taking the Excel file editing window 51 of the Microsoft Office Excel application program as an example, the touch screen displays a first multi-choice button 52 and a second multi-choice button 53 . When the user clicks the first multi-choice button 52 displayed on the touch screen, the processor can send the first key event (for example, the key event sent when the function key "Ctrl" in the standard keyboard is pressed) to Microsoft Office Excel application. If the Microsoft Office Excel application program has not been opened or started the first multi-select target function before receiving the first button event, then the Microsoft Office Excel application program will open or start its first button event when receiving the first button event. Multi-select target function.
如图5所示,在Microsoft Office Excel应用程序开启其第一多选目标功能之后,用户可执行多选目标操作,例如,用户可多选Excel文件编辑视窗51中的目标512、目标514及目标516。另外,若Microsoft Office Excel应用程序在收到第一按键事件前其第一多选目标功能已被开启或启动,则Microsoft Office Excel应用程序在收到第一按键事件时则会关闭或停止其第一多选目标功能,以让用户对已选取的目标(例如,目标512、目标514及目标516)进行复制、搬移或删除等操作。As shown in Figure 5, after the Microsoft Office Excel application program opens its first multi-select object function, the user can perform a multi-select object operation, for example, the user can multi-select the target 512, target 514 and target in the Excel file editing window 51 516. In addition, if the first multi-select target function of the Microsoft Office Excel application has been turned on or started before receiving the first button event, the Microsoft Office Excel application will close or stop its first button event when it receives the first button event. A multi-select object function to allow the user to perform operations such as copying, moving, or deleting the selected objects (eg, object 512 , object 514 , and object 516 ).
此外,若目标应用程序不支持第一多选目标功能,则目标应用程序在接收到第一按键事件时不启动第一多选目标功能。In addition, if the target application program does not support the first multi-selection target function, the target application program does not activate the first multi-selection target function when receiving the first key event.
请再次参照图1与图2,若触控屏11没有检测到对应于第一多选按钮的第一选择操作,则在步骤S216中,处理器12判断触控屏11是否检测到对应于第二多选按钮的第二选择操作。在本实施例中,该第二选择操作例如是用户利用手指或触控笔等输入工具在触控屏11上对第二多选按钮进行点选。若触控屏11没有检测到对应于第二多选按钮的第二选择操作,则步骤S212会被重复执行。此外,本发明不限制步骤S212与步骤S216的执行顺序。例如,在一实施例中,可先执行步骤S216,再执行步骤S214。Please refer to FIG. 1 and FIG. 2 again, if the touch screen 11 does not detect the first selection operation corresponding to the first multi-choice button, then in step S216, the processor 12 determines whether the touch screen 11 detects the first selection operation corresponding to the first multi-choice button. The second selection action of the two multi-select buttons. In this embodiment, the second selection operation is, for example, that the user clicks the second multi-choice button on the touch screen 11 with an input tool such as a finger or a stylus. If the touch screen 11 does not detect the second selection operation corresponding to the second multi-choice button, step S212 will be executed repeatedly. In addition, the present invention does not limit the execution sequence of step S212 and step S216. For example, in one embodiment, step S216 may be executed first, and then step S214 may be executed.
当触控屏11检测到对应于第二多选按钮的第二选择操作时,在步骤S218中,处理器12可送出第二按键事件至目标应用程序,以启动或关闭目标应用程序的第二多选目标功能。在本实施例中,第二多选目标功能例如是微软文档编辑软件中的Microsoft OfficeExcel应用程序支持的多选存储格功能。When the touch screen 11 detects a second selection operation corresponding to the second multi-choice button, in step S218, the processor 12 may send a second key event to the target application program to activate or close the second button event of the target application program. Multi-select target function. In this embodiment, the second multi-select target function is, for example, the multi-select cell function supported by the Microsoft Office Excel application program in the Microsoft document editing software.
举例来说,图6为根据本发明一实施例所示出的启动Microsoft Office Excel应用程序的第二多选目标功能的示意图。请参照图6,以Microsoft Office Excel应用程序的Excel文件编辑视窗61为例,当用户点选触控屏所显示的第二多选按钮63时,处理器可将第二按键事件(例如,标准键盘中的功能按键「Shift」、功能按键「F8」被依序或同时按压时送出的按键事件)传送给Microsoft Office Excel应用程序。若Microsoft Office Excel应用程序在收到该第二按键事件前其第二多选目标功能尚未被开启或启动,则MicrosoftOffice Excel应用程序在收到该第二按键事件时会开启或启动其第二多选目标功能。For example, FIG. 6 is a schematic diagram of starting the second multi-select target function of the Microsoft Office Excel application program according to an embodiment of the present invention. Please refer to FIG. 6, take the Excel file editing window 61 of the Microsoft Office Excel application program as an example, when the user clicks the second multiple choice button 63 displayed on the touch screen, the processor can send the second button event (for example, standard The key events sent when the function key "Shift" and the function key "F8" in the keyboard are pressed sequentially or simultaneously) are sent to the Microsoft Office Excel application. If the Microsoft Office Excel application program has not been opened or started the second multi-select target function before receiving the second button event, the Microsoft Office Excel application program will open or start its second multi-selection target function when receiving the second button event. Select the target function.
如图6所示,在Microsoft Office Excel应用程序开启或启动其第二多选目标功能之后,用户可执行多选存储格操作,例如,用户可多选Excel文件编辑视窗61中的存储格612、存储格614及存储格616。另外,若Microsoft Office Excel应用程序在收到该第二按键事件前其第二多选目标功能已被开启或启动,则Microsoft Office Excel应用程序在收到该第二按键事件时则会关闭或停止其第二多选目标功能,以让用户对已选取的存储格(例如,存储格612、存储格614及存储格616)进行复制、搬移、删除或进一步的统计运算等操作。As shown in Figure 6, after the Microsoft Office Excel application program opens or starts its second multi-select target function, the user can perform a multi-select storage cell operation, for example, the user can multi-select the storage cell 612 in the Excel file editing window 61, A storage cell 614 and a storage cell 616 . In addition, if the Microsoft Office Excel application program has its second multi-select target function turned on or started before receiving the second key press event, then the Microsoft Office Excel application program will be closed or stopped when receiving the second key press event Its second multi-select object function allows the user to perform operations such as copying, moving, deleting, or further statistical operations on the selected cells (for example, the cell 612, the cell 614, and the cell 616).
值得一提的是,由于本发明实施例中提及的第一多选按钮与第二多选按钮是根据不同的目标应用程序而适应性地被切换并显示于触控屏,因此第一多选按钮与第二多选按钮不属于各种操作系统的屏幕小键盘应用程序。也就是说,第一多选按钮与第二多选按钮是独立于屏幕小键盘应用程序之外而独立运作的。It is worth mentioning that since the first multi-choice button and the second multi-choice button mentioned in the embodiment of the present invention are adaptively switched and displayed on the touch screen according to different target applications, the first multi-choice button The selection button and the second multi-selection button are not part of the on-screen keypad application for various operating systems. That is to say, the first multi-choice button and the second multi-choice button operate independently of the on-screen keypad application program.
另外,上述第一按键事件与第二按键事件也可事先存储于电子装置的存储单元(例如,图1的存储单元13)。当触控屏检测到对应于第一多选按钮的第一选择操作或对应于第二多选按钮的第二选择操作时,处理器即可从存储单元(例如,图1的存储单元13)中读取该第一按键事件或第二按键事件,并将第一按键事件或第二按键事件传送给目标应用程序。In addition, the above-mentioned first key event and second key event may also be stored in a storage unit (eg, the storage unit 13 in FIG. 1 ) of the electronic device in advance. When the touch screen detects the first selection operation corresponding to the first multi-choice button or the second selection operation corresponding to the second multi-choice button, the processor can select from the storage unit (for example, the storage unit 13 of FIG. 1 ) Read the first key event or the second key event, and transmit the first key event or the second key event to the target application program.
综上所述,本发明实施例提出的多选目标的方法与电子装置,可根据操作系统当前运行的应用程序决定是否显示特定的一个或多个多选按钮于触控屏上。然后,当检测到用户在触控屏上点选其中的一个多选按钮时,本发明可利用被点选的多选按钮所对应的按键事件来启动或关闭操作系统当前运行的应用程序的多选目标功能或多选存储格功能,从而简化开启或关闭应用程序的多选目标功能或多选存储格功能所需的操作手续。To sum up, the method and electronic device for multi-selection objects proposed by the embodiments of the present invention can determine whether to display one or more specific multi-selection buttons on the touch screen according to the application program currently running in the operating system. Then, when it is detected that the user clicks one of the multiple choice buttons on the touch screen, the present invention can use the key event corresponding to the selected multiple choice button to start or close multiple functions of the currently running application program of the operating system. The multi-selection function or the multi-selection cell function, thereby simplifying the operation procedure required to turn on or off the multi-selection function or the multi-selection cell function of the application.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310235145.5A CN104238895B (en) | 2013-06-14 | 2013-06-14 | Method and electronic device for multiple selection objects |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310235145.5A CN104238895B (en) | 2013-06-14 | 2013-06-14 | Method and electronic device for multiple selection objects |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104238895A CN104238895A (en) | 2014-12-24 |
CN104238895B true CN104238895B (en) | 2017-09-01 |
Family
ID=52227087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310235145.5A Expired - Fee Related CN104238895B (en) | 2013-06-14 | 2013-06-14 | Method and electronic device for multiple selection objects |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104238895B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898019A (en) * | 2015-12-08 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Mobile terminal list multiple-choice method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455873A (en) * | 2010-10-15 | 2012-05-16 | 三星电子株式会社 | Method and apparatus for selecting menu item |
CN102821193A (en) * | 2012-07-02 | 2012-12-12 | 中兴通讯股份有限公司 | Method for rapidly operating file of intelligent cell phone and intelligent cell phone |
CN102915183A (en) * | 2011-09-07 | 2013-02-06 | 微软公司 | Multi-cell selection using touch input |
CN102929529A (en) * | 2012-09-27 | 2013-02-13 | 北京百度网讯科技有限公司 | Multi-select control method and device for list interface, and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI271628B (en) * | 2004-12-31 | 2007-01-21 | Tatung Co | Method of selecting a plurality of electrical files for a portable electrical device |
-
2013
- 2013-06-14 CN CN201310235145.5A patent/CN104238895B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455873A (en) * | 2010-10-15 | 2012-05-16 | 三星电子株式会社 | Method and apparatus for selecting menu item |
CN102915183A (en) * | 2011-09-07 | 2013-02-06 | 微软公司 | Multi-cell selection using touch input |
CN102821193A (en) * | 2012-07-02 | 2012-12-12 | 中兴通讯股份有限公司 | Method for rapidly operating file of intelligent cell phone and intelligent cell phone |
CN102929529A (en) * | 2012-09-27 | 2013-02-13 | 北京百度网讯科技有限公司 | Multi-select control method and device for list interface, and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104238895A (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11243570B2 (en) | Systems and methods for displaying groups of applications via inputs received at a touch-sensitive secondary display | |
US20210365181A1 (en) | Dynamic Command Presentation and Key Configuration for Keyboards | |
US10606469B2 (en) | Device, method, and graphical user interface for managing multiple display windows | |
WO2018157662A1 (en) | Display control method for mobile terminal, and mobile terminal | |
US20100293460A1 (en) | Text selection method and system based on gestures | |
CN106101848A (en) | A kind of barrage display packing and electronic equipment | |
WO2018119674A1 (en) | Method and device for controlling flexible display screen | |
WO2018166434A1 (en) | Icon processing method and mobile terminal | |
CN105224276A (en) | A kind of multi-screen display method and electronic equipment | |
US20120260203A1 (en) | Adaptive drag and drop zone | |
JP2016506564A (en) | Swipe stroke input and continuous handwriting | |
US20140354554A1 (en) | Touch Optimized UI | |
CN106919307A (en) | A kind of text clone method and mobile terminal | |
WO2019015581A1 (en) | Text deletion method and mobile terminal | |
CN105824459B (en) | A kind of duplication of text and method of attaching and mobile terminal | |
CN106055227A (en) | Method for text editing and mobile equipment | |
US20140152693A1 (en) | Controlling display of command space using multi-state element | |
US11460971B2 (en) | Control method and electronic device | |
CN106776899A (en) | A kind of information search method and mobile terminal | |
CN107632761B (en) | Display content viewing method, mobile terminal and computer readable storage medium | |
CN107179838A (en) | The display methods and mobile terminal of a kind of candidate word | |
WO2018196668A1 (en) | Method of performing search operation for selected object content and terminal | |
CN106293386B (en) | A method for hiding application program and mobile terminal | |
CN106503061B (en) | A group message display method and mobile terminal | |
CN104238895B (en) | Method and electronic device for multiple selection objects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170901 |
|
CF01 | Termination of patent right due to non-payment of annual fee |