[go: up one dir, main page]

CN102810080A - Touchpad management method and system - Google Patents

Touchpad management method and system Download PDF

Info

Publication number
CN102810080A
CN102810080A CN2011101490945A CN201110149094A CN102810080A CN 102810080 A CN102810080 A CN 102810080A CN 2011101490945 A CN2011101490945 A CN 2011101490945A CN 201110149094 A CN201110149094 A CN 201110149094A CN 102810080 A CN102810080 A CN 102810080A
Authority
CN
China
Prior art keywords
touch pad
mouse
key
monitoring
forbidding
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.)
Pending
Application number
CN2011101490945A
Other languages
Chinese (zh)
Inventor
高峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2011101490945A priority Critical patent/CN102810080A/en
Priority to TW100120228A priority patent/TW201250534A/en
Publication of CN102810080A publication Critical patent/CN102810080A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention relates to a touch panel managing method which comprises the following steps: monitoring whether a hand-held computer is connected with a mouse; forbidding the use of a touch panel if it is monitored that the hand-held computer is connected with the mouse and the touch panel is in the initiating state; and initiating the touch panel if it is monitored that the hand-held computer is not connected with the mouse and the touch panel is not in the initiating state. Due to the adoption of the touch panel managing method, the use of the touch panel can be forbidden automatically if the hand-held computer is externally connected with the mouse and initiated automatically if the hand-held computer is not connected with the mouse so that the need of the user can be met flexibly.

Description

触摸板管理方法及系统Touchpad management method and system

技术领域 technical field

本发明涉及一种触摸板管理方法及系统,特别涉及一种手提计算机的触摸板管理方法及系统。The invention relates to a touch panel management method and system, in particular to a touch panel management method and system of a portable computer.

背景技术 Background technique

手提计算机,又称手提电脑、膝上电脑,因其方便携带的特点和理想的性价比而变得越来越普及。手提计算机一般都配置有触摸板,使手提计算机在携带外出时方便使用。但是在固定场所使用手提计算机时,触摸板较鼠标而言还是不够方便,因此用户一般会外接鼠标。但若外接鼠标时不禁用触摸板,在敲键盘时很容易不小心触碰到触摸板,导致输入焦点改变,造成意想不到的麻烦。目前禁用触摸板和启用触摸板的方法一般是按指定的功能键,但这需要每次插拔鼠标时都手动进行一次禁用触摸板或启用触摸板的操作,给用户带来不便。Laptop computers, also known as laptop computers and laptop computers, have become more and more popular because of their convenient portability and ideal cost performance. Laptop computers are generally equipped with a touch panel, which makes the portable computer convenient to use when it is carried out. However, when using a portable computer in a fixed place, the touchpad is still not convenient enough compared with the mouse, so users usually connect an external mouse. However, if the touchpad is not disabled when an external mouse is connected, it is easy to accidentally touch the touchpad when typing on the keyboard, causing the input focus to change, causing unexpected troubles. The current method of disabling the touchpad and enabling the touchpad is generally to press the designated function key, but this needs to manually perform an operation of disabling the touchpad or enabling the touchpad every time the mouse is plugged and unplugged, which brings inconvenience to the user.

发明内容 Contents of the invention

鉴于以上内容,有必要提供一种触摸板管理方法,可以使手提计算机在外接有鼠标时自动禁用触摸板,在未接有鼠标时自动启用触摸板。In view of the above, it is necessary to provide a touch panel management method, which can automatically disable the touch panel when the laptop is connected with a mouse, and automatically enable the touch panel when the mouse is not connected.

还有必要提供一种触摸板管理系统,可以使手提计算机在外接有鼠标时自动禁用触摸板,在未接有鼠标时自动启用触摸板。It is also necessary to provide a touch panel management system, which can automatically disable the touch panel when the portable computer is connected with a mouse, and automatically enable the touch panel when the mouse is not connected.

一种触摸板管理方法,包括以下步骤:监测步骤:监测手提计算机是否接有鼠标;禁用步骤:当监测到手提计算机接有鼠标,且触摸板为启用状态时,禁用触摸板;及启用步骤:当监测到手提计算机未接有鼠标,且触摸板不为启用状态时,启用触摸板。A touchpad management method, comprising the following steps: monitoring step: monitoring whether the laptop computer is connected with a mouse; disabling step: when detecting that the laptop computer is connected with a mouse and the touchpad is enabled, disabling the touchpad; and enabling step: When it is detected that the laptop is not connected with a mouse and the touchpad is not enabled, enable the touchpad.

