CN102810080A - Touchpad management method and system - Google Patents
Touchpad management method and system Download PDFInfo
- 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
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
技术领域 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
如下具体实施方式将结合上述附图进一步说明本发明。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
参阅图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
预设模块101用于预设对手提计算机1是否接有鼠标2进行监测的监测频率,并将该监测频率存入存储器30中。例如,该监测频率可以为每秒2次,则自该触摸板管理系统10启动开始,每隔0.5秒对手提计算机1是否接有鼠标2进行一次监测。The
预设模块101还用于预设启用触摸板20的启用键,以及禁用触摸板20的禁用键,并将该启用键及禁用键存入存储器30中。该启用键和禁用键可以是手提计算机1键盘上的某几个功能键的组合按键。例如,该启用键可以是“Fn+F2”的组合按键,当同时按下Fn键和F2键时,启用触摸板20,该禁用键可以是“Fn+F3”的组合按键,当同时按下Fn键和F3键时,禁用触摸板20。当然,该启用键和禁用键也可以相同,例如都是“Fn+F3”的组合按键。The
监测模块102用于根据所预设的监测频率对手提计算机1是否接有鼠标2进行监测。该对手提计算机1是否接有鼠标2进行监测的方法可以为:枚举手提计算机1操作系统中的设备,如USB设备或PS/2设备等,从而获得外接在手提计算机1上的各种设备的设备描述符,并根据该设备描述符判断是否有鼠标2外接于手提计算机1。The
第一判断模块103用于当监测到手提计算机1接有鼠标2时,判断触摸板20是否为启用状态。The
禁用模块104用于当第一判断模块103判断触摸板20为启用状态时,模拟键盘操作在手提计算机1上按下预设的禁用键,从而禁用触摸板20。该模拟键盘操作在手提计算机1上按下预设的禁用键的方法可以为:生成并输入该禁用键对应的键盘ASCII码(AmericanStandard Code for Information Interchange,美国信息互换标准代码)。The disabling
第二判断模块105用于当监测到手提计算机1未接有鼠标2时,判断触摸板20是否为启用状态。The
启用模块106用于当第二判断模块105判断触摸板20不为启用状态时,模拟键盘操作在手提计算机1上按下预设的启用键,从而启用触摸板20。该模拟键盘操作在手提计算机1上按下预设的启用键的方法可以为:生成并输入该启用键对应的键盘ASCII码。The enabling
参阅图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
步骤S01,监测模块102根据所预设的监测频率对手提计算机1是否接有鼠标2进行监测,若监测到手提计算机1接有鼠标2,则执行步骤S02,若监测到手提计算机1未接有鼠标2,则执行步骤S04。In step S01, the
步骤S02,第一判断模块103判断触摸板20是否为启用状态,若第一判断模块103判断触摸板20为启用状态,则执行步骤S03,若第一判断模块103判断触摸板20不为启用状态,则结束流程。Step S02, the
步骤S03,禁用模块104模拟键盘操作在手提计算机1上按下预设的禁用键,从而禁用触摸板20,结束流程。Step S03 , the disabling
步骤S04,第二判断模块105判断触摸板20是否为启用状态,若第二判断模块105判断触摸板20不为启用状态,则执行步骤S05,若第二判断模块105判断触摸板20为启用状态,则结束流程。Step S04, the
步骤S05,启用模块106模拟键盘操作在手提计算机1上按下预设的启用键,从而启用触摸板20,结束流程。Step S05 , the enabling
以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。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)
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)
| 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)
| 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 |
-
2011
- 2011-06-03 CN CN2011101490945A patent/CN102810080A/en active Pending
- 2011-06-09 TW TW100120228A patent/TW201250534A/en unknown
Patent Citations (2)
| 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)
| 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 |