一种触摸板管理系统,包括:监测模块,用于监测手提计算机是否接有鼠标;禁用模块,用于当监测到手提计算机接有鼠标,且触摸板为启用状态时,禁用触摸板;及启用模块,用于当监测到手提计算机未接有鼠标,且触摸板不为启用状态时,启用触摸板。A touchpad management system, comprising: a monitoring module for monitoring whether a mouse is connected to a laptop computer; a disabling module for disabling the touchpad when it is detected that the laptop computer is connected with a mouse and the touchpad is enabled; and enabling The module is used for enabling the touch panel when it is detected that the laptop computer is not connected with the mouse and the touch panel is not enabled.

相较于现有技术,所述触摸板管理方法及系统,可以使手提计算机在外接有鼠标时自动禁用触摸板,在未接有鼠标时自动启用触摸板,灵活地适应用户的需要。Compared with the prior art, the touchpad management method and system can enable the portable computer to automatically disable the touchpad when the mouse is connected externally, and automatically enable the touchpad when the mouse is not connected, so as to flexibly adapt to the needs of users.

附图说明 Description of drawings

图1是本发明触摸板管理系统较佳实施例的运行环境图。Fig. 1 is an operating environment diagram of a preferred embodiment of the touch panel management system of the present invention.

图2是本发明触摸板管理系统较佳实施例的功能模块图。Fig. 2 is a functional block diagram of a preferred embodiment of the touch panel management system of the present invention.

图3是本发明触摸板管理方法较佳实施例的流程图。Fig. 3 is a flowchart of a preferred embodiment of the touchpad management method of the present invention.

主要元件符号说明Description of main component symbols

  手提计算机 Laptop   1 1   触摸板管理系统  Touchpad Management System   10 10   触摸板 touchpad   20 20   存储器 memory   30 30   鼠标 mouse   2 2   预设模块 Preset modules   101 101   监测模块 Monitoring module   102 102   第一判断模块 The first judgment module   103 103   禁用模块 disable module   104 104   第二判断模块 The second judgment module   105 105   启用模块 enable module   106 106

如下具体实施方式将结合上述附图进一步说明本发明。The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings.

具体实施方式 Detailed ways

参阅图1所示,是本发明触摸板管理系统较佳实施例的运行环境图。在本实施例中,该触摸板管理系统10运行于手提计算机1中,该手提计算机1还包括触摸板20和存储器30。该触摸板管理系统10用于在手提计算机1外接鼠标2时禁用触摸板20,以及在手提计算机1未接有鼠标2时启用触摸板20。该鼠标2可以为USB接口鼠标,PS/2接口鼠标等。Referring to FIG. 1 , it is an operating environment diagram of a preferred embodiment of the touch panel management system of the present invention. In this embodiment, the touchpad management system 10 runs in a laptop computer 1 , and the laptop computer 1 further includes a touchpad 20 and a memory 30 . The touchpad management system 10 is used for disabling the touchpad 20 when the laptop computer 1 is connected with the mouse 2 , and enabling the touchpad 20 when the laptop computer 1 is not connected with the mouse 2 . The mouse 2 may be a mouse with a USB interface, a mouse with a PS/2 interface, or the like.

参阅图2所示,是本发明触摸板管理系统较佳实施例的功能模块图。该触摸板管理系统10可以随手提计算机1的启动而启用,也可以由用户在需要时启用。在本实施例中,该触摸板管理系统10包括预设模块101、监测模块102、第一判断模块103、禁用模块104、第二判断模块105和启用模块106。Referring to FIG. 2 , it is a functional block diagram of a preferred embodiment of the touch panel management system of the present invention. The touch panel management system 10 can be activated when the portable computer 1 is started, and can also be activated by the user when needed. In this embodiment, the touchpad management system 10 includes a preset module 101 , a monitoring module 102 , a first judging module 103 , a disabling module 104 , a second judging module 105 and an enabling module 106 .

预设模块101用于预设对手提计算机1是否接有鼠标2进行监测的监测频率,并将该监测频率存入存储器30中。例如,该监测频率可以为每秒2次,则自该触摸板管理系统10启动开始,每隔0.5秒对手提计算机1是否接有鼠标2进行一次监测。The preset module 101 is used to preset the monitoring frequency for monitoring whether the laptop computer 1 is connected with the mouse 2 , and store the monitoring frequency in the memory 30 . For example, the monitoring frequency can be 2 times per second, and then from the start of the touchpad management system 10, whether the mouse 2 is connected to the portable computer 1 is monitored every 0.5 seconds.

预设模块101还用于预设启用触摸板20的启用键,以及禁用触摸板20的禁用键,并将该启用键及禁用键存入存储器30中。该启用键和禁用键可以是手提计算机1键盘上的某几个功能键的组合按键。例如,该启用键可以是“Fn+F2”的组合按键,当同时按下Fn键和F2键时,启用触摸板20,该禁用键可以是“Fn+F3”的组合按键,当同时按下Fn键和F3键时,禁用触摸板20。当然,该启用键和禁用键也可以相同,例如都是“Fn+F3”的组合按键。The preset module 101 is also used to preset the enable key for enabling the touchpad 20 and the disable key for disabling the touchpad 20 , and store the enable key and disable key in the memory 30 . The enable key and the disable key can be combination keys of certain function keys on the keyboard of the laptop computer 1 . For example, the enabling key can be a combination key of "Fn+F2". When the Fn key and the F2 key are pressed simultaneously, the touchpad 20 is enabled. When the Fn key and the F3 key are pressed, the touchpad 20 is disabled. Certainly, the enabling key and the disabling key may also be the same, for example, they are both a combination key of "Fn+F3".

监测模块102用于根据所预设的监测频率对手提计算机1是否接有鼠标2进行监测。该对手提计算机1是否接有鼠标2进行监测的方法可以为:枚举手提计算机1操作系统中的设备,如USB设备或PS/2设备等,从而获得外接在手提计算机1上的各种设备的设备描述符,并根据该设备描述符判断是否有鼠标2外接于手提计算机1。The monitoring module 102 is used to monitor whether the laptop computer 1 is connected with the mouse 2 according to the preset monitoring frequency. The method for monitoring whether the laptop computer 1 is connected with the mouse 2 can be: enumerate the devices in the laptop computer 1 operating system, such as USB devices or PS/2 devices, etc., thereby obtaining various devices externally connected to the laptop computer 1 device descriptor, and judge whether there is a mouse 2 externally connected to the laptop computer 1 according to the device descriptor.

第一判断模块103用于当监测到手提计算机1接有鼠标2时,判断触摸板20是否为启用状态。The first judging module 103 is used for judging whether the touchpad 20 is enabled when it is detected that the laptop computer 1 is connected to the mouse 2 .

禁用模块104用于当第一判断模块103判断触摸板20为启用状态时,模拟键盘操作在手提计算机1上按下预设的禁用键,从而禁用触摸板20。该模拟键盘操作在手提计算机1上按下预设的禁用键的方法可以为:生成并输入该禁用键对应的键盘ASCII码(AmericanStandard Code for Information Interchange,美国信息互换标准代码)。The disabling module 104 is used for simulating a keyboard operation to press a preset disabling key on the laptop 1 when the first judging module 103 judges that the touchpad 20 is enabled, thereby disabling the touchpad 20 . The method of pressing the preset disabled key on the laptop computer 1 by simulating the keyboard operation can be as follows: generating and inputting the keyboard ASCII code (American Standard Code for Information Interchange, American Standard Code for Information Interchange) corresponding to the disabled key.

第二判断模块105用于当监测到手提计算机1未接有鼠标2时,判断触摸板20是否为启用状态。The second judging module 105 is used for judging whether the touchpad 20 is enabled when it is detected that the laptop computer 1 is not connected to the mouse 2 .

启用模块106用于当第二判断模块105判断触摸板20不为启用状态时,模拟键盘操作在手提计算机1上按下预设的启用键,从而启用触摸板20。该模拟键盘操作在手提计算机1上按下预设的启用键的方法可以为:生成并输入该启用键对应的键盘ASCII码。The enabling module 106 is configured to simulate keyboard operations to press a preset enabling key on the laptop 1 when the second judging module 105 judges that the touchpad 20 is not in the enabled state, thereby enabling the touchpad 20 . The method of simulating keyboard operation to press a preset enabling key on the laptop computer 1 may be as follows: generating and inputting the keyboard ASCII code corresponding to the enabling key.

参阅图3所示,是本发明触摸板管理方法较佳实施例的流程图。Referring to FIG. 3 , it is a flow chart of a preferred embodiment of the touchpad management method of the present invention.

在进入步骤S01前,预设模块101先预设对手提计算机1是否接有鼠标2进行监测的监测频率,以及启用触摸板20的启用键和禁用触摸板20的禁用键,并将该监测频率、该启用键和该禁用键存入存储器30中。Before entering step S01, the preset module 101 presets the monitoring frequency for monitoring whether the portable computer 1 is connected with the mouse 2, and enables the enabling key of the touchpad 20 and the disabling key of disabling the touchpad 20, and sets the monitoring frequency , the enabling key and the disabling key are stored in the memory 30.

步骤S01,监测模块102根据所预设的监测频率对手提计算机1是否接有鼠标2进行监测,若监测到手提计算机1接有鼠标2,则执行步骤S02,若监测到手提计算机1未接有鼠标2,则执行步骤S04。In step S01, the monitoring module 102 monitors whether the laptop computer 1 is connected with the mouse 2 according to the preset monitoring frequency. If it is detected that the laptop computer 1 is connected with the mouse 2, then step S02 is executed. Mouse 2, then execute step S04.

步骤S02,第一判断模块103判断触摸板20是否为启用状态,若第一判断模块103判断触摸板20为启用状态,则执行步骤S03,若第一判断模块103判断触摸板20不为启用状态,则结束流程。Step S02, the first judging module 103 judges whether the touchpad 20 is in the enabled state, if the first judging module 103 judges that the touchpad 20 is in the enabled state, then execute step S03, if the first judging module 103 judges that the touchpad 20 is not in the enabled state , the process ends.

步骤S03,禁用模块104模拟键盘操作在手提计算机1上按下预设的禁用键,从而禁用触摸板20,结束流程。Step S03 , the disabling module 104 simulates a keyboard operation and presses a preset disabling key on the laptop 1 , thereby disabling the touchpad 20 and ending the process.

步骤S04,第二判断模块105判断触摸板20是否为启用状态,若第二判断模块105判断触摸板20不为启用状态,则执行步骤S05,若第二判断模块105判断触摸板20为启用状态,则结束流程。Step S04, the second judging module 105 judges whether the touchpad 20 is in the enabled state, if the second judging module 105 judges that the touchpad 20 is not in the enabled state, then execute step S05, if the second judging module 105 judges that the touchpad 20 is in the enabled state , the process ends.

步骤S05,启用模块106模拟键盘操作在手提计算机1上按下预设的启用键,从而启用触摸板20,结束流程。Step S05 , the enabling module 106 simulates a keyboard operation and presses a preset enabling key on the portable computer 1 , thereby activating the touchpad 20 and ending the process.

以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced. Without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a touch pad management method is characterized in that, this method may further comprise the steps:
Monitoring step: whether the monitoring luggable computer is connected to mouse;
Forbidding step: be connected to mouse when monitoring luggable computer, and touch pad is when being initiate mode, the forbidding touch pad; And
Launch step: be not connected to mouse when monitoring luggable computer, and touch pad is launched touch pad when being not initiate mode.
2. touch pad management method as claimed in claim 1 is characterized in that, this method also comprises:
Foresee steps: preset whether luggable computer is connected to the monitoring frequency that mouse is monitored, and touch pad launch key and forbidding key.
3. touch pad management method as claimed in claim 2 is characterized in that, whether said monitoring step is connected to mouse according to default monitoring frequency monitoring luggable computer.
4. touch pad management method as claimed in claim 2 is characterized in that, said forbidding step is pressed this preset forbidding key through simulation keyboard operation on luggable computer, thus the forbidding touch pad;
The said step of launching is pressed preset this through simulation keyboard operation and is launched key on luggable computer, thereby launches touch pad.
5. touch pad management method as claimed in claim 4 is characterized in that, the method for this simulation keyboard operation is: generate and import this forbidding key or launch the corresponding keyboard ASCII character of key.
6. a touch pad management system is characterized in that, this system comprises:
Monitoring modular is used to monitor luggable computer and whether is connected to mouse;
Disabled module is used for being connected to mouse when monitoring luggable computer, and touch pad is when being initiate mode, the forbidding touch pad; And
Launch module, be used for not being connected to mouse when monitoring luggable computer, and touch pad is launched touch pad when being not initiate mode.
7. touch pad management system as claimed in claim 6 is characterized in that, this system also comprises:
Presetting module is used for preset whether luggable computer being connected to the monitoring frequency that mouse is monitored, and touch pad launch key and forbidding key.
8. touch pad management system as claimed in claim 7 is characterized in that, whether said monitoring modular is connected to mouse according to default this monitoring frequency monitoring luggable computer.
9. touch pad management system as claimed in claim 7 is characterized in that, said disabled module is pressed this preset forbidding key through simulation keyboard operation on luggable computer, thus the forbidding touch pad;
The said module of launching is pressed preset this through simulation keyboard operation and is launched key on luggable computer, thereby launches touch pad.
10. touch pad management system as claimed in claim 9 is characterized in that, the method for this simulation keyboard operation is: generate and import this forbidding key or launch the corresponding keyboard ASCII character of key.
CN2011101490945A 2011-06-03 2011-06-03 Touchpad management method and system Pending CN102810080A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011101490945A CN102810080A (en) 2011-06-03 2011-06-03 Touchpad management method and system
TW100120228A TW201250534A (en) 2011-06-03 2011-06-09 Method and system for managing touch pad

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101490945A CN102810080A (en) 2011-06-03 2011-06-03 Touchpad management method and system

Publications (1)

Publication Number Publication Date
CN102810080A true CN102810080A (en) 2012-12-05

Family

ID=47233789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101490945A Pending CN102810080A (en) 2011-06-03 2011-06-03 Touchpad management method and system

Country Status (2)

Country Link
CN (1) CN102810080A (en)
TW (1) TW201250534A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902395A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Information input control method and electronic terminal
CN105302689A (en) * 2014-07-24 2016-02-03 研祥智能科技股份有限公司 Intelligent management method and apparatus for computer system
CN106104419A (en) * 2014-03-28 2016-11-09 惠普发展公司,有限责任合伙企业 Computing device
CN112957567A (en) * 2021-02-09 2021-06-15 杭州堃博生物科技有限公司 Injection pump control method, system and equipment thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501245A (en) * 2002-11-14 2004-06-02 Lg������ʽ���� Apparatus and method for controlling the work of equipments in computer
CN201562259U (en) * 2009-11-09 2010-08-25 张丽媛 Improved notebook computer touchpad

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501245A (en) * 2002-11-14 2004-06-02 Lg������ʽ���� Apparatus and method for controlling the work of equipments in computer
CN201562259U (en) * 2009-11-09 2010-08-25 张丽媛 Improved notebook computer touchpad

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902395A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Information input control method and electronic terminal
CN103902395B (en) * 2012-12-28 2017-11-28 联想(北京)有限公司 The control method and electric terminal of information input
CN106104419A (en) * 2014-03-28 2016-11-09 惠普发展公司,有限责任合伙企业 Computing device
CN105302689A (en) * 2014-07-24 2016-02-03 研祥智能科技股份有限公司 Intelligent management method and apparatus for computer system
CN112957567A (en) * 2021-02-09 2021-06-15 杭州堃博生物科技有限公司 Injection pump control method, system and equipment thereof

Also Published As

Publication number Publication date
TW201250534A (en) 2012-12-16

Similar Documents

Publication Publication Date Title
EP3543884A1 (en) Method and system for protecting system partition key data, and terminal
KR20200002973A (en) Device startup method and device
CN105677223B (en) A press touch method and device
CN106250884A (en) Fingerprint identification method, device and terminal equipment
CN106487798B (en) Data synchronization method and device
CN105117632B (en) The method and terminal of a kind of terminal unlocking
WO2015090144A1 (en) Display screen-based physical button simulation method and electronic device
CN105184126A (en) A password setting method, verification method and terminal
CN105446424A (en) host computer
CN101799719B (en) Keyboard and mouse switcher and switching method thereof
CN104952095A (en) Method and device for marking picture comments
CN102810080A (en) Touchpad management method and system
CN103902326A (en) Electronic device and start-up time frame detecting method thereof
CN106778295A (en) File storage, display methods, device and terminal
WO2017161750A1 (en) Mobile apparatus
US9965404B2 (en) Full-control remote controller based on waveform downloading and address selecting and an implementing method thereof
CN107291415B (en) Method and terminal for charging and audio data processing
US10437706B2 (en) Debugging system and method for embedded device
CN106776228B (en) Safety protection method of mobile terminal and mobile terminal
CN105141739A (en) Method and apparatus for carrying out sound recording based on fingerprints and volume keys under standby mode
CN108268397B (en) Processing method of access equipment and mobile terminal
CN101320412A (en) Validation device and method for start and use of computer power supply
CN113316057A (en) Earphone, method and device for reducing power consumption and electronic equipment
US20090177808A1 (en) Apparatus and methods supporting device triggered disengagement of a hot-swappable serial device by a host system
CN111262737A (en) Port configuration management method and device, storage medium and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121205